Skip to content

Commit

Permalink
chore: bump deps (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon authored Nov 7, 2024
1 parent 37bf051 commit 6c599a1
Show file tree
Hide file tree
Showing 10 changed files with 1,253 additions and 4,152 deletions.
7 changes: 0 additions & 7 deletions .secretlintrc.json

This file was deleted.

38 changes: 12 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/pluginutils": "^4.1.0",
"@secretlint/secretlint-rule-preset-recommend": "^3.1.0",
"@types/debug": "^4.1.5",
"@types/eslint": "^8.56.10",
"@types/eslint-visitor-keys": "^1.0.0",
"@types/jest": "^27.0.2",
"@types/js-yaml": "^4.0.3",
"@types/jsdom": "^16.2.5",
"@types/json5": "^2.2.0",
Expand All @@ -47,43 +45,35 @@
"@types/webpack-merge": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.2.25",
"babel-loader": "^8.2.2",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"chalk": "^5.3.0",
"debug": "^4.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0",
"esno": "^0.17.0",
"execa": "^5.1.1",
"get-port-please": "^3.1.2",
"jest": "^27.2.3",
"jest-puppeteer": "^6.0.0",
"jest-watch-typeahead": "^0.6.4",
"jiti": "^1.16.0",
"jsdom": "^16.4.0",
"lint-staged": "^11.0.0",
"jiti": "^2.4.0",
"jsdom": "^25.0.1",
"lint-staged": "^13.1.4",
"memory-fs": "^0.5.0",
"minimist": "^1.2.5",
"npm-run-all2": "^5.0.0",
"minimist": "^1.2.8",
"npm-run-all2": "^7.0.1",
"opener": "^1.5.2",
"prettier": "^3.2.5",
"prompts": "^2.4.1",
"puppeteer": "^10.4.0",
"prompts": "^2.4.2",
"playwright": "^1.44.0",
"rollup": "^2.53.1",
"rollup-plugin-vue": "^6.0.0",
"secretlint": "^3.2.0",
"serve": "^11.3.2",
"source-map": "0.6.1",
"tiny-glob": "^0.2.9",
"ts-jest": "^27.0.5",
"typescript": "^4.9.3",
"vite": "^4.4.9",
"vitest": "^1.6.0",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.4",
"vue": "^3.2.25",
"vue-i18n": "next",
"vue-loader": "^16.3.0",
Expand All @@ -103,9 +93,6 @@
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
],
"*": [
"secretlint"
]
},
"private": true,
Expand Down Expand Up @@ -138,10 +125,9 @@
"fix": "run-p lint:eslint:fix format:fix",
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
"format:fix": "pnpm format --write",
"lint": "run-p lint:eslint lint:secret",
"lint": "run-p lint:eslint",
"lint:eslint": "eslint ./packages ./scripts --ext .ts",
"lint:eslint:fix": "pnpm lint:eslint --fix",
"lint:secret": "npx secretlint \"**/*\"",
"test": "pnpm test:unit && pnpm test:e2e",
"test:e2e": "pnpm check-install && vitest -c ./vitest.e2e.config.ts run",
"test:e2e:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n test:e2e",
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions packages/rollup-plugin-vue-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"@rollup/pluginutils": "^4.2.0",
"debug": "^4.3.1"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"ts-jest": "^27.0.5",
"jest": "^27.2.3",
"jest-puppeteer": "^6.0.0",
"jest-watch-typeahead": "^0.6.4",
"puppeteer": "^10.4.0"
},
"peerDependencies": {
"petite-vue-i18n": "^9.0.0",
"vue": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

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

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

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

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

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

Expand Down
192 changes: 192 additions & 0 deletions packages/vite-plugin-vue-i18n/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html

module.exports = {
// All imported modules in your tests should be mocked automatically
// automock: false,

// Stop running tests after `n` failures
// bail: 0,

// Respect "browser" field in package.json when resolving modules
// browser: false,

// The directory where Jest should store its cached dependency information
// cacheDirectory: "/private/var/folders/dr/y00s2v7d6xs144hbxgl5z2cw0000gn/T/jest_dx",

// Automatically clear mock calls and instances between every test
clearMocks: true,

// Indicates whether the coverage information should be collected while executing the test
// collectCoverage: false,

// An array of glob patterns indicating a set of files for which coverage information should be collected
// collectCoverageFrom: null,

// The directory where Jest should output its coverage files
coverageDirectory: 'coverage',

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ['/node_modules/'],

// A list of reporter names that Jest uses when writing coverage reports
// coverageReporters: [
// "json",
// "text",
// "lcov",
// "clover"
// ],

// An object that configures minimum threshold enforcement for coverage results
// coverageThreshold: null,

// A path to a custom dependency extractor
// dependencyExtractor: null,

// Make calling deprecated APIs throw helpful error messages
// errorOnDeprecated: false,

// Force coverage collection from ignored files using an array of glob patterns
// forceCoverageMatch: [],

// A path to a module which exports an async function that is triggered once before all test suites
// globalSetup: null,

// A path to a module which exports an async function that is triggered once after all test suites
// globalTeardown: null,

// A set of global variables that need to be available in all test environments
globals: {
'ts-jest': {
diagnostics: false
}
},

// 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.
// maxWorkers: "50%",

// An array of directory names to be searched recursively up from the requiring module's location
// moduleDirectories: [
// "node_modules"
// ],

// An array of file extensions your modules use
// moduleFileExtensions: [
// "js",
// "json",
// "jsx",
// "ts",
// "tsx",
// "node"
// ],

// A map from regular expressions to module names that allow to stub out resources with a single module
// moduleNameMapper: {},

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],

// Activates notifications for test results
// notify: false,

// An enum that specifies notification mode. Requires { notify: true }
// notifyMode: "failure-change",

// A preset that is used as a base for Jest's configuration
preset: 'ts-jest',

// Run tests from one or more projects
// projects: null,

// Use this configuration option to add custom reporters to Jest
// reporters: undefined,

// Automatically reset mock state between every test
// resetMocks: false,

// Reset the module registry before running each individual test
// resetModules: false,

// A path to a custom resolver
// resolver: null,

// Automatically restore mock state between every test
// restoreMocks: false,

// The root directory that Jest should scan for tests and modules within
// rootDir: null,

// A list of paths to directories that Jest should use to search for files in
// roots: [
// "<rootDir>"
// ],

// Allows you to use a custom runner instead of Jest's default test runner
// runner: "jest-runner",

// The paths to modules that run some code to configure or set up the testing environment before each test
// setupFiles: [],

// A list of paths to modules that run some code to configure or set up the testing framework before each test
// setupFilesAfterEnv: [],

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
// snapshotSerializers: [],

// The test environment that will be used for testing
testEnvironment: 'node',

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},

