Skip to content

Commit

Permalink
Merge pull request #40 from andras-adam/fix-postinstall-script
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi authored Oct 10, 2024
2 parents 9417e25 + 9b7d98a commit 63cf248
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 119 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"workspaces": [
"packages/*"
],
"scripts": {
"postinstall": "pnpm run -r --if-present build"
},
"packageManager": "[email protected]"
}
15 changes: 7 additions & 8 deletions packages/comet/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "@neoaren/comet",
"version": "3.5.2",
"version": "3.5.3",
"scripts": {
"build": "rimraf dist && npm-run-all build:esm build:cjs build:dts",
"build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --target=es2022 --external:zod --external:hotscript --external:@opentelemetry/*",
"build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --target=es2022 --external:zod --external:hotscript --external:@opentelemetry/*",
"build:dts": "tsc",
"postinstall": "pnpm build"
"build:dts": "tsc"
},
"description": "A powerful DX-first routing library for Cloudflare Workers.",
"keywords": [
Expand Down Expand Up @@ -39,16 +38,16 @@
},
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/api-logs": "^0.52.0",
"@opentelemetry/sdk-trace-base": "^1.25.0",
"@opentelemetry/api-logs": "^0.53.0",
"@opentelemetry/sdk-trace-base": "^1.26.0",
"hotscript": "^1.0.13",
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240821.1",
"esbuild": "^0.23.1",
"@cloudflare/workers-types": "^4.20241004.0",
"esbuild": "^0.24.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"typescript": "^5.5.4"
"typescript": "^5.6.3"
}
}
Loading

0 comments on commit 63cf248

Please sign in to comment.