Skip to content

Commit

Permalink
fix(build): Bump nx version and improvements
Browse files Browse the repository at this point in the history
Plugins update for nx after migration to version 14

nrwl/nx#9086
  • Loading branch information
rwalus committed Aug 10, 2022
1 parent 019a302 commit b50182a
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 383 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Expand Up @@ -77,6 +77,8 @@ jobs:
yarn ci:version:fallback
- name: Publish
run: yarn ci:publish
run: |
yarn ci:build
yarn ci:publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6 changes: 5 additions & 1 deletion apps/mapjet-playground/project.json
Expand Up @@ -17,7 +17,11 @@
"assets": ["apps/mapjet-playground/src/favicon.ico", "apps/mapjet-playground/src/assets"],
"styles": ["apps/mapjet-playground/src/styles.scss", "node_modules/maplibre-gl/dist/maplibre-gl.css"],
"scripts": [],
"webWorkerTsConfig": "apps/mapjet-playground/tsconfig.worker.json"
"webWorkerTsConfig": "apps/mapjet-playground/tsconfig.worker.json",
"allowedCommonJsDependencies": [
"lodash",
"maplibre-gl"
]
},
"configurations": {
"production": {
Expand Down
2 changes: 1 addition & 1 deletion libs/mapjet-core/project.json
Expand Up @@ -19,7 +19,7 @@
}
},
"build": {
"executor": "@nrwl/node:package",
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/mapjet-core",
Expand Down
2 changes: 1 addition & 1 deletion libs/mapjet-core/tsconfig.json
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../tsconfig.base.json",
"files": [],
"include": [],
"references": [
Expand Down
2 changes: 1 addition & 1 deletion libs/mapjet-view-plugin/project.json
Expand Up @@ -19,7 +19,7 @@
}
},
"build": {
"executor": "@nrwl/node:package",
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/mapjet-view-plugin",
Expand Down
2 changes: 1 addition & 1 deletion libs/mapjet-view-plugin/tsconfig.json
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../tsconfig.base.json",
"files": [],
"include": [],
"references": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"serve": "nx serve mapjet-playground",
"test": "nx test",
"ci:install": "yarn install --frozen-lockfile",
"ci:build": "lerna run build",
"ci:build": "npx nx run-many --target=build --projects=mapjet-core,mapjet-view-plugin",
"ci:test": "lerna run test",
"ci:version:build": "npx lerna version --conventional-commits --conventional-graduate --yes",
"ci:version:fallback": "npx lerna version --conventional-commits --yes",
Expand Down

0 comments on commit b50182a

Please sign in to comment.