Skip to content

Commit 6c599a1

Browse files
authored
chore: bump deps (#404)
1 parent 37bf051 commit 6c599a1

File tree

10 files changed

+1253
-4152
lines changed

10 files changed

+1253
-4152
lines changed

.secretlintrc.json

-7
This file was deleted.

package.json

+12-26
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@
3131
"@rollup/plugin-node-resolve": "^13.0.0",
3232
"@rollup/plugin-replace": "^2.4.2",
3333
"@rollup/pluginutils": "^4.1.0",
34-
"@secretlint/secretlint-rule-preset-recommend": "^3.1.0",
3534
"@types/debug": "^4.1.5",
3635
"@types/eslint": "^8.56.10",
3736
"@types/eslint-visitor-keys": "^1.0.0",
38-
"@types/jest": "^27.0.2",
3937
"@types/js-yaml": "^4.0.3",
4038
"@types/jsdom": "^16.2.5",
4139
"@types/json5": "^2.2.0",
@@ -47,43 +45,35 @@
4745
"@types/webpack-merge": "^5.0.0",
4846
"@typescript-eslint/eslint-plugin": "^6.21.0",
4947
"@typescript-eslint/parser": "^6.21.0",
50-
"@vitejs/plugin-vue": "^5.0.5",
48+
"@vitejs/plugin-vue": "^5.1.4",
5149
"@vue/compiler-sfc": "^3.2.25",
5250
"babel-loader": "^8.2.2",
53-
"chalk": "^4.1.1",
54-
"cross-env": "^7.0.3",
51+
"chalk": "^5.3.0",
5552
"debug": "^4.1.1",
5653
"eslint": "^8.57.0",
5754
"eslint-config-prettier": "^9.1.0",
5855
"eslint-plugin-prettier": "^5.1.3",
5956
"eslint-plugin-vue": "^9.26.0",
60-
"esno": "^0.17.0",
6157
"execa": "^5.1.1",
6258
"get-port-please": "^3.1.2",
63-
"jest": "^27.2.3",
64-
"jest-puppeteer": "^6.0.0",
65-
"jest-watch-typeahead": "^0.6.4",
66-
"jiti": "^1.16.0",
67-
"jsdom": "^16.4.0",
68-
"lint-staged": "^11.0.0",
59+
"jiti": "^2.4.0",
60+
"jsdom": "^25.0.1",
61+
"lint-staged": "^13.1.4",
6962
"memory-fs": "^0.5.0",
70-
"minimist": "^1.2.5",
71-
"npm-run-all2": "^5.0.0",
63+
"minimist": "^1.2.8",
64+
"npm-run-all2": "^7.0.1",
7265
"opener": "^1.5.2",
7366
"prettier": "^3.2.5",
74-
"prompts": "^2.4.1",
75-
"puppeteer": "^10.4.0",
67+
"prompts": "^2.4.2",
7668
"playwright": "^1.44.0",
7769
"rollup": "^2.53.1",
7870
"rollup-plugin-vue": "^6.0.0",
79-
"secretlint": "^3.2.0",
8071
"serve": "^11.3.2",
8172
"source-map": "0.6.1",
8273
"tiny-glob": "^0.2.9",
83-
"ts-jest": "^27.0.5",
84-
"typescript": "^4.9.3",
85-
"vite": "^4.4.9",
86-
"vitest": "^1.6.0",
74+
"typescript": "^5.6.3",
75+
"vite": "^5.4.10",
76+
"vitest": "^2.1.4",
8777
"vue": "^3.2.25",
8878
"vue-i18n": "next",
8979
"vue-loader": "^16.3.0",
@@ -103,9 +93,6 @@
10393
],
10494
"*.ts?(x)": [
10595
"prettier --parser=typescript --write"
106-
],
107-
"*": [
108-
"secretlint"
10996
]
11097
},
11198
"private": true,
@@ -138,10 +125,9 @@
138125
"fix": "run-p lint:eslint:fix format:fix",
139126
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
140127
"format:fix": "pnpm format --write",
141-
"lint": "run-p lint:eslint lint:secret",
128+
"lint": "run-p lint:eslint",
142129
"lint:eslint": "eslint ./packages ./scripts --ext .ts",
143130
"lint:eslint:fix": "pnpm lint:eslint --fix",
144-
"lint:secret": "npx secretlint \"**/*\"",
145131
"test": "pnpm test:unit && pnpm test:e2e",
146132
"test:e2e": "pnpm check-install && vitest -c ./vitest.e2e.config.ts run",
147133
"test:e2e:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n test:e2e",
File renamed without changes.

