From 8d6549de3c933ae30338fd8108f7cf4eba371702 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 25 Jan 2024 15:14:43 -0500 Subject: [PATCH 1/7] Adds coverage report generation command and GitHub workflow --- .github/workflows/coverage.yml | 10 ++++++++++ .gitignore | 1 + package.json | 3 ++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 000000000..64048b009 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,10 @@ +name: 'coverage' +on: + pull_request: + branches: [master] +jobs: + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ArtiomTr/jest-coverage-report-action@v2 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2b5317021..2bef37cfa 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ public/assets/ .env.* playwright-report test-results +coverage # local fixtures, everyone should generate their own tests/fixtures/development.json diff --git a/package.json b/package.json index 7a00009c7..a2b1e0603 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,8 @@ "serve": "serve public -l 80 --single", "storybook": "storybook dev -p 6006", "test": "NODE_OPTIONS=--experimental-vm-modules jest", - "test-watch": "jest --watchAll", + "test-watch": "NODE_OPTIONS=--experimental-vm-modules jest --watchAll", + "test-coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage", "test:browser": "playwright test", "watch": "concurrently npm:serve npm:dev-embed npm:watch-app", "watch-app": "cross-env NODE_ENV=development webpack watch --config webpack.app.config.js" From 7382fff1c27f820c6bac551c71569a610499486b Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 25 Jan 2024 15:19:55 -0500 Subject: [PATCH 2/7] Fix workflow .yml --- .github/workflows/coverage.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 64048b009..97c1286fa 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,10 +1,20 @@ -name: 'coverage' +name: Coverage Report + on: pull_request: branches: [master] + jobs: coverage: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ArtiomTr/jest-coverage-report-action@v2 \ No newline at end of file + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: "18.x" + - run: npm ci + - run: npm run build + env: + NODE_ENV: production + - uses: ArtiomTr/jest-coverage-report-action@v2 From 9b111274dcd19a41030049a6f9f53db2f70f4b59 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 25 Jan 2024 15:23:40 -0500 Subject: [PATCH 3/7] Fix workflow .yml --- .github/workflows/coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 97c1286fa..a5b45e0a4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,3 +18,5 @@ jobs: env: NODE_ENV: production - uses: ArtiomTr/jest-coverage-report-action@v2 + with: + test-script: npm run test-coverage From 3304f1b1bdfb42a6d36357e64125af2d9171eb47 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 25 Jan 2024 15:35:56 -0500 Subject: [PATCH 4/7] Updates Jest settings for coverage generation --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 70fed85f6..1bed729c8 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,6 +11,7 @@ export default { transform: { "^.+\\.svelte$": ["svelte-jester", { preprocess: true }], }, - transformIgnorePatterns: ["/node_modules/(?!svue).+\\.js$"], + collectCoverageFrom: ["./**/*.{js,svelte}"], + coverageReporters: ["html", "text-summary"], }; From 6fab80fdd79bb2f811bbaf7b9257b787ed828741 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Tue, 23 Jan 2024 10:03:34 -0500 Subject: [PATCH 5/7] Configure Jest to run TS files and tests --- jest.config.js | 5 +- package-lock.json | 179 +++++++++++++++++++++++++++++++++++++--------- package.json | 4 +- 3 files changed, 153 insertions(+), 35 deletions(-) diff --git a/jest.config.js b/jest.config.js index 1bed729c8..f41fd0634 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,15 +1,16 @@ /** @type {import('jest').Config} */ export default { - extensionsToTreatAsEsm: [".svelte"], + extensionsToTreatAsEsm: [".svelte", ".ts"], moduleNameMapper: { "^@/(.*)$": "/$1", }, - moduleFileExtensions: ["js", "svelte"], + moduleFileExtensions: ["js", "ts", "svelte"], rootDir: "src", setupFiles: ["dotenv/config"], testEnvironment: "jsdom", transform: { "^.+\\.svelte$": ["svelte-jester", { preprocess: true }], + "^.+\\.ts$": ["ts-jest", { useESM: true }], }, transformIgnorePatterns: ["/node_modules/(?!svue).+\\.js$"], collectCoverageFrom: ["./**/*.{js,svelte}"], diff --git a/package-lock.json b/package-lock.json index cdc65a88d..15c0fff3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,6 +70,7 @@ "@storybook/svelte": "^7.6.4", "@storybook/svelte-webpack5": "^7.6.4", "@storybook/testing-library": "^0.2.2", + "@types/lucene": "^2.1.7", "chromatic": "^9.1.0", "eslint": "^7.32.0", "jest": "^29.6.3", @@ -86,7 +87,8 @@ "storybook": "7.6.4", "storybook-mock-date-decorator": "^1.0.1", "svelte-jester": "^3.0.0", - "tape": "^5.7.2" + "tape": "^5.7.2", + "ts-jest": "^29.1.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -229,16 +231,16 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.15.tgz", - "integrity": "sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg==", + "version": "7.23.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.7.tgz", + "integrity": "sha512-xCoqR/8+BoNnXOY7RVSgv6X+o7pmT5q1d+gGcRlXYkI+9B31glE4jeejhKVpA04O1AtzOt7OSQ6VYKP5FcRl9g==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-member-expression-to-functions": "^7.22.15", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-member-expression-to-functions": "^7.23.0", "@babel/helper-optimise-call-expression": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-replace-supers": "^7.22.20", "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", "semver": "^6.3.1" @@ -335,9 +337,9 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-module-imports": "^7.22.15", @@ -686,9 +688,10 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", - "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz", + "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==", + "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -794,9 +797,10 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", - "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz", + "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==", + "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -1173,11 +1177,11 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.0.tgz", - "integrity": "sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz", + "integrity": "sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==", "dependencies": { - "@babel/helper-module-transforms": "^7.23.0", + "@babel/helper-module-transforms": "^7.23.3", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-simple-access": "^7.22.5" }, @@ -1504,14 +1508,15 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.15.tgz", - "integrity": "sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.6.tgz", + "integrity": "sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA==", + "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.15", + "@babel/helper-create-class-features-plugin": "^7.23.6", "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-typescript": "^7.22.5" + "@babel/plugin-syntax-typescript": "^7.23.3" }, "engines": { "node": ">=6.9.0" @@ -1703,15 +1708,16 @@ } }, "node_modules/@babel/preset-typescript": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.23.2.tgz", - "integrity": "sha512-u4UJc1XsS1GhIGteM8rnGiIvf9rJpiVgMEeCnwlLA7WJPC+jcXWJAGxYmeqs5hOZD8BbAfnV5ezBOxQbb4OUxA==", + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.23.3.tgz", + "integrity": "sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ==", + "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-option": "^7.22.15", - "@babel/plugin-syntax-jsx": "^7.22.5", - "@babel/plugin-transform-modules-commonjs": "^7.23.0", - "@babel/plugin-transform-typescript": "^7.22.15" + "@babel/plugin-syntax-jsx": "^7.23.3", + "@babel/plugin-transform-modules-commonjs": "^7.23.3", + "@babel/plugin-transform-typescript": "^7.23.3" }, "engines": { "node": ">=6.9.0" @@ -7178,6 +7184,12 @@ "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", "dev": true }, + "node_modules/@types/lucene": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@types/lucene/-/lucene-2.1.7.tgz", + "integrity": "sha512-i3J0OV0RoJSskOJUa76Hgz09deabWwfJajsUxc1M05HryjPpPEKqtRklKe0+O0XVhdrFIiFO1/SInXpDCacfNA==", + "dev": true + }, "node_modules/@types/mdx": { "version": "2.0.10", "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.10.tgz", @@ -8809,6 +8821,18 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/bser": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", @@ -16459,6 +16483,12 @@ "resolved": "https://registry.npmjs.org/lodash.invokemap/-/lodash.invokemap-4.6.0.tgz", "integrity": "sha512-CfkycNtMqgUlfjfdh2BhKO/ZXrP8ePOX5lEU/g0R3ItJcnuxWDwokMGKx1hWcfOikmyOVx6X9IwWnDGlgKl61w==" }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true + }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -21997,6 +22027,91 @@ "node": ">=6.10" } }, + "node_modules/ts-jest": { + "version": "29.1.2", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz", + "integrity": "sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==", + "dev": true, + "dependencies": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^29.0.0", + "json5": "^2.2.3", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "^7.5.3", + "yargs-parser": "^21.0.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^16.10.0 || ^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/types": "^29.0.0", + "babel-jest": "^29.0.0", + "jest": "^29.0.0", + "typescript": ">=4.3 <6" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + } + } + }, + "node_modules/ts-jest/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-jest/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-jest/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/ts-jest/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, "node_modules/ts-loader": { "version": "9.5.0", "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.0.tgz", diff --git a/package.json b/package.json index a2b1e0603..43c7e80d8 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "@storybook/svelte": "^7.6.4", "@storybook/svelte-webpack5": "^7.6.4", "@storybook/testing-library": "^0.2.2", + "@types/lucene": "^2.1.7", "chromatic": "^9.1.0", "eslint": "^7.32.0", "jest": "^29.6.3", @@ -81,7 +82,8 @@ "storybook": "7.6.4", "storybook-mock-date-decorator": "^1.0.1", "svelte-jester": "^3.0.0", - "tape": "^5.7.2" + "tape": "^5.7.2", + "ts-jest": "^29.1.2" }, "scripts": { "build": "webpack", From 521b295fc42d05dadf0934959ce81120586ef2bd Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 25 Jan 2024 15:40:33 -0500 Subject: [PATCH 6/7] Fixes broken imports --- src/api/test/fixtures/empty.ts | 2 +- src/api/test/fixtures/project.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/test/fixtures/empty.ts b/src/api/test/fixtures/empty.ts index 50f1b0ff6..bae10553d 100644 --- a/src/api/test/fixtures/empty.ts +++ b/src/api/test/fixtures/empty.ts @@ -1,4 +1,4 @@ -import { Page } from "../types/common"; +import type { Page } from "../../types/common"; export const emptyList: Page = { count: 0, diff --git a/src/api/test/fixtures/project.ts b/src/api/test/fixtures/project.ts index d570f6cc3..46e639b30 100644 --- a/src/api/test/fixtures/project.ts +++ b/src/api/test/fixtures/project.ts @@ -1,5 +1,5 @@ -import { Page } from "../types/common"; -import { Project } from "../types/project"; +import type { Page } from "../../types/common"; +import type { Project } from "../../types/project"; export const project: Project = { id: 200006, From a6fba13e04d9db426d36b9bbf6defd239c3fba3e Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 25 Jan 2024 15:40:48 -0500 Subject: [PATCH 7/7] Updates Jest coverage config to include TS files --- jest.config.js | 2 +- package-lock.json | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/jest.config.js b/jest.config.js index f41fd0634..5dae9db74 100644 --- a/jest.config.js +++ b/jest.config.js @@ -13,6 +13,6 @@ export default { "^.+\\.ts$": ["ts-jest", { useESM: true }], }, transformIgnorePatterns: ["/node_modules/(?!svue).+\\.js$"], - collectCoverageFrom: ["./**/*.{js,svelte}"], + collectCoverageFrom: ["./**/*.{js,ts,svelte}"], coverageReporters: ["html", "text-summary"], }; diff --git a/package-lock.json b/package-lock.json index 15c0fff3f..17a630da1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -691,7 +691,6 @@ "version": "7.23.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz", "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==", - "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -800,7 +799,6 @@ "version": "7.23.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz", "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==", - "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -1511,7 +1509,6 @@ "version": "7.23.6", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.6.tgz", "integrity": "sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA==", - "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", "@babel/helper-create-class-features-plugin": "^7.23.6", @@ -1711,7 +1708,6 @@ "version": "7.23.3", "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.23.3.tgz", "integrity": "sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ==", - "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-option": "^7.22.15",