Skip to content

Commit

Permalink
Update Weekly devDependency patch updates (#610)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominik Nowik <[email protected]>
Co-authored-by: nowyDEV <[email protected]>
  • Loading branch information
3 people authored Jul 28, 2023
1 parent ff70b85 commit c2158f6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 40 deletions.
9 changes: 1 addition & 8 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// jest.config.js
/** @type {import('@jest/types').Config.InitialOptions} */
const config = {
verbose: true,
Expand All @@ -9,13 +8,8 @@ const config = {
testMatch: ["<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"],
testEnvironment: "jsdom",
preset: "ts-jest",
globals: {
"ts-jest": {
isolatedModules: true,
},
},
transform: {
"\\.(ts|js)x?$": "ts-jest",
"\\.(ts|js)x?$": ["ts-jest", { isolatedModules: true }],
},
transformIgnorePatterns: [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
Expand All @@ -24,7 +18,6 @@ const config = {
moduleNameMapper: {
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$":
"identity-obj-proxy",
"~(.*)$": "<rootDir>/src/$1",
},
moduleDirectories: ["node_modules", "<rootDir>/node_modules", "."],
watchPlugins: [
Expand Down
3 changes: 1 addition & 2 deletions knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"$schema": "https://unpkg.com/knip@next/schema.json",
"entry": ["src/index.ts!"],
"project": ["src/**/*.{ts,tsx,mdx}!", ".storybook/**/*.js", "jest.config.js"],
"project": ["src/**/*.{ts,tsx,mdx}!", ".storybook/**/*.js"],
"ignoreDependencies": [
// False-positives
"identity-obj-proxy",
"react-copy-to-clipboard",
"lodash",
"lodash.clonedeep",
Expand Down
56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"jest-watch-typeahead": "^2.2.2",
"knip": "^2.14.1",
"lint-staged": "^13.2.2",
"knip": "^2.14.3",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"patch-package": "^6.5.1",
"prettier": "^2.8.8",
Expand Down

0 comments on commit c2158f6

Please sign in to comment.