Skip to content

Commit a115d9e

Browse files
committed
chore: bump deps
1 parent d562224 commit a115d9e

File tree

3 files changed

+2615
-3309
lines changed

3 files changed

+2615
-3309
lines changed

package.json

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,42 +56,41 @@
5656
"vue": "^3.2.0"
5757
},
5858
"dependencies": {
59-
"@vue/devtools-api": "^6.0.0-beta.11"
59+
"@vue/devtools-api": "^6.4.4"
6060
},
6161
"devDependencies": {
62-
"@babel/core": "^7.14.3",
63-
"@babel/preset-env": "^7.14.2",
64-
"@rollup/plugin-buble": "^0.21.3",
65-
"@rollup/plugin-commonjs": "^19.0.0",
66-
"@rollup/plugin-node-resolve": "^13.0.0",
67-
"@rollup/plugin-replace": "^2.4.2",
68-
"@types/node": "^15.6.0",
69-
"@vue/compiler-sfc": "^3.2.4",
62+
"@babel/core": "^7.19.3",
63+
"@babel/preset-env": "^7.19.4",
64+
"@rollup/plugin-buble": "^1.0.0",
65+
"@rollup/plugin-commonjs": "^13.0.0",
66+
"@rollup/plugin-node-resolve": "^15.0.0",
67+
"@rollup/plugin-replace": "^5.0.0",
68+
"@types/node": "^18.11.0",
7069
"babel-jest": "^26.6.3",
71-
"babel-loader": "^8.2.2",
72-
"brotli": "^1.3.2",
70+
"babel-loader": "^8.2.5",
71+
"brotli": "^1.3.3",
7372
"chalk": "^4.1.1",
74-
"conventional-changelog-cli": "^2.1.1",
73+
"conventional-changelog-cli": "^2.2.2",
7574
"cross-env": "^7.0.3",
7675
"css-loader": "^2.1.0",
77-
"enquirer": "^2.3.5",
78-
"eslint": "^7.27.0",
76+
"enquirer": "^2.3.6",
77+
"eslint": "^7.32.0",
7978
"eslint-plugin-vue-libs": "^4.0.0",
8079
"execa": "^5.0.0",
81-
"express": "^4.17.1",
82-
"fs-extra": "^10.0.0",
80+
"express": "^4.18.2",
81+
"fs-extra": "^10.1.0",
8382
"jest": "^26.6.3",
8483
"puppeteer": "^9.1.1",
8584
"regenerator-runtime": "^0.13.5",
86-
"rollup": "^2.49.0",
85+
"rollup": "^2.79.1",
8786
"rollup-plugin-terser": "^7.0.2",
8887
"semver": "^7.3.5",
8988
"start-server-and-test": "^1.12.3",
9089
"todomvc-app-css": "^2.4.1",
91-
"typescript": "^4.2.4",
90+
"typescript": "^4.8.4",
9291
"vitepress": "^0.20.0",
93-
"vue": "^3.2.4",
94-
"vue-loader": "^16.5.0",
92+
"vue": "^3.2.41",
93+
"vue-loader": "^17.0.0",
9594
"vue-style-loader": "^4.1.3",
9695
"webpack": "^4.43.0",
9796
"webpack-dev-middleware": "^3.7.2",

rollup.config.js

Lines changed: 57 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,45 @@ const banner = `/*!
1212
*/`
1313

1414
const configs = [
15-
{ input: 'src/index.js', file: 'dist/vuex.esm-browser.js', format: 'es', browser: true, env: 'development' },
16-
{ input: 'src/index.js', file: 'dist/vuex.esm-browser.prod.js', format: 'es', browser: true, env: 'production' },
17-
{ input: 'src/index.js', file: 'dist/vuex.esm-bundler.js', format: 'es', env: 'development' },
18-
{ input: 'src/index.cjs.js', file: 'dist/vuex.global.js', format: 'iife', env: 'development' },
19-
{ input: 'src/index.cjs.js', file: 'dist/vuex.global.prod.js', format: 'iife', minify: true, env: 'production' },
20-
{ input: 'src/index.cjs.js', file: 'dist/vuex.cjs.js', format: 'cjs', env: 'development' }
15+
{
16+
input: 'src/index.js',
17+
file: 'dist/vuex.esm-browser.js',
18+
format: 'es',
19+
browser: true,
20+
env: 'development'
21+
},
22+
{
23+
input: 'src/index.js',
24+
file: 'dist/vuex.esm-browser.prod.js',
25+
format: 'es',
26+
browser: true,
27+
env: 'production'
28+
},
29+
{
30+
input: 'src/index.js',
31+
file: 'dist/vuex.esm-bundler.js',
32+
format: 'es',
33+
env: 'development'
34+
},
35+
{
36+
input: 'src/index.cjs.js',
37+
file: 'dist/vuex.global.js',
38+
format: 'iife',
39+
env: 'development'
40+
},
41+
{
42+
input: 'src/index.cjs.js',
43+
file: 'dist/vuex.global.prod.js',
44+
format: 'iife',
45+
minify: true,
46+
env: 'production'
47+
},
48+
{
49+
input: 'src/index.cjs.js',
50+
file: 'dist/vuex.cjs.js',
51+
format: 'cjs',
52+
env: 'development'
53+
}
2154
]
2255

2356
function createEntries() {
@@ -37,6 +70,7 @@ function createEntry(config) {
3770
banner,
3871
file: config.file,
3972
format: config.format,
73+
exports: 'auto',
4074
globals: {
4175
vue: 'Vue'
4276
}
@@ -56,19 +90,25 @@ function createEntry(config) {
5690
c.external.push('@vue/devtools-api')
5791
}
5892

59-
c.plugins.push(replace({
60-
preventAssignment: true,
61-
__VERSION__: pkg.version,
62-
__DEV__: isBundlerBuild
63-
? `(process.env.NODE_ENV !== 'production')`
64-
: config.env !== 'production',
65-
__VUE_PROD_DEVTOOLS__: isBundlerESMBuild
66-
? '__VUE_PROD_DEVTOOLS__'
67-
: 'false'
68-
}))
93+
c.plugins.push(
94+
replace({
95+
preventAssignment: true,
96+
__VERSION__: pkg.version,
97+
__DEV__: isBundlerBuild
98+
? `(process.env.NODE_ENV !== 'production')`
99+
: config.env !== 'production',
100+
__VUE_PROD_DEVTOOLS__: isBundlerESMBuild
101+
? '__VUE_PROD_DEVTOOLS__'
102+
: 'false'
103+
})
104+
)
69105

70106
if (config.transpile !== false) {
71-
c.plugins.push(buble())
107+
c.plugins.push(
108+
buble({
109+
transforms: { asyncAwait: false, forOf: false }
110+
})
111+
)
72112
}
73113

74114
c.plugins.push(resolve())

0 commit comments

Comments
 (0)