Skip to content

Commit

Permalink
chore: replace npm run with pnpm run in scripts
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Samoraj <[email protected]>
  • Loading branch information
elf-pavlik and samurex committed Nov 16, 2023
1 parent 5e037be commit 1c6783b
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
pnpx lint-staged
6 changes: 3 additions & 3 deletions examples/vuejectron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pnpm install
yarn dev
# npm
npm run dev
pnpm run dev
# pnpm
pnpm dev
Expand All @@ -33,7 +33,7 @@ pnpm dev
yarn build
# npm
npm run build
pnpm run build
# pnpm
pnpm build
Expand All @@ -46,7 +46,7 @@ pnpm build
yarn lint
# npm
npm run lint
pnpm run lint
# pnpm
pnpm lint
Expand Down
4 changes: 2 additions & 2 deletions packages/api-messages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"scripts": {
"build": "npm run build:cjs && npm run build:mjs && sh fixup.sh",
"build": "pnpm run build:cjs && pnpm run build:mjs && sh fixup.sh",
"build:cjs": "tsc -b tsconfig-cjs.json",
"build:mjs": "tsc -b tsconfig-mjs.json",
"clean": "rm -rf dist/",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"publish": "npm run clean && npm run build"
"publish": "pnpm run clean && pnpm run build"
},
"author": "",
"license": "MIT"
Expand Down
4 changes: 2 additions & 2 deletions packages/application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"test": "test"
},
"scripts": {
"build": "npm run build:cjs && npm run build:mjs && sh fixup.sh",
"build": "pnpm run build:cjs && pnpm run build:mjs && sh fixup.sh",
"build:cjs": "tsc -b tsconfig-cjs.json",
"build:mjs": "tsc -b tsconfig-mjs.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"clean": "rimraf dist tsconfig.tsbuildinfo",
"publish": "npm run clean && npm run build"
"publish": "pnpm run clean && pnpm run build"
},
"dependencies": {
"@janeirodigital/interop-data-model": "^1.0.0-rc.21",
Expand Down
4 changes: 2 additions & 2 deletions packages/authorization-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"test": "test"
},
"scripts": {
"build": "npm run build:cjs && npm run build:mjs && sh fixup.sh",
"build": "pnpm run build:cjs && pnpm run build:mjs && sh fixup.sh",
"build:cjs": "tsc -b tsconfig-cjs.json",
"build:mjs": "tsc -b tsconfig-mjs.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"clean": "rimraf dist tsconfig.tsbuildinfo",
"publish": "npm run clean && npm run build"
"publish": "pnpm run clean && pnpm run build"
},
"dependencies": {
"@janeirodigital/interop-data-model": "^1.0.0-rc.21",
Expand Down
4 changes: 2 additions & 2 deletions packages/data-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"test": "test"
},
"scripts": {
"build": "npm run build:cjs && npm run build:mjs && sh fixup.sh",
"build": "pnpm run build:cjs && pnpm run build:mjs && sh fixup.sh",
"build:cjs": "tsc -b tsconfig-cjs.json",
"build:mjs": "tsc -b tsconfig-mjs.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"clean": "rimraf dist tsconfig.tsbuildinfo",
"publish": "npm run clean && npm run build"
"publish": "pnpm run clean && pnpm run build"
},
"dependencies": {
"@janeirodigital/interop-utils": "^1.0.0-rc.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "npm run build:ts",
"build": "pnpm run build:ts",
"build:ts": "tsc",
"clean": "rm -rf dist/"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"redis:delete": "docker rm -f sai-redis",
"dev": "pnpm run redis:delete && pnpm run redis:create && pnpm run debug",
"debug": "pnpm run build && node --inspect dist/componentsMain.js",
"build": "pnpm run build:ts && npm run build:components",
"build": "pnpm run build:ts && pnpm run build:components",
"build:components": "componentsjs-generator -s dist -c dist/components -r ssv -i .componentsignore",
"build:ts": "tsc",
"build:watch": "tsc --watch",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"test": "test"
},
"scripts": {
"build": "npm run build:cjs && npm run build:mjs && sh fixup.sh",
"build": "pnpm run build:cjs && pnpm run build:mjs && sh fixup.sh",
"build:cjs": "tsc -b tsconfig-cjs.json",
"build:mjs": "tsc -b tsconfig-mjs.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"clean": "rimraf dist tsconfig.tsbuildinfo",
"publish": "npm run clean && npm run build"
"publish": "pnpm run clean && pnpm run build"
},
"dependencies": {
"http-link-header": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions ui/authorization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pnpm install
yarn dev
# npm
npm run dev
pnpm run dev
# pnpm
pnpm dev
Expand All @@ -33,7 +33,7 @@ pnpm dev
yarn build
# npm
npm run build
pnpm run build
# pnpm
pnpm build
Expand Down

0 comments on commit 1c6783b

Please sign in to comment.