mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Compare commits
5 Commits
283e465f06
...
2b29d98448
Author | SHA1 | Date | |
---|---|---|---|
|
2b29d98448 | ||
|
dd4736b5c7 | ||
|
ad9c598769 | ||
|
a074048746 | ||
|
b381000de6 |
@ -12,6 +12,9 @@ examples/pug-stylus-coffee/**/*.*
|
|||||||
examples/web-worker/**/*.*
|
examples/web-worker/**/*.*
|
||||||
examples/vue-class-component/**/*.*
|
examples/vue-class-component/**/*.*
|
||||||
|
|
||||||
|
## vue with typescript
|
||||||
|
test/fixtures/vue-tsc/**/*.vue
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
|
|
||||||
# vue-app
|
# vue-app
|
||||||
|
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # All history
|
fetch-depth: 0 # All history
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -85,6 +85,9 @@ jobs:
|
|||||||
|
|
||||||
- name: test types
|
- name: test types
|
||||||
run: yarn test:types
|
run: yarn test:types
|
||||||
|
|
||||||
|
- name: test types with vue-tsc
|
||||||
|
run: yarn test:vue-types
|
||||||
needs: setup
|
needs: setup
|
||||||
|
|
||||||
audit:
|
audit:
|
||||||
@ -96,7 +99,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -127,7 +130,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -167,7 +170,7 @@ jobs:
|
|||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -203,7 +206,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -240,7 +243,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -277,7 +280,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -315,7 +318,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
with:
|
with:
|
||||||
ref: "refs/heads/dev"
|
ref: "refs/heads/dev"
|
||||||
fetch-depth: 0 # All history
|
fetch-depth: 0 # All history
|
||||||
|
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
node: [16]
|
node: [16]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -60,7 +60,7 @@ jobs:
|
|||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -94,7 +94,7 @@ jobs:
|
|||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
@ -133,7 +133,7 @@ jobs:
|
|||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
||||||
with:
|
with:
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"@nuxt/telemetry": "^1.4.1",
|
"@nuxt/telemetry": "^1.4.1",
|
||||||
"@nuxt/utils": "2.17.1",
|
"@nuxt/utils": "2.17.1",
|
||||||
"@nuxt/vue-renderer": "2.17.1",
|
"@nuxt/vue-renderer": "2.17.1",
|
||||||
"node-fetch-native": "^1.2.0",
|
"node-fetch-native": "^1.4.0",
|
||||||
"vue": "^2.7.10",
|
"vue": "^2.7.10",
|
||||||
"vue-client-only": "^2.1.0",
|
"vue-client-only": "^2.1.0",
|
||||||
"vue-meta": "^2.4.0",
|
"vue-meta": "^2.4.0",
|
||||||
|
34
package.json
34
package.json
@ -24,16 +24,17 @@
|
|||||||
"ls-lint": "npx @ls-lint/ls-lint",
|
"ls-lint": "npx @ls-lint/ls-lint",
|
||||||
"nuxt": "jiti ./packages/cli/bin/nuxt-cli.js",
|
"nuxt": "jiti ./packages/cli/bin/nuxt-cli.js",
|
||||||
"pkg": "jiti ./scripts/pkg.js",
|
"pkg": "jiti ./scripts/pkg.js",
|
||||||
"test": "yarn test:fixtures && yarn test:dev && yarn test:unit && yarn test:types",
|
"test": "yarn test:fixtures && yarn test:dev && yarn test:unit && yarn test:types && yarn test:vue-types",
|
||||||
"test:dev": "jest test/dev --forceExit --runInBand",
|
"test:dev": "jest test/dev --forceExit --runInBand",
|
||||||
"test:e2e": "jest -i test/e2e --forceExit",
|
"test:e2e": "jest -i test/e2e --forceExit",
|
||||||
"test:fixtures": "jest test/fixtures --forceExit",
|
"test:fixtures": "jest test/fixtures --forceExit",
|
||||||
"test:lint": "yarn lint && yarn ls-lint",
|
"test:lint": "yarn lint && yarn ls-lint",
|
||||||
"test:types": "tsc -p packages/types/test",
|
"test:types": "tsc -p packages/types/test",
|
||||||
"test:unit": "jest packages --forceExit"
|
"test:unit": "jest packages --forceExit",
|
||||||
|
"test:vue-types": "vue-tsc -p ./test/fixtures/vue-tsc/tsconfig.json"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.22.10",
|
"@babel/core": "7.22.11",
|
||||||
"@babel/preset-env": "7.22.10",
|
"@babel/preset-env": "7.22.10",
|
||||||
"@ls-lint/ls-lint": "2.0.1",
|
"@ls-lint/ls-lint": "2.0.1",
|
||||||
"@nuxtjs/eslint-config": "12.0.0",
|
"@nuxtjs/eslint-config": "12.0.0",
|
||||||
@ -41,15 +42,15 @@
|
|||||||
"@rollup/plugin-alias": "5.0.0",
|
"@rollup/plugin-alias": "5.0.0",
|
||||||
"@rollup/plugin-commonjs": "25.0.4",
|
"@rollup/plugin-commonjs": "25.0.4",
|
||||||
"@rollup/plugin-json": "6.0.0",
|
"@rollup/plugin-json": "6.0.0",
|
||||||
"@rollup/plugin-node-resolve": "15.2.0",
|
"@rollup/plugin-node-resolve": "15.2.1",
|
||||||
"@rollup/plugin-replace": "5.0.2",
|
"@rollup/plugin-replace": "5.0.2",
|
||||||
"@types/jest": "29.5.3",
|
"@types/jest": "29.5.4",
|
||||||
"@typescript-eslint/eslint-plugin": "6.4.0",
|
"@typescript-eslint/eslint-plugin": "6.4.1",
|
||||||
"@typescript-eslint/parser": "6.4.0",
|
"@typescript-eslint/parser": "6.4.1",
|
||||||
"@vue/server-test-utils": "1.3.0",
|
"@vue/server-test-utils": "1.3.0",
|
||||||
"@vue/test-utils": "1.3.6",
|
"@vue/test-utils": "1.3.6",
|
||||||
"@vue/vue2-jest": "29.2.5",
|
"@vue/vue2-jest": "29.2.5",
|
||||||
"babel-jest": "29.6.2",
|
"babel-jest": "29.6.4",
|
||||||
"chrome-launcher": "0.15.2",
|
"chrome-launcher": "0.15.2",
|
||||||
"consola": "3.2.3",
|
"consola": "3.2.3",
|
||||||
"create-require": "1.1.1",
|
"create-require": "1.1.1",
|
||||||
@ -66,27 +67,28 @@
|
|||||||
"glob": "8.1.0",
|
"glob": "8.1.0",
|
||||||
"got": "13.0.0",
|
"got": "13.0.0",
|
||||||
"improved-yarn-audit": "3.0.0",
|
"improved-yarn-audit": "3.0.0",
|
||||||
"jest": "29.6.2",
|
"jest": "29.6.4",
|
||||||
"jest-environment-jsdom": "29.6.2",
|
"jest-environment-jsdom": "29.6.4",
|
||||||
"jest-util": "29.6.2",
|
"jest-util": "29.6.3",
|
||||||
"jiti": "1.19.3",
|
"jiti": "1.19.3",
|
||||||
"jsdom": "22.1.0",
|
"jsdom": "22.1.0",
|
||||||
"jsonfile": "6.1.0",
|
"jsonfile": "6.1.0",
|
||||||
"klaw-sync": "6.0.0",
|
"klaw-sync": "6.0.0",
|
||||||
"lerna": "7.1.5",
|
"lerna": "7.1.5",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"node-fetch-native": "1.2.0",
|
"node-fetch-native": "1.4.0",
|
||||||
"puppeteer-core": "21.1.0",
|
"puppeteer-core": "21.1.0",
|
||||||
"request": "2.88.2",
|
"request": "2.88.2",
|
||||||
"rimraf": "4.4.1",
|
"rimraf": "4.4.1",
|
||||||
"rollup": "3.28.0",
|
"rollup": "3.28.1",
|
||||||
"rollup-plugin-esbuild": "5.0.0",
|
"rollup-plugin-esbuild": "5.0.0",
|
||||||
"rollup-plugin-license": "3.0.1",
|
"rollup-plugin-license": "3.0.1",
|
||||||
"sass": "1.66.0",
|
"sass": "1.66.1",
|
||||||
"sass-loader": "^10.1.1",
|
"sass-loader": "^10.1.1",
|
||||||
"sort-package-json": "2.5.1",
|
"sort-package-json": "2.5.1",
|
||||||
"typescript": "5.1.6",
|
"typescript": "5.2.2",
|
||||||
"vue-jest": "4.0.1"
|
"vue-jest": "4.0.1",
|
||||||
|
"vue-tsc": "^1.8.8"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@1.22.19"
|
"packageManager": "yarn@1.22.19"
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/compat-data": "^7.22.9",
|
"@babel/compat-data": "^7.22.9",
|
||||||
"@babel/core": "^7.22.10",
|
"@babel/core": "^7.22.11",
|
||||||
"@babel/helper-compilation-targets": "^7.22.10",
|
"@babel/helper-compilation-targets": "^7.22.10",
|
||||||
"@babel/helper-module-imports": "^7.22.5",
|
"@babel/helper-module-imports": "^7.22.5",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||||
@ -22,10 +22,10 @@
|
|||||||
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
||||||
"@babel/plugin-transform-runtime": "^7.22.10",
|
"@babel/plugin-transform-runtime": "^7.22.10",
|
||||||
"@babel/preset-env": "^7.22.10",
|
"@babel/preset-env": "^7.22.10",
|
||||||
"@babel/runtime": "^7.22.10",
|
"@babel/runtime": "^7.22.11",
|
||||||
"@vue/babel-preset-jsx": "^1.4.0",
|
"@vue/babel-preset-jsx": "^1.4.0",
|
||||||
"core-js": "^3.32.0",
|
"core-js": "^3.32.1",
|
||||||
"core-js-compat": "^3.32.0",
|
"core-js-compat": "^3.32.1",
|
||||||
"regenerator-runtime": "^0.14.0"
|
"regenerator-runtime": "^0.14.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"pretty-bytes": "^5.6.0",
|
"pretty-bytes": "^5.6.0",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"serve-static": "^1.15.0",
|
"serve-static": "^1.15.0",
|
||||||
"std-env": "^3.4.0",
|
"std-env": "^3.4.3",
|
||||||
"upath": "^2.0.1",
|
"upath": "^2.0.1",
|
||||||
"wrap-ansi": "^7.0.0"
|
"wrap-ansi": "^7.0.0"
|
||||||
},
|
},
|
||||||
|
@ -359,6 +359,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -379,6 +383,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -514,7 +519,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -794,6 +799,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -814,6 +823,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -949,7 +959,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -1235,6 +1245,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -1255,6 +1269,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -1390,7 +1405,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -1670,6 +1685,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -1690,6 +1709,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -1825,7 +1845,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -2111,6 +2131,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -2131,6 +2155,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -2266,7 +2291,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -2552,6 +2577,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -2572,6 +2601,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -2707,7 +2737,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -2999,6 +3029,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -3019,6 +3053,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -3154,7 +3189,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -3443,6 +3478,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -3463,6 +3502,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -3598,7 +3638,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -3893,6 +3933,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -3913,6 +3957,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -4048,7 +4093,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -4334,6 +4379,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -4354,6 +4403,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -4489,7 +4539,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -4781,6 +4831,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -4801,6 +4855,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -4936,7 +4991,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -5222,6 +5277,10 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-trigonometric-functions",
|
"postcssPlugin": "postcss-trigonometric-functions",
|
||||||
},
|
},
|
||||||
|
Object {
|
||||||
|
"Declaration": [Function Declaration],
|
||||||
|
"postcssPlugin": "postcss-exponential-functions",
|
||||||
|
},
|
||||||
Object {
|
Object {
|
||||||
"Declaration": [Function Declaration],
|
"Declaration": [Function Declaration],
|
||||||
"postcssPlugin": "postcss-clamp",
|
"postcssPlugin": "postcss-clamp",
|
||||||
@ -5242,6 +5301,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"browsers": undefined,
|
"browsers": undefined,
|
||||||
"info": [Function info],
|
"info": [Function info],
|
||||||
"options": Object {
|
"options": Object {
|
||||||
|
"env": undefined,
|
||||||
"overrideBrowserslist": undefined,
|
"overrideBrowserslist": undefined,
|
||||||
},
|
},
|
||||||
"postcssPlugin": "autoprefixer",
|
"postcssPlugin": "autoprefixer",
|
||||||
@ -5377,7 +5437,7 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
|||||||
"postcssPlugin": "cssnano-util-raw-cache",
|
"postcssPlugin": "cssnano-util-raw-cache",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"version": "8.4.25",
|
"version": "8.4.28",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"rc9": "^2.1.1",
|
"rc9": "^2.1.1",
|
||||||
"std-env": "^3.4.0",
|
"std-env": "^3.4.3",
|
||||||
"ufo": "^1.2.0"
|
"ufo": "^1.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.10.0"
|
"node": "^14.18.0 || >=16.10.0"
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^10.1.0",
|
||||||
"html-minifier": "^4.0.0",
|
"html-minifier": "^4.0.0",
|
||||||
"node-html-parser": "^6.1.6",
|
"node-html-parser": "^6.1.6",
|
||||||
"ufo": "^1.2.0"
|
"ufo": "^1.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.10.0"
|
"node": "^14.18.0 || >=16.10.0"
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"serve-placeholder": "^2.0.1",
|
"serve-placeholder": "^2.0.1",
|
||||||
"serve-static": "^1.15.0",
|
"serve-static": "^1.15.0",
|
||||||
"server-destroy": "^1.0.1",
|
"server-destroy": "^1.0.1",
|
||||||
"ufo": "^1.2.0"
|
"ufo": "^1.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.10.0"
|
"node": "^14.18.0 || >=16.10.0"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
"serialize-javascript": "^6.0.1",
|
"serialize-javascript": "^6.0.1",
|
||||||
"signal-exit": "^4.1.0",
|
"signal-exit": "^4.1.0",
|
||||||
"ua-parser-js": "^1.0.35",
|
"ua-parser-js": "^1.0.35",
|
||||||
"ufo": "^1.2.0"
|
"ufo": "^1.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.10.0"
|
"node": "^14.18.0 || >=16.10.0"
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
"index.d.ts"
|
"index.d.ts"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-fetch-native": "^1.2.0",
|
"node-fetch-native": "^1.4.0",
|
||||||
"ufo": "^1.2.0",
|
"ufo": "^1.3.0",
|
||||||
"unfetch": "^5.0.0",
|
"unfetch": "^5.0.0",
|
||||||
"vue": "^2.7.10",
|
"vue": "^2.7.10",
|
||||||
"vue-client-only": "^2.1.0",
|
"vue-client-only": "^2.1.0",
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^10.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lru-cache": "^5.1.1",
|
"lru-cache": "^5.1.1",
|
||||||
"ufo": "^1.2.0",
|
"ufo": "^1.3.0",
|
||||||
"vue": "^2.7.10",
|
"vue": "^2.7.10",
|
||||||
"vue-meta": "^2.4.0",
|
"vue-meta": "^2.4.0",
|
||||||
"vue-server-renderer": "^2.7.14"
|
"vue-server-renderer": "^2.7.14"
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.22.10",
|
"@babel/core": "^7.22.11",
|
||||||
"@nuxt/babel-preset-app": "2.17.1",
|
"@nuxt/babel-preset-app": "2.17.1",
|
||||||
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
|
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
|
||||||
"@nuxt/utils": "2.17.1",
|
"@nuxt/utils": "2.17.1",
|
||||||
"babel-loader": "^8.3.0",
|
"babel-loader": "^8.3.0",
|
||||||
"cache-loader": "^4.1.0",
|
"cache-loader": "^4.1.0",
|
||||||
"caniuse-lite": "^1.0.30001521",
|
"caniuse-lite": "^1.0.30001523",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"css-loader": "^5.2.7",
|
"css-loader": "^5.2.7",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
@ -37,15 +37,15 @@
|
|||||||
"postcss-preset-env": "^9.1.1",
|
"postcss-preset-env": "^9.1.1",
|
||||||
"postcss-url": "^10.1.3",
|
"postcss-url": "^10.1.3",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"std-env": "^3.4.0",
|
"std-env": "^3.4.3",
|
||||||
"style-resources-loader": "^1.5.0",
|
"style-resources-loader": "^1.5.0",
|
||||||
"terser-webpack-plugin": "^4.2.3",
|
"terser-webpack-plugin": "^4.2.3",
|
||||||
"thread-loader": "^3.0.4",
|
"thread-loader": "^3.0.4",
|
||||||
"time-fix-plugin": "^2.0.7",
|
"time-fix-plugin": "^2.0.7",
|
||||||
"ufo": "^1.2.0",
|
"ufo": "^1.3.0",
|
||||||
"upath": "^2.0.1",
|
"upath": "^2.0.1",
|
||||||
"url-loader": "^4.1.1",
|
"url-loader": "^4.1.1",
|
||||||
"vue-loader": "^15.10.1",
|
"vue-loader": "^15.10.2",
|
||||||
"vue-style-loader": "^4.1.3",
|
"vue-style-loader": "^4.1.3",
|
||||||
"vue-template-compiler": "^2.7.14",
|
"vue-template-compiler": "^2.7.14",
|
||||||
"watchpack": "^2.4.0",
|
"watchpack": "^2.4.0",
|
||||||
|
18
test/fixtures/vue-tsc/components/my-component.vue
vendored
Normal file
18
test/fixtures/vue-tsc/components/my-component.vue
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
My Component
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import { defineComponent, PropType } from 'vue'
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
|
props: {
|
||||||
|
stringItems: {
|
||||||
|
type: Array as PropType<string[]>,
|
||||||
|
required: true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
6
test/fixtures/vue-tsc/pages/index.vue
vendored
Normal file
6
test/fixtures/vue-tsc/pages/index.vue
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<!-- @vue-expect-error -->
|
||||||
|
<my-component :string-items="[1]" />
|
||||||
|
</div>
|
||||||
|
</template>
|
23
test/fixtures/vue-tsc/tsconfig.json
vendored
Normal file
23
test/fixtures/vue-tsc/tsconfig.json
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
|
"checkJs": true,
|
||||||
|
"module": "ES2022",
|
||||||
|
"moduleResolution": "Node",
|
||||||
|
"noEmit": true,
|
||||||
|
"target": "ES2022",
|
||||||
|
"types": [
|
||||||
|
"../../../packages/types",
|
||||||
|
"./types/vue",
|
||||||
|
],
|
||||||
|
"strict": true,
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"./components/*.vue",
|
||||||
|
"./pages/*.vue",
|
||||||
|
],
|
||||||
|
"vueCompilerOptions": {
|
||||||
|
"strictTemplates": true,
|
||||||
|
"target": 2.7
|
||||||
|
}
|
||||||
|
}
|
7
test/fixtures/vue-tsc/types/vue.d.ts
vendored
Normal file
7
test/fixtures/vue-tsc/types/vue.d.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import 'vue';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
MyComponent: typeof import('../components/my-component.vue').default;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user