Skip to content

Commit

Permalink
add prepack script
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jun 19, 2024
1 parent 8d6bb4a commit a128428
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 29 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"workspaces": [
"packages/*"
],
"workspaces": ["packages/*"],
"private": true,
"release-it": {
"plugins": {
"@release-it-plugins/workspaces": true
"@release-it-plugins/workspaces": {
"publish": false
}
},
"npm": false,
"npm.publish": false,
"git": {
"commitMessage": "chore: release v${version}"
},
Expand Down
8 changes: 2 additions & 6 deletions packages/crdt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
Expand All @@ -23,6 +18,7 @@
"scripts": {
"build": "tsc -b",
"clean": "rm -rf dist/ node_modules/",
"prepack": "tsc -b",
"test": "vitest"
}
}
8 changes: 2 additions & 6 deletions packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
Expand All @@ -23,6 +18,7 @@
"scripts": {
"build": "tsc -b",
"clean": "rm -rf dist/ node_modules/",
"prepack": "tsc -b",
"test": "vitest"
},
"devDependencies": {
Expand Down
8 changes: 2 additions & 6 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
Expand All @@ -24,6 +19,7 @@
"build": "tsc -b",
"clean": "rm -rf dist/ node_modules/",
"node": "tsx ./src/run_node.ts",
"prepack": "tsc -b",
"relay": "tsx ./src/run_relay.ts",
"start": "tsx ./src/index.ts",
"test": "vitest"
Expand Down
8 changes: 2 additions & 6 deletions packages/object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
Expand All @@ -23,6 +18,7 @@
"scripts": {
"build": "tsc -b",
"clean": "rm -rf dist/ node_modules/",
"prepack": "tsc -b",
"test": "vitest"
}
}

0 comments on commit a128428

Please sign in to comment.