From 1d36134a6e211be14ff41819c4ea96d2fadb4f79 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 11 Oct 2023 09:38:50 +1300 Subject: [PATCH] use preconstruct for builds --- .babel.cjs.json | 7 - .babel.mjs.json | 3 - .changeset/short-tables-pay.md | 5 + .github/workflows/main.yml | 1 + .github/workflows/pr.yml | 1 + .gitignore | 22 +- .madgerc | 7 + .vscode/settings.json | 21 +- babel.config.json | 10 + examples/prompt.ts | 2 +- package.json | 206 ++++++++-- pnpm-lock.yaml | 667 ++++++++++++++++++++++++--------- src/index.ts | 79 ++++ tsconfig.base.json | 72 ---- tsconfig.build.json | 10 - tsconfig.examples.json | 11 - tsconfig.json | 59 ++- tsconfig.madge.json | 12 - tsconfig.test.json | 10 - vitest.config.ts | 9 +- 20 files changed, 851 insertions(+), 363 deletions(-) delete mode 100644 .babel.cjs.json delete mode 100644 .babel.mjs.json create mode 100644 .changeset/short-tables-pay.md create mode 100644 .madgerc create mode 100644 babel.config.json create mode 100644 src/index.ts delete mode 100644 tsconfig.base.json delete mode 100644 tsconfig.build.json delete mode 100644 tsconfig.examples.json delete mode 100644 tsconfig.madge.json delete mode 100644 tsconfig.test.json diff --git a/.babel.cjs.json b/.babel.cjs.json deleted file mode 100644 index 6968743..0000000 --- a/.babel.cjs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "plugins": [ - ["@effect/babel-plugin"], - ["@babel/transform-modules-commonjs"], - ["annotate-pure-calls"] - ] -} diff --git a/.babel.mjs.json b/.babel.mjs.json deleted file mode 100644 index b50cc32..0000000 --- a/.babel.mjs.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "plugins": [["@effect/babel-plugin"], ["annotate-pure-calls"]] -} diff --git a/.changeset/short-tables-pay.md b/.changeset/short-tables-pay.md new file mode 100644 index 0000000..5e27c97 --- /dev/null +++ b/.changeset/short-tables-pay.md @@ -0,0 +1,5 @@ +--- +"@effect/cli": minor +--- + +use preconstruct diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1265bf0..cdc1e33 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,6 +44,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - run: pnpm install + - run: pnpm run check - run: pnpm run build - run: pnpm run circular - run: pnpm run test diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f818421..567841b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -45,6 +45,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - run: pnpm install + - run: pnpm run check - run: pnpm run build - run: pnpm run circular - run: pnpm run test --coverage diff --git a/.gitignore b/.gitignore index a8cc5c3..4e92359 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,29 @@ coverage/ *.tsbuildinfo node_modules/ -yarn-error.log .ultra.cache.json .DS_Store tmp/ build/ dist/ -.cache/ .direnv/ + +# files +/src/tsconfig.json +/dist +/Args +/AutoCorrect +/BuiltInOption +/CliApp +/CliConfig +/Command +/CommandDirective +/Exists +/HelpDoc +/Options +/Primitive +/Prompt +/ShellType +/Terminal +/Usage +/ValidationError diff --git a/.madgerc b/.madgerc new file mode 100644 index 0000000..b407c6b --- /dev/null +++ b/.madgerc @@ -0,0 +1,7 @@ +{ + "detectiveOptions": { + "ts": { + "skipTypeImports": true + } + } +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 87d1083..62fc65f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -48,5 +48,24 @@ "**/target": true }, "files.insertFinalNewline": true, - "nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix" + "nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix", + "files.exclude": { + "dist": true, + "Args": true, + "AutoCorrect": true, + "BuiltInOption": true, + "CliApp": true, + "CliConfig": true, + "Command": true, + "CommandDirective": true, + "Exists": true, + "HelpDoc": true, + "Options": true, + "Primitive": true, + "Prompt": true, + "ShellType": true, + "Terminal": true, + "Usage": true, + "ValidationError": true + } } diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 0000000..7f1e4b2 --- /dev/null +++ b/babel.config.json @@ -0,0 +1,10 @@ +{ + "plugins": [ + [ + "annotate-pure-calls" + ] + ], + "presets": [ + "@babel/preset-typescript" + ] +} diff --git a/examples/prompt.ts b/examples/prompt.ts index c7341ad..732405f 100644 --- a/examples/prompt.ts +++ b/examples/prompt.ts @@ -16,7 +16,7 @@ const numberPrompt = Prompt.float({ message: `What is your favorite number?` }) -export const prompt = Prompt.all([colorPrompt, numberPrompt]) +const prompt = Prompt.all([colorPrompt, numberPrompt]) const cli = CliApp.make({ name: "Your Favorite Things", diff --git a/package.json b/package.json index b6fe741..3b8a387 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,7 @@ "name": "@effect/cli", "version": "0.15.1", "publishConfig": { - "access": "public", - "directory": "dist" + "access": "public" }, "repository": { "type": "git", @@ -16,6 +15,8 @@ }, "homepage": "https://github.com/Effect-TS/cli", "description": "Functional programming in TypeScript", + "main": "dist/effect-cli.cjs.js", + "module": "dist/effect-cli.esm.js", "tags": [ "typescript", "algebraic-data-types", @@ -26,56 +27,56 @@ "algebraic-data-types", "functional-programming" ], + "sideEffects": false, "scripts": { - "example": "ts-node --project tsconfig.examples.json", - "version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run docs-update", - "release": "pnpm run build && changeset publish", - "clean": "rimraf build tsbuildinfo dist .ultra.cache.json", - "build": "pnpm build-all && pnpm build-pack", - "build-cjs": "babel build/esm --config-file ./.babel.cjs.json --out-dir build/cjs --out-file-extension .js --source-maps", - "build-mjs": "babel build/esm --config-file ./.babel.mjs.json --out-dir build/mjs --out-file-extension .mjs --source-maps", - "build-post": "build-utils pack-v1", - "build-pack": "concurrently \"pnpm build-cjs\" \"pnpm build-mjs\" && pnpm build-post", - "build-all": "tsc -b tsconfig.json", - "build-watch": "tsc -b tsconfig.json --watch", - "lint": "eslint --ext .ts,.tsx src/**/* test/**/*", - "autofix": "pnpm lint --fix", - "tc": "tsc --noEmit", - "docs": "docgen", - "docs-update": "git add --force --all docs/modules || true", - "circular": "madge --ts-config ./tsconfig.madge.json --circular --no-color --no-spinner --warning build/esm", + "build": "pnpm gen && preconstruct fix && preconstruct build && pnpm gen", + "gen": "build-utils prepare-v1", + "clean": "node scripts/clean.mjs", "test": "vitest", - "coverage": "vitest run --coverage" + "check": "tsc -p tsconfig.json --noEmit", + "coverage": "vitest run --coverage", + "circular": "madge --extensions ts --circular --no-color --no-spinner --warning src", + "update-version": "changeset version && pnpm install --no-frozen-lockfile", + "lint": "eslint src test", + "lint-fix": "eslint src test --fix", + "fix": "preconstruct fix", + "docgen": "docgen", + "dtslint": "dtslint --expectOnly dtslint" }, - "exports": { - ".": { - "require": "./build/cjs/index.js" + "preconstruct": { + "distFilenameStrategy": "full", + "exports": { + "importConditionDefaultExport": "default" }, - "./*": { - "require": "./build/cjs/*.js" - } + "entrypoints": [ + "*.ts", + "HelpDoc/*.ts", + "Prompt/*.ts" + ] + }, + "effect": { + "generateIndex": true }, "packageManager": "pnpm@8.9.0", "peerDependencies": { - "@effect/printer": "^0.17.1", - "@effect/printer-ansi": "^0.17.1", + "@effect/printer": "^0.18.0", + "@effect/printer-ansi": "^0.18.0", "@effect/schema": "^0.43.0", "effect": "2.0.0-next.48" }, "devDependencies": { - "@babel/cli": "^7.23.0", "@babel/core": "^7.23.0", - "@babel/plugin-transform-modules-commonjs": "^7.23.0", + "@babel/preset-typescript": "^7.23.0", "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.2", - "@effect/babel-plugin": "^0.2.0", "@effect/build-utils": "^0.1.9", "@effect/docgen": "^0.2.0", "@effect/eslint-plugin": "^0.1.2", "@effect/language-service": "^0.0.21", - "@effect/printer": "^0.17.1", - "@effect/printer-ansi": "^0.17.1", + "@effect/printer": "^0.18.0", + "@effect/printer-ansi": "^0.18.0", "@effect/schema": "^0.43.0", + "@preconstruct/cli": "^2.8.1", "@types/chai": "^4.3.7", "@types/node": "^20.8.4", "@typescript-eslint/eslint-plugin": "^6.7.5", @@ -83,7 +84,6 @@ "@vitejs/plugin-react": "^4.1.0", "@vitest/coverage-v8": "^0.34.6", "babel-plugin-annotate-pure-calls": "^0.4.0", - "concurrently": "^8.2.1", "effect": "2.0.0-next.48", "error-stack-parser": "^2.1.4", "eslint": "^8.51.0", @@ -95,11 +95,147 @@ "eslint-plugin-sort-destructure-keys": "^1.5.0", "fast-check": "^3.13.1", "madge": "^6.1.0", - "rimraf": "^5.0.5", "stackframe": "^1.3.4", "ts-node": "^10.9.1", "typescript": "^5.2.2", "vite": "^4.4.11", "vitest": "0.34.6" + }, + "files": [ + "src", + "dist", + "Args", + "AutoCorrect", + "BuiltInOption", + "CliApp", + "CliConfig", + "Command", + "CommandDirective", + "Exists", + "HelpDoc", + "Options", + "Primitive", + "Prompt", + "ShellType", + "Terminal", + "Usage", + "ValidationError" + ], + "exports": { + ".": { + "types": "./dist/declarations/src/index.d.ts", + "module": "./dist/effect-cli.esm.js", + "import": "./dist/effect-cli.cjs.mjs", + "default": "./dist/effect-cli.cjs.js" + }, + "./package.json": "./package.json", + "./Args": { + "types": "./dist/declarations/src/Args.d.ts", + "module": "./Args/dist/effect-cli-Args.esm.js", + "import": "./Args/dist/effect-cli-Args.cjs.mjs", + "default": "./Args/dist/effect-cli-Args.cjs.js" + }, + "./AutoCorrect": { + "types": "./dist/declarations/src/AutoCorrect.d.ts", + "module": "./AutoCorrect/dist/effect-cli-AutoCorrect.esm.js", + "import": "./AutoCorrect/dist/effect-cli-AutoCorrect.cjs.mjs", + "default": "./AutoCorrect/dist/effect-cli-AutoCorrect.cjs.js" + }, + "./BuiltInOption": { + "types": "./dist/declarations/src/BuiltInOption.d.ts", + "module": "./BuiltInOption/dist/effect-cli-BuiltInOption.esm.js", + "import": "./BuiltInOption/dist/effect-cli-BuiltInOption.cjs.mjs", + "default": "./BuiltInOption/dist/effect-cli-BuiltInOption.cjs.js" + }, + "./CliApp": { + "types": "./dist/declarations/src/CliApp.d.ts", + "module": "./CliApp/dist/effect-cli-CliApp.esm.js", + "import": "./CliApp/dist/effect-cli-CliApp.cjs.mjs", + "default": "./CliApp/dist/effect-cli-CliApp.cjs.js" + }, + "./CliConfig": { + "types": "./dist/declarations/src/CliConfig.d.ts", + "module": "./CliConfig/dist/effect-cli-CliConfig.esm.js", + "import": "./CliConfig/dist/effect-cli-CliConfig.cjs.mjs", + "default": "./CliConfig/dist/effect-cli-CliConfig.cjs.js" + }, + "./Command": { + "types": "./dist/declarations/src/Command.d.ts", + "module": "./Command/dist/effect-cli-Command.esm.js", + "import": "./Command/dist/effect-cli-Command.cjs.mjs", + "default": "./Command/dist/effect-cli-Command.cjs.js" + }, + "./CommandDirective": { + "types": "./dist/declarations/src/CommandDirective.d.ts", + "module": "./CommandDirective/dist/effect-cli-CommandDirective.esm.js", + "import": "./CommandDirective/dist/effect-cli-CommandDirective.cjs.mjs", + "default": "./CommandDirective/dist/effect-cli-CommandDirective.cjs.js" + }, + "./Exists": { + "types": "./dist/declarations/src/Exists.d.ts", + "module": "./Exists/dist/effect-cli-Exists.esm.js", + "import": "./Exists/dist/effect-cli-Exists.cjs.mjs", + "default": "./Exists/dist/effect-cli-Exists.cjs.js" + }, + "./HelpDoc": { + "types": "./dist/declarations/src/HelpDoc.d.ts", + "module": "./HelpDoc/dist/effect-cli-HelpDoc.esm.js", + "import": "./HelpDoc/dist/effect-cli-HelpDoc.cjs.mjs", + "default": "./HelpDoc/dist/effect-cli-HelpDoc.cjs.js" + }, + "./HelpDoc/Span": { + "types": "./dist/declarations/src/HelpDoc/Span.d.ts", + "module": "./HelpDoc/Span/dist/effect-cli-HelpDoc-Span.esm.js", + "import": "./HelpDoc/Span/dist/effect-cli-HelpDoc-Span.cjs.mjs", + "default": "./HelpDoc/Span/dist/effect-cli-HelpDoc-Span.cjs.js" + }, + "./Options": { + "types": "./dist/declarations/src/Options.d.ts", + "module": "./Options/dist/effect-cli-Options.esm.js", + "import": "./Options/dist/effect-cli-Options.cjs.mjs", + "default": "./Options/dist/effect-cli-Options.cjs.js" + }, + "./Primitive": { + "types": "./dist/declarations/src/Primitive.d.ts", + "module": "./Primitive/dist/effect-cli-Primitive.esm.js", + "import": "./Primitive/dist/effect-cli-Primitive.cjs.mjs", + "default": "./Primitive/dist/effect-cli-Primitive.cjs.js" + }, + "./Prompt": { + "types": "./dist/declarations/src/Prompt.d.ts", + "module": "./Prompt/dist/effect-cli-Prompt.esm.js", + "import": "./Prompt/dist/effect-cli-Prompt.cjs.mjs", + "default": "./Prompt/dist/effect-cli-Prompt.cjs.js" + }, + "./Prompt/Action": { + "types": "./dist/declarations/src/Prompt/Action.d.ts", + "module": "./Prompt/Action/dist/effect-cli-Prompt-Action.esm.js", + "import": "./Prompt/Action/dist/effect-cli-Prompt-Action.cjs.mjs", + "default": "./Prompt/Action/dist/effect-cli-Prompt-Action.cjs.js" + }, + "./ShellType": { + "types": "./dist/declarations/src/ShellType.d.ts", + "module": "./ShellType/dist/effect-cli-ShellType.esm.js", + "import": "./ShellType/dist/effect-cli-ShellType.cjs.mjs", + "default": "./ShellType/dist/effect-cli-ShellType.cjs.js" + }, + "./Terminal": { + "types": "./dist/declarations/src/Terminal.d.ts", + "module": "./Terminal/dist/effect-cli-Terminal.esm.js", + "import": "./Terminal/dist/effect-cli-Terminal.cjs.mjs", + "default": "./Terminal/dist/effect-cli-Terminal.cjs.js" + }, + "./Usage": { + "types": "./dist/declarations/src/Usage.d.ts", + "module": "./Usage/dist/effect-cli-Usage.esm.js", + "import": "./Usage/dist/effect-cli-Usage.cjs.mjs", + "default": "./Usage/dist/effect-cli-Usage.cjs.js" + }, + "./ValidationError": { + "types": "./dist/declarations/src/ValidationError.d.ts", + "module": "./ValidationError/dist/effect-cli-ValidationError.esm.js", + "import": "./ValidationError/dist/effect-cli-ValidationError.cjs.mjs", + "default": "./ValidationError/dist/effect-cli-ValidationError.cjs.js" + } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52d7472..dcbb3dc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,13 +5,10 @@ settings: excludeLinksFromLockfile: false devDependencies: - '@babel/cli': - specifier: ^7.23.0 - version: 7.23.0(@babel/core@7.23.0) '@babel/core': specifier: ^7.23.0 version: 7.23.0 - '@babel/plugin-transform-modules-commonjs': + '@babel/preset-typescript': specifier: ^7.23.0 version: 7.23.0(@babel/core@7.23.0) '@changesets/changelog-github': @@ -20,9 +17,6 @@ devDependencies: '@changesets/cli': specifier: ^2.26.2 version: 2.26.2 - '@effect/babel-plugin': - specifier: ^0.2.0 - version: 0.2.0(@babel/core@7.23.0) '@effect/build-utils': specifier: ^0.1.9 version: 0.1.9 @@ -36,14 +30,17 @@ devDependencies: specifier: ^0.0.21 version: 0.0.21 '@effect/printer': - specifier: ^0.17.1 - version: 0.17.1(@effect/typeclass@0.6.2)(effect@2.0.0-next.48) + specifier: ^0.18.0 + version: 0.18.0(@effect/typeclass@0.10.0)(effect@2.0.0-next.48) '@effect/printer-ansi': - specifier: ^0.17.1 - version: 0.17.1(@effect/typeclass@0.6.2)(effect@2.0.0-next.48) + specifier: ^0.18.0 + version: 0.18.0(@effect/typeclass@0.10.0)(effect@2.0.0-next.48) '@effect/schema': specifier: ^0.43.0 version: 0.43.0(effect@2.0.0-next.48)(fast-check@3.13.1) + '@preconstruct/cli': + specifier: ^2.8.1 + version: 2.8.1 '@types/chai': specifier: ^4.3.7 version: 4.3.7 @@ -65,9 +62,6 @@ devDependencies: babel-plugin-annotate-pure-calls: specifier: ^0.4.0 version: 0.4.0(@babel/core@7.23.0) - concurrently: - specifier: ^8.2.1 - version: 8.2.1 effect: specifier: 2.0.0-next.48 version: 2.0.0-next.48 @@ -101,9 +95,6 @@ devDependencies: madge: specifier: ^6.1.0 version: 6.1.0(typescript@5.2.2) - rimraf: - specifier: ^5.0.5 - version: 5.0.5 stackframe: specifier: ^1.3.4 version: 1.3.4 @@ -135,26 +126,6 @@ packages: '@jridgewell/trace-mapping': 0.3.19 dev: true - /@babel/cli@7.23.0(@babel/core@7.23.0): - resolution: {integrity: sha512-17E1oSkGk2IwNILM4jtfAvgjt+ohmpfBky8aLerUfYZhiPNg7ca+CRCxZn8QDxwNhV/upsc2VHBCqGFIR+iBfA==} - engines: {node: '>=6.9.0'} - hasBin: true - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@jridgewell/trace-mapping': 0.3.19 - commander: 4.1.1 - convert-source-map: 2.0.0 - fs-readdir-recursive: 1.1.0 - glob: 7.2.3 - make-dir: 2.1.0 - slash: 2.0.0 - optionalDependencies: - '@nicolo-ribaudo/chokidar-2': 2.1.8-no-fsevents.3 - chokidar: 3.5.3 - dev: true - /@babel/code-frame@7.22.13: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} @@ -209,6 +180,13 @@ packages: jsesc: 2.5.2 dev: true + /@babel/helper-annotate-as-pure@7.22.5: + resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.0 + dev: true + /@babel/helper-compilation-targets@7.22.15: resolution: {integrity: sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==} engines: {node: '>=6.9.0'} @@ -220,6 +198,24 @@ packages: semver: 6.3.1 dev: true + /@babel/helper-create-class-features-plugin@7.22.15(@babel/core@7.23.0): + resolution: {integrity: sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-annotate-as-pure': 7.22.5 + '@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.20(@babel/core@7.23.0) + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + semver: 6.3.1 + dev: true + /@babel/helper-environment-visitor@7.22.20: resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} engines: {node: '>=6.9.0'} @@ -253,6 +249,13 @@ packages: '@babel/types': 7.23.0 dev: true + /@babel/helper-member-expression-to-functions@7.23.0: + resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.0 + dev: true + /@babel/helper-module-imports@7.22.15: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} @@ -274,11 +277,30 @@ packages: '@babel/helper-validator-identifier': 7.22.20 dev: true + /@babel/helper-optimise-call-expression@7.22.5: + resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.0 + dev: true + /@babel/helper-plugin-utils@7.22.5: resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} engines: {node: '>=6.9.0'} dev: true + /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.0): + resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-member-expression-to-functions': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 + dev: true + /@babel/helper-simple-access@7.22.5: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} @@ -286,6 +308,13 @@ packages: '@babel/types': 7.23.0 dev: true + /@babel/helper-skip-transparent-expression-wrappers@7.22.5: + resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.0 + dev: true + /@babel/helper-split-export-declaration@7.22.6: resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} @@ -344,6 +373,26 @@ packages: '@babel/types': 7.23.0 dev: true + /@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.23.0): + resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.23.0): + resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + /@babel/plugin-transform-modules-commonjs@7.23.0(@babel/core@7.23.0): resolution: {integrity: sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==} engines: {node: '>=6.9.0'} @@ -376,6 +425,33 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true + /@babel/plugin-transform-typescript@7.22.15(@babel/core@7.23.0): + resolution: {integrity: sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.0) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.23.0) + dev: true + + /@babel/preset-typescript@7.23.0(@babel/core@7.23.0): + resolution: {integrity: sha512-6P6VVa/NM/VlAYj5s2Aq/gdVg8FSENCg3wlZ6Qau9AcPaoF5LbN1nyGlR9DTRIw9PpxI94e+ReydsJHcjwAweg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.0) + '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.0) + '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.0) + dev: true + /@babel/runtime@7.22.10: resolution: {integrity: sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==} engines: {node: '>=6.9.0'} @@ -674,14 +750,6 @@ packages: resolution: {integrity: sha512-rPwwm/RrFIolz6xHa8Kzpshuwpe+xu/XcEw9iUmRF2tnyIwxxaW7XoFKaQ+GfPju81cKpH4vJeq7/2IizKvyjg==} dev: true - /@effect/babel-plugin@0.2.0(@babel/core@7.23.0): - resolution: {integrity: sha512-P6yBZmiKWkm6tzzHonqTQWzj92bguPoRKQzUw1yZh3wke+c35XoqvJjK2Cky6vgw/z4/YAbB9nikrb3rCqYetQ==} - peerDependencies: - '@babel/core': ^6.0.0-0 || 7.x - dependencies: - '@babel/core': 7.23.0 - dev: true - /@effect/build-utils@0.1.9: resolution: {integrity: sha512-PmgMZxGgk5lweaYZpR/kC09eZpXOEth9hShr8xn5a5m4S7RiMUu7O1h19Tx/i2ZgpLa/GK1405nkROT5+5z8Sg==} engines: {node: '>=16.17.1'} @@ -722,24 +790,24 @@ packages: resolution: {integrity: sha512-e8vfKbjnbYiyneBincEFS0tzXluopGK77OkVFbPRtUbNDS5tJfb+jiwOQEiqASDsadcZmd+9J9+Q6v/z7GuN2g==} dev: true - /@effect/printer-ansi@0.17.1(@effect/typeclass@0.6.2)(effect@2.0.0-next.48): - resolution: {integrity: sha512-o7rsrtmohAjPThopJKyEZJE1/4T9OGQGuXgKpe7S9dK3mnjO2+cxxj+KCZvz9M4cLwNmRfRV7rZgTGegRUHPXQ==} + /@effect/printer-ansi@0.18.0(@effect/typeclass@0.10.0)(effect@2.0.0-next.48): + resolution: {integrity: sha512-/ajstWFxFKBDm9Zrge3ZljsrOuDWbqIgeV6EUPcPvSo7C7qlzfRoTYtVE+iW2syhj0Kmh92neOpp0QDvBicVYw==} peerDependencies: - '@effect/typeclass': ^0.6.0 - effect: 2.0.0-next.38 + '@effect/typeclass': ^0.10.0 + effect: 2.0.0-next.48 dependencies: - '@effect/printer': 0.17.1(@effect/typeclass@0.6.2)(effect@2.0.0-next.48) - '@effect/typeclass': 0.6.2(effect@2.0.0-next.48) + '@effect/printer': 0.18.0(@effect/typeclass@0.10.0)(effect@2.0.0-next.48) + '@effect/typeclass': 0.10.0(effect@2.0.0-next.48) effect: 2.0.0-next.48 dev: true - /@effect/printer@0.17.1(@effect/typeclass@0.6.2)(effect@2.0.0-next.48): - resolution: {integrity: sha512-3o5r7Wx5roJkP+4klaaG8i3LIRAus6MmbiGLtURmjMuToxJsbBv+i1UTvabybhZyjQtUwIMFtUxxQ1DwjpaBeA==} + /@effect/printer@0.18.0(@effect/typeclass@0.10.0)(effect@2.0.0-next.48): + resolution: {integrity: sha512-bMPULFeNAAz2pbwSADEYRtx/1reOzeWlY9OK/X6SE81Q2kmP+VA8sJpzN41xxOfadhlpWm46WNIwzM+oqrDs3w==} peerDependencies: - '@effect/typeclass': ^0.6.0 - effect: 2.0.0-next.38 + '@effect/typeclass': ^0.10.0 + effect: 2.0.0-next.48 dependencies: - '@effect/typeclass': 0.6.2(effect@2.0.0-next.48) + '@effect/typeclass': 0.10.0(effect@2.0.0-next.48) effect: 2.0.0-next.48 dev: true @@ -753,10 +821,10 @@ packages: fast-check: 3.13.1 dev: true - /@effect/typeclass@0.6.2(effect@2.0.0-next.48): - resolution: {integrity: sha512-H9FklKKpzm8RjaIwHVruk+hHUK6HYW9aVRQ09YMCQMJBdxs/bPdJ6/hJvBVhPp1TmcwGLe0mI2+IQ3HSpIjgfg==} + /@effect/typeclass@0.10.0(effect@2.0.0-next.48): + resolution: {integrity: sha512-pELnCfLZMKU8I/ax/2ciVIIuRX22NJaSriToOS/QekCW5twK2COVDJYsTGPEDdJ86nth5/W0rt0wUZf0mjwxWQ==} peerDependencies: - effect: ^2.0.0-next.39 + effect: 2.0.0-next.48 dependencies: effect: 2.0.0-next.48 dev: true @@ -1070,6 +1138,13 @@ packages: engines: {node: '>=6.0.0'} dev: true + /@jridgewell/source-map@0.3.5: + resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.19 + dev: true + /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true @@ -1108,12 +1183,6 @@ packages: read-yaml-file: 1.1.0 dev: true - /@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3: - resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==} - requiresBuild: true - dev: true - optional: true - /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1142,6 +1211,135 @@ packages: dev: true optional: true + /@preconstruct/cli@2.8.1: + resolution: {integrity: sha512-PX5w+au06iY/QaT+9RLmRlIfavRCRoMTC/krwtNrgPEnubR9e6P+QlywrKmwiEvkzbR9AEzGnRZL8uNRDDMzrQ==} + hasBin: true + dependencies: + '@babel/code-frame': 7.22.13 + '@babel/core': 7.23.0 + '@babel/helper-module-imports': 7.22.15 + '@babel/runtime': 7.22.10 + '@preconstruct/hook': 0.4.0 + '@rollup/plugin-alias': 3.1.9(rollup@2.79.1) + '@rollup/plugin-commonjs': 15.1.0(rollup@2.79.1) + '@rollup/plugin-json': 4.1.0(rollup@2.79.1) + '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) + '@rollup/plugin-replace': 2.4.2(rollup@2.79.1) + builtin-modules: 3.3.0 + chalk: 4.1.2 + dataloader: 2.2.2 + detect-indent: 6.1.0 + enquirer: 2.4.1 + estree-walker: 2.0.2 + fast-deep-equal: 2.0.1 + fast-glob: 3.3.1 + fs-extra: 9.1.0 + is-ci: 2.0.0 + is-reference: 1.2.1 + jest-worker: 26.6.2 + magic-string: 0.30.4 + meow: 7.1.1 + ms: 2.1.3 + normalize-path: 3.0.0 + npm-packlist: 2.2.2 + p-limit: 3.1.0 + parse-glob: 3.0.4 + parse-json: 5.2.0 + quick-lru: 5.1.1 + resolve: 1.22.4 + resolve-from: 5.0.0 + rollup: 2.79.1 + semver: 7.5.4 + terser: 5.21.0 + v8-compile-cache: 2.4.0 + zod: 3.22.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@preconstruct/hook@0.4.0: + resolution: {integrity: sha512-a7mrlPTM3tAFJyz43qb4pPVpUx8j8TzZBFsNFqcKcE/sEakNXRlQAuCT4RGZRf9dQiiUnBahzSIWawU4rENl+Q==} + dependencies: + '@babel/core': 7.23.0 + '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.0) + pirates: 4.0.6 + source-map-support: 0.5.21 + transitivePeerDependencies: + - supports-color + dev: true + + /@rollup/plugin-alias@3.1.9(rollup@2.79.1): + resolution: {integrity: sha512-QI5fsEvm9bDzt32k39wpOwZhVzRcL5ydcffUHMyLVaVaLeC70I8TJZ17F1z1eMoLu4E/UOcH9BWVkKpIKdrfiw==} + engines: {node: '>=8.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + rollup: 2.79.1 + slash: 3.0.0 + dev: true + + /@rollup/plugin-commonjs@15.1.0(rollup@2.79.1): + resolution: {integrity: sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ==} + engines: {node: '>= 8.0.0'} + peerDependencies: + rollup: ^2.22.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + commondir: 1.0.1 + estree-walker: 2.0.2 + glob: 7.2.3 + is-reference: 1.2.1 + magic-string: 0.25.9 + resolve: 1.22.4 + rollup: 2.79.1 + dev: true + + /@rollup/plugin-json@4.1.0(rollup@2.79.1): + resolution: {integrity: sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==} + peerDependencies: + rollup: ^1.20.0 || ^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + rollup: 2.79.1 + dev: true + + /@rollup/plugin-node-resolve@11.2.1(rollup@2.79.1): + resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==} + engines: {node: '>= 10.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + '@types/resolve': 1.17.1 + builtin-modules: 3.3.0 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.4 + rollup: 2.79.1 + dev: true + + /@rollup/plugin-replace@2.4.2(rollup@2.79.1): + resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} + peerDependencies: + rollup: ^1.20.0 || ^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + magic-string: 0.25.9 + rollup: 2.79.1 + dev: true + + /@rollup/pluginutils@3.1.0(rollup@2.79.1): + resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} + engines: {node: '>= 8.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + '@types/estree': 0.0.39 + estree-walker: 1.0.1 + picomatch: 2.3.1 + rollup: 2.79.1 + dev: true + /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true @@ -1210,6 +1408,14 @@ packages: resolution: {integrity: sha512-/k+vesl92vMvMygmQrFe9Aimxi6oQXFUX9mA5HanTrKUSAMoLauSi6PNFOdRw0oeqilaW600GNx2vSaT2f8aIQ==} dev: true + /@types/estree@0.0.39: + resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} + dev: true + + /@types/estree@1.0.2: + resolution: {integrity: sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==} + dev: true + /@types/is-ci@3.0.0: resolution: {integrity: sha512-Q0Op0hdWbYd1iahB+IFNQcWXFq4O0Q5MwQP7uN0souuQ4rPg1vEYcnIOfr1gY+M+6rc8FGoRaBO1mOOvL29sEQ==} dependencies: @@ -1262,6 +1468,12 @@ packages: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true + /@types/resolve@1.17.1: + resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} + dependencies: + '@types/node': 20.8.4 + dev: true + /@types/semver@7.5.0: resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} dev: true @@ -1690,16 +1902,6 @@ packages: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} dev: true - /anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - requiresBuild: true - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - dev: true - optional: true - /app-module-path@2.2.0: resolution: {integrity: sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ==} dev: true @@ -1807,6 +2009,11 @@ packages: engines: {node: '>=12.0'} dev: true + /at-least-node@1.0.0: + resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} + engines: {node: '>= 4.0.0'} + dev: true + /autolinker@0.28.1: resolution: {integrity: sha512-zQAFO1Dlsn69eXaO6+7YZc+v84aquQKbwpzCE3L0stj56ERn9hutFxPopViLjo9G+rWwjozRhgS5KJ25Xy19cQ==} dependencies: @@ -1841,13 +2048,6 @@ packages: is-windows: 1.0.2 dev: true - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} - engines: {node: '>=8'} - requiresBuild: true - dev: true - optional: true - /bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} dependencies: @@ -1904,6 +2104,11 @@ packages: ieee754: 1.2.1 dev: true + /builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} + dev: true + /cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} @@ -1979,22 +2184,9 @@ packages: get-func-name: 2.0.2 dev: true - /chokidar@3.5.3: - resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} - engines: {node: '>= 8.10.0'} - requiresBuild: true - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 + /ci-info@2.0.0: + resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} dev: true - optional: true /ci-info@3.8.0: resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} @@ -2064,11 +2256,6 @@ packages: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: true - /commander@4.1.1: - resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} - engines: {node: '>= 6'} - dev: true - /commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} @@ -2103,22 +2290,6 @@ packages: source-map: 0.6.1 dev: true - /concurrently@8.2.1: - resolution: {integrity: sha512-nVraf3aXOpIcNud5pB9M82p1tynmZkrSGQ1p6X/VY8cJ+2LMVqAgXsJxYYefACSHbTYlm92O1xuhdGTjwoEvbQ==} - engines: {node: ^14.13.0 || >=16.0.0} - hasBin: true - dependencies: - chalk: 4.1.2 - date-fns: 2.30.0 - lodash: 4.17.21 - rxjs: 7.8.1 - shell-quote: 1.8.1 - spawn-command: 0.0.2 - supports-color: 8.1.1 - tree-kill: 1.2.2 - yargs: 17.7.2 - dev: true - /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} dev: true @@ -2178,11 +2349,8 @@ packages: resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} dev: true - /date-fns@2.30.0: - resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} - engines: {node: '>=0.11'} - dependencies: - '@babel/runtime': 7.22.10 + /dataloader@2.2.2: + resolution: {integrity: sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==} dev: true /debug@3.2.7: @@ -2237,6 +2405,11 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true + /deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + dev: true + /defaults@1.0.4: resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} dependencies: @@ -2903,6 +3076,14 @@ packages: engines: {node: '>=4.0'} dev: true + /estree-walker@1.0.1: + resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} + dev: true + + /estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + dev: true + /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -2954,6 +3135,10 @@ packages: pure-rand: 6.0.4 dev: true + /fast-deep-equal@2.0.1: + resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==} + dev: true + /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true @@ -3122,8 +3307,14 @@ packages: universalify: 0.1.2 dev: true - /fs-readdir-recursive@1.1.0: - resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==} + /fs-extra@9.1.0: + resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} + engines: {node: '>=10'} + dependencies: + at-least-node: 1.0.0 + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.0 dev: true /fs.realpath@1.0.0: @@ -3213,6 +3404,20 @@ packages: resolve-pkg-maps: 1.0.0 dev: true + /glob-base@0.3.0: + resolution: {integrity: sha512-ab1S1g1EbO7YzauaJLkgLp7DZVAqj9M/dvKlTt8DkXA2tiOIcSMrlVI2J1RZyB5iJVccEscjGn+kpOG9788MHA==} + engines: {node: '>=0.10.0'} + dependencies: + glob-parent: 2.0.0 + is-glob: 2.0.1 + dev: true + + /glob-parent@2.0.0: + resolution: {integrity: sha512-JDYOvfxio/t42HKdxkAYaCiBN7oYiuxykOxKxdaUW5Qn0zaYN3gRQWolrwdnf0shM9/EP0ebuuTmyoXNr1cC5w==} + dependencies: + is-glob: 2.0.1 + dev: true + /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -3398,6 +3603,12 @@ packages: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true + /ignore-walk@3.0.4: + resolution: {integrity: sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==} + dependencies: + minimatch: 3.1.2 + dev: true + /ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} @@ -3482,15 +3693,6 @@ packages: has-bigints: 1.0.2 dev: true - /is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - requiresBuild: true - dependencies: - binary-extensions: 2.2.0 - dev: true - optional: true - /is-boolean-object@1.1.2: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} @@ -3508,6 +3710,13 @@ packages: engines: {node: '>= 0.4'} dev: true + /is-ci@2.0.0: + resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==} + hasBin: true + dependencies: + ci-info: 2.0.0 + dev: true + /is-ci@3.0.1: resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} hasBin: true @@ -3528,6 +3737,11 @@ packages: has-tostringtag: 1.0.0 dev: true + /is-dotfile@1.0.3: + resolution: {integrity: sha512-9YclgOGtN/f8zx0Pr4FQYMdibBiTaH3sn52vjYip4ZSf6C4/6RfTEZ+MR4GvKhCxdPh21Bg42/WL55f6KSnKpg==} + engines: {node: '>=0.10.0'} + dev: true + /is-extendable@0.1.1: resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} engines: {node: '>=0.10.0'} @@ -3540,6 +3754,11 @@ packages: is-plain-object: 2.0.4 dev: true + /is-extglob@1.0.0: + resolution: {integrity: sha512-7Q+VbVafe6x2T+Tu6NcOf6sRklazEPmBoB3IWk3WdGZM2iGUwU/Oe3Wtq5lSEkDTTlpp8yx+5t4pzO/i9Ty1ww==} + engines: {node: '>=0.10.0'} + dev: true + /is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -3550,6 +3769,13 @@ packages: engines: {node: '>=8'} dev: true + /is-glob@2.0.1: + resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 1.0.0 + dev: true + /is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -3562,6 +3788,10 @@ packages: engines: {node: '>=8'} dev: true + /is-module@1.0.0: + resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} + dev: true + /is-negative-zero@2.0.2: resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} engines: {node: '>= 0.4'} @@ -3614,6 +3844,12 @@ packages: isobject: 3.0.1 dev: true + /is-reference@1.2.1: + resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} + dependencies: + '@types/estree': 1.0.2 + dev: true + /is-regex@1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} @@ -3801,6 +4037,15 @@ packages: engines: {node: '>= 10.14.2'} dev: true + /jest-worker@26.6.2: + resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} + engines: {node: '>= 10.13.0'} + dependencies: + '@types/node': 20.8.4 + merge-stream: 2.0.0 + supports-color: 7.2.0 + dev: true + /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: true @@ -4064,6 +4309,12 @@ packages: - supports-color dev: true + /magic-string@0.25.9: + resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} + dependencies: + sourcemap-codec: 1.4.8 + dev: true + /magic-string@0.30.4: resolution: {integrity: sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==} engines: {node: '>=12'} @@ -4071,14 +4322,6 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /make-dir@2.1.0: - resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} - engines: {node: '>=6'} - dependencies: - pify: 4.0.1 - semver: 5.7.2 - dev: true - /make-dir@4.0.0: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} @@ -4126,6 +4369,27 @@ packages: yargs-parser: 18.1.3 dev: true + /meow@7.1.1: + resolution: {integrity: sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==} + engines: {node: '>=10'} + dependencies: + '@types/minimist': 1.2.2 + camelcase-keys: 6.2.2 + decamelize-keys: 1.1.1 + hard-rejection: 2.1.0 + minimist-options: 4.1.0 + normalize-package-data: 2.5.0 + read-pkg-up: 7.0.1 + redent: 3.0.0 + trim-newlines: 3.0.1 + type-fest: 0.13.1 + yargs-parser: 18.1.3 + dev: true + + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + /merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -4313,7 +4577,27 @@ packages: engines: {node: '>=0.10.0'} requiresBuild: true dev: true - optional: true + + /npm-bundled@1.1.2: + resolution: {integrity: sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==} + dependencies: + npm-normalize-package-bin: 1.0.1 + dev: true + + /npm-normalize-package-bin@1.0.1: + resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==} + dev: true + + /npm-packlist@2.2.2: + resolution: {integrity: sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + glob: 7.2.3 + ignore-walk: 3.0.4 + npm-bundled: 1.1.2 + npm-normalize-package-bin: 1.0.1 + dev: true /object-inspect@1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} @@ -4476,6 +4760,16 @@ packages: callsites: 3.1.0 dev: true + /parse-glob@3.0.4: + resolution: {integrity: sha512-FC5TeK0AwXzq3tUBFtH74naWkPQCEWs4K+xMxWZBlKDWu0bVHXGZa+KKqxKidd7xwhdZ19ZNuF2uO1M/r196HA==} + engines: {node: '>=0.10.0'} + dependencies: + glob-base: 0.3.0 + is-dotfile: 1.0.3 + is-extglob: 1.0.0 + is-glob: 2.0.1 + dev: true + /parse-json@5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} @@ -4549,6 +4843,11 @@ packages: engines: {node: '>=6'} dev: true + /pirates@4.0.6: + resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + engines: {node: '>= 6'} + dev: true + /pkg-dir@4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -4733,6 +5032,11 @@ packages: engines: {node: '>=8'} dev: true + /quick-lru@5.1.1: + resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} + engines: {node: '>=10'} + dev: true + /quote-unquote@1.0.0: resolution: {integrity: sha512-twwRO/ilhlG/FIgYeKGFqyHhoEhqgnKVkcmqMKi2r524gz3ZbDTcyFt38E9xjJI2vT+KbRNHVbnJ/e0I25Azwg==} dev: true @@ -4819,15 +5123,6 @@ packages: util-deprecate: 1.0.2 dev: true - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - requiresBuild: true - dependencies: - picomatch: 2.3.1 - dev: true - optional: true - /redent@3.0.0: resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} engines: {node: '>=8'} @@ -4952,12 +5247,12 @@ packages: glob: 7.2.3 dev: true - /rimraf@5.0.5: - resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==} - engines: {node: '>=14'} + /rollup@2.79.1: + resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} + engines: {node: '>=10.0.0'} hasBin: true - dependencies: - glob: 10.3.10 + optionalDependencies: + fsevents: 2.3.3 dev: true /rollup@3.29.4: @@ -4974,12 +5269,6 @@ packages: queue-microtask: 1.2.3 dev: true - /rxjs@7.8.1: - resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} - dependencies: - tslib: 2.6.2 - dev: true - /safe-array-concat@1.0.0: resolution: {integrity: sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==} engines: {node: '>=0.4'} @@ -5071,10 +5360,6 @@ packages: engines: {node: '>=8'} dev: true - /shell-quote@1.8.1: - resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} - dev: true - /side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: @@ -5096,11 +5381,6 @@ packages: engines: {node: '>=14'} dev: true - /slash@2.0.0: - resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==} - engines: {node: '>=6'} - dev: true - /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -5124,6 +5404,13 @@ packages: engines: {node: '>=0.10.0'} dev: true + /source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + /source-map@0.5.7: resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} engines: {node: '>=0.10.0'} @@ -5134,8 +5421,9 @@ packages: engines: {node: '>=0.10.0'} dev: true - /spawn-command@0.0.2: - resolution: {integrity: sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==} + /sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead dev: true /spawndamnit@2.0.0: @@ -5356,13 +5644,6 @@ packages: has-flag: 4.0.0 dev: true - /supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} - dependencies: - has-flag: 4.0.0 - dev: true - /supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -5378,6 +5659,17 @@ packages: engines: {node: '>=8'} dev: true + /terser@5.21.0: + resolution: {integrity: sha512-WtnFKrxu9kaoXuiZFSGrcAvvBqAdmKx0SFNmVNYdJamMu9yyN3I/QF0FbH4QcqJQ+y1CJnzxGIKH0cSj+FGYRw==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jridgewell/source-map': 0.3.5 + acorn: 8.10.0 + commander: 2.20.3 + source-map-support: 0.5.21 + dev: true + /test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -5443,11 +5735,6 @@ packages: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} dev: true - /tree-kill@1.2.2: - resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} - hasBin: true - dev: true - /trim-newlines@3.0.1: resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} engines: {node: '>=8'} @@ -5736,6 +6023,10 @@ packages: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} dev: true + /v8-compile-cache@2.4.0: + resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} + dev: true + /v8-to-istanbul@9.1.0: resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==} engines: {node: '>=10.12.0'} @@ -6069,6 +6360,10 @@ packages: engines: {node: '>=12.20'} dev: true + /zod@3.22.4: + resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + dev: true + github.com/effect-ts/markdown-toc/4bfeb0f140105440ea0d12df2fa23199cc3ec1d5: resolution: {tarball: https://codeload.github.com/effect-ts/markdown-toc/tar.gz/4bfeb0f140105440ea0d12df2fa23199cc3ec1d5} name: markdown-toc diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..5c2a635 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,79 @@ +/** + * @since 1.0.0 + */ +export * as Args from "@effect/cli/Args" + +/** + * @since 1.0.0 + */ +export * as AutoCorrect from "@effect/cli/AutoCorrect" + +/** + * @since 1.0.0 + */ +export * as BuiltInOption from "@effect/cli/BuiltInOption" + +/** + * @since 1.0.0 + */ +export * as CliApp from "@effect/cli/CliApp" + +/** + * @since 1.0.0 + */ +export * as CliConfig from "@effect/cli/CliConfig" + +/** + * @since 1.0.0 + */ +export * as Command from "@effect/cli/Command" + +/** + * @since 1.0.0 + */ +export * as CommandDirective from "@effect/cli/CommandDirective" + +/** + * @since 1.0.0 + */ +export * as Exists from "@effect/cli/Exists" + +/** + * @since 1.0.0 + */ +export * as HelpDoc from "@effect/cli/HelpDoc" + +/** + * @since 1.0.0 + */ +export * as Options from "@effect/cli/Options" + +/** + * @since 1.0.0 + */ +export * as Primitive from "@effect/cli/Primitive" + +/** + * @since 1.0.0 + */ +export * as Prompt from "@effect/cli/Prompt" + +/** + * @since 1.0.0 + */ +export * as ShellType from "@effect/cli/ShellType" + +/** + * @since 1.0.0 + */ +export * as Terminal from "@effect/cli/Terminal" + +/** + * @since 1.0.0 + */ +export * as Usage from "@effect/cli/Usage" + +/** + * @since 1.0.0 + */ +export * as ValidationError from "@effect/cli/ValidationError" diff --git a/tsconfig.base.json b/tsconfig.base.json deleted file mode 100644 index e81f768..0000000 --- a/tsconfig.base.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "compilerOptions": { - "moduleDetection": "force", - "composite": true, - "downlevelIteration": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "declaration": true, - "skipLibCheck": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "preserveSymlinks": true, - "moduleResolution": "node", - "noEmit": false, - "lib": [ - "ES2021" - ], - "sourceMap": true, - "declarationMap": true, - "strict": true, - "noImplicitReturns": false, - "noUnusedLocals": true, - "noUnusedParameters": false, - "noFallthroughCasesInSwitch": true, - "noEmitOnError": false, - "noErrorTruncation": false, - "allowJs": false, - "checkJs": false, - "forceConsistentCasingInFileNames": true, - "stripInternal": true, - "noImplicitAny": true, - "noImplicitThis": true, - "noUncheckedIndexedAccess": false, - "strictNullChecks": true, - "baseUrl": ".", - "target": "ES2021", - "module": "ES6", - "incremental": true, - "removeComments": false, - "paths": { - "@effect/io/*": [ - "./node_modules/@effect/io/src/*" - ], - "@effect/cli": [ - "./src/index.ts" - ], - "@effect/cli/test/*": [ - "./test/*" - ], - "@effect/cli/examples/*": [ - "./examples/*" - ], - "@effect/cli/*": [ - "./src/*" - ] - }, - "plugins": [ - { - "name": "@effect/language-service", - "diagnostics": { - "1002": "none" - } - } - ] - }, - "include": [], - "exclude": [ - "node_modules", - "build", - "lib" - ] -} diff --git a/tsconfig.build.json b/tsconfig.build.json deleted file mode 100644 index d419398..0000000 --- a/tsconfig.build.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "build/esm", - "declarationDir": "build/dts", - "tsBuildInfoFile": "build/tsbuildinfo/esm.tsbuildinfo", - "rootDir": "src" - }, - "include": ["src/**/*.ts"] -} diff --git a/tsconfig.examples.json b/tsconfig.examples.json deleted file mode 100644 index ddaf46b..0000000 --- a/tsconfig.examples.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "tsBuildInfoFile": "build/tsbuildinfo/examples.tsbuildinfo", - "rootDir": "examples", - "module": "CommonJS", - "outDir": "build/examples" - }, - "include": ["examples/**/*.ts"], - "references": [{ "path": "./tsconfig.build.json" }] -} diff --git a/tsconfig.json b/tsconfig.json index 2f3b34e..a60476f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,55 @@ { - "extends": "./tsconfig.base.json", - "references": [ - { "path": "./tsconfig.build.json" }, - { "path": "./tsconfig.test.json" }, - { "path": "./tsconfig.examples.json" } - ] + "compilerOptions": { + "outDir": "build", + "moduleDetection": "force", + "composite": true, + "downlevelIteration": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "declaration": true, + "skipLibCheck": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "preserveSymlinks": true, + "moduleResolution": "node", + "noEmit": false, + "lib": ["ES2021"], + "sourceMap": true, + "declarationMap": true, + "strict": true, + "noImplicitReturns": false, + "noUnusedLocals": true, + "noUnusedParameters": false, + "noFallthroughCasesInSwitch": true, + "noEmitOnError": false, + "noErrorTruncation": false, + "allowJs": false, + "checkJs": false, + "forceConsistentCasingInFileNames": true, + "stripInternal": true, + "noImplicitAny": true, + "noImplicitThis": true, + "noUncheckedIndexedAccess": false, + "strictNullChecks": true, + "baseUrl": ".", + "target": "ES2021", + "module": "ES6", + "incremental": true, + "removeComments": false, + "paths": { + "@effect/cli": ["./src/index.ts"], + "@effect/cli/test/*": ["./test/*"], + "@effect/cli/examples/*": ["./examples/*"], + "@effect/cli/*": ["./src/*"] + }, + "plugins": [ + { + "name": "@effect/language-service", + "diagnostics": { + "1002": "none" + } + } + ] + }, + "include": ["src/**/*", "test/**/*", "examples/**/*"] } diff --git a/tsconfig.madge.json b/tsconfig.madge.json deleted file mode 100644 index eb8b7b1..0000000 --- a/tsconfig.madge.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "noEmit": true, - "allowJs": true, - "baseUrl": ".", - "paths": { - "@effect/cli": ["./build/esm/index.js"], - "@effect/cli/*": ["./build/esm/*"] - } - }, - "include": ["./build/esm/**/*.js"] -} diff --git a/tsconfig.test.json b/tsconfig.test.json deleted file mode 100644 index 2e7dd90..0000000 --- a/tsconfig.test.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "tsBuildInfoFile": "build/tsbuildinfo/test.tsbuildinfo", - "rootDir": "./", - "noEmit": true, - "types": ["vitest/globals", "node"] - }, - "include": ["test/**/*.ts", "src/**/*.ts"] -} diff --git a/vitest.config.ts b/vitest.config.ts index ac10b04..705313c 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -1,16 +1,11 @@ /// -import babel from "@vitejs/plugin-react" -import path from "path" +import * as path from "path" import { defineConfig } from "vite" -// eslint-disable-next-line @typescript-eslint/no-var-requires -const babelConfig = require("./.babel.mjs.json") - export default defineConfig({ - plugins: [babel({ babel: babelConfig })], test: { - include: ["./test/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"], + include: ["./test/**/*.ts"], exclude: ["./test/utils/**/*.ts", "./test/**/*.init.ts"], globals: true },