Skip to content

Commit 0e6e741

Browse files
committed
fix(package): re-added the publish-packages script
[bump]
1 parent ccebee7 commit 0e6e741

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
provenance=true
22
link-workspace-packages=true
33
prefer-workspace-packages=true
4-
save-workspace-protocol=false
4+
save-workspace-protocol=false
5+
shell-emulator=true

examples/custom-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "next build && rimraf dist && tsc --project tsconfig.server.json",
88
"lint": "next lint",
99
"dev": "nodemon",
10-
"start": "cross-env NODE_ENV=production node ./dist/server.js"
10+
"start": "NODE_ENV=production node ./dist/server.js"
1111
},
1212
"dependencies": {
1313
"@ducanh2912/next-pwa": "latest",

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@
1212
"next-pwa-e2e-test"
1313
],
1414
"scripts": {
15-
"build": "cross-env FORCE_COLOR=1 turbo run build --filter=./packages/*",
15+
"build": "FORCE_COLOR=1 turbo run build --filter='./packages/*'",
1616
"code-check": "biome check --max-diagnostics=150 --log-kind=compact .",
1717
"code-check:apply": "pnpm code-check --apply",
1818
"deps": "node ncu.js",
19-
"dev": "cross-env FORCE_COLOR=1 turbo run dev --parallel --filter=./packages/*",
20-
"docs:build": "cross-env FORCE_COLOR=1 turbo run build --filter=./docs",
19+
"dev": "FORCE_COLOR=1 turbo run dev --parallel --filter='./packages/*'",
20+
"docs:build": "FORCE_COLOR=1 turbo run build --filter='./docs'",
2121
"nochange": "changeset --empty",
22-
"examples:build": "cross-env FORCE_COLOR=1 turbo run build --filter=./examples/* --concurrency=50%",
23-
"examples:dev": "cross-env FORCE_COLOR=1 turbo run dev --parallel --filter=./examples/*",
22+
"examples:build": "FORCE_COLOR=1 turbo run build --filter='./examples/*' --concurrency=50%",
23+
"examples:dev": "FORCE_COLOR=1 turbo run dev --parallel --filter='./examples/*'",
2424
"format": "biome format --max-diagnostics=100 --log-kind=compact .",
2525
"format:write": "pnpm format --write",
2626
"lint": "biome lint --max-diagnostics=100 --log-kind=compact .",
2727
"lint:fix": "pnpm lint --apply",
28-
"test": "cross-env FORCE_COLOR=1 turbo run test --filter=./packages/*",
29-
"typecheck": "cross-env FORCE_COLOR=1 turbo run typecheck"
28+
"publish-packages": "pnpm typecheck && pnpm lint && pnpm build && changeset publish",
29+
"test": "FORCE_COLOR=1 turbo run test --filter='./packages/*'",
30+
"typecheck": "FORCE_COLOR=1 turbo run typecheck"
3031
},
3132
"devDependencies": {
3233
"@biomejs/biome": "1.7.2",
@@ -37,7 +38,6 @@
3738
"@types/shell-quote": "1.7.5",
3839
"@typescript-eslint/eslint-plugin": "7.8.0",
3940
"@typescript-eslint/parser": "7.8.0",
40-
"cross-env": "7.0.3",
4141
"fast-glob": "3.3.2",
4242
"jest": "29.7.0",
4343
"npm-check-updates": "16.14.20",

packages/next-pwa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"scripts": {
5858
"dev": "rimraf dist && rollup --config --watch",
59-
"build": "rimraf dist && cross-env NODE_ENV=production rollup --config --compact",
59+
"build": "rimraf dist && NODE_ENV=production rollup --config --compact",
6060
"lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs",
6161
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
6262
"typecheck": "tsc"

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)