diff --git a/examples/demo/package.json b/examples/demo/package.json index 15f90ec1..5233604e 100644 --- a/examples/demo/package.json +++ b/examples/demo/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/package.json b/package.json index 943389ec..a7c083a0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Caspian (https://github.com/dohooo)", "scripts": { "build": "pnpm -F '@node-escpos/*' build", - "publish": "pnpm run build && pnpm -F '@node-escpos/*' publish", + "publish": "pnpm run build && pnpm -F '@node-escpos/*' exec changeset publish", "version": "changeset version" }, "engines": { diff --git a/packages/adapter/package.json b/packages/adapter/package.json index df802993..42f58131 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -44,7 +44,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/bluetooth-adapter/package.json b/packages/bluetooth-adapter/package.json index 87864379..a7fd8f21 100644 --- a/packages/bluetooth-adapter/package.json +++ b/packages/bluetooth-adapter/package.json @@ -42,7 +42,7 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", + "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/console/package.json b/packages/console/package.json index 55321652..a6d38ed4 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/core/package.json b/packages/core/package.json index c8032f91..43a012a2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/network-adapter/package.json b/packages/network-adapter/package.json index 6fb2f4c2..0234d144 100644 --- a/packages/network-adapter/package.json +++ b/packages/network-adapter/package.json @@ -41,7 +41,7 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", + "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/screen/package.json b/packages/screen/package.json index 15667736..240d7c0a 100644 --- a/packages/screen/package.json +++ b/packages/screen/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/serialport-adapter/package.json b/packages/serialport-adapter/package.json index c912dc7b..b33c4db8 100644 --- a/packages/serialport-adapter/package.json +++ b/packages/serialport-adapter/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/server/package.json b/packages/server/package.json index 418e2d10..f3a4e371 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", diff --git a/packages/usb-adapter/package.json b/packages/usb-adapter/package.json index f2363f38..ab091468 100644 --- a/packages/usb-adapter/package.json +++ b/packages/usb-adapter/package.json @@ -41,7 +41,6 @@ "build:watch": "npx nodemon --exec 'pnpm run build' -w src -e 'ts'", "dev": "unbuild --stub", "lint": "eslint .", - "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest",