**chore(scripts): prefix internal scripts with underscore for consistency**
- Updated `package.json` in `web-service-package`, `cli-package`, and the root project to prefix internal NPM scripts with an underscore (`_`), such as `_version`, `_deploy`, `_dry-run`, etc. - Adjusted all relevant build, versioning, deployment, and test scripts to follow this convention. - Updated `.gitignore` to include `/brainy-models-package/node_modules/` for effective exclusion. **Purpose**: Standardize the naming of internal scripts to better differentiate them from user-facing commands and maintain consistency across packages.
This commit is contained in:
parent
0eeb17342e
commit
93483572d8
4 changed files with 33 additions and 32 deletions
|
|
@ -16,12 +16,12 @@
|
|||
"build": "rollup -c rollup.config.js",
|
||||
"prepare": "npm run build",
|
||||
"postinstall": "node cli-wrapper.js --version",
|
||||
"version": "echo 'Version updated in package.json'",
|
||||
"version:patch": "npm version patch",
|
||||
"version:minor": "npm version minor",
|
||||
"version:major": "npm version major",
|
||||
"deploy": "npm run build && npm publish",
|
||||
"dry-run": "npm pack --dry-run"
|
||||
"_version": "echo 'Version updated in package.json'",
|
||||
"_version:patch": "npm version patch",
|
||||
"_version:minor": "npm version minor",
|
||||
"_version:major": "npm version major",
|
||||
"_deploy": "npm run build && npm publish",
|
||||
"_dry-run": "npm pack --dry-run"
|
||||
},
|
||||
"keywords": [
|
||||
"vector-database",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue