Skip to content

Commit

Permalink
Enable npm workspaces (#3765)
Browse files Browse the repository at this point in the history
* npm workspaces

* remove no longer needed aliases in vite configuration

* fix @types/estree version

* dependency updates

* jest config updates

* remove unused package-lock files

* remove unnesesary comma

* fix cache-dependency-path for github actions

* update npm in github actions
  • Loading branch information
zxbodya authored Jul 14, 2023
1 parent 2f891e7 commit ea36b6e
Show file tree
Hide file tree
Showing 30 changed files with 24,092 additions and 319,997 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'packages/**/package-lock.json'
cache-dependency-path: 'package-lock.json'
- run: npm i -g npm@9
- run: npm ci
- run: npm run lint
- run: npm run cs-check
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
cache-dependency-path: 'packages/**/package-lock.json'
cache-dependency-path: 'package-lock.json'
- run: npm i -g npm@9
- run: npm ci
- run: npm run build
env:
Expand Down
1 change: 1 addition & 0 deletions packages/playground/.npmrc → .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry=https://registry.npmjs.org/
# Use legacy peer deps to allow things to install with node 16
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"version": "5.10.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"useWorkspaces": false
"useWorkspaces": true
}
Loading

0 comments on commit ea36b6e

Please sign in to comment.