Skip to content

Commit

Permalink
fix(package): re-added the publish-packages script
Browse files Browse the repository at this point in the history
[bump]
  • Loading branch information
DuCanhGH committed May 5, 2024
1 parent ccebee7 commit fe77727
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
provenance=true
link-workspace-packages=true
prefer-workspace-packages=true
save-workspace-protocol=false
save-workspace-protocol=false
shell-emulator=true
2 changes: 1 addition & 1 deletion examples/custom-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "next build && rimraf dist && tsc --project tsconfig.server.json",
"lint": "next lint",
"dev": "nodemon",
"start": "cross-env NODE_ENV=production node ./dist/server.js"
"start": "NODE_ENV=production node ./dist/server.js"
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@
"next-pwa-e2e-test"
],
"scripts": {
"build": "cross-env FORCE_COLOR=1 turbo run build --filter=./packages/*",
"build": "FORCE_COLOR=1 turbo run build --filter=./packages/*",
"code-check": "biome check --max-diagnostics=150 --log-kind=compact .",
"code-check:apply": "pnpm code-check --apply",
"deps": "node ncu.js",
"dev": "cross-env FORCE_COLOR=1 turbo run dev --parallel --filter=./packages/*",
"docs:build": "cross-env FORCE_COLOR=1 turbo run build --filter=./docs",
"dev": "FORCE_COLOR=1 turbo run dev --parallel --filter=./packages/*",
"docs:build": "FORCE_COLOR=1 turbo run build --filter=./docs",
"nochange": "changeset --empty",
"examples:build": "cross-env FORCE_COLOR=1 turbo run build --filter=./examples/* --concurrency=50%",
"examples:dev": "cross-env FORCE_COLOR=1 turbo run dev --parallel --filter=./examples/*",
"examples:build": "FORCE_COLOR=1 turbo run build --filter=./examples/* --concurrency=50%",
"examples:dev": "FORCE_COLOR=1 turbo run dev --parallel --filter=./examples/*",
"format": "biome format --max-diagnostics=100 --log-kind=compact .",
"format:write": "pnpm format --write",
"lint": "biome lint --max-diagnostics=100 --log-kind=compact .",
"lint:fix": "pnpm lint --apply",
"test": "cross-env FORCE_COLOR=1 turbo run test --filter=./packages/*",
"typecheck": "cross-env FORCE_COLOR=1 turbo run typecheck"
"publish-packages": "pnpm typecheck && pnpm lint && pnpm build && changeset publish",
"test": "FORCE_COLOR=1 turbo run test --filter=./packages/*",
"typecheck": "FORCE_COLOR=1 turbo run typecheck"
},
"devDependencies": {
"@biomejs/biome": "1.7.2",
Expand All @@ -37,7 +38,6 @@
"@types/shell-quote": "1.7.5",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"cross-env": "7.0.3",
"fast-glob": "3.3.2",
"jest": "29.7.0",
"npm-check-updates": "16.14.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"scripts": {
"dev": "rimraf dist && rollup --config --watch",
"build": "rimraf dist && cross-env NODE_ENV=production rollup --config --compact",
"build": "rimraf dist && NODE_ENV=production rollup --config --compact",
"lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"typecheck": "tsc"
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe77727

Please sign in to comment.