// Adds a location field to test results
// testLocationInResults: false,

// The glob patterns Jest uses to detect test files
testMatch: ['<rootDir>/packages/**/test/**/*(*.)@(spec|test).[tj]s?(x)'],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
// "/node_modules/"
// ],

// The regexp pattern or array of patterns that Jest uses to detect test files
// testRegex: [],

// This option allows the use of a custom results processor
// testResultsProcessor: null,

// This option allows use of a custom test runner
// testRunner: "jasmine2",

// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
// testURL: "http://localhost",

// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
// timers: "real",

// A map from regular expressions to paths to transformers
// transform: null,

// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
// transformIgnorePatterns: [
// "/node_modules/"
// ],

// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
// unmockedModulePathPatterns: undefined,

// Indicates whether each individual test should be reported during the run
// verbose: null,

// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
// watchPathIgnorePatterns: [],

// Whether to use watchman for file crawling
// watchman: true,

watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname'
]
}
8 changes: 7 additions & 1 deletion packages/vite-plugin-vue-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@
"source-map": "0.6.1"
},
"devDependencies": {
"unbuild": "^1.1.2"
"unbuild": "^1.1.2",
"@types/jest": "^27.0.2",
"ts-jest": "^27.0.5",
"jest": "^27.2.3",
"jest-puppeteer": "^6.0.0",
"jest-watch-typeahead": "^0.6.4",
"puppeteer": "^10.4.0"
},
"engines": {
"node": ">= 14.6"
Expand Down
Loading

0 comments on commit 6c599a1

Please sign in to comment.