Skip to content

Commit

Permalink
chore: removed scripts from root package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gearonix committed Sep 1, 2023
1 parent c7c729c commit 2076155
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: yarn install

- name: Creating a Production Build
run: yarn run build
run: yarn dlx nx run-many -t=build -p client server --parallel=8

build-storybook:
name: Building and deploying storybook
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.ts": ["yarn run lint"]
"*.ts": ["yarn dlx nx run-many --targets=lint --all --parallel=8"]
}
14 changes: 0 additions & 14 deletions libs/config/src/tsconfig/paths/second-layer.json

This file was deleted.

14 changes: 0 additions & 14 deletions libs/config/src/tsconfig/paths/third-layer.json

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
}
},
"scripts": {
"serve": "nx run-many -t=serve -p client server --parallel=8",
"build": "nx run-many -t=build -p client server --parallel=8",
"lint": "nx run-many --targets=lint --all --parallel=8",
"dep-graph": "nx dep-graph",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
"dep-graph": "nx dep-graph",
"prepare": "husky install",
"postinstall": "rimraf node_modules/.cache",
"release": "release-it"
Expand Down
14 changes: 14 additions & 0 deletions packages/config/src/tsconfig/paths/second-layer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "./../base.json",
"compilerOptions": {
"paths": {
"@/*": ["./src/*"],
"@code-gear/api/common": ["../../packages/api/common/src/index.ts"],
"@code-gear/api/services": ["../../packages/api/services/src/index.ts"],
"@code-gear/web/editor": ["../../packages/web/editor/src/app/index.ts"],
"@code-gear/web/shared": ["../../packages/web/shared/src/index.ts"],
"@code-gear/web/ui": ["../../packages/web/ui/src/index.ts"],
"@code-gear/config": ["../../packages/config/src/index.ts"]
}
}
}
14 changes: 14 additions & 0 deletions packages/config/src/tsconfig/paths/third-layer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "./../base.json",
"compilerOptions": {
"paths": {
"@/*": ["./src/*"],
"@code-gear/api/common": ["../../../packages/api/common/src/index.ts"],
"@code-gear/api/services": ["../../../packages/api/services/src/index.ts"],
"@code-gear/web/editor": ["../../../packages/web/editor/src/index.ts"],
"@code-gear/web/shared": ["../../../packages/web/shared/src/index.ts"],
"@code-gear/web/ui": ["../../../packages/web/ui/src/index.ts"],
"@code-gear/config": ["../../../packages/config/src/index.ts"]
}
}
}

0 comments on commit 2076155

Please sign in to comment.