Skip to content

Commit

Permalink
Merge pull request buefy#130 from kikuomax/MigrateToLerna-vetur
Browse files Browse the repository at this point in the history
MigrateToLerna: restore vetur script
  • Loading branch information
wesdevpro committed Nov 7, 2023
2 parents b37152d + fb2970d commit a6ff6b0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/buefy-next/build/vetur.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const fs = require('fs');
const path = require('path');

const buefyDir = path.resolve(__dirname, '../docs/pages/components')
const buefyDir = path.resolve(__dirname, '../../docs/src/pages/components')

let tags = {}
let attributes = {}
Expand Down
6 changes: 4 additions & 2 deletions packages/buefy-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
"unit": "jest --runInBand --u",
"lint": "eslint src --ext .js,.vue",
"lint:fix": "eslint src --ext .js,.vue --fix",
"build": "rimraf dist && npm run build:js && npm run build:scss",
"build": "rimraf dist && npm run build:js && npm run build:scss && npm run vetur",
"build:js": "rollup -c && rollup -c --environment MINIFY",
"build:scss": "node ./build/banner.js < src/scss/buefy-build.scss | sass --stdin --load-path src/scss > dist/buefy.css && cleancss -o dist/buefy.min.css dist/buefy.css"
"build:scss": "node ./build/banner.js < src/scss/buefy-build.scss | sass --stdin --load-path src/scss > dist/buefy.css && cleancss -o dist/buefy.min.css dist/buefy.css",
"vetur": "node -r esm build/vetur.js"
},
"peerDependencies": {
"vue": "^3.0.0"
Expand All @@ -61,6 +62,7 @@
"@vue/vue3-jest": "^29.2.6",
"babel-jest": "^29.7.0",
"clean-css-cli": "^5.6.2",
"esm": "^3.2.25",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-serializer-vue": "^3.1.0",
Expand Down

0 comments on commit a6ff6b0

Please sign in to comment.