packages/rollup-plugin-vue-i18n/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
"@rollup/pluginutils": "^4.2.0",
1616
"debug": "^4.3.1"
1717
},
18+
"devDependencies": {
19+
"@types/jest": "^27.0.2",
20+
"ts-jest": "^27.0.5",
21+
"jest": "^27.2.3",
22+
"jest-puppeteer": "^6.0.0",
23+
"jest-watch-typeahead": "^0.6.4",
24+
"puppeteer": "^10.4.0"
25+
},
1826
"peerDependencies": {
1927
"petite-vue-i18n": "^9.0.0",
2028
"vue": "^3.0.0",

packages/unplugin-vue-i18n/test/vite/__snapshots__/sourcemap.test.ts.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`custom blocks: json 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
3+
exports[`custom blocks: json 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
44

5-
exports[`custom blocks: json5 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
5+
exports[`custom blocks: json5 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
66

7-
exports[`custom blocks: yaml 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
7+
exports[`custom blocks: yaml 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
88

9-
exports[`custom blocks: yml 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
9+
exports[`custom blocks: yml 1`] = `";;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAAS;AAChB,SAAO,UAAU;AACnB;"`;
1010

1111
exports[`resource files: json 1`] = `";;;;;;;;;;;;;;;;;AAGA,IAAI,OAAO,WAAW,aAAa;AACjC,SAAO,SAASA;AAChB,SAAO,UAAU;AACnB;"`;
1212

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
// For a detailed explanation regarding each configuration property, visit:
2+
// https://jestjs.io/docs/en/configuration.html
3+
4+
module.exports = {
5+
// All imported modules in your tests should be mocked automatically
6+
// automock: false,
7+
8+
// Stop running tests after `n` failures
9+
// bail: 0,
10+
11+
// Respect "browser" field in package.json when resolving modules
12+
// browser: false,
13+
14+
// The directory where Jest should store its cached dependency information
15+
// cacheDirectory: "/private/var/folders/dr/y00s2v7d6xs144hbxgl5z2cw0000gn/T/jest_dx",
16+
17+
// Automatically clear mock calls and instances between every test
18+
clearMocks: true,
19+
20+
// Indicates whether the coverage information should be collected while executing the test
21+
// collectCoverage: false,
22+
23+
// An array of glob patterns indicating a set of files for which coverage information should be collected
24+
// collectCoverageFrom: null,
25+
26+
// The directory where Jest should output its coverage files
27+
coverageDirectory: 'coverage',
28+
29+
// An array of regexp pattern strings used to skip coverage collection
30+
coveragePathIgnorePatterns: ['/node_modules/'],
31+
32+
// A list of reporter names that Jest uses when writing coverage reports
33+
// coverageReporters: [
34+
// "json",
35+
// "text",
36+
// "lcov",
37+
// "clover"
38+
// ],
39+
40+
// An object that configures minimum threshold enforcement for coverage results
41+
// coverageThreshold: null,
42+
43+
// A path to a custom dependency extractor
44+
// dependencyExtractor: null,
45+
46+
// Make calling deprecated APIs throw helpful error messages
47+
// errorOnDeprecated: false,
48+
49+
// Force coverage collection from ignored files using an array of glob patterns
50+
// forceCoverageMatch: [],
51+
52+
// A path to a module which exports an async function that is triggered once before all test suites
53+
// globalSetup: null,
54+
55+
// A path to a module which exports an async function that is triggered once after all test suites
56+
// globalTeardown: null,
57+
58+
// A set of global variables that need to be available in all test environments
59+
globals: {
60+
'ts-jest': {
61+
diagnostics: false
62+
}
63+
},
64+
65+
// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
66+
// maxWorkers: "50%",
67+
68+
// An array of directory names to be searched recursively up from the requiring module's location
69+
// moduleDirectories: [
70+
// "node_modules"
71+
// ],
72+
73+
// An array of file extensions your modules use
74+
// moduleFileExtensions: [
75+
// "js",
76+
// "json",
77+
// "jsx",
78+
// "ts",
79+
// "tsx",
80+
// "node"
81+
// ],
82+
83+
// A map from regular expressions to module names that allow to stub out resources with a single module
84+
// moduleNameMapper: {},
85+
86+
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
87+
// modulePathIgnorePatterns: [],
88+
89+
// Activates notifications for test results
90+
// notify: false,
91+
92+
// An enum that specifies notification mode. Requires { notify: true }
93+
// notifyMode: "failure-change",
94+
95+
// A preset that is used as a base for Jest's configuration
96+
preset: 'ts-jest',
97+
98+
// Run tests from one or more projects
99+
// projects: null,
100+
101+
// Use this configuration option to add custom reporters to Jest
102+
// reporters: undefined,
103+
104+
// Automatically reset mock state between every test
105+
// resetMocks: false,
106+
107+
// Reset the module registry before running each individual test
108+
// resetModules: false,
109+
110+
// A path to a custom resolver
111+
// resolver: null,
112+
113+
// Automatically restore mock state between every test
114+
// restoreMocks: false,
115+
116+
// The root directory that Jest should scan for tests and modules within
117+
// rootDir: null,
118+
119+
// A list of paths to directories that Jest should use to search for files in
120+
// roots: [
121+
// "<rootDir>"
122+
// ],
123+
124+
// Allows you to use a custom runner instead of Jest's default test runner
125+
// runner: "jest-runner",
126+
127+
// The paths to modules that run some code to configure or set up the testing environment before each test
128+
// setupFiles: [],
129+
130+
// A list of paths to modules that run some code to configure or set up the testing framework before each test
131+
// setupFilesAfterEnv: [],
132+
133+
// A list of paths to snapshot serializer modules Jest should use for snapshot testing
134+
// snapshotSerializers: [],
135+
136+
// The test environment that will be used for testing
137+
testEnvironment: 'node',
138+
139+
// Options that will be passed to the testEnvironment
140+
// testEnvironmentOptions: {},
141+
142+
// Adds a location field to test results
143+
// testLocationInResults: false,
144+
145+
// The glob patterns Jest uses to detect test files
146+
testMatch: ['<rootDir>/packages/**/test/**/*(*.)@(spec|test).[tj]s?(x)'],
147+
148+
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
149+
// testPathIgnorePatterns: [
150+
// "/node_modules/"
151+
// ],
152+
153+
// The regexp pattern or array of patterns that Jest uses to detect test files
154+
// testRegex: [],
155+
156+
// This option allows the use of a custom results processor
157+
// testResultsProcessor: null,
158+
159+
// This option allows use of a custom test runner
160+
// testRunner: "jasmine2",
161+
162+
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
163+
// testURL: "http://localhost",
164+
165+
// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
166+
// timers: "real",
167+
168+
// A map from regular expressions to paths to transformers
169+
// transform: null,
170+
171+
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
172+
// transformIgnorePatterns: [
173+
// "/node_modules/"
174+
// ],
175+
176+
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
177+
// unmockedModulePathPatterns: undefined,
178+
179+
// Indicates whether each individual test should be reported during the run
180+
// verbose: null,
181+
182+
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
183+
// watchPathIgnorePatterns: [],
184+
185+
// Whether to use watchman for file crawling
186+
// watchman: true,
187+
188+
watchPlugins: [
189+
'jest-watch-typeahead/filename',
190+
'jest-watch-typeahead/testname'
191+
]
192+
}

packages/vite-plugin-vue-i18n/package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@
3434
"source-map": "0.6.1"
3535
},
3636
"devDependencies": {
37-
"unbuild": "^1.1.2"
37+
"unbuild": "^1.1.2",
38+
"@types/jest": "^27.0.2",
39+
"ts-jest": "^27.0.5",
40+
"jest": "^27.2.3",
41+
"jest-puppeteer": "^6.0.0",
42+
"jest-watch-typeahead": "^0.6.4",
43+
"puppeteer": "^10.4.0"
3844
},
3945
"engines": {
4046
"node": ">= 14.6"

0 commit comments

Comments
 (0)