1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-18 00:19:49 +01:00

chore: bumped node version to 18.20.3 (#7222)

This commit is contained in:
Christopher Kolstad 2024-05-31 12:11:44 +02:00 committed by GitHub
parent 1d97521232
commit f84be2fd7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 20 deletions

View File

@ -1,4 +1,4 @@
ARG NODE_VERSION=18.20.2-alpine ARG NODE_VERSION=18.20.3-alpine
FROM node:$NODE_VERSION as builder FROM node:$NODE_VERSION as builder

View File

@ -82,9 +82,7 @@
"testTimeout": 10000, "testTimeout": 10000,
"globalSetup": "./scripts/jest-setup.js", "globalSetup": "./scripts/jest-setup.js",
"transform": { "transform": {
"^.+\\.tsx?$": [ "^.+\\.tsx?$": ["@swc/jest"]
"@swc/jest"
]
}, },
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [ "testPathIgnorePatterns": [
@ -93,13 +91,7 @@
"/frontend/", "/frontend/",
"/website/" "/website/"
], ],
"moduleFileExtensions": [ "moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
"ts",
"tsx",
"js",
"jsx",
"json"
],
"coveragePathIgnorePatterns": [ "coveragePathIgnorePatterns": [
"/node_modules/", "/node_modules/",
"/dist/", "/dist/",
@ -237,14 +229,8 @@
"tough-cookie": "4.1.3" "tough-cookie": "4.1.3"
}, },
"lint-staged": { "lint-staged": {
"*.{js,ts}": [ "*.{js,ts}": ["biome check --apply --no-errors-on-unmatched"],
"biome check --apply --no-errors-on-unmatched" "*.{jsx,tsx}": ["biome check --apply --no-errors-on-unmatched"],
], "*.json": ["biome format --write --no-errors-on-unmatched"]
"*.{jsx,tsx}": [
"biome check --apply --no-errors-on-unmatched"
],
"*.json": [
"biome format --write --no-errors-on-unmatched"
]
} }
} }