Skip to content

Commit

Permalink
refactor: compile and packaging scripts to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohan Raj Rajamanickam committed May 3, 2022
1 parent 89c1910 commit 8a590f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ engine-strict=true
# local packages from the workspace are preferred over packages from the registry, even if there is a newer version of the package in the registry
prefer-workspace-packages=true

auto-install-peers=true
auto-install-peers=true

# pnpm will run any pre/post scripts automatically
enable-pre-post-scripts=true
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"clean": "pnpm run clean && git clean -xfd",
"reinstall": "git clean -xfd && pnpm install --frozen-lockfile",
"compile": "tsc --build",
"postcompile": "lerna run copy:files && lerna run webpack",
"postcompile": "pnpm -r run copy:files && pnpm -r run webpack",
"compile:clean": "tsc --build --clean && npm run compile",
"compile:watch": "npm run compile && tsc --build --watch",
"lint": "lerna run lint",
Expand All @@ -77,7 +77,7 @@
"check:links": "find . -name \\*.md -not -path '*/node_modules/*' -print0 | xargs -0 -n1 npx markdown-link-check --quiet --alive 200,206,429",
"check:deps": "lerna exec --no-bail --stream depcheck",
"check:typescript-project-references": "workspaces-to-typescript-project-references --includesRoot --check",
"vscode:package": "lerna run vscode:package --concurrency 1 && node scripts/reformat-with-prettier",
"vscode:package": "pnpm run -r --workspace-concurrency=1 vscode:package",
"vscode:sha256": "lerna run vscode:sha256 --concurrency 1",
"vscode:publish": "lerna run vscode:publish --concurrency 1",
"watch": "lerna run --parallel watch",
Expand Down

0 comments on commit 8a590f3

Please sign in to comment.