chore(deps-dev): Bump @vue/tsconfig from 0.4.0 to 0.5.1

Bumps [@vue/tsconfig](https://github.com/vuejs/tsconfig) from 0.4.0 to 0.5.1.
- [Commits](https://github.com/vuejs/tsconfig/compare/v0.4.0...v0.5.1)

---
updated-dependencies:
- dependency-name: "@vue/tsconfig"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2024-05-31 09:00:10 +00:00 коммит произвёл Ferdinand Thiessen
Родитель c2f338a853
Коммит 4a4578e6d6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 45FAE7268762B400
4 изменённых файлов: 24 добавлений и 5 удалений

8
package-lock.json сгенерированный
Просмотреть файл

@ -67,7 +67,7 @@
"@types/gettext-parser": "^4.0.4", "@types/gettext-parser": "^4.0.4",
"@types/jest": "^29.5.5", "@types/jest": "^29.5.5",
"@vue/test-utils": "^1.3.0", "@vue/test-utils": "^1.3.0",
"@vue/tsconfig": "^0.4.0", "@vue/tsconfig": "^0.5.1",
"@vue/vue2-jest": "^29.0.0", "@vue/vue2-jest": "^29.0.0",
"babel-jest": "^29.0.1", "babel-jest": "^29.0.1",
"babel-loader-exclude-node-modules-except": "^1.2.1", "babel-loader-exclude-node-modules-except": "^1.2.1",
@ -5954,9 +5954,9 @@
} }
}, },
"node_modules/@vue/tsconfig": { "node_modules/@vue/tsconfig": {
"version": "0.4.0", "version": "0.5.1",
"resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.4.0.tgz", "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.5.1.tgz",
"integrity": "sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==", "integrity": "sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==",
"dev": true "dev": true
}, },
"node_modules/@vue/vue2-jest": { "node_modules/@vue/vue2-jest": {

Просмотреть файл

@ -126,7 +126,7 @@
"@types/gettext-parser": "^4.0.4", "@types/gettext-parser": "^4.0.4",
"@types/jest": "^29.5.5", "@types/jest": "^29.5.5",
"@vue/test-utils": "^1.3.0", "@vue/test-utils": "^1.3.0",
"@vue/tsconfig": "^0.4.0", "@vue/tsconfig": "^0.5.1",
"@vue/vue2-jest": "^29.0.0", "@vue/vue2-jest": "^29.0.0",
"babel-jest": "^29.0.1", "babel-jest": "^29.0.1",
"babel-loader-exclude-node-modules-except": "^1.2.1", "babel-loader-exclude-node-modules-except": "^1.2.1",

6
tsconfig.webpack.json Normal file
Просмотреть файл

@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
}
}

Просмотреть файл

@ -37,6 +37,19 @@ const sassLoader = {
}, },
} }
webpackRules.RULE_TS = {
test: /\.tsx?$/,
use: [
'babel-loader',
{
loader: 'ts-loader',
options: {
configFile: 'tsconfig.webpack.json',
},
},
],
}
webpackRules.RULE_SCSS = { webpackRules.RULE_SCSS = {
test: /\.scss$/, test: /\.scss$/,
oneOf: [ oneOf: [