From fc343bfd884f85eb6f1620c9efca00590fbff333 Mon Sep 17 00:00:00 2001 From: AndreaPontrandolfo Date: Sun, 22 Sep 2024 23:28:40 +0200 Subject: [PATCH 1/5] feat(types): now Sheriff types are exposed through the `eslint-config-sheriff` package instead of `@sherifforg/types` --- README.md | 1 - packages/eslint-config-sheriff/package.json | 1 + packages/eslint-config-sheriff/src/index.ts | 3 ++ .../src/utils/getEslintConfigRawText.ts | 3 +- .../src/utils/getRequiredPackages.ts | 2 -- packages/sheriff-constants/package.json | 17 +++++++++-- .../src/utils/getEslintConfigRawText.ts | 3 +- .../src/utils/getRequiredPackages.ts | 2 -- packages/sheriff-types/package.json | 28 ++++--------------- packages/sheriff-types/tsconfig.json | 2 +- packages/sheriff-types/tsup.config.json | 8 ------ pnpm-lock.yaml | 6 ---- readmeMarkdownTable.json | 6 ---- 13 files changed, 26 insertions(+), 56 deletions(-) delete mode 100644 packages/sheriff-types/tsup.config.json diff --git a/README.md b/README.md index 2a99cad8..137b6490 100755 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ This repository is a monorepo that hosts the sourcecode of the following project | [`eslint-config-sheriff`](https://www.npmjs.com/package/eslint-config-sheriff) | [eslint-config-sheriff](https://github.com/AndreaPontrandolfo/sheriff/tree/master/packages/eslint-config-sheriff) | A comprehensive and opinionated Typescript-first ESLint configuration | [![npm](https://img.shields.io/npm/v/eslint-config-sheriff.svg)](https://www.npmjs.com/package/eslint-config-sheriff) | | [`@sherifforg/create-config`](https://www.npmjs.com/package/@sherifforg/create-config) | [sheriff-create-config](https://github.com/AndreaPontrandolfo/sheriff/tree/master/packages/sheriff-create-config) | Package used to create Sheriff-based ESLint configs | [![npm](https://img.shields.io/npm/v/@sherifforg/create-config.svg)](https://www.npmjs.com/package/@sherifforg/create-config) | | [`@sherifforg/cli`](https://www.npmjs.com/package/@sherifforg/cli) | [sheriff-cli](https://github.com/AndreaPontrandolfo/sheriff/tree/master/packages/sheriff-cli) | The Sheriff CLI. Used to manage Sheriff-based ESLint configs | [![npm](https://img.shields.io/npm/v/@sherifforg/cli.svg)](https://www.npmjs.com/package/@sherifforg/cli) | -| [`@sherifforg/types`](https://www.npmjs.com/package/@sherifforg/types) | [sheriff-types](https://github.com/AndreaPontrandolfo/sheriff/tree/master/packages/sheriff-types) | Sheriff types package | [![npm](https://img.shields.io/npm/v/@sherifforg/types.svg)](https://www.npmjs.com/package/@sherifforg/types) | ## 🚀 Getting Started diff --git a/packages/eslint-config-sheriff/package.json b/packages/eslint-config-sheriff/package.json index 05018e95..759deac6 100644 --- a/packages/eslint-config-sheriff/package.json +++ b/packages/eslint-config-sheriff/package.json @@ -6,6 +6,7 @@ "exports": { "./package.json": "./package.json", ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, diff --git a/packages/eslint-config-sheriff/src/index.ts b/packages/eslint-config-sheriff/src/index.ts index 2c81dd48..5a16868b 100644 --- a/packages/eslint-config-sheriff/src/index.ts +++ b/packages/eslint-config-sheriff/src/index.ts @@ -22,4 +22,7 @@ export { supportedFileTypes, testsFilePatterns, }; + +export type * from '@sherifforg/types'; + export default getExportableConfig; diff --git a/packages/sheriff-cli/src/utils/getEslintConfigRawText.ts b/packages/sheriff-cli/src/utils/getEslintConfigRawText.ts index a926517c..36706fec 100644 --- a/packages/sheriff-cli/src/utils/getEslintConfigRawText.ts +++ b/packages/sheriff-cli/src/utils/getEslintConfigRawText.ts @@ -18,9 +18,8 @@ export const getEslintConfigRawText = async ( } const eslintConfigRawText = { - ts: `import sheriff from 'eslint-config-sheriff'; + ts: `import sheriff, { type SheriffSettings } from 'eslint-config-sheriff'; import { defineFlatConfig } from 'eslint-define-config'; -import type { SheriffSettings } from '@sherifforg/types'; const sheriffOptions: SheriffSettings = ${JSON.stringify( sheriffConfig, diff --git a/packages/sheriff-cli/src/utils/getRequiredPackages.ts b/packages/sheriff-cli/src/utils/getRequiredPackages.ts index ca427d96..0dc8bfda 100644 --- a/packages/sheriff-cli/src/utils/getRequiredPackages.ts +++ b/packages/sheriff-cli/src/utils/getRequiredPackages.ts @@ -17,8 +17,6 @@ export const getRequiredPackages = ( if (isEslintTsPatchRequired) { requiredPackages.push(`eslint-ts-patch`, `eslint@npm:eslint-ts-patch`); consola.start("Installing 'eslint-ts-patch'..."); - requiredPackages.push('@sherifforg/types'); - consola.start("Installing '@sherifforg/types'..."); } return requiredPackages; diff --git a/packages/sheriff-constants/package.json b/packages/sheriff-constants/package.json index 96b2a14b..93e99a7f 100644 --- a/packages/sheriff-constants/package.json +++ b/packages/sheriff-constants/package.json @@ -1,15 +1,13 @@ { "name": "@sherifforg/constants", "description": "Sheriff constants.", - "version": "0.1.1", "private": true, "type": "module", "exports": { ".": "./src/index.ts" }, "files": [ - "src", - "CHANGELOG.md" + "src" ], "scripts": { "clean": "rm -rf .turbo" @@ -18,5 +16,18 @@ "@sherifforg/types": "workspace:*", "tsconfig": "workspace:*", "typescript": "^5.5.3" + }, + "engines": { + "node": ">=20.10.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/AndreaPontrandolfo/sheriff.git", + "directory": "packages/sheriff-constants" + }, + "author": { + "name": "Andrea Pontrandolfo", + "email": "andrea.pontra@gmail.com", + "url": "https://github.com/AndreaPontrandolfo" } } diff --git a/packages/sheriff-create-config/src/utils/getEslintConfigRawText.ts b/packages/sheriff-create-config/src/utils/getEslintConfigRawText.ts index a926517c..36706fec 100644 --- a/packages/sheriff-create-config/src/utils/getEslintConfigRawText.ts +++ b/packages/sheriff-create-config/src/utils/getEslintConfigRawText.ts @@ -18,9 +18,8 @@ export const getEslintConfigRawText = async ( } const eslintConfigRawText = { - ts: `import sheriff from 'eslint-config-sheriff'; + ts: `import sheriff, { type SheriffSettings } from 'eslint-config-sheriff'; import { defineFlatConfig } from 'eslint-define-config'; -import type { SheriffSettings } from '@sherifforg/types'; const sheriffOptions: SheriffSettings = ${JSON.stringify( sheriffConfig, diff --git a/packages/sheriff-create-config/src/utils/getRequiredPackages.ts b/packages/sheriff-create-config/src/utils/getRequiredPackages.ts index ca427d96..0dc8bfda 100644 --- a/packages/sheriff-create-config/src/utils/getRequiredPackages.ts +++ b/packages/sheriff-create-config/src/utils/getRequiredPackages.ts @@ -17,8 +17,6 @@ export const getRequiredPackages = ( if (isEslintTsPatchRequired) { requiredPackages.push(`eslint-ts-patch`, `eslint@npm:eslint-ts-patch`); consola.start("Installing 'eslint-ts-patch'..."); - requiredPackages.push('@sherifforg/types'); - consola.start("Installing '@sherifforg/types'..."); } return requiredPackages; diff --git a/packages/sheriff-types/package.json b/packages/sheriff-types/package.json index 4e551520..0cf0a479 100644 --- a/packages/sheriff-types/package.json +++ b/packages/sheriff-types/package.json @@ -1,28 +1,20 @@ { "name": "@sherifforg/types", "description": "Sheriff types.", - "version": "4.1.1", - "license": "MIT", "type": "module", - "files": [ - "dist" - ], "exports": { - ".": { - "import": "./dist/index.js" - } + ".": "./src/index.ts" }, + "files": [ + "src" + ], "scripts": { "clean": "rm -rf .turbo dist", - "typecheck": "tsc --noEmit", - "publint": "publint", - "build": "tsup" + "typecheck": "tsc --noEmit" }, "devDependencies": { "@types/node": "^22.5.1", - "publint": "^0.2.10", "tsconfig": "workspace:*", - "tsup": "^8.2.4", "typescript": "^5.5.3" }, "repository": { @@ -35,16 +27,6 @@ "email": "andrea.pontra@gmail.com", "url": "https://github.com/AndreaPontrandolfo" }, - "publishConfig": { - "access": "public" - }, - "bug": "https://github.com/AndreaPontrandolfo/sheriff/labels/bug", - "keywords": [ - "javascript", - "eslint", - "typescript", - "types" - ], "engines": { "node": ">=20.10.0" } diff --git a/packages/sheriff-types/tsconfig.json b/packages/sheriff-types/tsconfig.json index 1263d547..260808e9 100644 --- a/packages/sheriff-types/tsconfig.json +++ b/packages/sheriff-types/tsconfig.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/tsconfig", "include": ["src"], - "exclude": ["dist", "build", "node_modules"], + "exclude": ["node_modules"], "extends": "tsconfig/base.json", "compilerOptions": { "module": "ESNext", diff --git a/packages/sheriff-types/tsup.config.json b/packages/sheriff-types/tsup.config.json deleted file mode 100644 index d8f0effe..00000000 --- a/packages/sheriff-types/tsup.config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "entry": ["./src/index.ts"], - "format": "esm", - "dts": true, - "splitting": false, - "sourcemap": false, - "clean": true -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08a19164..3349d866 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -598,15 +598,9 @@ importers: '@types/node': specifier: ^22.5.1 version: 22.5.1 - publint: - specifier: ^0.2.10 - version: 0.2.10 tsconfig: specifier: workspace:* version: link:../tsconfig - tsup: - specifier: ^8.2.4 - version: 8.2.4(jiti@1.21.6)(postcss@8.4.39)(tsx@4.16.2)(typescript@5.5.4)(yaml@2.4.2) typescript: specifier: ^5.5.3 version: 5.5.4 diff --git a/readmeMarkdownTable.json b/readmeMarkdownTable.json index d6abf22d..a463f191 100644 --- a/readmeMarkdownTable.json +++ b/readmeMarkdownTable.json @@ -16,11 +16,5 @@ "Source": "[sheriff-cli](https://github.com/AndreaPontrandolfo/sheriff/tree/master/packages/sheriff-cli)", "Description": "The Sheriff CLI. Used to create and manage Sheriff-based ESLint configs.", "Version": "[![npm](https://img.shields.io/npm/v/@sherifforg/cli.svg)](https://www.npmjs.com/package/@sherifforg/cli)" - }, - { - "Link": "[`@sherifforg/types`](https://www.npmjs.com/package/@sherifforg/types)", - "Source": "[sheriff-types](https://github.com/AndreaPontrandolfo/sheriff/tree/master/packages/sheriff-types)", - "Description": "Sheriff types package", - "Version": "[![npm](https://img.shields.io/npm/v/@sherifforg/types.svg)](https://www.npmjs.com/package/@sherifforg/types)" } ] From 13efb431e5b43214151edae1c4c9c828e67923f3 Mon Sep 17 00:00:00 2001 From: AndreaPontrandolfo Date: Sun, 22 Sep 2024 23:42:07 +0200 Subject: [PATCH 2/5] docs(website): updated code snippets in docs --- apps/docs-website/docs/configuration.mdx | 30 +++++++------------ apps/docs-website/docs/migration-guide.mdx | 3 +- .../docs/performance-considerations.mdx | 3 +- apps/docs-website/docs/setup/manual-setup.mdx | 5 ++-- 4 files changed, 14 insertions(+), 27 deletions(-) diff --git a/apps/docs-website/docs/configuration.mdx b/apps/docs-website/docs/configuration.mdx index 55acf849..075a79fc 100644 --- a/apps/docs-website/docs/configuration.mdx +++ b/apps/docs-website/docs/configuration.mdx @@ -50,9 +50,8 @@ export default defineFlatConfig([...sheriff(sheriffOptions)]); ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; // highlight-start // Sheriff configuration object @@ -113,9 +112,8 @@ export default defineFlatConfig([ ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -177,9 +175,8 @@ export default defineFlatConfig([ ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -269,9 +266,8 @@ export default defineFlatConfig([...sheriff(sheriffOptions)]); ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -331,9 +327,8 @@ export default defineFlatConfig([...sheriff(sheriffOptions)]); ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -407,9 +402,8 @@ export default defineFlatConfig([...sheriff(sheriffOptions)]); ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -480,9 +474,8 @@ export default defineFlatConfig([...sheriff(sheriffOptions)]); ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -559,9 +552,8 @@ export default defineFlatConfig([ ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -637,9 +629,8 @@ export default defineFlatConfig([ ```ts title="eslint.config.ts" -import sheriff, { baseNoRestrictedSyntaxRules } from "eslint-config-sheriff"; +import sheriff, { baseNoRestrictedSyntaxRules, type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, @@ -716,9 +707,8 @@ export default defineFlatConfig([ ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, diff --git a/apps/docs-website/docs/migration-guide.mdx b/apps/docs-website/docs/migration-guide.mdx index 94bbc934..24ec3469 100644 --- a/apps/docs-website/docs/migration-guide.mdx +++ b/apps/docs-website/docs/migration-guide.mdx @@ -50,9 +50,8 @@ export default defineFlatConfig([...sheriff(sheriffOptions)]); ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { // highlight-next-line diff --git a/apps/docs-website/docs/performance-considerations.mdx b/apps/docs-website/docs/performance-considerations.mdx index 858ea3be..00f9335c 100644 --- a/apps/docs-website/docs/performance-considerations.mdx +++ b/apps/docs-website/docs/performance-considerations.mdx @@ -72,9 +72,8 @@ export default defineFlatConfig([ ```ts title="eslint.config.ts" -import sheriff from "eslint-config-sheriff"; +import sheriff, { type SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; -import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, diff --git a/apps/docs-website/docs/setup/manual-setup.mdx b/apps/docs-website/docs/setup/manual-setup.mdx index 1596a388..3bb1f8f4 100644 --- a/apps/docs-website/docs/setup/manual-setup.mdx +++ b/apps/docs-website/docs/setup/manual-setup.mdx @@ -72,15 +72,14 @@ Follow these steps: - ```bash npm2yarn - npm install -D eslint-ts-patch eslint@npm:eslint-ts-patch @sherifforg/types + npm install -D eslint-ts-patch eslint@npm:eslint-ts-patch ``` - change the extension of `eslint.config.mjs` from `.mjs` to `.ts` - define the types of the `sheriffOptions` object: ```ts title="eslint.config.ts" - import sheriff from "eslint-config-sheriff"; + import sheriff, { SheriffSettings } from "eslint-config-sheriff"; import { defineFlatConfig } from "eslint-define-config"; - import type { SheriffSettings } from "@sherifforg/types"; const sheriffOptions: SheriffSettings = { react: false, From dd35dfb1e778f3833c42e8cea1e3af0262ed019e Mon Sep 17 00:00:00 2001 From: AndreaPontrandolfo Date: Sun, 22 Sep 2024 23:45:37 +0200 Subject: [PATCH 3/5] added changeset --- .changeset/few-news-relax.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/few-news-relax.md diff --git a/.changeset/few-news-relax.md b/.changeset/few-news-relax.md new file mode 100644 index 00000000..fcac9b7d --- /dev/null +++ b/.changeset/few-news-relax.md @@ -0,0 +1,9 @@ +--- +'eslint-config-sheriff': major +'@sherifforg/create-config': patch +'@sherifforg/cli': patch +'docs-website': patch +--- + +feat(types): now Sheriff types are exposed through the eslint-config-sheriff package instead of @sherifforg/types. +Closes #233 From d4a207a76efce17eaf86e7960c9b5ae900aa14c6 Mon Sep 17 00:00:00 2001 From: AndreaPontrandolfo Date: Mon, 23 Sep 2024 00:03:49 +0200 Subject: [PATCH 4/5] removed are-the-types-wrong --- packages/eslint-config-sheriff/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/eslint-config-sheriff/package.json b/packages/eslint-config-sheriff/package.json index 759deac6..fc211c16 100644 --- a/packages/eslint-config-sheriff/package.json +++ b/packages/eslint-config-sheriff/package.json @@ -50,8 +50,7 @@ "build-watch": "tsup", "typecheck": "tsc --noEmit", "publint": "publint", - "typesync": "typesync --dry=fail", - "are-the-types-wrong": "attw $(pnpm pack) --ignore-rules cjs-resolves-to-esm no-resolution && rm eslint-config-sheriff-*.tgz" + "typesync": "typesync --dry=fail" }, "dependencies": { "@eslint-react/eslint-plugin": "^1.10.1", @@ -95,7 +94,6 @@ }, "license": "MIT", "devDependencies": { - "@arethetypeswrong/cli": "^0.15.4", "@sherifforg/constants": "workspace:*", "@sherifforg/types": "workspace:*", "@types/confusing-browser-globals": "^1.0.3", From 8bbde2072403b2cf39c09dfc7018e4af3aefec65 Mon Sep 17 00:00:00 2001 From: AndreaPontrandolfo Date: Mon, 23 Sep 2024 00:06:15 +0200 Subject: [PATCH 5/5] updated lockfile --- pnpm-lock.yaml | 99 -------------------------------------------------- 1 file changed, 99 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3349d866..fd876900 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -398,9 +398,6 @@ importers: specifier: ^8.6.0 version: 8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.5.4) devDependencies: - '@arethetypeswrong/cli': - specifier: ^0.15.4 - version: 0.15.4 '@sherifforg/constants': specifier: workspace:* version: link:../sheriff-constants @@ -733,18 +730,6 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@andrewbranch/untar.js@1.0.3': - resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} - - '@arethetypeswrong/cli@0.15.4': - resolution: {integrity: sha512-YDbImAi1MGkouT7f2yAECpUMFhhA1J0EaXzIqoC5GGtK0xDgauLtcsZezm8tNq7d3wOFXH7OnY+IORYcG212rw==} - engines: {node: '>=18'} - hasBin: true - - '@arethetypeswrong/core@0.15.1': - resolution: {integrity: sha512-FYp6GBAgsNz81BkfItRz8RLZO03w5+BaeiPma1uCfmxTnxbtuMrI/dbzGiOk8VghO108uFI0oJo0OkewdSHw7g==} - engines: {node: '>=18'} - '@astrojs/compiler@2.9.2': resolution: {integrity: sha512-Vpu0Ffsj8SoV+N0DFHlxxOMKHwSC9059Xy/OlG1t6uFYSoJXxkBC2WyF6igO7x10V+8uJrhOxaXr3nA90kJXow==} @@ -3547,10 +3532,6 @@ packages: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} - ansi-escapes@7.0.0: - resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} - engines: {node: '>=18'} - ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} engines: {'0': node >= 0.8.0} @@ -4656,10 +4637,6 @@ packages: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} - environment@1.1.0: - resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} - engines: {node: '>=18'} - err-code@2.0.3: resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} @@ -5177,9 +5154,6 @@ packages: resolution: {integrity: sha512-u5/sxGfiMfZNtJ3OvQpXcvotFpYkL0n9u9mM2vkui2nGo8b4wvDkJ8gAkYqbA8QpGyFCv3RK0Z+Iv+9veCS9bQ==} engines: {node: '>=0.4.0'} - fflate@0.8.2: - resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} - figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} @@ -6476,17 +6450,6 @@ packages: markdown-table@3.0.3: resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} - marked-terminal@7.1.0: - resolution: {integrity: sha512-+pvwa14KZL74MVXjYdPR3nSInhGhNvPce/3mqLVZT2oUvt654sL1XImFuLZ1pkA866IYZ3ikDTOFUIC7XzpZZg==} - engines: {node: '>=16.0.0'} - peerDependencies: - marked: '>=1 <14' - - marked@9.1.6: - resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} - engines: {node: '>= 16'} - hasBin: true - mdast-util-definitions@6.0.0: resolution: {integrity: sha512-scTllyX6pnYNZH/AIp/0ePz6s4cZtARxImwoPJ7kS42n+MnVsI4XbnG6d4ibehRIldYMWM2LD7ImQblVhUejVQ==} @@ -8623,10 +8586,6 @@ packages: resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==} engines: {node: '>=12'} - supports-hyperlinks@3.0.0: - resolution: {integrity: sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==} - engines: {node: '>=14.18'} - supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -8786,9 +8745,6 @@ packages: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'} - ts-expose-internals-conditionally@1.0.0-empty.0: - resolution: {integrity: sha512-F8m9NOF6ZhdOClDVdlM8gj3fDCav4ZIFSs/EI3ksQbAAXVSCN/Jh5OCJDDZWBuBy9psFc6jULGDlPwjMYMhJDw==} - ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} @@ -8959,11 +8915,6 @@ packages: typescript: optional: true - typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} - engines: {node: '>=14.17'} - hasBin: true - typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -9644,27 +9595,6 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@andrewbranch/untar.js@1.0.3': {} - - '@arethetypeswrong/cli@0.15.4': - dependencies: - '@arethetypeswrong/core': 0.15.1 - chalk: 4.1.2 - cli-table3: 0.6.5 - commander: 10.0.1 - marked: 9.1.6 - marked-terminal: 7.1.0(marked@9.1.6) - semver: 7.6.3 - - '@arethetypeswrong/core@0.15.1': - dependencies: - '@andrewbranch/untar.js': 1.0.3 - fflate: 0.8.2 - semver: 7.6.3 - ts-expose-internals-conditionally: 1.0.0-empty.0 - typescript: 5.3.3 - validate-npm-package-name: 5.0.1 - '@astrojs/compiler@2.9.2': {} '@astrojs/internal-helpers@0.4.1': {} @@ -13476,10 +13406,6 @@ snapshots: dependencies: type-fest: 0.21.3 - ansi-escapes@7.0.0: - dependencies: - environment: 1.1.0 - ansi-html-community@0.0.8: {} ansi-regex@5.0.1: {} @@ -14771,8 +14697,6 @@ snapshots: env-paths@2.2.1: {} - environment@1.1.0: {} - err-code@2.0.3: {} error-ex@1.3.2: @@ -15644,8 +15568,6 @@ snapshots: dependencies: xml-js: 1.6.11 - fflate@0.8.2: {} - figures@3.2.0: dependencies: escape-string-regexp: 1.0.5 @@ -17062,18 +16984,6 @@ snapshots: markdown-table@3.0.3: {} - marked-terminal@7.1.0(marked@9.1.6): - dependencies: - ansi-escapes: 7.0.0 - chalk: 5.3.0 - cli-highlight: 2.1.11 - cli-table3: 0.6.5 - marked: 9.1.6 - node-emoji: 2.1.3 - supports-hyperlinks: 3.0.0 - - marked@9.1.6: {} - mdast-util-definitions@6.0.0: dependencies: '@types/mdast': 4.0.4 @@ -19784,11 +19694,6 @@ snapshots: supports-color@9.4.0: {} - supports-hyperlinks@3.0.0: - dependencies: - has-flag: 4.0.0 - supports-color: 7.2.0 - supports-preserve-symlinks-flag@1.0.0: {} svg-parser@2.0.4: {} @@ -19925,8 +19830,6 @@ snapshots: ts-dedent@2.2.0: {} - ts-expose-internals-conditionally@1.0.0-empty.0: {} - ts-interface-checker@0.1.13: {} ts-node@10.9.2(@types/node@22.5.1)(typescript@5.5.4): @@ -20102,8 +20005,6 @@ snapshots: - eslint - supports-color - typescript@5.3.3: {} - typescript@5.5.4: {} typesync@0.13.0(typescript@5.5.4):