Skip to content

Commit

Permalink
fix(mf): expose types for webpack entrypoint
Browse files Browse the repository at this point in the history
fixes #661
  • Loading branch information
wszydlak committed Nov 25, 2024
1 parent fbd9960 commit 0e752df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 41 deletions.
29 changes: 0 additions & 29 deletions libs/mf/post-build.js

This file was deleted.

12 changes: 2 additions & 10 deletions libs/mf/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,15 @@
]
}
},
"post-build": {
"dependsOn": ["build"],
"executor": "nx:run-commands",
"options": {
"cwd": "libs/mf",
"command": "node post-build.js"
}
},
"publish": {
"dependsOn": ["build", "post-build"],
"dependsOn": ["build"],
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs mf npm {args.ver} {args.tag}"
}
},
"publish-local": {
"dependsOn": ["build", "post-build"],
"dependsOn": ["build"],
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs mf verdaccio {args.ver}"
Expand Down
2 changes: 1 addition & 1 deletion libs/mf/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"declaration": true,
"types": ["node"]
},
"include": ["src/**/*.ts"],
"include": ["src/**/*.ts", "webpack.ts"],
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ng": "nx",
"nx": "nx",
"build": "npm run build:mf && npm run build:nf",
"build:mf": "nx run-many -t build --projects=tag:scope:mf* && nx run mf:post-build",
"build:mf": "nx run-many -t build --projects=tag:scope:mf*",
"build:nf": "nx run-many -t build --projects=tag:scope:nf* && nx run native-federation:post-build",
"lint": "nx workspace-lint && ng lint",
"e2e": "ng e2e",
Expand Down

0 comments on commit 0e752df

Please sign in to comment.