diff --git a/.changeset/gold-snakes-shout.md b/.changeset/gold-snakes-shout.md new file mode 100644 index 0000000..f488ee0 --- /dev/null +++ b/.changeset/gold-snakes-shout.md @@ -0,0 +1,5 @@ +--- +'@apollo/datasource-rest': patch +--- + +Fix installation into non-TS repositories diff --git a/package.json b/package.json index e471d38..d30de66 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,9 @@ "node": ">=14.0" }, "scripts": { - "//": "#use npx here to ensure that non-TS users triggering the postinstall script don't need to install TypeScript globally or in their project", - "build": "npx -p typescript tsc --build tsconfig.build.json", + "build": "tsc --build tsconfig.build.json", "clean": "git clean -dfqX", "install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i", - "postinstall": "npm run build", "prettier-check": "prettier --check .", "prettier-fix": "prettier --write .", "publish-changeset": "changeset publish",