Skip to content

Commit c2158f6

Browse files
Update Weekly devDependency patch updates (#610)
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]>
1 parent ff70b85 commit c2158f6

File tree

4 files changed

+32
-40
lines changed

4 files changed

+32
-40
lines changed

jest.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// jest.config.js
21
/** @type {import('@jest/types').Config.InitialOptions} */
32
const config = {
43
verbose: true,
@@ -9,13 +8,8 @@ const config = {
98
testMatch: ["<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"],
109
testEnvironment: "jsdom",
1110
preset: "ts-jest",
12-
globals: {
13-
"ts-jest": {
14-
isolatedModules: true,
15-
},
16-
},
1711
transform: {
18-
"\\.(ts|js)x?$": "ts-jest",
12+
"\\.(ts|js)x?$": ["ts-jest", { isolatedModules: true }],
1913
},
2014
transformIgnorePatterns: [
2115
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
@@ -24,7 +18,6 @@ const config = {
2418
moduleNameMapper: {
2519
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$":
2620
"identity-obj-proxy",
27-
"~(.*)$": "<rootDir>/src/$1",
2821
},
2922
moduleDirectories: ["node_modules", "<rootDir>/node_modules", "."],
3023
watchPlugins: [

knip.jsonc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"$schema": "https://unpkg.com/knip@next/schema.json",
33
"entry": ["src/index.ts!"],
4-
"project": ["src/**/*.{ts,tsx,mdx}!", ".storybook/**/*.js", "jest.config.js"],
4+
"project": ["src/**/*.{ts,tsx,mdx}!", ".storybook/**/*.js"],
55
"ignoreDependencies": [
66
// False-positives
7-
"identity-obj-proxy",
87
"react-copy-to-clipboard",
98
"lodash",
109
"lodash.clonedeep",

package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
"jest": "^29.6.1",
9999
"jest-environment-jsdom": "^29.6.1",
100100
"jest-watch-typeahead": "^2.2.2",
101-
"knip": "^2.14.1",
102-
"lint-staged": "^13.2.2",
101+
"knip": "^2.14.3",
102+
"lint-staged": "^13.2.3",
103103
"npm-run-all": "^4.1.5",
104104
"patch-package": "^6.5.1",
105105
"prettier": "^2.8.8",

0 commit comments

Comments
 (0)