diff --git a/.gitignore b/.gitignore index 4fa66acf5..c82e8d428 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,8 @@ v # storybook storybook-static -build-storybook.log \ No newline at end of file +build-storybook.log + +# environment +!apps/api/.env +!apps/client/.env diff --git a/apps/api/.env b/apps/api/.env new file mode 100644 index 000000000..c7360fb82 --- /dev/null +++ b/apps/api/.env @@ -0,0 +1 @@ +../../.env \ No newline at end of file diff --git a/apps/api/package.json b/apps/api/package.json index 729bb2089..33311df8a 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -7,7 +7,6 @@ "format": "yarn prisma format", "generate": "yarn prisma generate", "typecheck": "yarn run generate && tsc --noEmit", - "copy-env": "node ../../scripts/copy-env.mjs --api", "test:watch": "yarn vitest --watch", "test": "yarn vitest run" }, diff --git a/apps/client/.env b/apps/client/.env new file mode 100644 index 000000000..c7360fb82 --- /dev/null +++ b/apps/client/.env @@ -0,0 +1 @@ +../../.env \ No newline at end of file diff --git a/apps/client/package.json b/apps/client/package.json index d00d35976..4091b3b0a 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -11,7 +11,7 @@ "start:proxy-experimental": "yarn next start --port 80", "validate": "node ../../scripts/validate.mjs", "typecheck": "yarn tsc --noEmit", - "copy-env": "node ../../scripts/copy-env.mjs --client", + "set-client-port": "node ../../scripts/set-client-port.mjs --client", "validate-locales": "node ../../scripts/validate-locales.mjs", "test:watch": "yarn vitest --watch", "test": "yarn vitest run", diff --git a/package.json b/package.json index 5401deab7..496b2fe6f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "@casperiv/eslint-config-react": "8.0.0", "colorette": "2.0.20", "concurrently": "^8.2.0", - "copy": "^0.3.2", "dotenv": "^16.3.1", "eslint": "8.47.0", "husky": "^8.0.3", diff --git a/scripts/copy-env.mjs b/scripts/set-client-port.mjs similarity index 59% rename from scripts/copy-env.mjs rename to scripts/set-client-port.mjs index d4eed914b..c04e59dc2 100644 --- a/scripts/copy-env.mjs +++ b/scripts/set-client-port.mjs @@ -1,6 +1,5 @@ import "dotenv/config"; import process from "node:process"; -import { one } from "copy"; import { join } from "node:path"; import { readFile, writeFile } from "node:fs/promises"; import { EOL } from "node:os"; @@ -43,47 +42,9 @@ async function addPortToClientPackageJson() { const [, , ...args] = process.argv; const copyToClient = hasArg("--client"); -const copyToApi = hasArg("--api"); - -let ENV_FILE_PATH = join(process.cwd(), ".env"); - -if (ENV_FILE_PATH.endsWith("/apps/client/.env") || ENV_FILE_PATH.endsWith("/apps/api/.env")) { - ENV_FILE_PATH = ENV_FILE_PATH.replace(/apps\/(client|api)\//, ""); -} - -/** - * @param {string} distDir - */ -function copyEnv(distDir) { - try { - one(ENV_FILE_PATH, distDir, (error) => { - if (error) { - console.log({ error }); - return; - } - - const isClient = distDir.endsWith("client"); - const isApi = distDir.endsWith("api"); - const type = isClient ? "client" : isApi ? "api" : null; - - if (type) { - console.log(`✅ copied .env — ${type}`); - } - }); - } catch (e) { - console.log({ e }); - } -} if (copyToClient) { - const CLIENT_PACKAGE_PATH = join(process.cwd(), "apps", "client"); addPortToClientPackageJson(); - copyEnv(CLIENT_PACKAGE_PATH); -} - -if (copyToApi) { - const API_PACKAGE_PATH = join(process.cwd(), "apps", "api"); - copyEnv(API_PACKAGE_PATH); } function hasArg(arg) { diff --git a/turbo.json b/turbo.json index 2269b87dc..4e32f5a09 100644 --- a/turbo.json +++ b/turbo.json @@ -2,81 +2,42 @@ "$schema": "https://turborepo.org/schema.json", "pipeline": { "@snailycad/client#build": { - "dependsOn": [ - "copy-env", - "^build" - ], - "outputs": [ - ".next/**" - ] + "dependsOn": ["set-client-port", "^build"], + "outputs": [".next/**"] }, "@snailycad/api#build": { - "dependsOn": [ - "copy-env", - "^build" - ] + "dependsOn": ["set-client-port", "^build"] }, - "copy-env": { + "set-client-port": { "cache": false, - "dependsOn": [ - "^copy-env" - ], - "outputs": [ - ".env" - ] + "dependsOn": ["^set-client-port"], + "outputs": [".env"] }, "create-images-domain": { - "dependsOn": [ - "^create-images-domain" - ], - "outputs": [ - "next.config.mjs" - ] + "dependsOn": ["^create-images-domain"], + "outputs": ["next.config.mjs"] }, "validate-locales": { - "dependsOn": [ - "^validate-locales" - ] + "dependsOn": ["^validate-locales"] }, "build": { - "dependsOn": [ - "copy-env", - "create-images-domain", - "validate-locales", - "^build" - ], - "outputs": [ - ".next/**", - "dist/**" - ] + "dependsOn": ["set-client-port", "create-images-domain", "validate-locales", "^build"], + "outputs": [".next/**", "dist/**"] }, "typecheck": { - "dependsOn": [ - "^typecheck" - ], + "dependsOn": ["^typecheck"], "outputs": [] }, "test": { - "dependsOn": [ - "^test" - ], - "inputs": [ - "src/**/*.tsx", - "src/**/*.ts", - "tests/**/*.test.ts" - ], + "dependsOn": ["^test"], + "inputs": ["src/**/*.tsx", "src/**/*.ts", "tests/**/*.test.ts"], "outputs": [] }, "watch": { "persistent": true, "cache": false, - "outputs": [ - ".next/*", - "dist/*" - ] + "outputs": [".next/*", "dist/*"] } }, - "globalDependencies": [ - "**/.env" - ] -} \ No newline at end of file + "globalDependencies": ["**/.env"] +} diff --git a/yarn.lock b/yarn.lock index c9c12c9ec..d314abce4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7939,15 +7939,6 @@ __metadata: languageName: node linkType: hard -"ansi-green@npm:^0.1.1": - version: 0.1.1 - resolution: "ansi-green@npm:0.1.1" - dependencies: - ansi-wrap: 0.1.0 - checksum: 9e256207a06628fa51c4e6b6dfa088a032cc7b98c34735af078ecf967cae90a2bc946671abc9b6a97e45f442538ee01e25a29e5556f4b4d6bb981ab734cce9ea - languageName: node - linkType: hard - "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -7994,13 +7985,6 @@ __metadata: languageName: node linkType: hard -"ansi-wrap@npm:0.1.0": - version: 0.1.0 - resolution: "ansi-wrap@npm:0.1.0" - checksum: f24f652a5e450c0561cbc7d298ffa62dcd33c72f9da34fd3c24538dbf82de8fc21b7f924dc30cd9d01360bd2893d1954f0a60eee0550ca629bb148dcbeef5c5b - languageName: node - linkType: hard - "any-promise@npm:^1.0.0": version: 1.3.0 resolution: "any-promise@npm:1.3.0" @@ -8116,13 +8100,6 @@ __metadata: languageName: node linkType: hard -"arr-union@npm:^3.1.0": - version: 3.1.0 - resolution: "arr-union@npm:3.1.0" - checksum: b5b0408c6eb7591143c394f3be082fee690ddd21f0fdde0a0a01106799e847f67fcae1b7e56b0a0c173290e29c6aca9562e82b300708a268bc8f88f3d6613cb9 - languageName: node - linkType: hard - "array-buffer-byte-length@npm:^1.0.0": version: 1.0.0 resolution: "array-buffer-byte-length@npm:1.0.0" @@ -8277,20 +8254,6 @@ __metadata: languageName: node linkType: hard -"async-array-reduce@npm:^0.2.0": - version: 0.2.1 - resolution: "async-array-reduce@npm:0.2.1" - checksum: ecc15c7b9580d408ff829f1bd29b90c4e2127892f9da7321c33e4c0adc298e3747f916c87db1049962aa6ed2b740d60963b8542e64e31ebe15c0d88821338e8b - languageName: node - linkType: hard - -"async-each@npm:^1.0.0": - version: 1.0.6 - resolution: "async-each@npm:1.0.6" - checksum: d237e8c39348d5f1441edbd3893692912afbacaf83a2ccce8978ebeea804529a8838654b12208fbbc08c8b0411a1248948ee9bf9291ebe1921aabd5b613bc5db - languageName: node - linkType: hard - "async-limiter@npm:~1.0.0": version: 1.0.1 resolution: "async-limiter@npm:1.0.1" @@ -8535,13 +8498,6 @@ __metadata: languageName: node linkType: hard -"bluebird@npm:^3.4.1": - version: 3.7.2 - resolution: "bluebird@npm:3.7.2" - checksum: 869417503c722e7dc54ca46715f70e15f4d9c602a423a02c825570862d12935be59ed9c7ba34a9b31f186c017c23cac6b54e35446f8353059c101da73eac22ef - languageName: node - linkType: hard - "body-parser@npm:1.20.1": version: 1.20.1 resolution: "body-parser@npm:1.20.1" @@ -9121,14 +9077,7 @@ __metadata: languageName: node linkType: hard -"clone-stats@npm:^0.0.1": - version: 0.0.1 - resolution: "clone-stats@npm:0.0.1" - checksum: 24a47ba6a4619fdb2bc7ef1728ca06934c7ff986a93820b81da7018698de54eade10cd078b75a409563270aac17397691214b020057c7e7a9f515da13fd61e50 - languageName: node - linkType: hard - -"clone@npm:^1.0.0, clone@npm:^1.0.2": +"clone@npm:^1.0.2": version: 1.0.4 resolution: "clone@npm:1.0.4" checksum: d06418b7335897209e77bdd430d04f882189582e67bd1f75a04565f3f07f5b3f119a9d670c943b6697d0afb100f03b866b3b8a1f91d4d02d72c4ecf2bb64b5dd @@ -9456,31 +9405,6 @@ __metadata: languageName: node linkType: hard -"copy@npm:^0.3.2": - version: 0.3.2 - resolution: "copy@npm:0.3.2" - dependencies: - async-each: ^1.0.0 - bluebird: ^3.4.1 - extend-shallow: ^2.0.1 - file-contents: ^0.3.1 - glob-parent: ^2.0.0 - graceful-fs: ^4.1.4 - has-glob: ^0.1.1 - is-absolute: ^0.2.5 - lazy-cache: ^2.0.1 - log-ok: ^0.1.1 - matched: ^0.4.1 - mkdirp: ^0.5.1 - resolve-dir: ^0.1.0 - to-file: ^0.2.0 - bin: - copy: bin/cli.js - copy-cli: bin/cli.js - checksum: e4a9d90b132f216ea78f2c39123ffd051c9c40da5b75446ba4eb1b6263bb2379dbf5153f4c579069ef262477647242b718a6ab778eee575d62a36ac48e15fe90 - languageName: node - linkType: hard - "core-js-compat@npm:^3.31.0": version: 3.32.0 resolution: "core-js-compat@npm:3.32.0" @@ -9806,15 +9730,6 @@ __metadata: languageName: node linkType: hard -"define-property@npm:^0.2.5": - version: 0.2.5 - resolution: "define-property@npm:0.2.5" - dependencies: - is-descriptor: ^0.1.0 - checksum: 85af107072b04973b13f9e4128ab74ddfda48ec7ad2e54b193c0ffb57067c4ce5b7786a7b4ae1f24bd03e87c5d18766b094571810b314d7540f86d4354dbd394 - languageName: node - linkType: hard - "defu@npm:^6.1.2": version: 6.1.2 resolution: "defu@npm:6.1.2" @@ -11047,15 +10962,6 @@ __metadata: languageName: node linkType: hard -"expand-tilde@npm:^1.2.2": - version: 1.2.2 - resolution: "expand-tilde@npm:1.2.2" - dependencies: - os-homedir: ^1.0.1 - checksum: 18051cd104977bc06e2bb1347db9959b90504437beea0de6fd287a3c8c58b41e2330337bd189cfca2ee4be6bda9bf045f8c07daf23e622f85eb6ee1c420619a0 - languageName: node - linkType: hard - "exponential-backoff@npm:^3.1.1": version: 3.1.1 resolution: "exponential-backoff@npm:3.1.1" @@ -11102,15 +11008,6 @@ __metadata: languageName: node linkType: hard -"extend-shallow@npm:^2.0.0, extend-shallow@npm:^2.0.1": - version: 2.0.1 - resolution: "extend-shallow@npm:2.0.1" - dependencies: - is-extendable: ^0.1.0 - checksum: 8fb58d9d7a511f4baf78d383e637bd7d2e80843bd9cd0853649108ea835208fb614da502a553acc30208e1325240bb7cc4a68473021612496bb89725483656d8 - languageName: node - linkType: hard - "extend@npm:^3.0.0": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -11235,41 +11132,6 @@ __metadata: languageName: node linkType: hard -"file-contents@npm:^0.2.4": - version: 0.2.4 - resolution: "file-contents@npm:0.2.4" - dependencies: - extend-shallow: ^2.0.0 - file-stat: ^0.1.0 - graceful-fs: ^4.1.2 - is-buffer: ^1.1.0 - is-utf8: ^0.2.0 - lazy-cache: ^0.2.3 - through2: ^2.0.0 - checksum: 2487d56fec6836f013f7a7eea0faa414047d38d6230422eff08f709c63b2b77f24e22910034f3b73703212f2776885161394980b9919459beaa7feac11a2f42b - languageName: node - linkType: hard - -"file-contents@npm:^0.3.1": - version: 0.3.2 - resolution: "file-contents@npm:0.3.2" - dependencies: - define-property: ^0.2.5 - extend-shallow: ^2.0.1 - file-stat: ^0.2.3 - fs-exists-sync: ^0.1.0 - graceful-fs: ^4.1.4 - is-buffer: ^1.1.3 - isobject: ^2.1.0 - lazy-cache: ^2.0.1 - strip-bom-buffer: ^0.1.1 - strip-bom-string: ^0.1.2 - through2: ^2.0.1 - vinyl: ^1.1.1 - checksum: 6a28864ef06eff27f5a56adfa5cbf9e7e7cd57487d146c94293bdaeadb42bbc0ba80e9a7d577dc751ea405d2b19ae3564ec88131d7dfb4accb46be49889545aa - languageName: node - linkType: hard - "file-entry-cache@npm:^6.0.1": version: 6.0.1 resolution: "file-entry-cache@npm:6.0.1" @@ -11279,29 +11141,6 @@ __metadata: languageName: node linkType: hard -"file-stat@npm:^0.1.0": - version: 0.1.3 - resolution: "file-stat@npm:0.1.3" - dependencies: - graceful-fs: ^4.1.2 - lazy-cache: ^0.2.3 - through2: ^2.0.0 - checksum: 647c4fdd09e32cff88645f79a107ebce94817ee0d54214b3d130b64b8873525101fce745d729e633da6b7b42e4f6a367311b5ebd78c65a569bf73d10e18763a0 - languageName: node - linkType: hard - -"file-stat@npm:^0.2.3": - version: 0.2.3 - resolution: "file-stat@npm:0.2.3" - dependencies: - fs-exists-sync: ^0.1.0 - graceful-fs: ^4.1.4 - lazy-cache: ^2.0.1 - through2: ^2.0.1 - checksum: 331cb7430ac0919e9b43db065794678f707155c164bae4413df00680652c3c8f19b0fab02568b3b6c39622e5b1687a5cc6edd949bab3f29589bca9b989f86f98 - languageName: node - linkType: hard - "file-system-cache@npm:2.3.0": version: 2.3.0 resolution: "file-system-cache@npm:2.3.0" @@ -11542,13 +11381,6 @@ __metadata: languageName: node linkType: hard -"fs-exists-sync@npm:^0.1.0": - version: 0.1.0 - resolution: "fs-exists-sync@npm:0.1.0" - checksum: 850a0d6e4c03a7bd2fd25043f77cd9d6be9c3b48bb99308bcfe9c94f3f92f65f2cd3fa036e13a1b0ba7a46d2e58792f53e578f01d75fbdcd56baeb9eed63b705 - languageName: node - linkType: hard - "fs-extra@npm:10.0.1": version: 10.0.1 resolution: "fs-extra@npm:10.0.1" @@ -11821,15 +11653,6 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^2.0.0": - version: 2.0.0 - resolution: "glob-parent@npm:2.0.0" - dependencies: - is-glob: ^2.0.0 - checksum: 734fc461d9d2753dd490dd072df6ce41fe4ebb60e9319b108bc538707b21780af3a61c3961ec2264131fad5d3d9a493e013a775aef11a69ac2f49fd7d8f46457 - languageName: node - linkType: hard - "glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" @@ -11909,7 +11732,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.5, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": +"glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -11936,28 +11759,6 @@ __metadata: languageName: node linkType: hard -"global-modules@npm:^0.2.3": - version: 0.2.3 - resolution: "global-modules@npm:0.2.3" - dependencies: - global-prefix: ^0.1.4 - is-windows: ^0.2.0 - checksum: 3801788df54897d994c9c8f3d09f253d1379cd879ae61fcddbcc3ecdfdf6fe23a1edb983e8d4dd24cebf7e49823752e1cd29a2d33bdb4de587de8b4a85b17e24 - languageName: node - linkType: hard - -"global-prefix@npm:^0.1.4": - version: 0.1.5 - resolution: "global-prefix@npm:0.1.5" - dependencies: - homedir-polyfill: ^1.0.0 - ini: ^1.3.4 - is-windows: ^0.2.0 - which: ^1.2.12 - checksum: ea1b818a1851655ebb2341cdd5446da81c25f31ca6f0ac358a234cbed5442edc1bfa5628771466988d67d9fcc6ad09ca0e68a8d3d7e3d92f7de3aec87020e183 - languageName: node - linkType: hard - "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -12029,7 +11830,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.4, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 @@ -12098,15 +11899,6 @@ __metadata: languageName: node linkType: hard -"has-glob@npm:^0.1.1": - version: 0.1.1 - resolution: "has-glob@npm:0.1.1" - dependencies: - is-glob: ^2.0.1 - checksum: 96bf0cb2a6a3339ba0ff721d3b6b2c6c394b729f51a79ee9aec4909f97bd1e763f8f9384dfde4c9931b4dbbfe5d3bb8db29e541906dba329fb299f5321a3dbaa - languageName: node - linkType: hard - "has-property-descriptors@npm:^1.0.0": version: 1.0.0 resolution: "has-property-descriptors@npm:1.0.0" @@ -12188,15 +11980,6 @@ __metadata: languageName: node linkType: hard -"homedir-polyfill@npm:^1.0.0": - version: 1.0.3 - resolution: "homedir-polyfill@npm:1.0.3" - dependencies: - parse-passwd: ^1.0.0 - checksum: 18dd4db87052c6a2179d1813adea0c4bfcfa4f9996f0e226fefb29eb3d548e564350fa28ec46b0bf1fbc0a1d2d6922ceceb80093115ea45ff8842a4990139250 - languageName: node - linkType: hard - "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -12418,7 +12201,7 @@ __metadata: languageName: node linkType: hard -"ini@npm:^1.3.4, ini@npm:~1.3.0": +"ini@npm:~1.3.0": version: 1.3.8 resolution: "ini@npm:1.3.8" checksum: dfd98b0ca3a4fc1e323e38a6c8eb8936e31a97a918d3b377649ea15bdb15d481207a0dda1021efbd86b464cae29a0d33c1d7dcaf6c5672bee17fa849bc50a1b3 @@ -12514,25 +12297,6 @@ __metadata: languageName: node linkType: hard -"is-absolute@npm:^0.2.5": - version: 0.2.6 - resolution: "is-absolute@npm:0.2.6" - dependencies: - is-relative: ^0.2.1 - is-windows: ^0.2.0 - checksum: 3451cf0591bb56c0837e8746d06662dd3afc277b76f6109e8446cb2a550f9d7d1dbd1e87b83c2e64d63327e0ee29d71ab19403376c84be712071309877d0a7d5 - languageName: node - linkType: hard - -"is-accessor-descriptor@npm:^0.1.6": - version: 0.1.6 - resolution: "is-accessor-descriptor@npm:0.1.6" - dependencies: - kind-of: ^3.0.2 - checksum: 3d629a086a9585bc16a83a8e8a3416f400023301855cafb7ccc9a1d63145b7480f0ad28877dcc2cce09492c4ec1c39ef4c071996f24ee6ac626be4217b8ffc8a - languageName: node - linkType: hard - "is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.1": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" @@ -12605,13 +12369,6 @@ __metadata: languageName: node linkType: hard -"is-buffer@npm:^1.1.0, is-buffer@npm:^1.1.3, is-buffer@npm:^1.1.5": - version: 1.1.6 - resolution: "is-buffer@npm:1.1.6" - checksum: 4a186d995d8bbf9153b4bd9ff9fd04ae75068fe695d29025d25e592d9488911eeece84eefbd8fa41b8ddcc0711058a71d4c466dcf6f1f6e1d83830052d8ca707 - languageName: node - linkType: hard - "is-buffer@npm:^2.0.0": version: 2.0.5 resolution: "is-buffer@npm:2.0.5" @@ -12644,15 +12401,6 @@ __metadata: languageName: node linkType: hard -"is-data-descriptor@npm:^0.1.4": - version: 0.1.4 - resolution: "is-data-descriptor@npm:0.1.4" - dependencies: - kind-of: ^3.0.2 - checksum: 5c622e078ba933a78338ae398a3d1fc5c23332b395312daf4f74bab4afb10d061cea74821add726cb4db8b946ba36217ee71a24fe71dd5bca4632edb7f6aad87 - languageName: node - linkType: hard - "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -12669,17 +12417,6 @@ __metadata: languageName: node linkType: hard -"is-descriptor@npm:^0.1.0": - version: 0.1.6 - resolution: "is-descriptor@npm:0.1.6" - dependencies: - is-accessor-descriptor: ^0.1.6 - is-data-descriptor: ^0.1.4 - kind-of: ^5.0.0 - checksum: 0f780c1b46b465f71d970fd7754096ffdb7b69fd8797ca1f5069c163eaedcd6a20ec4a50af669075c9ebcfb5266d2e53c8b227e485eefdb0d1fee09aa1dd8ab6 - languageName: node - linkType: hard - "is-docker@npm:^2.0.0, is-docker@npm:^2.1.1": version: 2.2.1 resolution: "is-docker@npm:2.2.1" @@ -12698,20 +12435,6 @@ __metadata: languageName: node linkType: hard -"is-extendable@npm:^0.1.0": - version: 0.1.1 - resolution: "is-extendable@npm:0.1.1" - checksum: 3875571d20a7563772ecc7a5f36cb03167e9be31ad259041b4a8f73f33f885441f778cee1f1fe0085eb4bc71679b9d8c923690003a36a6a5fdf8023e6e3f0672 - languageName: node - linkType: hard - -"is-extglob@npm:^1.0.0": - version: 1.0.0 - resolution: "is-extglob@npm:1.0.0" - checksum: 5eea8517feeae5206547c0fc838c1416ec763b30093c286e1965a05f46b74a59ad391f912565f3b67c9c31cab4769ab9c35420e016b608acb47309be8d0d6e94 - languageName: node - linkType: hard - "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -12751,15 +12474,6 @@ __metadata: languageName: node linkType: hard -"is-glob@npm:^2.0.0, is-glob@npm:^2.0.1": - version: 2.0.1 - resolution: "is-glob@npm:2.0.1" - dependencies: - is-extglob: ^1.0.0 - checksum: 089f5f93640072491396a5f075ce73e949a90f35832b782bc49a6b7637d58e392d53cb0b395e059ccab70fcb82ff35d183f6f9ebbcb43227a1e02e3fed5430c9 - languageName: node - linkType: hard - "is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": version: 4.0.3 resolution: "is-glob@npm:4.0.3" @@ -12920,15 +12634,6 @@ __metadata: languageName: node linkType: hard -"is-relative@npm:^0.2.1": - version: 0.2.1 - resolution: "is-relative@npm:0.2.1" - dependencies: - is-unc-path: ^0.1.1 - checksum: 9923fbec5fbd9354f757ff1a133638e7f9bb06f586b215dc747823fe90ba455c9392ac5b1e2cf0a5896138a5efd3ba35895116790e8737307dbd6e5398a50281 - languageName: node - linkType: hard - "is-set@npm:^2.0.1, is-set@npm:^2.0.2": version: 2.0.2 resolution: "is-set@npm:2.0.2" @@ -12986,15 +12691,6 @@ __metadata: languageName: node linkType: hard -"is-unc-path@npm:^0.1.1": - version: 0.1.2 - resolution: "is-unc-path@npm:0.1.2" - dependencies: - unc-path-regex: ^0.1.0 - checksum: 47fd6f18294d9b107683322a4a659c1bf83f3a98c8e751c449e3b6d21def8d1f5b910e7e9ce28d08c3bb2897d5d494ebab5bcc224f328624d2a6d24d0a8d1e9b - languageName: node - linkType: hard - "is-unicode-supported@npm:^0.1.0": version: 0.1.0 resolution: "is-unicode-supported@npm:0.1.0" @@ -13002,20 +12698,6 @@ __metadata: languageName: node linkType: hard -"is-utf8@npm:^0.2.0": - version: 0.2.1 - resolution: "is-utf8@npm:0.2.1" - checksum: 167ccd2be869fc228cc62c1a28df4b78c6b5485d15a29027d3b5dceb09b383e86a3522008b56dcac14b592b22f0a224388718c2505027a994fd8471465de54b3 - languageName: node - linkType: hard - -"is-valid-glob@npm:^0.3.0": - version: 0.3.0 - resolution: "is-valid-glob@npm:0.3.0" - checksum: 4c98457fc92d22772598fc59aafb7d9f95e0e431b65843871aa1826c4b4d411962b23cc86099f59a2770cd7ab17c2a71f3e78ca21da511f59aac6b365eceb90a - languageName: node - linkType: hard - "is-weakmap@npm:^2.0.1": version: 2.0.1 resolution: "is-weakmap@npm:2.0.1" @@ -13049,13 +12731,6 @@ __metadata: languageName: node linkType: hard -"is-windows@npm:^0.2.0": - version: 0.2.0 - resolution: "is-windows@npm:0.2.0" - checksum: 3df25afda2fd9f3926b08cebacf1fc0a1fe7805a2cb73ef0f1b911c949e4e7648c4623979d74b4502bdd9af69471101eb6051b751595f7f88569148186cf7a7a - languageName: node - linkType: hard - "is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" @@ -13065,13 +12740,6 @@ __metadata: languageName: node linkType: hard -"isarray@npm:1.0.0, isarray@npm:~1.0.0": - version: 1.0.0 - resolution: "isarray@npm:1.0.0" - checksum: f032df8e02dce8ec565cf2eb605ea939bdccea528dbcf565cdf92bfa2da9110461159d86a537388ef1acef8815a330642d7885b29010e8f7eac967c9993b65ab - languageName: node - linkType: hard - "isarray@npm:^2.0.5": version: 2.0.5 resolution: "isarray@npm:2.0.5" @@ -13079,6 +12747,13 @@ __metadata: languageName: node linkType: hard +"isarray@npm:~1.0.0": + version: 1.0.0 + resolution: "isarray@npm:1.0.0" + checksum: f032df8e02dce8ec565cf2eb605ea939bdccea528dbcf565cdf92bfa2da9110461159d86a537388ef1acef8815a330642d7885b29010e8f7eac967c9993b65ab + languageName: node + linkType: hard + "isexe@npm:^2.0.0": version: 2.0.0 resolution: "isexe@npm:2.0.0" @@ -13086,15 +12761,6 @@ __metadata: languageName: node linkType: hard -"isobject@npm:^2.1.0": - version: 2.1.0 - resolution: "isobject@npm:2.1.0" - dependencies: - isarray: 1.0.0 - checksum: 811c6f5a866877d31f0606a88af4a45f282544de886bf29f6a34c46616a1ae2ed17076cc6bf34c0128f33eecf7e1fcaa2c82cf3770560d3e26810894e96ae79f - languageName: node - linkType: hard - "isobject@npm:^3.0.1": version: 3.0.1 resolution: "isobject@npm:3.0.1" @@ -13496,22 +13162,6 @@ __metadata: languageName: node linkType: hard -"kind-of@npm:^3.0.2": - version: 3.2.2 - resolution: "kind-of@npm:3.2.2" - dependencies: - is-buffer: ^1.1.5 - checksum: e898df8ca2f31038f27d24f0b8080da7be274f986bc6ed176f37c77c454d76627619e1681f6f9d2e8d2fd7557a18ecc419a6bb54e422abcbb8da8f1a75e4b386 - languageName: node - linkType: hard - -"kind-of@npm:^5.0.0": - version: 5.1.0 - resolution: "kind-of@npm:5.1.0" - checksum: f2a0102ae0cf19c4a953397e552571bad2b588b53282874f25fca7236396e650e2db50d41f9f516bd402536e4df968dbb51b8e69e4d5d4a7173def78448f7bab - languageName: node - linkType: hard - "kind-of@npm:^6.0.2": version: 6.0.3 resolution: "kind-of@npm:6.0.3" @@ -13549,22 +13199,6 @@ __metadata: languageName: node linkType: hard -"lazy-cache@npm:^0.2.3": - version: 0.2.7 - resolution: "lazy-cache@npm:0.2.7" - checksum: b4538aff20db586c354f31de3ed59ea2c8d5dc4f01141bf49f07601e7ca0d7ed43a3f49362ade49b1e18ab1f3d121df0f2c9ea9b599b44dd54fb0c0db253c8b9 - languageName: node - linkType: hard - -"lazy-cache@npm:^2.0.1": - version: 2.0.2 - resolution: "lazy-cache@npm:2.0.2" - dependencies: - set-getter: ^0.1.0 - checksum: f4106a28345b4b3b8e2dd544936ea5742bed650250d666f68e07bc7de55d04f75e750a36e2bf38ecb80e7520da95831e29dcdab608e3c32ca3189e6d8fb50e1f - languageName: node - linkType: hard - "lazy-universal-dotenv@npm:^4.0.0": version: 4.0.0 resolution: "lazy-universal-dotenv@npm:4.0.0" @@ -13783,16 +13417,6 @@ __metadata: languageName: node linkType: hard -"log-ok@npm:^0.1.1": - version: 0.1.1 - resolution: "log-ok@npm:0.1.1" - dependencies: - ansi-green: ^0.1.1 - success-symbol: ^0.1.0 - checksum: 69784f6fb56225639476860037ddf0134df731785d05a2b19bac8610f73100b1e1d924e51b310fe21b175edae40afd1fe565dab2c1348bd88bfc96d4e66b29ed - languageName: node - linkType: hard - "log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" @@ -14015,23 +13639,6 @@ __metadata: languageName: node linkType: hard -"matched@npm:^0.4.1": - version: 0.4.4 - resolution: "matched@npm:0.4.4" - dependencies: - arr-union: ^3.1.0 - async-array-reduce: ^0.2.0 - extend-shallow: ^2.0.1 - fs-exists-sync: ^0.1.0 - glob: ^7.0.5 - has-glob: ^0.1.1 - is-valid-glob: ^0.3.0 - lazy-cache: ^2.0.1 - resolve-dir: ^0.1.0 - checksum: d961f00558c41aa6becdbe67f82e7c40f7cf0bbdc10d78ffe0c42461b07af29c24b2307ee4c1bd19f77d80318cb186f8b9f95c5953814683df6fe9af0fc5b90a - languageName: node - linkType: hard - "mdast-util-definitions@npm:^4.0.0": version: 4.0.0 resolution: "mdast-util-definitions@npm:4.0.0" @@ -14796,7 +14403,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.4, mkdirp@npm:^0.5.5": +"mkdirp@npm:^0.5.4, mkdirp@npm:^0.5.5": version: 0.5.6 resolution: "mkdirp@npm:0.5.6" dependencies: @@ -15476,13 +15083,6 @@ __metadata: languageName: node linkType: hard -"os-homedir@npm:^1.0.1": - version: 1.0.2 - resolution: "os-homedir@npm:1.0.2" - checksum: af609f5a7ab72de2f6ca9be6d6b91a599777afc122ac5cad47e126c1f67c176fe9b52516b9eeca1ff6ca0ab8587fe66208bc85e40a3940125f03cdb91408e9d2 - languageName: node - linkType: hard - "otplib@npm:^12.0.1": version: 12.0.1 resolution: "otplib@npm:12.0.1" @@ -15602,13 +15202,6 @@ __metadata: languageName: node linkType: hard -"parse-passwd@npm:^1.0.0": - version: 1.0.0 - resolution: "parse-passwd@npm:1.0.0" - checksum: 4e55e0231d58f828a41d0f1da2bf2ff7bcef8f4cb6146e69d16ce499190de58b06199e6bd9b17fbf0d4d8aef9052099cdf8c4f13a6294b1a522e8e958073066e - languageName: node - linkType: hard - "parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" @@ -17058,13 +16651,6 @@ __metadata: languageName: node linkType: hard -"replace-ext@npm:0.0.1": - version: 0.0.1 - resolution: "replace-ext@npm:0.0.1" - checksum: af6c5df587c6e6f47b380ea5762457ec471be2fd4920acd943c61b68fd548f81e1e348219192b2a3db633b8e392be24206ba073498d3c146dca7f1b7e46478c5 - languageName: node - linkType: hard - "require-directory@npm:^2.1.1": version: 2.1.1 resolution: "require-directory@npm:2.1.1" @@ -17086,16 +16672,6 @@ __metadata: languageName: node linkType: hard -"resolve-dir@npm:^0.1.0": - version: 0.1.1 - resolution: "resolve-dir@npm:0.1.1" - dependencies: - expand-tilde: ^1.2.2 - global-modules: ^0.2.3 - checksum: cc3e1885938f8fe9656a6faa651e21730d369260e907b8dd7c847a4aa18db348ac08ee0dbf2d6f87e2ba08715fb109432ec773bbb31698381bd2a48c0ea66072 - languageName: node - linkType: hard - "resolve-from@npm:^4.0.0": version: 4.0.0 resolution: "resolve-from@npm:4.0.0" @@ -17553,15 +17129,6 @@ __metadata: languageName: node linkType: hard -"set-getter@npm:^0.1.0": - version: 0.1.1 - resolution: "set-getter@npm:0.1.1" - dependencies: - to-object-path: ^0.3.0 - checksum: 04bc8ffff286d7b36a3adc675d2858db3d6768f0290dce98ca5d481d5361936f4fa1e2570833de3511424adf534fc9e48f4b420163906b0d6ca45f38074f5108 - languageName: node - linkType: hard - "set-harmonic-interval@npm:^1.0.1": version: 1.0.1 resolution: "set-harmonic-interval@npm:1.0.1" @@ -17777,7 +17344,6 @@ __metadata: "@faker-js/faker": ^8.0.2 colorette: 2.0.20 concurrently: ^8.2.0 - copy: ^0.3.2 dotenv: ^16.3.1 eslint: 8.47.0 husky: ^8.0.3 @@ -18247,23 +17813,6 @@ __metadata: languageName: node linkType: hard -"strip-bom-buffer@npm:^0.1.1": - version: 0.1.1 - resolution: "strip-bom-buffer@npm:0.1.1" - dependencies: - is-buffer: ^1.1.0 - is-utf8: ^0.2.0 - checksum: 376e11952050defce7f3e4bc5a40ce31ed4c9ce757ccb1fc56f40a9edab369810e71b8f7b8471a1672cbcf0a77a4dca133819bad93111b3f87c266eacbe069ff - languageName: node - linkType: hard - -"strip-bom-string@npm:^0.1.2": - version: 0.1.2 - resolution: "strip-bom-string@npm:0.1.2" - checksum: ad184884add5aab9fb82203e7afe5e057cd3dc562e328a14e45d608acd04ca7973d4533ae6aa1198a3e6bd036a2a707890b42cbb4dfe221bf3bdd06cc6d1aaed - languageName: node - linkType: hard - "strip-bom@npm:^3.0.0": version: 3.0.0 resolution: "strip-bom@npm:3.0.0" @@ -18365,13 +17914,6 @@ __metadata: languageName: node linkType: hard -"success-symbol@npm:^0.1.0": - version: 0.1.0 - resolution: "success-symbol@npm:0.1.0" - checksum: fd5138df4baf98d0018bad560188376b4323c27686268344a59439240384e0263a80e099a80dade92f8ff4bcfb795ddda35cb8cf725b19a4619ddcaefd3b669f - languageName: node - linkType: hard - "sucrase@npm:^3.20.3, sucrase@npm:^3.32.0": version: 3.34.0 resolution: "sucrase@npm:3.34.0" @@ -18653,7 +18195,7 @@ __metadata: languageName: node linkType: hard -"through2@npm:^2.0.0, through2@npm:^2.0.1, through2@npm:^2.0.3": +"through2@npm:^2.0.3": version: 2.0.5 resolution: "through2@npm:2.0.5" dependencies: @@ -18733,31 +18275,6 @@ __metadata: languageName: node linkType: hard -"to-file@npm:^0.2.0": - version: 0.2.0 - resolution: "to-file@npm:0.2.0" - dependencies: - define-property: ^0.2.5 - extend-shallow: ^2.0.1 - file-contents: ^0.2.4 - glob-parent: ^2.0.0 - is-valid-glob: ^0.3.0 - isobject: ^2.1.0 - lazy-cache: ^2.0.1 - vinyl: ^1.1.1 - checksum: 60b8063501e7599686cd36e154570b364696e82d1dbcb4a8cf51d30e45732051fc8c954e44a833de2827a61772f1fa816130448cdd7268ab9f27918f8fd5d10d - languageName: node - linkType: hard - -"to-object-path@npm:^0.3.0": - version: 0.3.0 - resolution: "to-object-path@npm:0.3.0" - dependencies: - kind-of: ^3.0.2 - checksum: 9425effee5b43e61d720940fa2b889623f77473d459c2ce3d4a580a4405df4403eec7be6b857455908070566352f9e2417304641ed158dda6f6a365fe3e66d70 - languageName: node - linkType: hard - "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -19286,13 +18803,6 @@ __metadata: languageName: node linkType: hard -"unc-path-regex@npm:^0.1.0": - version: 0.1.2 - resolution: "unc-path-regex@npm:0.1.2" - checksum: a05fa2006bf4606051c10fc7968f08ce7b28fa646befafa282813aeb1ac1a56f65cb1b577ca7851af2726198d59475bb49b11776036257b843eaacee2860a4ec - languageName: node - linkType: hard - "undefsafe@npm:^2.0.5": version: 2.0.5 resolution: "undefsafe@npm:2.0.5" @@ -19738,17 +19248,6 @@ __metadata: languageName: node linkType: hard -"vinyl@npm:^1.1.1": - version: 1.2.0 - resolution: "vinyl@npm:1.2.0" - dependencies: - clone: ^1.0.0 - clone-stats: ^0.0.1 - replace-ext: 0.0.1 - checksum: 0a382194fd552a2aa9a21fdad7c8d3c8e32066a350b252a703f3c736f847b5c957b8ae7d621fd710805fa10d8a581eb3dae7bc2d98cdd74664b88820f1a79a77 - languageName: node - linkType: hard - "vite-node@npm:0.34.1": version: 0.34.1 resolution: "vite-node@npm:0.34.1" @@ -20048,17 +19547,6 @@ __metadata: languageName: node linkType: hard -"which@npm:^1.2.12": - version: 1.3.1 - resolution: "which@npm:1.3.1" - dependencies: - isexe: ^2.0.0 - bin: - which: ./bin/which - checksum: f2e185c6242244b8426c9df1510e86629192d93c1a986a7d2a591f2c24869e7ffd03d6dac07ca863b2e4c06f59a4cc9916c585b72ee9fa1aa609d0124df15e04 - languageName: node - linkType: hard - "which@npm:^2.0.1, which@npm:^2.0.2": version: 2.0.2 resolution: "which@npm:2.0.2"