-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update multiple dependencies to latest
- Loading branch information
1 parent
a8d32ec
commit 5acd5ad
Showing
7 changed files
with
4,645 additions
and
4,594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
presets: [ | ||
[ | ||
"@babel/preset-env", | ||
{ useBuiltIns: "entry", corejs: "2", targets: { node: "current" } } | ||
] | ||
], | ||
plugins: [ | ||
function () { | ||
return { | ||
visitor: { | ||
MetaProperty(path) { | ||
path.replaceWithSourceString("process"); | ||
} | ||
} | ||
}; | ||
} | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,48 @@ | ||
/** | ||
* 🃏 Jest configuration file | ||
* https://jestjs.io/docs/27.x/getting-started | ||
*/ | ||
const ROOT_DIR = "<rootDir>" | ||
const ROOT_SRC = `${ROOT_DIR}/src` | ||
const FULL_ROOT_SRC = `${ROOT_SRC}/$1` | ||
module.exports = { | ||
moduleFileExtensions: ["js", "json", "vue"], | ||
moduleNameMapper: { | ||
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy", | ||
"^~/(.*)$": FULL_ROOT_SRC, | ||
"^~~/(.*)$": FULL_ROOT_SRC, | ||
"^@/(.*)$": FULL_ROOT_SRC, | ||
"^@@/(.*)$": FULL_ROOT_SRC, | ||
"^@./(.*)$": `${ROOT_DIR}/$1`, | ||
"^@root(.*)$": FULL_ROOT_SRC, | ||
"^@components(.*)$": `${ROOT_SRC}/components$1`, | ||
"^@pages(.*)$": `${ROOT_SRC}/pages$1`, | ||
"^@scripts(.*)$": `${ROOT_SRC}/assets/scripts$1`, | ||
"^@stores(.*)$": `${ROOT_DIR}/stores/$1` | ||
}, | ||
transform: { | ||
"^.+\\.js$": "babel-jest", | ||
"^.+\\.vue$": "@vue/vue3-jest" | ||
|
||
}, | ||
snapshotSerializers: [`${ROOT_DIR}/node_modules/jest-serializer-vue`], | ||
testEnvironment: "jsdom", | ||
setupFilesAfterEnv: [`${ROOT_DIR}/jest.config.js`] | ||
} | ||
const ROOT_DIR = "<rootDir>"; | ||
const ROOT_SRC = `${ROOT_DIR}/src`; | ||
const FULL_ROOT_SRC = `${ROOT_SRC}/$1`; | ||
module.exports = { | ||
testEnvironment: "jsdom", | ||
testEnvironmentOptions: { | ||
customExportConditions: ["node", "node-addons"] | ||
}, | ||
moduleFileExtensions: ["js", "ts", "vue", "json"], | ||
setupFilesAfterEnv: [`${ROOT_DIR}/tests/setup.js`], | ||
moduleNameMapper: { | ||
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": | ||
"identity-obj-proxy", | ||
"^~/(.*)$": FULL_ROOT_SRC, | ||
"^~~/(.*)$": FULL_ROOT_SRC, | ||
"^@/(.*)$": FULL_ROOT_SRC, | ||
"^@@/(.*)$": FULL_ROOT_SRC, | ||
"^@./(.*)$": `${ROOT_DIR}/$1`, | ||
"@meta(.*)$": `${ROOT_DIR}/meta/$1`, | ||
"@root(.*)$": `${ROOT_DIR}/$1`, | ||
"^@components(.*)$": `${ROOT_SRC}/components$1`, | ||
"^@pages(.*)$": `${ROOT_SRC}/pages$1`, | ||
"^@scripts(.*)$": `${ROOT_SRC}/assets/scripts$1`, | ||
"^@stores(.*)$": `${ROOT_DIR}/stores/$1` | ||
}, | ||
preset: "ts-jest", | ||
// testMatch: ["<rootDir>/__tests__/__unit__/**/*.spec.js"], | ||
transformIgnorePatterns: ["/node_modules/"], | ||
transform: { | ||
"^.+\\.js$": "babel-jest", | ||
"^.+\\.(js|ts)$": "@sucrase/jest-plugin", | ||
"^.+\\.(vue)$": "@vue/vue3-jest", | ||
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": | ||
"jest-transform-stub" | ||
}, | ||
|
||
coverageDirectory: "coverage", | ||
coverageProvider: "v8", | ||
collectCoverageFrom: ["src/**/*.{js,vue}", "!src/main.js", "!src/App.vue"], | ||
coverageThreshold: { | ||
global: { | ||
branches: 40, | ||
functions: 80, | ||
lines: 90, | ||
statements: 80 | ||
} | ||
} | ||
}; |
Oops, something went wrong.