chore: upgrade to c12 1.5 with configurable layers (#23782)

This commit is contained in:
Pooya Parsa 2023-10-19 16:20:11 +02:00 committed by GitHub
parent 8d62c2add2
commit 2050d1bfa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 26 deletions

View File

@ -22,7 +22,7 @@
},
"dependencies": {
"@nuxt/schema": "workspace:*",
"c12": "^1.4.2",
"c12": "^1.5.1",
"consola": "^3.2.3",
"defu": "^6.1.2",
"globby": "^13.2.2",

View File

@ -65,7 +65,7 @@
"@unhead/vue": "^1.7.4",
"@vue/shared": "^3.3.4",
"acorn": "8.10.0",
"c12": "^1.4.2",
"c12": "^1.5.1",
"chokidar": "^3.5.3",
"cookie-es": "^1.0.0",
"defu": "^6.1.2",

View File

@ -49,6 +49,7 @@ export default defineBuildConfig({
'file-loader',
'pug',
'sass-loader',
'c12',
// Implicit
'@vue/compiler-core',
'@vue/shared',

View File

@ -37,6 +37,7 @@
"@vitejs/plugin-vue": "4.4.0",
"@vitejs/plugin-vue-jsx": "3.0.2",
"@vue/compiler-core": "3.3.4",
"c12": "1.5.1",
"esbuild-loader": "4.0.2",
"h3": "1.8.2",
"ignore": "5.2.4",

View File

@ -11,8 +11,12 @@ export default defineUntypedSchema({
*
* Value should be either a string or array of strings pointing to source directories or config path relative to current config.
*
* You can use `github:`, `gitlab:`, `bitbucket:` or `https://` to extend from a remote git repository.
* @type {string|string[]}
* You can use `github:`, `gh:` `gitlab:` or `bitbucket:`.
*
* @see https://github.com/unjs/c12#extending-config-layer-from-remote-sources
* @see https://github.com/unjs/giget
*
* @type {(string|string|[string, typeof import('c12').SourceOptions?])[]}
*/
extends: null,

View File

@ -146,8 +146,8 @@ importers:
specifier: workspace:*
version: link:../schema
c12:
specifier: ^1.4.2
version: 1.4.2
specifier: ^1.5.1
version: 1.5.1
consola:
specifier: ^3.2.3
version: 3.2.3
@ -267,8 +267,8 @@ importers:
specifier: 8.10.0
version: 8.10.0
c12:
specifier: ^1.4.2
version: 1.4.2
specifier: ^1.5.1
version: 1.5.1
chokidar:
specifier: ^3.5.3
version: 3.5.3
@ -478,6 +478,9 @@ importers:
'@vue/compiler-core':
specifier: 3.3.4
version: 3.3.4
c12:
specifier: 1.5.1
version: 1.5.1
esbuild-loader:
specifier: 4.0.2
version: 4.0.2(webpack@5.89.0)
@ -3821,23 +3824,6 @@ packages:
dependencies:
run-applescript: 5.0.0
/c12@1.4.2:
resolution: {integrity: sha512-3IP/MuamSVRVw8W8+CHWAz9gKN4gd+voF2zm/Ln6D25C2RhytEZ1ABbC8MjKr4BR9rhoV1JQ7jJA158LDiTkLg==}
dependencies:
chokidar: 3.5.3
defu: 6.1.2
dotenv: 16.3.1
giget: 1.1.3
jiti: 1.20.0
mlly: 1.4.2
ohash: 1.1.3
pathe: 1.1.1
perfect-debounce: 1.0.0
pkg-types: 1.0.3
rc9: 2.1.1
transitivePeerDependencies:
- supports-color
/c12@1.5.1:
resolution: {integrity: sha512-BWZRJgDEveT8uI+cliCwvYSSSSvb4xKoiiu5S0jaDbKBopQLQF7E+bq9xKk1pTcG+mUa3yXuFO7bD9d8Lr9Xxg==}
dependencies:
@ -3967,7 +3953,7 @@ packages:
resolution: {integrity: sha512-IzgToIJ/R9NhVKmL+PW33ozYkv53bXvufDNUSH3GTKXq1iCHGgkbgbtqEWbo8tnWNnt7nPDpjL8PwSG2iS8RVw==}
hasBin: true
dependencies:
c12: 1.4.2
c12: 1.5.1
colorette: 2.0.20
consola: 3.2.3
convert-gitmoji: 0.1.3