Skip to content

Commit

Permalink
npx -> pnpm exec
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenraven committed Oct 11, 2024
1 parent 63bec69 commit 467dee5
Show file tree
Hide file tree
Showing 8 changed files with 290 additions and 17 deletions.
4 changes: 2 additions & 2 deletions examples/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"type": "module",
"scripts": {
"build": "tsc && vite build",
"clean": "npx rimraf dist",
"purge": "npx rimraf node_modules",
"clean": "pnpm exec rimraf dist",
"purge": "pnpm exec rimraf node_modules",
"dev": "vite --clearScreen=false --force",
"check:types": "tsc --noEmit"
},
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "pnpm recursive run build",
"clean": "pnpm recursive run clean",
"purge": "npx rimraf node_modules && pnpm recursive run purge",
"purge": "pnpm exec rimraf node_modules && pnpm recursive run purge",
"dev": "pnpm recursive run dev",
"check:all": "pnpm recursive run check:all",
"check:types": "pnpm recursive run check:types"
Expand All @@ -24,8 +24,10 @@
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.4",
"pretty-quick": "^3.3.1",
"rimraf": "6.0.1",
"turbo": "^1.13.4",
"typescript": "^5.6.2"
"typescript": "^5.6.2",
"wait-on": "8.0.1"
},
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
}
6 changes: 3 additions & 3 deletions packages/plugin-background-removal-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"files": ["LICENSE.md", "README.md", "CHANGELOG.md", "dist/", "bin/"],
"scripts": {
"start": "npm run watch",
"clean": "npx rimraf dist",
"purge": "npx rimraf node_modules",
"clean": "pnpm exec rimraf dist",
"purge": "pnpm exec rimraf node_modules",
"build": "npm run clean && node scripts/build.mjs",
"test": "echo No tests",
"dev": "node scripts/watch.mjs",
"dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
"publish:latest": "npm run build && npm publish --tag latest --access public",
"publish:next": "npm run build && npm publish --tag next --access public",
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-cutout-library-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
],
"scripts": {
"start": "npm run watch",
"clean": "npx rimraf dist",
"purge": "npx rimraf node_modules",
"clean": "pnpm exec rimraf dist",
"purge": "pnpm exec rimraf node_modules",
"build": "npm run clean && node scripts/build.mjs && cp -r assets dist/",
"test": "echo No tests",
"dev": "node scripts/watch.mjs",
"dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
"publish:latest": "npm run build && npm publish --tag latest --access public",
"publish:next": "npm run build && npm publish --tag next --access public",
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-remote-asset-source-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
],
"scripts": {
"start": "npm run watch",
"clean": "npx rimraf dist",
"purge": "npx rimraf node_modules",
"clean": "pnpm exec rimraf dist",
"purge": "pnpm exec rimraf node_modules",
"build": "npm run clean && node scripts/build.mjs",
"test": "echo No tests",
"dev": "npm run clean && node scripts/watch.mjs",
"dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
"publish:latest": "npm run build && npm publish --tag latest --access public",
"publish:next": "npm run build && npm publish --tag next --access public",
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
},
"scripts": {
"start": "npm run watch",
"clean": "npx rimraf dist",
"purge": "npx rimraf node_modules",
"clean": "pnpm exec rimraf dist",
"purge": "pnpm exec rimraf node_modules",
"build": "npm run clean && node scripts/build.mjs",
"test": "echo No tests",
"dev": "node scripts/watch.mjs",
"dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
"check:all": "concurrently -n lint,type,pretty \"pnpm run check:lint\" \"pnpm run check:types\" \"pnpm run check:pretty\"",
"check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
"check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vectorizer-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"scripts": {
"start": "npm run watch",
"clean": "npx rimraf dist",
"clean": "pnpm exec rimraf dist",
"build": "npm run clean && node scripts/build.mjs",
"dev": "node scripts/watch.mjs",
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
Expand Down
Loading

0 comments on commit 467dee5

Please sign in to comment.