Skip to content

Commit c807d61

Browse files
committed
chore: add hasInstallScript to package-lock and refactor setup-dev-demo script
1 parent 33dea4d commit c807d61

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev-demo/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev-demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"install-adapters": "cd ../adapters && bash install-adapters.sh",
1919
"build-adminforth": "cd ../adminforth && npm ci && npm run build && npm link",
2020
"migrate:all": "npm run migrate:sqlite && npm run migrate:mysql && npm run migrate:postgres && npm run migrate:clickhouse",
21-
"preinstall": "node scripts/check-node.js && node scripts/check-docker.js",
22-
"setup-dev-demo": "npm run preinstall && npm run build-adminforth && cp .env.local .env && npm run install-plugins && npm run install-adapters && npm install && npm link adminforth && bash ./scripts/run_inventory.sh"
21+
"check-node-docker": "node scripts/check-node.js && node scripts/check-docker.js",
22+
"setup-dev-demo": "npm run check-node-docker && npm run build-adminforth && cp .env.local .env && npm run install-plugins && npm run install-adapters && npm install && npm link adminforth && bash ./scripts/run_inventory.sh"
2323
},
2424
"author": "",
2525
"license": "ISC",

0 commit comments

Comments
 (0)