Skip to content

Commit

Permalink
chore: prevent package preinstall from affecting users
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenleep committed Jun 9, 2024
1 parent fc9f9b0 commit 32edc32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stevenleep/smart-service",
"version": "1.1.2",
"version": "1.2.0",
"description": "Simplify the writing of Javascript front-end Service layer code by using json configuration.",
"private": false,
"main": "lib/index.js",
Expand All @@ -12,7 +12,7 @@
"lib/**/*"
],
"scripts": {
"preinstall": "npx only-allow pnpm && cp .npmrc.bak .npmrc",
"pre:run": "npx only-allow pnpm && cp .npmrc.bak .npmrc",
"build": "rollup -c",
"publish:pkg": "pnpm doc && pnpm build && sh ./scripts/release.sh",
"doc": "typedoc --options ./typedoc.json",
Expand Down

0 comments on commit 32edc32

Please sign in to comment.