Skip to content

Commit 7948dcc

Browse files
authored
chore(deps): update yarn.lock (#349)
* chore(deps): update yarn.lock * fix * fix * fix * use node v18 * update
1 parent 1341c95 commit 7948dcc

File tree

5 files changed

+2675
-2168
lines changed

5 files changed

+2675
-2168
lines changed

Diff for: .node-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
18

Diff for: docs/.vuepress/config.js

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @fileoverview VuePress configration
2+
* @fileoverview VuePress configuration
33
* @author kazuya kawaguchi (a.k.a. kazupon)
44
*/
55
'use strict'
@@ -31,18 +31,34 @@ module.exports = {
3131
'./shim/eslint-visitor-keys'
3232
),
3333
esquery$: require.resolve('esquery/dist/esquery'),
34+
parse5$: require.resolve('parse5'),
3435
fs: require.resolve('./shim/fs'),
3536
[path.resolve(__dirname, '../../dist/utils/glob-utils')]:
3637
require.resolve('./shim/eslint-plugin-vue-i18n/utils/glob-utils')
3738
}
3839
}
3940
}
4041
},
42+
chainWebpack(config) {
43+
// Transpile because some dependency modules can't be parsed by webpack.
44+
const jsRule = config.module.rule('js')
45+
const original = jsRule.exclude.values()
46+
jsRule.exclude
47+
.clear()
48+
.add(filePath => {
49+
if (/\/node_modules\/yaml\//u.test(filePath)) {
50+
return false
51+
}
52+
return original.some(exclude => exclude(filePath))
53+
})
54+
.end()
55+
.use('babel-loader')
56+
},
4157
base: '/',
4258
title: 'eslint-plugin-vue-i18n',
4359
description: 'ESLint plugin for Vue I18n',
4460
serviceWorker: true,
45-
evergreen: true,
61+
evergreen: false,
4662
head: [['meta', { name: 'theme-color', content: '#3eaf7c' }]],
4763
themeConfig: {
4864
repo: 'intlify/eslint-plugin-vue-i18n',

Diff for: package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@types/semver": "^7.3.4",
5555
"@typescript-eslint/eslint-plugin": "^5.2.0",
5656
"@typescript-eslint/parser": "^5.2.0",
57+
"entities": "^4.4.0",
5758
"eslint": "^8.1.0",
5859
"eslint-config-prettier": "^8.0.0",
5960
"eslint-plugin-markdown": "^2.0.0",
@@ -107,8 +108,8 @@
107108
"build": "tsc --project ./tsconfig.build.json",
108109
"clean": "rimraf .nyc_output coverage dist docs/.vuepress/dist",
109110
"coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",
110-
"docs": "npm run build && vuepress dev docs",
111-
"docs:build": "npm run build && vuepress build docs",
111+
"docs": "npm run build && node --openssl-legacy-provider node_modules/vuepress/cli.js dev docs",
112+
"docs:build": "npm run build && node --openssl-legacy-provider node_modules/vuepress/cli.js build docs",
112113
"generate": "ts-node scripts/update.ts",
113114
"lint": "eslint . --ext js,ts,vue,md --ignore-pattern \"/tests/fixtures\"",
114115
"lint-fix": "eslint . --ext js,ts,vue,md --ignore-pattern \"/tests/fixtures\" --fix",

Diff for: tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6262

6363
/* Advanced Options */
64-
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
64+
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
65+
"skipLibCheck": true /* Skip type checking of declaration files. */
6566
},
6667
"include": ["lib", "tests/lib/**/*", "scripts/**/*", "typings/**/*"]
6768
}

0 commit comments

Comments
 (0)