Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major: upgrade-webpack #1650

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
upgrade vue too
  • Loading branch information
elevatebart committed Mar 14, 2024
commit 163cdcdd6370d904ed2c16ac220ed6971c091486
5 changes: 2 additions & 3 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"lodash": "^4.17.21",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -36,11 +36,10 @@
"sass": "^1.34.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-inbrowser-compiler-sucrase": "^4",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"vue-template-compiler": "^2.7.14",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template functional>
<template>
<!-- @prop {string} id name attribute of the button -->
<button :name="props.id" style="background: pink">
<!-- @slot name of the button -->
Expand Down
6 changes: 3 additions & 3 deletions examples/basic/src/components/Radio/Radio.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div>
<template v-for="op in options">
<input :key="op.value" type="radio" :value="op.value" name="hello" />
<label :key="`${op.value}-label`" :for="op.value">{{ op.text }}</label>
<template v-for="op in options" :key="op.value">
<input type="radio" :value="op.value" name="hello" />
<label :for="op.value">{{ op.text }}</label>
</template>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion examples/customised/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"url-loader": "^4.1.1",
"vue": "2.7.8",
"vue": "3.4.21",
"vue-docgen-cli": "^4.45.0",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
Expand Down
2 changes: 1 addition & 1 deletion examples/dashed-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"dog-names": "^1.0.2",
"mini-css-extract-plugin": "^0.5.0",
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand Down
12 changes: 6 additions & 6 deletions examples/docgen-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"styleguide:build": "vue-docgen && vitepress build docs"
},
"dependencies": {
"vue": "^3.2.37",
"vue": "^3.4.21",
"prismjs": "^1.28.0"
},
"devDependencies": {
"@types/node": "^16.11.45",
"@vitejs/plugin-vue": "^3.0.1",
"@vitejs/plugin-vue-jsx": "^2.0.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.4.21",
"@vue/tsconfig": "^0.5.1",
"concurrently": "^4.1.2",
Expand All @@ -28,9 +28,9 @@
"typescript": "^4.9.5",
"vite": "^2.9.17",
"vitepress": "^1.0.0-beta.1",
"vue-component-meta": "^1.0.9",
"vue-component-meta": "^2.0.6",
"vue-docgen-cli": "^4",
"vue-live": "^2.3.2",
"vue-tsc": "^0.38.8"
"vue-live": "^2.5.4",
"vue-tsc": "^2.0.6"
}
}
9 changes: 4 additions & 5 deletions examples/docgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@babel/plugin-transform-react-jsx": "^7.13.12",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@vuepress/plugin-register-components": "1.0.3",
"@vuepress/plugin-register-components": "1.9.10",
"babel-loader": "^9.1.3",
"concurrently": "^4.1.2",
"css-loader": "^6.10.0",
Expand All @@ -41,13 +41,12 @@
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"url-loader": "^4.1.1",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-docgen-api": "^4.36.1",
"vue-docgen-cli": "^4.36.1",
"vue-loader": "^17.4.2",
"vue-server-renderer": "^2.7.14",
"vue-template-compiler": "^2.7.14",
"vuepress": "^1.9.7",
"vue-server-renderer": "^2.7.16",
"vuepress": "^1.9.10",
"vuepress-plugin-live": "^1.6.2",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/functional-flag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"lodash": "^4.17.21",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -41,7 +41,7 @@
"react": "^17.0.2",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^5.90.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/jsx-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@babel/runtime": "^7.13.10",
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -40,7 +40,7 @@
"sass": "^1.34.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-styleguidist": "^4",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "4.10.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"vue-types": "^1.7.0"
"vue-types": "^5.1.1"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand All @@ -32,7 +32,7 @@
"sass": "^1.34.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^5.90.3"
Expand Down
9 changes: 4 additions & 5 deletions examples/nuxtjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
},
"dependencies": {
"@nuxt/core": "2.15.3",
"@nuxt/vue-app": "2.15.3",
"@nuxt/vue-app": "2.17.3",
"@nuxtjs/axios": "5.13.1",
"nuxt": "2.15.3",
"vue": "2.7.8",
"vuex": "3.6.2"
"vue": "3.4.21",
"vuex": "4.1.0"
},
"devDependencies": {
"@babel/core": "7.18.6",
Expand All @@ -41,10 +41,9 @@
"postcss-loader": "^8.1.1",
"sass-loader": "^14.1.1",
"vue-loader": "17.4.2",
"vue-server-renderer": "^2.7.14",
"vue-server-renderer": "^2.7.16",
"vue-style-loader": "^4.1.3",
"vue-styleguidist": "^4",
"vue-template-compiler": "^2.7.14",
"webpack": "^5.90.3"
}
}
2 changes: 1 addition & 1 deletion examples/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"dog-names": "^1.0.2",
"mini-css-extract-plugin": "^0.5.0",
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand Down
2 changes: 1 addition & 1 deletion examples/sections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"sass": "^1.34.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^5.90.3"
Expand Down
3 changes: 1 addition & 2 deletions examples/svg-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"styleguide:build": "vue-cli-service styleguidist:build"
},
"dependencies": {
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"devDependencies": {
"@vue/babel-preset-app": "^5.0.8",
Expand All @@ -22,7 +22,6 @@
"eslint": "^8",
"vue-cli-plugin-styleguidist": "^4.36.1",
"vue-svg-loader": "^0.16.0",
"vue-template-compiler": "^2.7.14",
"webpack-bundle-analyzer": "^4.10.1"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion examples/vuecli-noplugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"styleguide:build": "vue-styleguidist build"
},
"dependencies": {
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"devDependencies": {
"@vue/cli-service": "^5.0.8",
Expand Down
9 changes: 4 additions & 5 deletions examples/vuecli3-class-pug-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"styleguide:build": "vue-cli-service styleguidist:build"
},
"dependencies": {
"vue": "^2.7.14",
"vue-router": "^3.5.1",
"vuex": "^3.6.2"
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"vuex": "^4.1.0"
},
"devDependencies": {
"@vue/babel-preset-app": "^5.0.8",
Expand All @@ -36,9 +36,8 @@
"sass-loader": "^14.1.1",
"typescript": "^4.2.3",
"vue-class-component": "^7.2.6",
"vue-cli-plugin-pug": "^1.0.7",
"vue-cli-plugin-pug": "^2.0.0",
"vue-cli-plugin-styleguidist": "^4.36.1",
"vue-template-compiler": "^2.7.14",
"webpack": "^5.90.3"
},
"gitHooks": {
Expand Down
4 changes: 2 additions & 2 deletions examples/vuecli3-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"dog-names": "^1.0.2",
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"devDependencies": {
"@babel/core": "7.18.6",
Expand All @@ -33,7 +33,7 @@
"prop-types": "^15.7.2",
"react": "^17.0.2",
"vue-cli-plugin-styleguidist": "^4",
"vue-template-compiler": "^2.7.14"
"vue-template-compiler": "^2.7.16"
},
"eslintConfig": {
"root": true,
Expand Down
9 changes: 4 additions & 5 deletions examples/vuecli3-vuetify-ie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"dependencies": {
"dog-names": "^1.0.2",
"vue": "^2.7.14",
"vue-i18n": "^8.24.2"
"vue": "^3.4.21",
"vue-i18n": "^9.10.1"
},
"devDependencies": {
"@babel/core": "7.18.6",
Expand All @@ -31,9 +31,8 @@
"sass": "^1.32.8",
"sass-loader": "^14.1.1",
"vue-cli-plugin-styleguidist": "^4.36.1",
"vue-cli-plugin-vuetify": "^2.4.5",
"vue-template-compiler": "^2.7.14",
"vuetify": "^2.6.2",
"vue-cli-plugin-vuetify": "^2.5.8",
"vuetify": "^3.5.9",
"vuetify-loader": "^1.9.2",
"webpack": "^5.90.3"
},
Expand Down
3 changes: 1 addition & 2 deletions examples/vuecli3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
"styleguide:build": "cross-env NODE_ENV=production vue-cli-service styleguidist:build"
},
"dependencies": {
"vue": "^2.7.14"
"vue": "^3.4.21"
},
"devDependencies": {
"@vue/babel-preset-app": "5.0.8",
"@vue/cli-plugin-babel": "5.0.8",
"@vue/cli-service": "5.0.8",
"vue-cli-plugin-styleguidist": "^4",
"vue-template-compiler": "^2.7.14",
"webpack-bundle-analyzer": "^4.10.1",
"cross-env": "^7.0.3"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/vueds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@znck/prop-types": "^0.6.3",
"dog-names": "^1.0.2",
"lodash": "^4.17.21",
"vue-types": "^1.7.0",
"vue-types": "^5.1.1",
"webfontloader": "^1.6.28"
},
"scripts": {
Expand All @@ -44,7 +44,7 @@
"style-loader": "^3.3.4",
"ts-loader": "^9.5.1",
"typescript": "^4.2.3",
"vue": "^2.7.14",
"vue": "^3.4.21",
"vue-loader": "^17.4.2",
"vue-styleguidist": "^4",
"webpack": "^5.90.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/vuetify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"dependencies": {
"dog-names": "^1.0.2",
"sass": "^1.32.8",
"vue": "^2.7.14",
"vue-i18n": "^7.8.1",
"vue": "^3.4.21",
"vue-i18n": "^9.10.1",
"vue-style-loader": "^4.1.3",
"vuetify": "^2.6.2"
"vuetify": "^3.5.9"
},
"scripts": {
"styleguide": "vue-styleguidist server",
Expand Down
4 changes: 2 additions & 2 deletions examples/vuex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"vue": "^2.7.14",
"vuex": "^3.6.2"
"vue": "^3.4.21",
"vuex": "^4.1.0"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-vue": "7.20.0",
"eslint-plugin-vue": "9.23.0",
"globby": "11.1.0",
"happy-dom": "5.4.0",
"jss": "10.9.2",
Expand All @@ -112,12 +112,12 @@
"turbo": "^1.9.0",
"typescript": "4.9.5",
"vitest": "0.30.1",
"vue": "2.7.14",
"vue": "3.4.21",
"vue-cli-plugin-docgen": "*",
"vue-cli-plugin-styleguidist": "*",
"vue-inbrowser-compiler-sucrase": "*",
"vue-property-decorator": "9.1.2",
"vue-server-renderer": "2.7.14",
"vue-server-renderer": "2.7.16",
"vue-styleguidist": "*",
"vuepress": "1.9.10",
"webpack-dev-server": "5.0.3",
Expand Down
Loading