Skip to content

Commit

Permalink
build: update generation scripts (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek authored Feb 24, 2024
1 parent b1fe64b commit 6fee930
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@
"test:lib": "lerna run test --scope @oruga-ui/oruga-next",
"test:lib:ts": "lerna run test:ts --scope @oruga-ui/oruga-next",
"test:lib:watch": "lerna run test:watch --scope @oruga-ui/oruga-next",
"test:all": "lerna run test --stream",
"build:docs": "lerna run docs:build --parallel --scope @oruga-ui/docs-next",
"build:docs:watch": "lerna run docs:dev --parallel --scope @oruga-ui/docs-next",
"build:lib": "lerna run build:lib --parallel --scope @oruga-ui/oruga-next",
"build:lib:watch": "lerna run build:lib:watch --parallel --scope @oruga-ui/oruga-next",
"publish:lib": "lerna run publish:lib --scope @oruga-ui/oruga-next",
"test:all": "lerna run test --stream",
"gen": "npm run gen:types && npm run get:volar && npm run docs:gen --workspace @oruga-ui/docs-next",
"gen:volar": "node .scripts/gen-volar-dts.mjs --bundle --platform=node",
"gen:types": "node .scripts/gen-comp-types.mjs --bundle --platform=node",
"version": "node .scripts/config-sync && git add . && conventional-changelog -p angular -i CHANGELOG.md -s && node .scripts/wait-confirm && git add CHANGELOG.md",
"postversion": "echo \"You can now publish your tag with 'git push --follow-tags'\""
},
Expand Down
6 changes: 2 additions & 4 deletions packages/oruga/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,14 @@
"dev": "vite",
"build:vue": "rimraf dist && vite build && vite build --mode minify",
"build:vue:watch": "vite build --mode minify --watch",
"build:lib": "rimraf dist && npm run test:ts && npm run gen-volar-dts && npm run build:vue && npm run gen-volar-dts",
"build:lib": "rimraf dist && npm run test:ts && npm run build:vue",
"build:lib:watch": "npm link && npm run build:vue:watch",
"publish:lib": "cp ../../README.md . && npm run build:lib && npm publish",
"test": "rm -rf .nyc_output coverage && NODE_ENV=test cypress run --component",
"test:cypress": "cypress run --component",
"test:ts": "vue-tsc --noEmit --skipLibCheck",
"test:watch": "rm -rf .nyc_output coverage && NODE_ENV=test cypress open --component",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --quiet --ignore-path .gitignore",
"gen-volar-dts": "node ../../.scripts/gen-volar-dts.mjs --bundle --platform=node",
"gen-comp-types": "node ../../.scripts/gen-comp-types.mjs --bundle --platform=node",
"publish:lib": "cp ../../README.md . && npm run build:lib && npm publish",
"update": "ncu -u"
},
"keywords": [
Expand Down

0 comments on commit 6fee930

Please sign in to comment.