Skip to content

Commit 8a1a6f4

Browse files
1 parent 58a5fe2 commit 8a1a6f4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changeset/chilly-bikes-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@as-integrations/aws-lambda': patch
3+
---
4+
5+
Remove postinstall script which causes issues for non-TS users

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
"node": ">=14.0"
1919
},
2020
"scripts": {
21-
"//": "#use npx here to ensure that non-TS users triggering the postinstall script don't need to install TypeScript globally or in their project",
22-
"build": "npx -p typescript tsc --build tsconfig.build.json",
21+
"build": "tsc --build tsconfig.build.json",
2322
"clean": "git clean -dfqX",
24-
"postinstall": "npm run build",
23+
"prepack": "npm run build",
2524
"prettier-check": "prettier --check .",
2625
"prettier-fix": "prettier --write .",
2726
"publish-changeset": "changeset publish",

0 commit comments

Comments
 (0)