Skip to content

Commit

Permalink
Merge pull request #2587 from headlamp-k8s/hp-npm-install
Browse files Browse the repository at this point in the history
headlamp-plugin: Run npm install in update deps script
  • Loading branch information
illume authored Nov 21, 2024
2 parents 8fb46f6 + 6a573ed commit e6aa68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/headlamp-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"prepack": "(node -e \"if (! require('fs').existsSync('./lib/components')) {process.exit(1)} \" || (echo 'lib dir is empty. Remember to run `npm run build` before packing' && exit 1))",
"build": "npx shx rm -rf lib types lib/assets lib/components lib/helpers lib/i18n lib/lib lib/plugin lib/redux lib/resources && npx shx cp -r ../../frontend/src/assets ../../frontend/src/components ../../frontend/src/helpers ../../frontend/src/stateless ../../frontend/src/i18n ../../frontend/src/lib ../../frontend/src/plugin ../../frontend/src/redux ../../frontend/src/resources src/ && tsc --build ./tsconfig.json && npx shx cp -r src/additional.d.ts lib/ && npx shx cp -r ../../frontend/src/assets lib/ && npx shx cp -r ../../frontend/src/resources lib/ && npx shx cp -r ../../frontend/src/i18n/locales lib/i18n",
"update-dependencies": "node dependencies-sync.js update",
"update-dependencies": "node dependencies-sync.js update && npm install",
"check-dependencies": "node dependencies-sync.js check",
"postinstall": "patch-package"
},
Expand Down

0 comments on commit e6aa68b

Please sign in to comment.