fix: unit test
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
"vitest/importMeta",
|
"vitest/importMeta",
|
||||||
"vite/client",
|
"vite/client",
|
||||||
"node",
|
"node",
|
||||||
"vitest"
|
"vitest",
|
||||||
|
"@testing-library/jest-dom"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|||||||
@@ -51,9 +51,10 @@ export default defineConfig(() => ({
|
|||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
watch: false,
|
watch: false,
|
||||||
globals: true,
|
|
||||||
setupFiles: ['./vitest.setup.ts'],
|
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
|
setupFiles: ['./vitest.setup.ts'],
|
||||||
|
globalsSetup: './vitest.setup.ts',
|
||||||
|
globals: true,
|
||||||
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||||||
reporters: ['default'],
|
reporters: ['default'],
|
||||||
coverage: {
|
coverage: {
|
||||||
|
|||||||
@@ -1 +1,8 @@
|
|||||||
import '@testing-library/jest-dom';
|
import { afterEach } from 'vitest';
|
||||||
|
import { cleanup } from '@testing-library/react';
|
||||||
|
import React from 'react';
|
||||||
|
import '@testing-library/jest-dom/vitest';
|
||||||
|
|
||||||
|
afterEach(() => {
|
||||||
|
cleanup();
|
||||||
|
});
|
||||||
|
|||||||
Generated
+740
@@ -26,6 +26,7 @@
|
|||||||
"@nx/eslint-plugin": "20.5.0",
|
"@nx/eslint-plugin": "20.5.0",
|
||||||
"@nx/js": "20.5.0",
|
"@nx/js": "20.5.0",
|
||||||
"@nx/react": "20.5.0",
|
"@nx/react": "20.5.0",
|
||||||
|
"@nx/storybook": "^20.6.0",
|
||||||
"@nx/vite": "20.5.0",
|
"@nx/vite": "20.5.0",
|
||||||
"@nx/web": "20.5.0",
|
"@nx/web": "20.5.0",
|
||||||
"@nx/workspace": "20.5.0",
|
"@nx/workspace": "20.5.0",
|
||||||
@@ -3766,6 +3767,379 @@
|
|||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@nx/cypress": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/cypress/-/cypress-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-jydIwpT0hut8XrWjoARwkr/T7lNoFN1LOizrxgqxOYhF84duBGoNEmWIRpfR+WHbPLuInrkEDzcG9dtfU/d3cg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@nx/eslint": "20.6.0",
|
||||||
|
"@nx/js": "20.6.0",
|
||||||
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
||||||
|
"detect-port": "^1.5.1",
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"cypress": ">= 3 < 14"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"cypress": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/devkit": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-w2GkzXSE3OFnQrE0jTmc4Uf2P92kmiHAmNCtppyJ97M2nEBodecf8p3Ghp6jZj0TjGqeJQv7hKOB/HzAnRl+KQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"ejs": "^3.1.7",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"ignore": "^5.0.4",
|
||||||
|
"minimatch": "9.0.3",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"tmp": "~0.2.1",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"yargs-parser": "21.1.1"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"nx": ">= 19 <= 21"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/eslint": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/eslint/-/eslint-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-hiObiT1augRPnmumIaWsujvH5qhjVyXGsZ5HqNVtzVnxAd8DATwNVf3gTyNGNZYbjOfK9t/EoRaIg7q592gwrQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@nx/js": "20.6.0",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"typescript": "~5.7.2"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"eslint": "^8.0.0 || ^9.0.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@zkochan/js-yaml": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/js": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/js/-/js-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-KkdpI1AJUW5Biq3Cw/80B8CvPQyLR/3G333rL6+MK2B8Pk1X75OsdjWITNiXN0I4HT0MiLuIqeEW/uvCdVRTsA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/core": "^7.23.2",
|
||||||
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
||||||
|
"@babel/plugin-transform-class-properties": "^7.22.5",
|
||||||
|
"@babel/plugin-transform-runtime": "^7.23.2",
|
||||||
|
"@babel/preset-env": "^7.23.2",
|
||||||
|
"@babel/preset-typescript": "^7.22.5",
|
||||||
|
"@babel/runtime": "^7.22.6",
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@nx/workspace": "20.6.0",
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"babel-plugin-const-enum": "^1.0.1",
|
||||||
|
"babel-plugin-macros": "^3.1.0",
|
||||||
|
"babel-plugin-transform-typescript-metadata": "^0.3.1",
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"columnify": "^1.6.0",
|
||||||
|
"detect-port": "^1.5.1",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"ignore": "^5.0.4",
|
||||||
|
"js-tokens": "^4.0.0",
|
||||||
|
"jsonc-parser": "3.2.0",
|
||||||
|
"npm-package-arg": "11.0.1",
|
||||||
|
"npm-run-path": "^4.0.1",
|
||||||
|
"ora": "5.3.0",
|
||||||
|
"picocolors": "^1.1.0",
|
||||||
|
"picomatch": "4.0.2",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"source-map-support": "0.5.19",
|
||||||
|
"tinyglobby": "^0.2.10",
|
||||||
|
"ts-node": "10.9.1",
|
||||||
|
"tsconfig-paths": "^4.1.2",
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"verdaccio": "^6.0.5"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"verdaccio": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-darwin-arm64": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-qJcXeZvMpYVxTA35wZ24+MR2PO+0wd4sEB4fuS4pNFo/TqOlwKgK2LUFk+sU1xZjdcUkk9Cf3w4o0ySg5tgJcQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-darwin-x64": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-JDh/glX95yyMdEsf81KkhuM56FbHC56ZC4VC5x2b6biEMyWEP4G18eUZPhrAkpTDHsiKmwefOiJfXzscR8y74g==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-freebsd-x64": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-KQNNEk6bNAfbW3vYdzBKrOKPrX3wFaME5LQfE0Be0c4GrGo8zO3yxHGEDZeM2W7muR+xRx8j9P3NUOAR9h7RpQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-linux-arm-gnueabihf": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-a/FsFaNLa+dXwSxkg7K88m3VJ6fK16oCLqMX6QNSuTcXsdcSWYPoMkjsuiYXPOjLQjozukOWMjDswUeuMqrehA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-linux-arm64-gnu": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-M3vVf9eLQPYog0/I+TZT5IMjOp1wtkQXPJzZbnqMIerTMLlHSRYkuwox2Qc8C1EmvMm100MDZU440/doOK7Jig==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-linux-arm64-musl": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-GGce7WhJp6LSclwCK2fGgztD+hKslqDA01SCUPrXOiJ8UGp1goUDXvMZoDxeldcxt3ptIeazb5VW3hTE9WSXYA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-linux-x64-gnu": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-9bpu3xPCCnwn++Wdpnh5BTDjqCNs/C7dSBWMUM5GMyRcnZUVjwAboevmLGXEOqL5kW6MvXgRqiYgv6vSjNHsrw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-linux-x64-musl": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-oWuEJyQeJvGGvmjYRMLkX8nazYuDytNn6gORCQCNpI6h4svQ8SgPLfgmAHFXmqjsIULTE5RuGc0X06lT+fDATw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-win32-arm64-msvc": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-MgYRBYDbdyLAA+/cF5dao9kvk2zvwS6i8PMZA1Jj9ltVwPOz30Qj5gx0PmwsOlAV784aG4OX26Wa/XlXwZqjXg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/nx-win32-x64-msvc": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-xfCaefdf1dHQxqN8OLfiA8Cq9b8F1HqVnpWYVB6zoD/TCsmRhV8KLbUlnv2n4AK+ZYu7H1AgAFF9lC4vDeeoTQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/workspace": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-VYZ5fANfaqrpkakTOhwWWPLyUdgHEDSd/ziDZRI5Aj/fzDZu2sb0NIENpktd/6duIYp/G8Ne9du2ABku0/2uhA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"nx": "20.6.0",
|
||||||
|
"picomatch": "4.0.2",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"yargs-parser": "21.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/cypress/node_modules/@nx/workspace/node_modules/nx": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/nx/-/nx-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-2b9YeQPXShw62KeOHfZ/0FqeHx28GK15uoIh7jfNg0hzVnvLVSJrThUjWHY0a8F4km+B4VKeKO8a3KtdN2cwig==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@napi-rs/wasm-runtime": "0.2.4",
|
||||||
|
"@yarnpkg/lockfile": "^1.1.0",
|
||||||
|
"@yarnpkg/parsers": "3.0.2",
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"axios": "^1.8.3",
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"cli-cursor": "3.1.0",
|
||||||
|
"cli-spinners": "2.6.1",
|
||||||
|
"cliui": "^8.0.1",
|
||||||
|
"dotenv": "~16.4.5",
|
||||||
|
"dotenv-expand": "~11.0.6",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"figures": "3.2.0",
|
||||||
|
"flat": "^5.0.2",
|
||||||
|
"front-matter": "^4.0.2",
|
||||||
|
"ignore": "^5.0.4",
|
||||||
|
"jest-diff": "^29.4.1",
|
||||||
|
"jsonc-parser": "3.2.0",
|
||||||
|
"lines-and-columns": "2.0.3",
|
||||||
|
"minimatch": "9.0.3",
|
||||||
|
"node-machine-id": "1.1.12",
|
||||||
|
"npm-run-path": "^4.0.1",
|
||||||
|
"open": "^8.4.0",
|
||||||
|
"ora": "5.3.0",
|
||||||
|
"resolve.exports": "2.0.3",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"string-width": "^4.2.3",
|
||||||
|
"tar-stream": "~2.2.0",
|
||||||
|
"tmp": "~0.2.1",
|
||||||
|
"tsconfig-paths": "^4.1.2",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"yaml": "^2.6.0",
|
||||||
|
"yargs": "^17.6.2",
|
||||||
|
"yargs-parser": "21.1.1"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"nx": "bin/nx.js",
|
||||||
|
"nx-cloud": "bin/nx-cloud.js"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@nx/nx-darwin-arm64": "20.6.0",
|
||||||
|
"@nx/nx-darwin-x64": "20.6.0",
|
||||||
|
"@nx/nx-freebsd-x64": "20.6.0",
|
||||||
|
"@nx/nx-linux-arm-gnueabihf": "20.6.0",
|
||||||
|
"@nx/nx-linux-arm64-gnu": "20.6.0",
|
||||||
|
"@nx/nx-linux-arm64-musl": "20.6.0",
|
||||||
|
"@nx/nx-linux-x64-gnu": "20.6.0",
|
||||||
|
"@nx/nx-linux-x64-musl": "20.6.0",
|
||||||
|
"@nx/nx-win32-arm64-msvc": "20.6.0",
|
||||||
|
"@nx/nx-win32-x64-msvc": "20.6.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@swc-node/register": "^1.8.0",
|
||||||
|
"@swc/core": "^1.3.85"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@swc-node/register": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@swc/core": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@nx/devkit": {
|
"node_modules/@nx/devkit": {
|
||||||
"version": "20.5.0",
|
"version": "20.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-20.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-20.5.0.tgz",
|
||||||
@@ -4544,6 +4918,372 @@
|
|||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@nx/storybook": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/storybook/-/storybook-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-nPlpt+cpFqRkiLpnn1lPnNIZKTFmV1QgsGoLYXs2u5tUu9BG3LM9MHvZxorwaX2Oo7T0LKfpHyAngqu7FIAhIw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/cypress": "20.6.0",
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@nx/eslint": "20.6.0",
|
||||||
|
"@nx/js": "20.6.0",
|
||||||
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/devkit": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-w2GkzXSE3OFnQrE0jTmc4Uf2P92kmiHAmNCtppyJ97M2nEBodecf8p3Ghp6jZj0TjGqeJQv7hKOB/HzAnRl+KQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"ejs": "^3.1.7",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"ignore": "^5.0.4",
|
||||||
|
"minimatch": "9.0.3",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"tmp": "~0.2.1",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"yargs-parser": "21.1.1"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"nx": ">= 19 <= 21"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/eslint": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/eslint/-/eslint-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-hiObiT1augRPnmumIaWsujvH5qhjVyXGsZ5HqNVtzVnxAd8DATwNVf3gTyNGNZYbjOfK9t/EoRaIg7q592gwrQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@nx/js": "20.6.0",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"typescript": "~5.7.2"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"eslint": "^8.0.0 || ^9.0.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@zkochan/js-yaml": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/js": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/js/-/js-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-KkdpI1AJUW5Biq3Cw/80B8CvPQyLR/3G333rL6+MK2B8Pk1X75OsdjWITNiXN0I4HT0MiLuIqeEW/uvCdVRTsA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/core": "^7.23.2",
|
||||||
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
||||||
|
"@babel/plugin-transform-class-properties": "^7.22.5",
|
||||||
|
"@babel/plugin-transform-runtime": "^7.23.2",
|
||||||
|
"@babel/preset-env": "^7.23.2",
|
||||||
|
"@babel/preset-typescript": "^7.22.5",
|
||||||
|
"@babel/runtime": "^7.22.6",
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@nx/workspace": "20.6.0",
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"babel-plugin-const-enum": "^1.0.1",
|
||||||
|
"babel-plugin-macros": "^3.1.0",
|
||||||
|
"babel-plugin-transform-typescript-metadata": "^0.3.1",
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"columnify": "^1.6.0",
|
||||||
|
"detect-port": "^1.5.1",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"ignore": "^5.0.4",
|
||||||
|
"js-tokens": "^4.0.0",
|
||||||
|
"jsonc-parser": "3.2.0",
|
||||||
|
"npm-package-arg": "11.0.1",
|
||||||
|
"npm-run-path": "^4.0.1",
|
||||||
|
"ora": "5.3.0",
|
||||||
|
"picocolors": "^1.1.0",
|
||||||
|
"picomatch": "4.0.2",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"source-map-support": "0.5.19",
|
||||||
|
"tinyglobby": "^0.2.10",
|
||||||
|
"ts-node": "10.9.1",
|
||||||
|
"tsconfig-paths": "^4.1.2",
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"verdaccio": "^6.0.5"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"verdaccio": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-darwin-arm64": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-qJcXeZvMpYVxTA35wZ24+MR2PO+0wd4sEB4fuS4pNFo/TqOlwKgK2LUFk+sU1xZjdcUkk9Cf3w4o0ySg5tgJcQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-darwin-x64": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-JDh/glX95yyMdEsf81KkhuM56FbHC56ZC4VC5x2b6biEMyWEP4G18eUZPhrAkpTDHsiKmwefOiJfXzscR8y74g==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-freebsd-x64": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-KQNNEk6bNAfbW3vYdzBKrOKPrX3wFaME5LQfE0Be0c4GrGo8zO3yxHGEDZeM2W7muR+xRx8j9P3NUOAR9h7RpQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-linux-arm-gnueabihf": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-a/FsFaNLa+dXwSxkg7K88m3VJ6fK16oCLqMX6QNSuTcXsdcSWYPoMkjsuiYXPOjLQjozukOWMjDswUeuMqrehA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-linux-arm64-gnu": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-M3vVf9eLQPYog0/I+TZT5IMjOp1wtkQXPJzZbnqMIerTMLlHSRYkuwox2Qc8C1EmvMm100MDZU440/doOK7Jig==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-linux-arm64-musl": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-GGce7WhJp6LSclwCK2fGgztD+hKslqDA01SCUPrXOiJ8UGp1goUDXvMZoDxeldcxt3ptIeazb5VW3hTE9WSXYA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-linux-x64-gnu": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-9bpu3xPCCnwn++Wdpnh5BTDjqCNs/C7dSBWMUM5GMyRcnZUVjwAboevmLGXEOqL5kW6MvXgRqiYgv6vSjNHsrw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-linux-x64-musl": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-oWuEJyQeJvGGvmjYRMLkX8nazYuDytNn6gORCQCNpI6h4svQ8SgPLfgmAHFXmqjsIULTE5RuGc0X06lT+fDATw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-win32-arm64-msvc": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-MgYRBYDbdyLAA+/cF5dao9kvk2zvwS6i8PMZA1Jj9ltVwPOz30Qj5gx0PmwsOlAV784aG4OX26Wa/XlXwZqjXg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/nx-win32-x64-msvc": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-xfCaefdf1dHQxqN8OLfiA8Cq9b8F1HqVnpWYVB6zoD/TCsmRhV8KLbUlnv2n4AK+ZYu7H1AgAFF9lC4vDeeoTQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/workspace": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-VYZ5fANfaqrpkakTOhwWWPLyUdgHEDSd/ziDZRI5Aj/fzDZu2sb0NIENpktd/6duIYp/G8Ne9du2ABku0/2uhA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@nx/devkit": "20.6.0",
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"nx": "20.6.0",
|
||||||
|
"picomatch": "4.0.2",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"yargs-parser": "21.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@nx/storybook/node_modules/@nx/workspace/node_modules/nx": {
|
||||||
|
"version": "20.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/nx/-/nx-20.6.0.tgz",
|
||||||
|
"integrity": "sha512-2b9YeQPXShw62KeOHfZ/0FqeHx28GK15uoIh7jfNg0hzVnvLVSJrThUjWHY0a8F4km+B4VKeKO8a3KtdN2cwig==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@napi-rs/wasm-runtime": "0.2.4",
|
||||||
|
"@yarnpkg/lockfile": "^1.1.0",
|
||||||
|
"@yarnpkg/parsers": "3.0.2",
|
||||||
|
"@zkochan/js-yaml": "0.0.7",
|
||||||
|
"axios": "^1.8.3",
|
||||||
|
"chalk": "^4.1.0",
|
||||||
|
"cli-cursor": "3.1.0",
|
||||||
|
"cli-spinners": "2.6.1",
|
||||||
|
"cliui": "^8.0.1",
|
||||||
|
"dotenv": "~16.4.5",
|
||||||
|
"dotenv-expand": "~11.0.6",
|
||||||
|
"enquirer": "~2.3.6",
|
||||||
|
"figures": "3.2.0",
|
||||||
|
"flat": "^5.0.2",
|
||||||
|
"front-matter": "^4.0.2",
|
||||||
|
"ignore": "^5.0.4",
|
||||||
|
"jest-diff": "^29.4.1",
|
||||||
|
"jsonc-parser": "3.2.0",
|
||||||
|
"lines-and-columns": "2.0.3",
|
||||||
|
"minimatch": "9.0.3",
|
||||||
|
"node-machine-id": "1.1.12",
|
||||||
|
"npm-run-path": "^4.0.1",
|
||||||
|
"open": "^8.4.0",
|
||||||
|
"ora": "5.3.0",
|
||||||
|
"resolve.exports": "2.0.3",
|
||||||
|
"semver": "^7.5.3",
|
||||||
|
"string-width": "^4.2.3",
|
||||||
|
"tar-stream": "~2.2.0",
|
||||||
|
"tmp": "~0.2.1",
|
||||||
|
"tsconfig-paths": "^4.1.2",
|
||||||
|
"tslib": "^2.3.0",
|
||||||
|
"yaml": "^2.6.0",
|
||||||
|
"yargs": "^17.6.2",
|
||||||
|
"yargs-parser": "21.1.1"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"nx": "bin/nx.js",
|
||||||
|
"nx-cloud": "bin/nx-cloud.js"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@nx/nx-darwin-arm64": "20.6.0",
|
||||||
|
"@nx/nx-darwin-x64": "20.6.0",
|
||||||
|
"@nx/nx-freebsd-x64": "20.6.0",
|
||||||
|
"@nx/nx-linux-arm-gnueabihf": "20.6.0",
|
||||||
|
"@nx/nx-linux-arm64-gnu": "20.6.0",
|
||||||
|
"@nx/nx-linux-arm64-musl": "20.6.0",
|
||||||
|
"@nx/nx-linux-x64-gnu": "20.6.0",
|
||||||
|
"@nx/nx-linux-x64-musl": "20.6.0",
|
||||||
|
"@nx/nx-win32-arm64-msvc": "20.6.0",
|
||||||
|
"@nx/nx-win32-x64-msvc": "20.6.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@swc-node/register": "^1.8.0",
|
||||||
|
"@swc/core": "^1.3.85"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@swc-node/register": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@swc/core": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@nx/vite": {
|
"node_modules/@nx/vite": {
|
||||||
"version": "20.5.0",
|
"version": "20.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@nx/vite/-/vite-20.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@nx/vite/-/vite-20.5.0.tgz",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"@nx/eslint-plugin": "20.5.0",
|
"@nx/eslint-plugin": "20.5.0",
|
||||||
"@nx/js": "20.5.0",
|
"@nx/js": "20.5.0",
|
||||||
"@nx/react": "20.5.0",
|
"@nx/react": "20.5.0",
|
||||||
|
"@nx/storybook": "^20.6.0",
|
||||||
"@nx/vite": "20.5.0",
|
"@nx/vite": "20.5.0",
|
||||||
"@nx/web": "20.5.0",
|
"@nx/web": "20.5.0",
|
||||||
"@nx/workspace": "20.5.0",
|
"@nx/workspace": "20.5.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user