diff --git a/.github/labeler.yml b/.github/labeler.yml index abfc204d7fe4..f08384fa1bc6 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,47 +1,39 @@ -'packages:builders': +packages:builders: - packages/builders/* - packages/builders/**/* - -'packages:collection': +packages:collection: - packages/collection/* - packages/collection/**/* - -'packages:discord.js': +packages:discord.js: - packages/discord.js/* - packages/discord.js/**/* - -'packages:docgen': +packages:docgen: - packages/docgen/* - packages/docgen/**/* - -'packages:guide': +packages:guide: - packages/guide/* - packages/guide/**/* - -'packages:proxy': +packages:proxy: - packages/proxy/* - packages/proxy/**/* - -'packages:proxy-container': +packages:proxy-container: - packages/proxy-container/* - packages/proxy-container/**/* - -'packages:rest': +packages:rest: - packages/rest/* - packages/rest/**/* - -'packages:util': +packages:util: - packages/util/* - packages/util/**/* - -'packages:voice': +packages:voice: - packages/voice/* - packages/voice/**/* - -'packages:website': +packages:website: - packages/website/* - packages/website/**/* - -'packages:ws': +packages/web-components: + - packages:web-components/* + - packages:web-components/**/* +packages:ws: - packages/ws/* - packages/ws/**/* diff --git a/.github/labels.yml b/.github/labels.yml index 9b214863b077..c51a56eca782 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,106 +1,108 @@ -- name: 'api changes' +- name: api changes color: '5663e9' -- name: 'api support' +- name: api support color: '5663e9' -- name: 'backlog' - color: '7ef7ef' -- name: 'blocked' - color: 'fc1423' -- name: 'bug' - color: 'd73a4a' -- name: 'caching' - color: '80c042' -- name: 'chore' - color: 'ffffff' -- name: 'ci' - color: '0075ca' -- name: 'dependencies' - color: '276bd1' -- name: 'discussion' - color: 'b6b1f9' -- name: 'discord' +- name: backlog + color: 7ef7ef +- name: blocked + color: fc1423 +- name: bug + color: d73a4a +- name: caching + color: 80c042 +- name: chore + color: ffffff +- name: ci + color: 0075ca +- name: dependencies + color: 276bd1 +- name: discussion + color: b6b1f9 +- name: discord color: '5663e9' -- name: 'documentation' - color: '0075ca' -- name: 'duplicate' - color: 'cfd3d7' -- name: 'error handling' - color: '80c042' -- name: 'feature request' - color: 'fcf95a' -- name: 'gateway' - color: '80c042' -- name: 'good first issue' - color: '7057ff' -- name: 'has PR' - color: '4b1f8e' -- name: 'help wanted' +- name: documentation + color: 0075ca +- name: duplicate + color: cfd3d7 +- name: error handling + color: 80c042 +- name: feature request + color: fcf95a +- name: gateway + color: 80c042 +- name: good first issue + color: 7057ff +- name: has PR + color: 4b1f8e +- name: help wanted color: '008672' -- name: 'interactions' - color: '80c042' -- name: 'in progress' - color: 'ffccd7' -- name: 'in review' - color: 'aed5fc' -- name: 'invalid' - color: 'e4e669' -- name: 'need repro' - color: 'c66037' -- name: 'packages:builders' - color: 'fbca04' -- name: 'packages:collection' - color: 'fbca04' -- name: 'packages:discord.js' - color: 'fbca04' -- name: 'packages:docgen' - color: 'fbca04' -- name: 'packages:guide' - color: 'fbca04' -- name: 'packages:proxy' - color: 'fbca04' -- name: 'packages:proxy-container' - color: 'fbca04' -- name: 'packages:rest' - color: 'fbca04' -- name: 'packages:util' - color: 'fbca04' -- name: 'packages:voice' - color: 'fbca04' -- name: 'packages:website' - color: 'fbca04' -- name: 'packages:ws' - color: 'fbca04' -- name: 'performance' - color: '80c042' -- name: 'permissions' - color: '80c042' -- name: 'priority:high' - color: 'fc1423' -- name: 'question (please use Discord instead)' - color: 'd876e3' -- name: 'ratelimits' - color: '80c042' -- name: 'refactor' - color: '1d637f' -- name: 'regression' - color: 'ea8785' -- name: 'REST' - color: '80c042' -- name: 'semver:major' - color: 'c10f47' -- name: 'semver:minor' - color: 'e4f486' -- name: 'semver:patch' - color: 'e8be8b' -- name: 'sharding' - color: '80c042' -- name: 'tests' - color: 'f06dff' -- name: 'threads' - color: '80c042' -- name: 'typings' - color: '80c042' -- name: 'utility' - color: '80c042' -- name: 'wontfix' - color: 'ffffff' +- name: interactions + color: 80c042 +- name: in progress + color: ffccd7 +- name: in review + color: aed5fc +- name: invalid + color: e4e669 +- name: need repro + color: c66037 +- name: packages:builders + color: fbca04 +- name: packages:collection + color: fbca04 +- name: packages:discord.js + color: fbca04 +- name: packages:docgen + color: fbca04 +- name: packages:guide + color: fbca04 +- name: packages:proxy + color: fbca04 +- name: packages:proxy-container + color: fbca04 +- name: packages:rest + color: fbca04 +- name: packages:util + color: fbca04 +- name: packages:voice + color: fbca04 +- name: packages:website + color: fbca04 +- name: packages:web-components + color: fbca04 +- name: packages:ws + color: fbca04 +- name: performance + color: 80c042 +- name: permissions + color: 80c042 +- name: priority:high + color: fc1423 +- name: question (please use Discord instead) + color: d876e3 +- name: ratelimits + color: 80c042 +- name: refactor + color: 1d637f +- name: regression + color: ea8785 +- name: REST + color: 80c042 +- name: semver:major + color: c10f47 +- name: semver:minor + color: e4f486 +- name: semver:patch + color: e8be8b +- name: sharding + color: 80c042 +- name: tests + color: f06dff +- name: threads + color: 80c042 +- name: typings + color: 80c042 +- name: utility + color: 80c042 +- name: wontfix + color: ffffff diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 5d54ff558a22..b12b94dad73a 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,5 +1,5 @@ { "*": "prettier --ignore-unknown --write", - "{src/**,__tests__/**}.{mjs,js,ts}": "eslint --ext mjs,js,ts --fix", + "{src/**,__tests__/**}.{mjs,js,cjs,ts,tsx,astro}": "eslint --ext .mjs,.js,.cjs,.ts,.tsx,.astro --fix", "src/**.ts": "vitest related --run" } diff --git a/.vscode/settings.json b/.vscode/settings.json index cc42e43881af..3350a197eead 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,6 +11,6 @@ "files.associations": { "*.mdx": "markdown" }, - "unocss.root": "./packages/website", + "unocss.root": "./packages/web-components", "typescript.tsdk": "node_modules/typescript/lib" } diff --git a/packages/actions/package.json b/packages/actions/package.json index 91f0253f3e42..bd20d32aeb1c 100644 --- a/packages/actions/package.json +++ b/packages/actions/package.json @@ -6,8 +6,8 @@ "scripts": { "test": "vitest run", "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "fmt": "yarn format" }, "main": "./dist/index.mjs", diff --git a/packages/api-extractor-utils/package.json b/packages/api-extractor-utils/package.json index 31dfd2e3b251..ede29511edbe 100644 --- a/packages/api-extractor-utils/package.json +++ b/packages/api-extractor-utils/package.json @@ -5,8 +5,8 @@ "private": true, "scripts": { "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --fix", "fmt": "yarn format" }, "main": "./dist/index.js", diff --git a/packages/builders/package.json b/packages/builders/package.json index c468aafe311e..a94473e5f992 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -5,8 +5,8 @@ "scripts": { "test": "vitest run", "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn lint && yarn test && yarn build", diff --git a/packages/collection/package.json b/packages/collection/package.json index a3227fd3bd9a..b117910a2e91 100644 --- a/packages/collection/package.json +++ b/packages/collection/package.json @@ -5,8 +5,8 @@ "scripts": { "test": "vitest run", "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn lint && yarn test && yarn build", diff --git a/packages/docgen/package.json b/packages/docgen/package.json index c6b0761c6e94..bba7183e6f55 100644 --- a/packages/docgen/package.json +++ b/packages/docgen/package.json @@ -4,8 +4,8 @@ "description": "The docs.json generator for discord.js and its related projects", "scripts": { "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "prepack": "yarn format && yarn build" }, diff --git a/packages/guide/astro.config.ts b/packages/guide/astro.config.ts index bc0eddceff34..c58ddfcc1899 100644 --- a/packages/guide/astro.config.ts +++ b/packages/guide/astro.config.ts @@ -14,7 +14,9 @@ export default defineConfig({ image({ serviceEntryPoint: '@astrojs/image/sharp', }), - Unocss(), + Unocss({ + configFile: fileURLToPath(new URL('../ui/unocss.config.ts', import.meta.url)), + }), ], markdown: { remarkPlugins: [[remarkCodeHike, { autoImport: false, theme: shikiThemeDarkPlus, lineNumbers: true }]], diff --git a/packages/guide/package.json b/packages/guide/package.json index 6b5c9612c2dc..5e8fcb47f8d9 100644 --- a/packages/guide/package.json +++ b/packages/guide/package.json @@ -1,15 +1,15 @@ { "name": "@discordjs/guide", "version": "0.1.0", - "description": "", + "description": "Imagine a guide... that explores the many possibilities for your discord.js bot", "private": true, "scripts": { "test": "vitest run", - "build:prod": "astro build", + "build:prod": "yarn workspace @discordjs/ui run build && astro build", "dev": "astro dev", "preview": "astro preview", - "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext mjs,js,ts,tsx,astro", - "format": "prettier --write . && cross-env TIMING=1 eslint src --ext mjs,js,ts,tsx,astro --fix" + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx,.astro", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx,.astro --fix" }, "type": "module", "contributors": [ @@ -38,6 +38,7 @@ "@astrojs/mdx": "^0.11.4", "@astrojs/react": "^1.1.4", "@code-hike/mdx": "^0.7.4", + "@discordjs/ui": "workspace:^", "@vscode/codicons": "^0.0.32", "ariakit": "^2.0.0-next.41", "astro": "^1.4.5", diff --git a/packages/guide/src/components/SidebarItems.tsx b/packages/guide/src/components/SidebarItems.tsx index 691065b9e383..d14987077ce1 100644 --- a/packages/guide/src/components/SidebarItems.tsx +++ b/packages/guide/src/components/SidebarItems.tsx @@ -1,5 +1,5 @@ +import { Section } from '@discordjs/ui'; import type { MDXInstance } from 'astro'; -import { Section } from './Section.jsx'; export type MDXPage = MDXInstance<{ category: string; title: string }>; diff --git a/packages/guide/src/pages/creating-your-bot/index.mdx b/packages/guide/src/pages/creating-your-bot/index.mdx index d0b6dbf7fb07..2b26a7a26683 100644 --- a/packages/guide/src/pages/creating-your-bot/index.mdx +++ b/packages/guide/src/pages/creating-your-bot/index.mdx @@ -4,12 +4,12 @@ title: Initial files category: Creating your bot --- +import { CH } from '@code-hike/mdx/components'; +import { Section } from '@discordjs/ui'; import { Tip } from '../../components/Tip.jsx'; import { Caution } from '../../components/Caution.jsx'; import { DocsLink } from '../../components/DocsLink.jsx'; import { ResultingCode } from '../../components/ResultingCode.jsx'; -import { CH } from '@code-hike/mdx/components'; -import { Section } from '../../components/Section.jsx'; # Initial files @@ -119,7 +119,7 @@ console.log(process.env.DISCORD_TOKEN); `.gitignore`](/creating-your-bot/#git-and-gitignore). -
+
While we generally do not recommend using online editors as hosting solutions, but rather invest in a proper virtual private server, these services do offer ways to keep your credentials safe as well! Please see the respective service's documentation and help articles for more information on how to keep sensitive values safe: - Glitch: [Storing secrets in .env](https://glitch.happyfox.com/kb/article/18) diff --git a/packages/proxy-container/package.json b/packages/proxy-container/package.json index e76281ebdce2..54762e84a7aa 100644 --- a/packages/proxy-container/package.json +++ b/packages/proxy-container/package.json @@ -4,8 +4,8 @@ "description": "Lightweight HTTP proxy for Discord's API, brought to you as a container 📦", "scripts": { "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts --fix", "fmt": "yarn format", "prepack": "yarn lint && yarn test && yarn build" }, diff --git a/packages/proxy/package.json b/packages/proxy/package.json index c766a8adb1a8..0661af6a8649 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -5,8 +5,8 @@ "scripts": { "test": "vitest run", "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn lint && yarn test && yarn build", diff --git a/packages/rest/package.json b/packages/rest/package.json index 48186f25cfcb..721711588010 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -5,8 +5,8 @@ "scripts": { "test": "vitest run", "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn lint && yarn test && yarn build", diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 4f1301ab960b..85664c63c600 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -5,8 +5,8 @@ "private": true, "scripts": { "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --fix", "fmt": "yarn format" }, "main": "./dist/index.js", diff --git a/packages/ui/.cliff-jumperrc.json b/packages/ui/.cliff-jumperrc.json new file mode 100644 index 000000000000..8e83b83315ce --- /dev/null +++ b/packages/ui/.cliff-jumperrc.json @@ -0,0 +1,5 @@ +{ + "name": "ui", + "org": "discordjs", + "packagePath": "packages/ui" +} diff --git a/packages/ui/.eslintrc.json b/packages/ui/.eslintrc.json new file mode 100644 index 000000000000..97a5ac896bc2 --- /dev/null +++ b/packages/ui/.eslintrc.json @@ -0,0 +1,12 @@ +{ + "extends": ["../../.eslintrc.json", "neon/react", "neon/prettier"], + "settings": { + "react": { + "version": "detect" + } + }, + "rules": { + "react/react-in-jsx-scope": 0, + "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }] + } +} diff --git a/packages/ui/.gitignore b/packages/ui/.gitignore new file mode 100644 index 000000000000..86b93e929ae6 --- /dev/null +++ b/packages/ui/.gitignore @@ -0,0 +1,27 @@ +# Packages +node_modules/ + +# Log files +logs/ +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Env +.env + +# Dist +dist/ +typings/ +docs/**/* +!docs/index.json +!docs/README.md + +# Miscellaneous +.tmp/ +coverage/ +tsconfig.tsbuildinfo diff --git a/packages/ui/.ladle/components.tsx b/packages/ui/.ladle/components.tsx new file mode 100644 index 000000000000..da883dad6be2 --- /dev/null +++ b/packages/ui/.ladle/components.tsx @@ -0,0 +1,5 @@ +import type { GlobalProvider } from '@ladle/react'; +import '@unocss/reset/tailwind.css'; +import 'uno.css'; + +export const Provider: GlobalProvider = ({ children }) => <>{children}; diff --git a/packages/ui/.lintstagedrc.cjs b/packages/ui/.lintstagedrc.cjs new file mode 100644 index 000000000000..dc17706a55ac --- /dev/null +++ b/packages/ui/.lintstagedrc.cjs @@ -0,0 +1 @@ +module.exports = require('../../.lintstagedrc.json'); diff --git a/packages/ui/.prettierignore b/packages/ui/.prettierignore new file mode 100644 index 000000000000..553e0ea6c783 --- /dev/null +++ b/packages/ui/.prettierignore @@ -0,0 +1,8 @@ +# Autogenerated +CHANGELOG.md +.turbo +dist/ +docs/**/* +!docs/index.yml +!docs/README.md +coverage/ diff --git a/packages/ui/.prettierrc.cjs b/packages/ui/.prettierrc.cjs new file mode 100644 index 000000000000..f004026c7647 --- /dev/null +++ b/packages/ui/.prettierrc.cjs @@ -0,0 +1 @@ +module.exports = require('../../.prettierrc.json'); diff --git a/packages/ui/LICENSE b/packages/ui/LICENSE new file mode 100644 index 000000000000..e633a147b210 --- /dev/null +++ b/packages/ui/LICENSE @@ -0,0 +1,188 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/packages/ui/api-extractor.json b/packages/ui/api-extractor.json new file mode 100644 index 000000000000..3845fd481642 --- /dev/null +++ b/packages/ui/api-extractor.json @@ -0,0 +1,376 @@ +/** + * Config file for API Extractor. For more info, please visit: https://api-extractor.com + */ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + /** + * Optionally specifies another JSON config file that this file extends from. This provides a way for + * standard settings to be shared across multiple projects. + * + * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains + * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be + * resolved using NodeJS require(). + * + * SUPPORTED TOKENS: none + * DEFAULT VALUE: "" + */ + // "extends": "./shared/api-extractor-base.json" + // "extends": "my-package/include/api-extractor-base.json" + + /** + * Determines the "" token that can be used with other config file settings. The project folder + * typically contains the tsconfig.json and package.json config files, but the path is user-defined. + * + * The path is resolved relative to the folder of the config file that contains the setting. + * + * The default value for "projectFolder" is the token "", which means the folder is determined by traversing + * parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder + * that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error + * will be reported. + * + * SUPPORTED TOKENS: + * DEFAULT VALUE: "" + */ + // "projectFolder": "..", + + /** + * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor + * analyzes the symbols exported by this module. + * + * The file extension must be ".d.ts" and not ".ts". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + */ + "mainEntryPointFilePath": "/dist/index.d.ts", + + /** + * A list of NPM package names whose exports should be treated as part of this package. + * + * For example, suppose that Webpack is used to generate a distributed bundle for the project "library1", + * and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part + * of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly + * imports library2. To avoid this, we can specify: + * + * "bundledPackages": [ "library2" ], + * + * This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been + * local files for library1. + */ + "bundledPackages": [], + + /** + * Determines how the TypeScript compiler engine will be invoked by API Extractor. + */ + "compiler": { + /** + * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * Note: This setting will be ignored if "overrideTsconfig" is used. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/tsconfig.json" + */ + // "tsconfigFilePath": "/tsconfig.json", + /** + * Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk. + * The object must conform to the TypeScript tsconfig schema: + * + * http://json.schemastore.org/tsconfig + * + * If omitted, then the tsconfig.json file will be read from the "projectFolder". + * + * DEFAULT VALUE: no overrideTsconfig section + */ + // "overrideTsconfig": { + // . . . + // } + /** + * This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended + * and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when + * dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses + * for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck. + * + * DEFAULT VALUE: false + */ + // "skipLibCheck": true, + }, + + /** + * Configures how the API report file (*.api.md) will be generated. + */ + "apiReport": { + /** + * (REQUIRED) Whether to generate an API report. + */ + "enabled": false + + /** + * The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce + * a full file path. + * + * The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/". + * + * SUPPORTED TOKENS: , + * DEFAULT VALUE: ".api.md" + */ + // "reportFileName": ".api.md", + + /** + * Specifies the folder where the API report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, + * e.g. for an API review. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + // "reportFolder": "/temp/", + + /** + * Specifies the folder where the temporary report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * After the temporary file is written to disk, it is compared with the file in the "reportFolder". + * If they are different, a production build will fail. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + // "reportTempFolder": "/temp/" + }, + + /** + * Configures how the doc model file (*.api.json) will be generated. + */ + "docModel": { + /** + * (REQUIRED) Whether to generate a doc model file. + */ + "enabled": true, + + /** + * The output path for the doc model file. The file extension should be ".api.json". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/.api.json" + */ + "apiJsonFilePath": "/docs/docs.api.json" + }, + + /** + * Configures how the .d.ts rollup file will be generated. + */ + "dtsRollup": { + /** + * (REQUIRED) Whether to generate the .d.ts rollup file. + */ + "enabled": false + + /** + * Specifies the output path for a .d.ts rollup file to be generated without any trimming. + * This file will include all declarations that are exported by the main entry point. + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/dist/.d.ts" + */ + // "untrimmedFilePath": "/dist/.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for an "alpha" release. + * This file will include only declarations that are marked as "@public", "@beta", or "@alpha". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "alphaTrimmedFilePath": "/dist/-alpha.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release. + * This file will include only declarations that are marked as "@public" or "@beta". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "betaTrimmedFilePath": "/dist/-beta.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release. + * This file will include only declarations that are marked as "@public". + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "publicTrimmedFilePath": "/dist/-public.d.ts", + + /** + * When a declaration is trimmed, by default it will be replaced by a code comment such as + * "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the + * declaration completely. + * + * DEFAULT VALUE: false + */ + // "omitTrimmingComments": true + }, + + /** + * Configures how the tsdoc-metadata.json file will be generated. + */ + "tsdocMetadata": { + /** + * Whether to generate the tsdoc-metadata.json file. + * + * DEFAULT VALUE: true + */ + // "enabled": true, + /** + * Specifies where the TSDoc metadata file should be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * The default value is "", which causes the path to be automatically inferred from the "tsdocMetadata", + * "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup + * falls back to "tsdoc-metadata.json" in the package folder. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "tsdocMetadataFilePath": "/dist/tsdoc-metadata.json" + }, + + /** + * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files + * will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead. + * To use the OS's default newline kind, specify "os". + * + * DEFAULT VALUE: "crlf" + */ + "newlineKind": "lf", + + /** + * Configures how API Extractor reports error and warning messages produced during analysis. + * + * There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages. + */ + "messages": { + /** + * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing + * the input .d.ts files. + * + * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "compilerMessageReporting": { + /** + * Configures the default routing for messages that don't match an explicit rule in this table. + */ + "default": { + /** + * Specifies whether the message should be written to the the tool's output log. Note that + * the "addToApiReportFile" property may supersede this option. + * + * Possible values: "error", "warning", "none" + * + * Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail + * and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes + * the "--local" option), the warning is displayed but the build will not fail. + * + * DEFAULT VALUE: "warning" + */ + "logLevel": "warning" + + /** + * When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md), + * then the message will be written inside that file; otherwise, the message is instead logged according to + * the "logLevel" option. + * + * DEFAULT VALUE: false + */ + // "addToApiReportFile": false + } + + // "TS2551": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + + /** + * Configures handling of messages reported by API Extractor during its analysis. + * + * API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag" + * + * DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings + */ + "extractorMessageReporting": { + "default": { + "logLevel": "warning" + // "addToApiReportFile": false + } + + // "ae-extra-release-tag": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + + /** + * Configures handling of messages reported by the TSDoc parser when analyzing code comments. + * + * TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "tsdocMessageReporting": { + "default": { + "logLevel": "warning" + // "addToApiReportFile": false + } + + // "tsdoc-link-tag-unescaped-text": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + } + } +} diff --git a/packages/ui/cliff.toml b/packages/ui/cliff.toml new file mode 100644 index 000000000000..cc35ad876a37 --- /dev/null +++ b/packages/ui/cliff.toml @@ -0,0 +1,63 @@ +[changelog] +header = """ +# Changelog + +All notable changes to this project will be documented in this file.\n +""" +body = """ +{% if version %}\ + # [{{ version | trim_start_matches(pat="v") }}]\ + {% if previous %}\ + {% if previous.version %}\ + (https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\ + {% else %}\ + (https://github.com/discordjs/discord.js/tree/{{ version }})\ + {% endif %}\ + {% endif %} \ + - ({{ timestamp | date(format="%Y-%m-%d") }}) +{% else %}\ + # [unreleased] +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ## {{ group | upper_first }} + {% for commit in commits %} + - {% if commit.scope %}\ + **{{commit.scope}}:** \ + {% endif %}\ + {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\ + {% if commit.breaking %}\ + {% for breakingChange in commit.footers %}\ + \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% endfor %}\ + {% endif %}\ + {% endfor %} +{% endfor %}\n +""" +trim = true +footer = "" + +[git] +conventional_commits = true +filter_unconventional = true +commit_parsers = [ + { message = "^feat", group = "Features"}, + { message = "^fix", group = "Bug Fixes"}, + { message = "^docs", group = "Documentation"}, + { message = "^perf", group = "Performance"}, + { message = "^refactor", group = "Refactor"}, + { message = "^typings", group = "Typings"}, + { message = "^types", group = "Typings"}, + { message = ".*deprecated", body = ".*deprecated", group = "Deprecation"}, + { message = "^revert", skip = true}, + { message = "^style", group = "Styling"}, + { message = "^test", group = "Testing"}, + { message = "^chore", skip = true}, + { message = "^ci", skip = true}, + { message = "^build", skip = true}, + { body = ".*security", group = "Security"}, +] +filter_commits = true +tag_pattern = "@discordjs/ui-components@[0-9]*" +ignore_tags = "" +date_order = true +sort_commits = "newest" diff --git a/packages/ui/package.json b/packages/ui/package.json new file mode 100644 index 000000000000..50c9ad46b0be --- /dev/null +++ b/packages/ui/package.json @@ -0,0 +1,74 @@ +{ + "name": "@discordjs/ui", + "version": "0.1.0", + "description": "", + "scripts": { + "test": "vitest run", + "build": "vite build", + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx --fix", + "prepack": "yarn build && yarn lint", + "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/ui/*'", + "release": "cliff-jumper", + "storybook": "ladle serve" + }, + "type": "module", + "module": "./dist/ui.js", + "typings": "./dist/index.d.ts", + "exports": { + "import": "./dist/ui.js", + "types": "./dist/index.d.ts" + }, + "directories": { + "lib": "src" + }, + "files": [ + "dist" + ], + "contributors": [ + "Crawl ", + "SpaceEEC ", + "Vlad Frangu ", + "Aura Román " + ], + "license": "Apache-2.0", + "keywords": [], + "repository": { + "type": "git", + "url": "git+https://github.com/discordjs/discord.js.git" + }, + "bugs": { + "url": "https://github.com/discordjs/discord.js/issues" + }, + "homepage": "https://discord.js.org", + "dependencies": { + "ariakit": "^2.0.0-next.41", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-icons": "^4.4.0" + }, + "devDependencies": { + "@favware/cliff-jumper": "^1.8.8", + "@ladle/react": "^2.4.3", + "@types/node": "^16.11.64", + "@types/react-dom": "^18.0.6", + "@unocss/reset": "^0.45.26", + "@vitejs/plugin-react": "^2.1.0", + "@vitest/coverage-c8": "^0.23.4", + "cross-env": "^7.0.3", + "eslint": "^8.24.0", + "eslint-config-neon": "^0.1.34", + "prettier": "^2.7.1", + "typescript": "^4.8.4", + "unocss": "^0.45.26", + "vite": "^3.1.6", + "vite-plugin-dts": "^1.6.5", + "vitest": "^0.23.4" + }, + "engines": { + "node": ">=16.9.0" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/packages/ui/src/lib/components/Section.stories.tsx b/packages/ui/src/lib/components/Section.stories.tsx new file mode 100644 index 000000000000..3f4307dd01c6 --- /dev/null +++ b/packages/ui/src/lib/components/Section.stories.tsx @@ -0,0 +1,58 @@ +import type { Story } from '@ladle/react'; +import type { PropsWithChildren } from 'react'; +import { Section, type SectionOptions } from './Section.jsx'; + +export const Default = () =>
Test 1234
; + +export const Padded = () => ( +
+ Test 1234 +
+); + +export const Background = () => ( +
+ Test 1234 +
+); + +export const Dense = () => ( +
+ Test 1234 +
+); + +export const Gutter = () => ( +
+ Test 1234 +
+); + +export const Playground: Story> = ({ + title, + background, + defaultClosed, + dense, + gutter, + padded, +}: PropsWithChildren) => ( +
+ Test 1234 +
+); + +Playground.args = { + title: 'Test', + background: true, + defaultClosed: false, + dense: false, + gutter: true, + padded: true, +}; diff --git a/packages/guide/src/components/Section.tsx b/packages/ui/src/lib/components/Section.tsx similarity index 83% rename from packages/guide/src/components/Section.tsx rename to packages/ui/src/lib/components/Section.tsx index b9e574e3944f..e4da574c520d 100644 --- a/packages/guide/src/components/Section.tsx +++ b/packages/ui/src/lib/components/Section.tsx @@ -2,6 +2,16 @@ import { Disclosure, DisclosureContent, useDisclosureState } from 'ariakit/discl import type { PropsWithChildren } from 'react'; import { VscChevronDown } from 'react-icons/vsc'; +export interface SectionOptions { + background?: boolean | undefined; + defaultClosed?: boolean | undefined; + dense?: boolean | undefined; + gutter?: boolean | undefined; + icon?: JSX.Element | undefined; + padded?: boolean | undefined; + title: string; +} + export function Section({ title, icon, @@ -11,15 +21,7 @@ export function Section({ background = false, gutter = false, children, -}: PropsWithChildren<{ - background?: boolean; - defaultClosed?: boolean; - dense?: boolean; - gutter?: boolean; - icon?: JSX.Element; - padded?: boolean; - title: string; -}>) { +}: PropsWithChildren) { const disclosure = useDisclosureState({ defaultOpen: !defaultClosed }); return ( diff --git a/packages/ui/src/lib/index.ts b/packages/ui/src/lib/index.ts new file mode 100644 index 000000000000..c16365b9ca94 --- /dev/null +++ b/packages/ui/src/lib/index.ts @@ -0,0 +1 @@ +export * from './components/Section.jsx'; diff --git a/packages/ui/tsconfig.eslint.json b/packages/ui/tsconfig.eslint.json new file mode 100644 index 000000000000..d04d4be3aedc --- /dev/null +++ b/packages/ui/tsconfig.eslint.json @@ -0,0 +1,20 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] +} diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json new file mode 100644 index 000000000000..a4b00f19b315 --- /dev/null +++ b/packages/ui/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "lib": ["ESNext", "DOM", "DOM.Iterable"], + "isolatedModules": true, + "jsx": "preserve", + "baseUrl": ".", + "noEmit": true, + "allowJs": false, + "incremental": true, + "skipLibCheck": true, + "paths": { + "~/*": ["./src/*"] + } + }, + "include": ["src/**/*.ts", "src/**/*.tsx", ".ladle/**/*.tsx", "types.d.ts"], + "exclude": ["node_modules"] +} diff --git a/packages/guide/unocss.config.ts b/packages/ui/unocss.config.ts similarity index 78% rename from packages/guide/unocss.config.ts rename to packages/ui/unocss.config.ts index e8846211975c..273c5d26e877 100644 --- a/packages/guide/unocss.config.ts +++ b/packages/ui/unocss.config.ts @@ -62,4 +62,18 @@ export default defineConfig({ }, }), ], + include: [ + /.vue$/, + /.vue?vue/, + /.svelte$/, + /.[jt]sx$/, + /.mdx?$/, + /.astro$/, + /.elm$/, + /.html$/, + // eslint-disable-next-line prefer-named-capture-group, unicorn/no-unsafe-regex + /.*\/ui\.js(.*)?$/, + // eslint-disable-next-line prefer-named-capture-group, unicorn/no-unsafe-regex + /.*\/ui\.mjs(.*)?$/, + ], }); diff --git a/packages/ui/vite.config.ts b/packages/ui/vite.config.ts new file mode 100644 index 000000000000..ea6587d3dc1b --- /dev/null +++ b/packages/ui/vite.config.ts @@ -0,0 +1,20 @@ +import { resolve } from 'node:path'; +import react from '@vitejs/plugin-react'; +import Unocss from 'unocss/vite'; +import { defineConfig } from 'vite'; +import dts from 'vite-plugin-dts'; + +export default defineConfig({ + plugins: [react(), dts(), Unocss()], + build: { + lib: { + entry: resolve(__dirname, 'src/lib/index.ts'), + formats: ['es'], + name: 'ui', + fileName: 'ui', + }, + rollupOptions: { + external: ['react', 'react-dom', 'ariakit/disclosure', 'react-icons/vsc'], + }, + }, +}); diff --git a/packages/util/package.json b/packages/util/package.json index fcb748701928..1c8439068dc5 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -5,8 +5,8 @@ "scripts": { "build": "tsup", "test": "vitest run && tsd", - "lint": "prettier --check . && TIMING=1 eslint src --ext mjs,js,ts", - "format": "prettier --write . && TIMING=1 eslint src --ext mjs,js,ts --fix", + "lint": "prettier --check . && TIMING=1 eslint src --ext .mjs,.js,.ts", + "format": "prettier --write . && TIMING=1 eslint src --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn lint && yarn test && yarn build", diff --git a/packages/voice/package.json b/packages/voice/package.json index 0a483496d1eb..bbdc0932a8c7 100644 --- a/packages/voice/package.json +++ b/packages/voice/package.json @@ -5,8 +5,8 @@ "scripts": { "build": "tsup", "test": "jest --coverage", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "fmt": "yarn format", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn lint && yarn test && yarn build", diff --git a/packages/website/package.json b/packages/website/package.json index fb830a459f69..15e186a1631f 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,21 +1,21 @@ { "name": "@discordjs/website", "version": "0.1.0", - "description": "A set of builders that you can use when creating your bot", + "description": "Imagine a bot... the most popular way to build discord bots", "private": true, "scripts": { "test": "vitest run", "build:local": "yarn run --top-level docs --force && cross-env NEXT_PUBLIC_LOCAL_DEV=true yarn build:prod", - "build:prod": "yarn workspace @discordjs/api-extractor-utils run build && yarn workspace @discordjs/scripts run build && yarn build:css && yarn build:next", + "build:prod": "yarn workspace @discordjs/api-extractor-utils run build && yarn workspace @discordjs/scripts run build && yarn workspace @discordjs/ui run build && yarn build:css && yarn build:next", "build:next": "next build", "build:css": "yarn generate:css", "build:search_indicies": "yarn node scripts/generateAllIndicies.js", "dev": "yarn run --top-level docs && concurrently 'yarn dev:css' 'yarn dev:next'", "dev:next": "next dev", "dev:css": "yarn generate:css --watch", - "generate:css": "unocss 'src/**/*.tsx' --out-file ./src/styles/unocss.css", - "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext mjs,js,ts,tsx", - "format": "prettier --write . && cross-env TIMING=1 eslint src --ext mjs,js,ts,tsx --fix" + "generate:css": "unocss 'src/**/*.tsx' '../ui/src/**/*.tsx' --out-file ./src/styles/unocss.css --config ../ui/unocss.config.ts", + "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx", + "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx --fix" }, "type": "module", "contributors": [ @@ -42,6 +42,7 @@ "dependencies": { "@discordjs/api-extractor-utils": "workspace:^", "@discordjs/scripts": "workspace:^", + "@discordjs/ui": "workspace:^", "@microsoft/api-extractor-model": "7.24.0", "@microsoft/tsdoc": "0.14.1", "@vscode/codicons": "^0.0.32", diff --git a/packages/website/src/components/DocContainer.tsx b/packages/website/src/components/DocContainer.tsx index ec740778d984..3c7e5e2160ad 100644 --- a/packages/website/src/components/DocContainer.tsx +++ b/packages/website/src/components/DocContainer.tsx @@ -5,6 +5,7 @@ import type { ApiClassJSON, ApiInterfaceJSON, } from '@discordjs/api-extractor-utils'; +import { Section } from '@discordjs/ui'; import type { ReactNode } from 'react'; import { Fragment, type PropsWithChildren } from 'react'; import { Scrollbars } from 'react-custom-scrollbars-2'; @@ -19,7 +20,6 @@ import { } from 'react-icons/vsc'; import { useMedia } from 'react-use'; import { HyperlinkedText } from './HyperlinkedText'; -import { Section } from './Section'; import { SyntaxHighlighter } from './SyntaxHighlighter'; import { TableOfContentItems } from './TableOfContentItems'; import { TypeParamTable } from './TypeParamTable'; diff --git a/packages/website/src/components/Section.tsx b/packages/website/src/components/Section.tsx deleted file mode 100644 index 539c07f55dfe..000000000000 --- a/packages/website/src/components/Section.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { Disclosure, DisclosureContent, useDisclosureState } from 'ariakit/disclosure'; -import type { PropsWithChildren } from 'react'; -import { VscChevronDown } from 'react-icons/vsc'; - -export function Section({ - title, - icon, - padded = false, - dense = false, - defaultClosed = false, - children, -}: PropsWithChildren<{ - defaultClosed?: boolean; - dense?: boolean; - icon?: JSX.Element; - padded?: boolean; - title: string; -}>) { - const disclosure = useDisclosureState({ defaultOpen: !defaultClosed }); - - return ( -
- -
-
- {icon ?? null} - {title} -
- -
-
- - {padded ?
{children}
: children} -
-
- ); -} diff --git a/packages/website/src/components/Sections.tsx b/packages/website/src/components/Sections.tsx index 16fd3820e483..775e17ad2fff 100644 --- a/packages/website/src/components/Sections.tsx +++ b/packages/website/src/components/Sections.tsx @@ -4,13 +4,13 @@ import type { ParameterDocumentation, ApiConstructorJSON, } from '@discordjs/api-extractor-utils'; +import { Section } from '@discordjs/ui'; import { useMemo } from 'react'; import { VscSymbolConstant, VscSymbolMethod, VscSymbolProperty } from 'react-icons/vsc'; import { useMedia } from 'react-use'; import { MethodList } from './MethodList'; import { ParameterTable } from './ParameterTable'; import { PropertyList } from './PropertyList'; -import { Section } from './Section'; import { TSDoc } from './tsdoc/TSDoc'; export function PropertiesSection({ data }: { data: ApiClassJSON['properties'] | ApiInterfaceJSON['properties'] }) { diff --git a/packages/website/src/components/SidebarItems.tsx b/packages/website/src/components/SidebarItems.tsx index 71c35917f8e9..6ba808e46d32 100644 --- a/packages/website/src/components/SidebarItems.tsx +++ b/packages/website/src/components/SidebarItems.tsx @@ -1,3 +1,4 @@ +import { Section } from '@discordjs/ui'; import Link from 'next/link'; import { useRouter } from 'next/router'; import { type Dispatch, type SetStateAction, useEffect, useState, useMemo } from 'react'; @@ -9,7 +10,6 @@ import { VscSymbolVariable, VscSymbolMethod, } from 'react-icons/vsc'; -import { Section } from './Section'; import type { GroupedMembers, Members } from './SidebarLayout'; function groupMembers(members: Members): GroupedMembers { diff --git a/packages/website/src/components/model/Enum.tsx b/packages/website/src/components/model/Enum.tsx index 9a933948e461..5ff1fdd16ad2 100644 --- a/packages/website/src/components/model/Enum.tsx +++ b/packages/website/src/components/model/Enum.tsx @@ -1,9 +1,9 @@ import type { ApiEnumJSON } from '@discordjs/api-extractor-utils'; +import { Section } from '@discordjs/ui'; import { VscSymbolEnumMember } from 'react-icons/vsc'; import { useMedia } from 'react-use'; import { CodeListing, CodeListingSeparatorType } from '../CodeListing'; import { DocContainer } from '../DocContainer'; -import { Section } from '../Section'; export function Enum({ data }: { data: ApiEnumJSON }) { const matches = useMedia('(max-width: 768px)', true); diff --git a/packages/website/unocss.config.ts b/packages/website/unocss.config.ts deleted file mode 100644 index e8846211975c..000000000000 --- a/packages/website/unocss.config.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { defineConfig, presetTypography, presetUno, presetWebFonts } from 'unocss'; - -export default defineConfig({ - theme: { - colors: { - blurple: { - 50: '#e0e3ff', - 100: '#cdd2ff', - 200: '#9ea7ff', - 300: '#7782fa', - DEFAULT: '#5865F2', - 500: '#3d48c3', - 600: '#293294', - 700: '#1a2165', - 800: '#0e1137', - 900: '#020208', - }, - }, - }, - presets: [ - presetUno({ dark: 'class' }), - presetWebFonts({ - provider: 'bunny', - fonts: { - mono: ['JetBrains Mono', 'JetBrains Mono:400,600,700'], - }, - }), - presetTypography({ - cssExtend: { - pre: { - padding: '1em', - 'line-height': '1.5', - 'border-radius': '4px', - }, - code: { - 'font-size': '1em', - 'font-weight': 'unset', - }, - ':where(:not(pre) > code)::before': { - content: '""', - }, - ':where(:not(pre) > code)::after': { - content: '""', - }, - a: { - color: '#5865F2', - 'text-decoration': 'none', - }, - 'a > img': { - display: 'inline-block', - }, - h2: { - 'margin-top': '1.25em', - }, - h3: { - 'margin-top': '0.75em', - }, - // eslint-disable-next-line id-length - p: { - margin: '.5em 0', - }, - }, - }), - ], -}); diff --git a/packages/ws/package.json b/packages/ws/package.json index 275a9ad8623f..6f334567dd69 100644 --- a/packages/ws/package.json +++ b/packages/ws/package.json @@ -5,8 +5,8 @@ "scripts": { "test": "vitest run", "build": "tsup", - "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts", - "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix", + "lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts", + "format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix", "docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local", "prepack": "yarn build && yarn lint", "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/ws/*'", diff --git a/yarn.lock b/yarn.lock index e286160e1618..162d5e623fc6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -372,7 +372,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.18.2, @babel/generator@npm:^7.19.3": +"@babel/generator@npm:^7.18.13, @babel/generator@npm:^7.18.2, @babel/generator@npm:^7.19.3": version: 7.19.3 resolution: "@babel/generator@npm:7.19.3" dependencies: @@ -689,7 +689,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.18.4, @babel/parser@npm:^7.19.3": +"@babel/parser@npm:^7.18.13, @babel/parser@npm:^7.18.4, @babel/parser@npm:^7.19.3": version: 7.19.3 resolution: "@babel/parser@npm:7.19.3" bin: @@ -1399,6 +1399,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-display-name@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/plugin-transform-react-display-name@npm:7.18.6" + dependencies: + "@babel/helper-plugin-utils": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 51c087ab9e41ef71a29335587da28417536c6f816c292e092ffc0e0985d2f032656801d4dd502213ce32481f4ba6c69402993ffa67f0818a07606ff811e4be49 + languageName: node + linkType: hard + "@babel/plugin-transform-react-jsx-development@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-react-jsx-development@npm:7.18.6" @@ -1447,6 +1458,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-pure-annotations@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/plugin-transform-react-pure-annotations@npm:7.18.6" + dependencies: + "@babel/helper-annotate-as-pure": ^7.18.6 + "@babel/helper-plugin-utils": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 97c4873d409088f437f9084d084615948198dd87fc6723ada0e7e29c5a03623c2f3e03df3f52e7e7d4d23be32a08ea00818bff302812e48713c706713bd06219 + languageName: node + linkType: hard + "@babel/plugin-transform-regenerator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-regenerator@npm:7.18.6" @@ -1562,7 +1585,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.19.3": +"@babel/preset-env@npm:^7.18.10, @babel/preset-env@npm:^7.19.3": version: 7.19.3 resolution: "@babel/preset-env@npm:7.19.3" dependencies: @@ -1662,6 +1685,22 @@ __metadata: languageName: node linkType: hard +"@babel/preset-react@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/preset-react@npm:7.18.6" + dependencies: + "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-validator-option": ^7.18.6 + "@babel/plugin-transform-react-display-name": ^7.18.6 + "@babel/plugin-transform-react-jsx": ^7.18.6 + "@babel/plugin-transform-react-jsx-development": ^7.18.6 + "@babel/plugin-transform-react-pure-annotations": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 540d9cf0a0cc0bb07e6879994e6fb7152f87dafbac880b56b65e2f528134c7ba33e0cd140b58700c77b2ebf4c81fa6468fed0ba391462d75efc7f8c1699bb4c3 + languageName: node + linkType: hard + "@babel/preset-typescript@npm:^7.18.6": version: 7.18.6 resolution: "@babel/preset-typescript@npm:7.18.6" @@ -1685,7 +1724,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.8.4": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4": version: 7.19.0 resolution: "@babel/runtime@npm:7.19.0" dependencies: @@ -1723,7 +1762,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.18.2, @babel/traverse@npm:^7.19.3": +"@babel/traverse@npm:^7.18.13, @babel/traverse@npm:^7.18.2, @babel/traverse@npm:^7.19.3": version: 7.19.3 resolution: "@babel/traverse@npm:7.19.3" dependencies: @@ -1752,7 +1791,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.18.4, @babel/types@npm:^7.19.3": +"@babel/types@npm:^7.18.13, @babel/types@npm:^7.18.4, @babel/types@npm:^7.19.3": version: 7.19.3 resolution: "@babel/types@npm:7.19.3" dependencies: @@ -1995,6 +2034,13 @@ __metadata: languageName: node linkType: hard +"@cush/relative@npm:^1.0.0": + version: 1.0.0 + resolution: "@cush/relative@npm:1.0.0" + checksum: 708681b61986e5f74e44ca5824503c23adb02c088b998429e8ecbbb8e7a4133b9be491cdb6d2b24b39fd9b55fcef109d41ac4f69b74f1f9466268f3c49c020a5 + languageName: node + linkType: hard + "@definitelytyped/header-parser@npm:latest": version: 0.0.132 resolution: "@definitelytyped/header-parser@npm:0.0.132" @@ -2155,6 +2201,7 @@ __metadata: "@astrojs/mdx": ^0.11.4 "@astrojs/react": ^1.1.4 "@code-hike/mdx": ^0.7.4 + "@discordjs/ui": "workspace:^" "@testing-library/react": ^13.4.0 "@testing-library/user-event": ^14.4.3 "@types/node": ^16.11.64 @@ -2293,6 +2340,33 @@ __metadata: languageName: unknown linkType: soft +"@discordjs/ui@workspace:^, @discordjs/ui@workspace:packages/ui": + version: 0.0.0-use.local + resolution: "@discordjs/ui@workspace:packages/ui" + dependencies: + "@favware/cliff-jumper": ^1.8.8 + "@ladle/react": ^2.4.3 + "@types/node": ^16.11.64 + "@types/react-dom": ^18.0.6 + "@unocss/reset": ^0.45.26 + "@vitejs/plugin-react": ^2.1.0 + "@vitest/coverage-c8": ^0.23.4 + ariakit: ^2.0.0-next.41 + cross-env: ^7.0.3 + eslint: ^8.24.0 + eslint-config-neon: ^0.1.34 + prettier: ^2.7.1 + react: ^18.2.0 + react-dom: ^18.2.0 + react-icons: ^4.4.0 + typescript: ^4.8.4 + unocss: ^0.45.26 + vite: ^3.1.6 + vite-plugin-dts: ^1.6.5 + vitest: ^0.23.4 + languageName: unknown + linkType: soft + "@discordjs/util@workspace:^, @discordjs/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@discordjs/util@workspace:packages/util" @@ -2349,6 +2423,7 @@ __metadata: dependencies: "@discordjs/api-extractor-utils": "workspace:^" "@discordjs/scripts": "workspace:^" + "@discordjs/ui": "workspace:^" "@microsoft/api-extractor-model": 7.24.0 "@microsoft/tsdoc": 0.14.1 "@testing-library/react": ^13.4.0 @@ -2486,6 +2561,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.15.10": + version: 0.15.10 + resolution: "@esbuild/android-arm@npm:0.15.10" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.15.9": version: 0.15.9 resolution: "@esbuild/android-arm@npm:0.15.9" @@ -2500,6 +2582,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.15.10": + version: 0.15.10 + resolution: "@esbuild/linux-loong64@npm:0.15.10" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.15.9": version: 0.15.9 resolution: "@esbuild/linux-loong64@npm:0.15.9" @@ -2998,6 +3087,64 @@ __metadata: languageName: node linkType: hard +"@ladle/react-context@npm:^1.0.1": + version: 1.0.1 + resolution: "@ladle/react-context@npm:1.0.1" + peerDependencies: + react: ">=16.14.0" + react-dom: ">=16.14.0" + checksum: 9943b1648eedb77f162e820135f949189c4e86d376a167ea890558b3d3f99085091498a7575700f29012d9b4d01e9e86b48edb4465bf904235fb8424ac283388 + languageName: node + linkType: hard + +"@ladle/react@npm:^2.4.3": + version: 2.4.3 + resolution: "@ladle/react@npm:2.4.3" + dependencies: + "@babel/code-frame": ^7.18.6 + "@babel/core": ^7.18.13 + "@babel/generator": ^7.18.13 + "@babel/parser": ^7.18.13 + "@babel/plugin-proposal-class-properties": ^7.18.6 + "@babel/preset-env": ^7.18.10 + "@babel/preset-react": ^7.18.6 + "@babel/preset-typescript": ^7.18.6 + "@babel/runtime": ^7.18.9 + "@babel/template": ^7.18.10 + "@babel/traverse": ^7.18.13 + "@babel/types": ^7.18.13 + "@ladle/react-context": ^1.0.1 + "@vitejs/plugin-react": ^2.0.1 + axe-core: ^4.4.3 + boxen: ^7.0.0 + chokidar: ^3.5.3 + classnames: ^2.3.1 + commander: ^9.4.0 + cross-spawn: ^7.0.3 + debug: ^4.3.4 + default-browser: ^3.1.0 + express: ^4.18.1 + get-port: ^6.1.2 + globby: ^13.1.2 + history: ^5.3.0 + lodash.merge: ^4.6.2 + open: ^8.4.0 + prism-react-renderer: ^1.3.5 + prop-types: ^15.8.1 + query-string: ^7.1.1 + react-frame-component: ^5.2.3 + react-inspector: ^6.0.1 + vite: ^3.0.9 + vite-tsconfig-paths: ^3.5.0 + peerDependencies: + react: ">=16.14.0" + react-dom: ">=16.14.0" + bin: + ladle: lib/cli/cli.js + checksum: aad781b2a7fc67069b6aca514334887674c4f5302291658b5a3ad9097c7842255a9db7e57a21bf97fd0e0cfc980d5fac0b5ee430d29aee428bf9966a7bd8192b + languageName: node + linkType: hard + "@ljharb/has-package-exports-patterns@npm:^0.0.2": version: 0.0.2 resolution: "@ljharb/has-package-exports-patterns@npm:0.0.2" @@ -3619,7 +3766,7 @@ __metadata: languageName: node linkType: hard -"@rushstack/node-core-library@npm:3.53.0": +"@rushstack/node-core-library@npm:3.53.0, @rushstack/node-core-library@npm:^3.53.0": version: 3.53.0 resolution: "@rushstack/node-core-library@npm:3.53.0" dependencies: @@ -3826,6 +3973,18 @@ __metadata: languageName: node linkType: hard +"@ts-morph/common@npm:~0.17.0": + version: 0.17.0 + resolution: "@ts-morph/common@npm:0.17.0" + dependencies: + fast-glob: ^3.2.11 + minimatch: ^5.1.0 + mkdirp: ^1.0.4 + path-browserify: ^1.0.1 + checksum: f588c0acabcc6ca9463ac09b343d67a73f6e7bf47f674aaff11542b95b58342556b05241610b9e6dffc2966db529e7261b6860577786f919a835c22488ec9260 + languageName: node + linkType: hard + "@tsconfig/node10@npm:^1.0.7": version: 1.0.9 resolution: "@tsconfig/node10@npm:1.0.9" @@ -5022,7 +5181,7 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react@npm:^2.1.0": +"@vitejs/plugin-react@npm:^2.0.1, @vitejs/plugin-react@npm:^2.1.0": version: 2.1.0 resolution: "@vitejs/plugin-react@npm:2.1.0" dependencies: @@ -5103,6 +5262,16 @@ __metadata: languageName: node linkType: hard +"accepts@npm:~1.3.8": + version: 1.3.8 + resolution: "accepts@npm:1.3.8" + dependencies: + mime-types: ~2.1.34 + negotiator: 0.6.3 + checksum: 50c43d32e7b50285ebe84b613ee4a3aa426715a7d131b65b786e2ead0fd76b6b60091b9916d3478a75f11f162628a2139991b6c03ab3f1d9ab7c86075dc8eab4 + languageName: node + linkType: hard + "acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" @@ -5479,6 +5648,13 @@ __metadata: languageName: node linkType: hard +"array-flatten@npm:1.1.1": + version: 1.1.1 + resolution: "array-flatten@npm:1.1.1" + checksum: a9925bf3512d9dce202112965de90c222cd59a4fbfce68a0951d25d965cf44642931f40aac72309c41f12df19afa010ecadceb07cfff9ccc1621e99d89ab5f3b + languageName: node + linkType: hard + "array-ify@npm:^1.0.0": version: 1.0.0 resolution: "array-ify@npm:1.0.0" @@ -5949,6 +6125,13 @@ __metadata: languageName: node linkType: hard +"big-integer@npm:^1.6.44": + version: 1.6.51 + resolution: "big-integer@npm:1.6.51" + checksum: 3d444173d1b2e20747e2c175568bedeebd8315b0637ea95d75fd27830d3b8e8ba36c6af40374f36bdaea7b5de376dcada1b07587cb2a79a928fccdb6e6e3c518 + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -5994,6 +6177,26 @@ __metadata: languageName: node linkType: hard +"body-parser@npm:1.20.0": + version: 1.20.0 + resolution: "body-parser@npm:1.20.0" + dependencies: + bytes: 3.1.2 + content-type: ~1.0.4 + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + on-finished: 2.4.1 + qs: 6.10.3 + raw-body: 2.5.1 + type-is: ~1.6.18 + unpipe: 1.0.0 + checksum: 12fffdeac82fe20dddcab7074215d5156e7d02a69ae90cbe9fee1ca3efa2f28ef52097cbea76685ee0a1509c71d85abd0056a08e612c09077cad6277a644cf88 + languageName: node + linkType: hard + "boolbase@npm:^1.0.0": version: 1.0.0 resolution: "boolbase@npm:1.0.0" @@ -6040,6 +6243,31 @@ __metadata: languageName: node linkType: hard +"boxen@npm:^7.0.0": + version: 7.0.0 + resolution: "boxen@npm:7.0.0" + dependencies: + ansi-align: ^3.0.1 + camelcase: ^7.0.0 + chalk: ^5.0.1 + cli-boxes: ^3.0.0 + string-width: ^5.1.2 + type-fest: ^2.13.0 + widest-line: ^4.0.1 + wrap-ansi: ^8.0.1 + checksum: b917cf7a168ef3149635a8c02d5c9717d66182348bd27038d85328ad12655151e3324db0f2815253846c33e5f0ddf28b6cd52d56a12b9f88617b7f8f722b946a + languageName: node + linkType: hard + +"bplist-parser@npm:^0.2.0": + version: 0.2.0 + resolution: "bplist-parser@npm:0.2.0" + dependencies: + big-integer: ^1.6.44 + checksum: d5339dd16afc51de6c88f88f58a45b72ed6a06aa31f5557d09877575f220b7c1d3fbe375da0b62e6a10d4b8ed80523567e351f24014f5bc886ad523758142cdd + languageName: node + linkType: hard + "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -6148,6 +6376,15 @@ __metadata: languageName: node linkType: hard +"bundle-name@npm:^3.0.0": + version: 3.0.0 + resolution: "bundle-name@npm:3.0.0" + dependencies: + run-applescript: ^5.0.0 + checksum: edf2b1fbe6096ed32e7566947ace2ea937ee427391744d7510a2880c4b9a5b3543d3f6c551236a29e5c87d3195f8e2912516290e638c15bcbede7b37cc375615 + languageName: node + linkType: hard + "bundle-require@npm:^3.1.0": version: 3.1.0 resolution: "bundle-require@npm:3.1.0" @@ -6168,6 +6405,13 @@ __metadata: languageName: node linkType: hard +"bytes@npm:3.1.2": + version: 3.1.2 + resolution: "bytes@npm:3.1.2" + checksum: e4bcd3948d289c5127591fbedf10c0b639ccbf00243504e4e127374a15c3bc8eed0d28d4aaab08ff6f1cf2abc0cce6ba3085ed32f4f90e82a5683ce0014e1b6e + languageName: node + linkType: hard + "bytesish@npm:^0.4.1": version: 0.4.4 resolution: "bytesish@npm:0.4.4" @@ -6298,6 +6542,13 @@ __metadata: languageName: node linkType: hard +"camelcase@npm:^7.0.0": + version: 7.0.0 + resolution: "camelcase@npm:7.0.0" + checksum: 162d59607b3b46e910af151348d5e40af579048a5d07f3c06370b096ca0d42ba4a88bd92cf4e3482645ba1ffdd6f744d8273c1b9594e493fc10883d54adf7cbe + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001406": version: 1.0.30001412 resolution: "caniuse-lite@npm:1.0.30001412" @@ -6377,7 +6628,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^5.0.0": +"chalk@npm:^5.0.0, chalk@npm:^5.0.1": version: 5.1.0 resolution: "chalk@npm:5.1.0" checksum: c1aa0bf0064a5a59bc06e3e385685fdcc5bb122159152bb57755fc48f9ef93c30cb3a36c9a2c39ead23e5261d787c87c4c097e1a889e1370478102a0112fe0e0 @@ -6510,6 +6761,13 @@ __metadata: languageName: node linkType: hard +"classnames@npm:^2.3.1": + version: 2.3.2 + resolution: "classnames@npm:2.3.2" + checksum: 2c62199789618d95545c872787137262e741f9db13328e216b093eea91c85ef2bfb152c1f9e63027204e2559a006a92eb74147d46c800a9f96297ae1d9f96f4e + languageName: node + linkType: hard + "clean-regexp@npm:^1.0.0": version: 1.0.0 resolution: "clean-regexp@npm:1.0.0" @@ -6650,6 +6908,13 @@ __metadata: languageName: node linkType: hard +"code-block-writer@npm:^11.0.3": + version: 11.0.3 + resolution: "code-block-writer@npm:11.0.3" + checksum: f0a2605f19963d7087267c9b0fd0b05a6638a50e7b29b70f97aa01a514f59475b0626f8aa092188df853ee6d96745426dfa132d6a677795df462c6ce32c21639 + languageName: node + linkType: hard + "code-point-at@npm:^1.0.0": version: 1.1.0 resolution: "code-point-at@npm:1.1.0" @@ -6984,6 +7249,22 @@ __metadata: languageName: node linkType: hard +"content-disposition@npm:0.5.4": + version: 0.5.4 + resolution: "content-disposition@npm:0.5.4" + dependencies: + safe-buffer: 5.2.1 + checksum: afb9d545e296a5171d7574fcad634b2fdf698875f4006a9dd04a3e1333880c5c0c98d47b560d01216fb6505a54a2ba6a843ee3a02ec86d7e911e8315255f56c3 + languageName: node + linkType: hard + +"content-type@npm:~1.0.4": + version: 1.0.4 + resolution: "content-type@npm:1.0.4" + checksum: 3d93585fda985d1554eca5ebd251994327608d2e200978fdbfba21c0c679914d5faf266d17027de44b34a72c7b0745b18584ecccaa7e1fdfb6a68ac7114f12e0 + languageName: node + linkType: hard + "conventional-changelog-angular@npm:^5.0.11, conventional-changelog-angular@npm:^5.0.12, conventional-changelog-angular@npm:^5.0.13": version: 5.0.13 resolution: "conventional-changelog-angular@npm:5.0.13" @@ -7211,7 +7492,14 @@ __metadata: languageName: node linkType: hard -"cookie@npm:^0.5.0": +"cookie-signature@npm:1.0.6": + version: 1.0.6 + resolution: "cookie-signature@npm:1.0.6" + checksum: f4e1b0a98a27a0e6e66fd7ea4e4e9d8e038f624058371bf4499cfcd8f3980be9a121486995202ba3fca74fbed93a407d6d54d43a43f96fd28d0bd7a06761591a + languageName: node + linkType: hard + +"cookie@npm:0.5.0, cookie@npm:^0.5.0": version: 0.5.0 resolution: "cookie@npm:0.5.0" checksum: 1f4bd2ca5765f8c9689a7e8954183f5332139eb72b6ff783d8947032ec1fdf43109852c178e21a953a30c0dd42257828185be01b49d1eb1a67fd054ca588a180 @@ -7317,6 +7605,16 @@ __metadata: languageName: node linkType: hard +"cross-spawn-async@npm:^2.1.1": + version: 2.2.5 + resolution: "cross-spawn-async@npm:2.2.5" + dependencies: + lru-cache: ^4.0.0 + which: ^1.2.8 + checksum: 6d9059a68a643d9a7506c0d7ca518a803a4293d62cbd3763bdb18cac0dd7bfa9b07d6705361a23c486c7b790e4a2fbfc3d63b93e21de52ad862794b12c6f055f + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -7439,6 +7737,15 @@ __metadata: languageName: node linkType: hard +"debug@npm:2.6.9, debug@npm:^2.6.9": + version: 2.6.9 + resolution: "debug@npm:2.6.9" + dependencies: + ms: 2.0.0 + checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6 + languageName: node + linkType: hard + "debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" @@ -7451,15 +7758,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^2.6.9": - version: 2.6.9 - resolution: "debug@npm:2.6.9" - dependencies: - ms: 2.0.0 - checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6 - languageName: node - linkType: hard - "debug@npm:^3.2.7": version: 3.2.7 resolution: "debug@npm:3.2.7" @@ -7502,6 +7800,13 @@ __metadata: languageName: node linkType: hard +"decode-uri-component@npm:^0.2.0": + version: 0.2.0 + resolution: "decode-uri-component@npm:0.2.0" + checksum: f3749344ab9305ffcfe4bfe300e2dbb61fc6359e2b736812100a3b1b6db0a5668cba31a05e4b45d4d63dbf1a18dfa354cd3ca5bb3ededddabb8cd293f4404f94 + languageName: node + linkType: hard + "decompress-response@npm:^3.3.0": version: 3.3.0 resolution: "decompress-response@npm:3.3.0" @@ -7557,6 +7862,28 @@ __metadata: languageName: node linkType: hard +"default-browser-id@npm:^3.0.0": + version: 3.0.0 + resolution: "default-browser-id@npm:3.0.0" + dependencies: + bplist-parser: ^0.2.0 + untildify: ^4.0.0 + checksum: 279c7ad492542e5556336b6c254a4eaf31b2c63a5433265655ae6e47301197b6cfb15c595a6fdc6463b2ff8e1a1a1ed3cba56038a60e1527ba4ab1628c6b9941 + languageName: node + linkType: hard + +"default-browser@npm:^3.1.0": + version: 3.1.0 + resolution: "default-browser@npm:3.1.0" + dependencies: + bundle-name: ^3.0.0 + default-browser-id: ^3.0.0 + execa: ^5.0.0 + xdg-default-browser: ^2.1.0 + checksum: 651505a396522c2a12445443924577a1fd45f1ddf174ed08b4abb626b7ac9ce1a096d6d26aa02b4e8f0c830fe8385a75ed3247800bed16038854cd77aa33e433 + languageName: node + linkType: hard + "defaults@npm:^1.0.3": version: 1.0.3 resolution: "defaults@npm:1.0.3" @@ -7611,6 +7938,13 @@ __metadata: languageName: node linkType: hard +"depd@npm:2.0.0": + version: 2.0.0 + resolution: "depd@npm:2.0.0" + checksum: abbe19c768c97ee2eed6282d8ce3031126662252c58d711f646921c9623f9052e3e1906443066beec1095832f534e57c523b7333f8e7e0d93051ab6baef5ab3a + languageName: node + linkType: hard + "depd@npm:^1.1.2": version: 1.1.2 resolution: "depd@npm:1.1.2" @@ -7632,6 +7966,13 @@ __metadata: languageName: node linkType: hard +"destroy@npm:1.2.0": + version: 1.2.0 + resolution: "destroy@npm:1.2.0" + checksum: 0acb300b7478a08b92d810ab229d5afe0d2f4399272045ab22affa0d99dbaf12637659411530a6fcd597a9bdac718fc94373a61a95b4651bbc7b83684a565e38 + languageName: node + linkType: hard + "detect-libc@npm:^2.0.0, detect-libc@npm:^2.0.1": version: 2.0.1 resolution: "detect-libc@npm:2.0.1" @@ -7939,6 +8280,13 @@ __metadata: languageName: node linkType: hard +"ee-first@npm:1.1.1": + version: 1.1.1 + resolution: "ee-first@npm:1.1.1" + checksum: 1b4cac778d64ce3b582a7e26b218afe07e207a0f9bfe13cc7395a6d307849cfe361e65033c3251e00c27dd060cab43014c2d6b2647676135e18b77d2d05b3f4f + languageName: node + linkType: hard + "electron-to-chromium@npm:^1.4.251": version: 1.4.262 resolution: "electron-to-chromium@npm:1.4.262" @@ -7977,6 +8325,13 @@ __metadata: languageName: node linkType: hard +"encodeurl@npm:~1.0.2": + version: 1.0.2 + resolution: "encodeurl@npm:1.0.2" + checksum: e50e3d508cdd9c4565ba72d2012e65038e5d71bdc9198cb125beb6237b5b1ade6c0d343998da9e170fb2eae52c1bed37d4d6d98a46ea423a0cddbed5ac3f780c + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -8128,6 +8483,13 @@ __metadata: languageName: node linkType: hard +"esbuild-android-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-android-64@npm:0.15.10" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "esbuild-android-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-android-64@npm:0.15.9" @@ -8149,6 +8511,13 @@ __metadata: languageName: node linkType: hard +"esbuild-android-arm64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-android-arm64@npm:0.15.10" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "esbuild-android-arm64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-android-arm64@npm:0.15.9" @@ -8170,6 +8539,13 @@ __metadata: languageName: node linkType: hard +"esbuild-darwin-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-darwin-64@npm:0.15.10" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "esbuild-darwin-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-darwin-64@npm:0.15.9" @@ -8191,6 +8567,13 @@ __metadata: languageName: node linkType: hard +"esbuild-darwin-arm64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-darwin-arm64@npm:0.15.10" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "esbuild-darwin-arm64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-darwin-arm64@npm:0.15.9" @@ -8212,6 +8595,13 @@ __metadata: languageName: node linkType: hard +"esbuild-freebsd-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-freebsd-64@npm:0.15.10" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-freebsd-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-freebsd-64@npm:0.15.9" @@ -8233,6 +8623,13 @@ __metadata: languageName: node linkType: hard +"esbuild-freebsd-arm64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-freebsd-arm64@npm:0.15.10" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "esbuild-freebsd-arm64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-freebsd-arm64@npm:0.15.9" @@ -8254,6 +8651,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-32@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-32@npm:0.15.10" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "esbuild-linux-32@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-32@npm:0.15.9" @@ -8275,6 +8679,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-64@npm:0.15.10" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "esbuild-linux-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-64@npm:0.15.9" @@ -8296,6 +8707,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-arm64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-arm64@npm:0.15.10" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "esbuild-linux-arm64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-arm64@npm:0.15.9" @@ -8317,6 +8735,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-arm@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-arm@npm:0.15.10" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "esbuild-linux-arm@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-arm@npm:0.15.9" @@ -8338,6 +8763,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-mips64le@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-mips64le@npm:0.15.10" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "esbuild-linux-mips64le@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-mips64le@npm:0.15.9" @@ -8359,6 +8791,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-ppc64le@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-ppc64le@npm:0.15.10" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "esbuild-linux-ppc64le@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-ppc64le@npm:0.15.9" @@ -8380,6 +8819,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-riscv64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-riscv64@npm:0.15.10" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "esbuild-linux-riscv64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-riscv64@npm:0.15.9" @@ -8401,6 +8847,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-s390x@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-linux-s390x@npm:0.15.10" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "esbuild-linux-s390x@npm:0.15.9": version: 0.15.9 resolution: "esbuild-linux-s390x@npm:0.15.9" @@ -8422,6 +8875,13 @@ __metadata: languageName: node linkType: hard +"esbuild-netbsd-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-netbsd-64@npm:0.15.10" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-netbsd-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-netbsd-64@npm:0.15.9" @@ -8443,6 +8903,13 @@ __metadata: languageName: node linkType: hard +"esbuild-openbsd-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-openbsd-64@npm:0.15.10" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-openbsd-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-openbsd-64@npm:0.15.9" @@ -8464,6 +8931,13 @@ __metadata: languageName: node linkType: hard +"esbuild-sunos-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-sunos-64@npm:0.15.10" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "esbuild-sunos-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-sunos-64@npm:0.15.9" @@ -8485,6 +8959,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-32@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-windows-32@npm:0.15.10" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "esbuild-windows-32@npm:0.15.9": version: 0.15.9 resolution: "esbuild-windows-32@npm:0.15.9" @@ -8506,6 +8987,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-windows-64@npm:0.15.10" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "esbuild-windows-64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-windows-64@npm:0.15.9" @@ -8527,6 +9015,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-arm64@npm:0.15.10": + version: 0.15.10 + resolution: "esbuild-windows-arm64@npm:0.15.10" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "esbuild-windows-arm64@npm:0.15.9": version: 0.15.9 resolution: "esbuild-windows-arm64@npm:0.15.9" @@ -8756,6 +9251,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.15.9": + version: 0.15.10 + resolution: "esbuild@npm:0.15.10" + dependencies: + "@esbuild/android-arm": 0.15.10 + "@esbuild/linux-loong64": 0.15.10 + esbuild-android-64: 0.15.10 + esbuild-android-arm64: 0.15.10 + esbuild-darwin-64: 0.15.10 + esbuild-darwin-arm64: 0.15.10 + esbuild-freebsd-64: 0.15.10 + esbuild-freebsd-arm64: 0.15.10 + esbuild-linux-32: 0.15.10 + esbuild-linux-64: 0.15.10 + esbuild-linux-arm: 0.15.10 + esbuild-linux-arm64: 0.15.10 + esbuild-linux-mips64le: 0.15.10 + esbuild-linux-ppc64le: 0.15.10 + esbuild-linux-riscv64: 0.15.10 + esbuild-linux-s390x: 0.15.10 + esbuild-netbsd-64: 0.15.10 + esbuild-openbsd-64: 0.15.10 + esbuild-sunos-64: 0.15.10 + esbuild-windows-32: 0.15.10 + esbuild-windows-64: 0.15.10 + esbuild-windows-arm64: 0.15.10 + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/linux-loong64": + optional: true + esbuild-android-64: + optional: true + esbuild-android-arm64: + optional: true + esbuild-darwin-64: + optional: true + esbuild-darwin-arm64: + optional: true + esbuild-freebsd-64: + optional: true + esbuild-freebsd-arm64: + optional: true + esbuild-linux-32: + optional: true + esbuild-linux-64: + optional: true + esbuild-linux-arm: + optional: true + esbuild-linux-arm64: + optional: true + esbuild-linux-mips64le: + optional: true + esbuild-linux-ppc64le: + optional: true + esbuild-linux-riscv64: + optional: true + esbuild-linux-s390x: + optional: true + esbuild-netbsd-64: + optional: true + esbuild-openbsd-64: + optional: true + esbuild-sunos-64: + optional: true + esbuild-windows-32: + optional: true + esbuild-windows-64: + optional: true + esbuild-windows-arm64: + optional: true + bin: + esbuild: bin/esbuild + checksum: bc2daadb952c527e7ab0a972fd4f79071c9fd3d948cd97290d3de8811b6b7fc0abc43fb20116dffa24dc923550f4fe7b0d930ff6418ae7dfbff3034c1a01d59a + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -8770,6 +9342,13 @@ __metadata: languageName: node linkType: hard +"escape-html@npm:~1.0.3": + version: 1.0.3 + resolution: "escape-html@npm:1.0.3" + checksum: 6213ca9ae00d0ab8bccb6d8d4e0a98e76237b2410302cf7df70aaa6591d509a2a37ce8998008cbecae8fc8ffaadf3fb0229535e6a145f3ce0b211d060decbb24 + languageName: node + linkType: hard + "escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -9484,6 +10063,13 @@ __metadata: languageName: node linkType: hard +"etag@npm:~1.8.1": + version: 1.8.1 + resolution: "etag@npm:1.8.1" + checksum: 571aeb3dbe0f2bbd4e4fadbdb44f325fc75335cd5f6f6b6a091e6a06a9f25ed5392f0863c5442acb0646787446e816f13cbfc6edce5b07658541dff573cab1ff + languageName: node + linkType: hard + "events@npm:^3.3.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -9491,6 +10077,19 @@ __metadata: languageName: node linkType: hard +"execa@npm:^0.2.2": + version: 0.2.2 + resolution: "execa@npm:0.2.2" + dependencies: + cross-spawn-async: ^2.1.1 + npm-run-path: ^1.0.0 + object-assign: ^4.0.1 + path-key: ^1.0.0 + strip-eof: ^1.0.0 + checksum: 1c309d0508be08dd03e1adf0893d588748d6d0761ececd1addeee628f3079545619ff8cd550a07aa54a8a3f89991bce293b7f5888a9a5d3a748bbaf32a9c4c90 + languageName: node + linkType: hard + "execa@npm:^5.0.0, execa@npm:^5.1.1": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -9572,6 +10171,45 @@ __metadata: languageName: node linkType: hard +"express@npm:^4.18.1": + version: 4.18.1 + resolution: "express@npm:4.18.1" + dependencies: + accepts: ~1.3.8 + array-flatten: 1.1.1 + body-parser: 1.20.0 + content-disposition: 0.5.4 + content-type: ~1.0.4 + cookie: 0.5.0 + cookie-signature: 1.0.6 + debug: 2.6.9 + depd: 2.0.0 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + etag: ~1.8.1 + finalhandler: 1.2.0 + fresh: 0.5.2 + http-errors: 2.0.0 + merge-descriptors: 1.0.1 + methods: ~1.1.2 + on-finished: 2.4.1 + parseurl: ~1.3.3 + path-to-regexp: 0.1.7 + proxy-addr: ~2.0.7 + qs: 6.10.3 + range-parser: ~1.2.1 + safe-buffer: 5.2.1 + send: 0.18.0 + serve-static: 1.15.0 + setprototypeof: 1.2.0 + statuses: 2.0.1 + type-is: ~1.6.18 + utils-merge: 1.0.1 + vary: ~1.1.2 + checksum: c3d44c92e48226ef32ec978becfedb0ecf0ca21316bfd33674b3c5d20459840584f2325726a4f17f33d9c99f769636f728982d1c5433a5b6fe6eb95b8cf0c854 + languageName: node + linkType: hard + "extend-shallow@npm:^2.0.1": version: 2.0.1 resolution: "extend-shallow@npm:2.0.1" @@ -9749,6 +10387,28 @@ __metadata: languageName: node linkType: hard +"filter-obj@npm:^1.1.0": + version: 1.1.0 + resolution: "filter-obj@npm:1.1.0" + checksum: cf2104a7c45ff48e7f505b78a3991c8f7f30f28bd8106ef582721f321f1c6277f7751aacd5d83026cb079d9d5091082f588d14a72e7c5d720ece79118fa61e10 + languageName: node + linkType: hard + +"finalhandler@npm:1.2.0": + version: 1.2.0 + resolution: "finalhandler@npm:1.2.0" + dependencies: + debug: 2.6.9 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + on-finished: 2.4.1 + parseurl: ~1.3.3 + statuses: 2.0.1 + unpipe: ~1.0.0 + checksum: 92effbfd32e22a7dff2994acedbd9bcc3aa646a3e919ea6a53238090e87097f8ef07cced90aa2cc421abdf993aefbdd5b00104d55c7c5479a8d00ed105b45716 + languageName: node + linkType: hard + "find-replace@npm:^3.0.0": version: 3.0.0 resolution: "find-replace@npm:3.0.0" @@ -9892,6 +10552,20 @@ __metadata: languageName: node linkType: hard +"forwarded@npm:0.2.0": + version: 0.2.0 + resolution: "forwarded@npm:0.2.0" + checksum: fd27e2394d8887ebd16a66ffc889dc983fbbd797d5d3f01087c020283c0f019a7d05ee85669383d8e0d216b116d720fc0cef2f6e9b7eb9f4c90c6e0bc7fd28e6 + languageName: node + linkType: hard + +"fresh@npm:0.5.2": + version: 0.5.2 + resolution: "fresh@npm:0.5.2" + checksum: 13ea8b08f91e669a64e3ba3a20eb79d7ca5379a81f1ff7f4310d54e2320645503cc0c78daedc93dfb6191287295f6479544a649c64d8e41a1c0fb0c221552346 + languageName: node + linkType: hard + "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -10146,6 +10820,13 @@ __metadata: languageName: node linkType: hard +"get-port@npm:^6.1.2": + version: 6.1.2 + resolution: "get-port@npm:6.1.2" + checksum: e3c3d591492a11393455ef220f24c812a28f7da56ec3e4a2512d931a1f196d42850b50ac6138349a44622eda6dc3c0ccd8495cd91376d968e2d9e6f6f849e0a9 + languageName: node + linkType: hard + "get-stream@npm:^4.1.0": version: 4.1.0 resolution: "get-stream@npm:4.1.0" @@ -10275,6 +10956,13 @@ __metadata: languageName: node linkType: hard +"glob-regex@npm:^0.3.0": + version: 0.3.2 + resolution: "glob-regex@npm:0.3.2" + checksum: 4f7adee18e750cbc3a328acb879631feca56dbfc03016cec53d5a54e50663ddc96e24e244ec8c1a5ee883515126754d89deb825eba529d32b869a0ae46f95e5c + languageName: node + linkType: hard + "glob@npm:7.1.6": version: 7.1.6 resolution: "glob@npm:7.1.6" @@ -10408,6 +11096,19 @@ __metadata: languageName: node linkType: hard +"globby@npm:^13.1.2": + version: 13.1.2 + resolution: "globby@npm:13.1.2" + dependencies: + dir-glob: ^3.0.1 + fast-glob: ^3.2.11 + ignore: ^5.2.0 + merge2: ^1.4.1 + slash: ^4.0.0 + checksum: c148fcda0c981f00fb434bb94ca258f0a9d23cedbde6fb3f37098e1abde5b065019e2c63fe2aa2fad4daf2b54bf360b4d0423d85fb3a63d09ed75a2837d4de0f + languageName: node + linkType: hard + "globrex@npm:^0.1.2": version: 0.1.2 resolution: "globrex@npm:0.1.2" @@ -10873,6 +11574,15 @@ __metadata: languageName: node linkType: hard +"history@npm:^5.3.0": + version: 5.3.0 + resolution: "history@npm:5.3.0" + dependencies: + "@babel/runtime": ^7.7.6 + checksum: d73c35df49d19ac172f9547d30a21a26793e83f16a78386d99583b5bf1429cc980799fcf1827eb215d31816a6600684fba9686ce78104e23bd89ec239e7c726f + languageName: node + linkType: hard + "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -10945,6 +11655,19 @@ __metadata: languageName: node linkType: hard +"http-errors@npm:2.0.0": + version: 2.0.0 + resolution: "http-errors@npm:2.0.0" + dependencies: + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.1 + toidentifier: 1.0.1 + checksum: 9b0a3782665c52ce9dc658a0d1560bcb0214ba5699e4ea15aefb2a496e2ca83db03ebc42e1cce4ac1f413e4e0d2d736a3fd755772c556a9a06853ba2a0b7d920 + languageName: node + linkType: hard + "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -11032,6 +11755,15 @@ __metadata: languageName: node linkType: hard +"iconv-lite@npm:0.4.24": + version: 0.4.24 + resolution: "iconv-lite@npm:0.4.24" + dependencies: + safer-buffer: ">= 2.1.2 < 3" + checksum: bd9f120f5a5b306f0bc0b9ae1edeb1577161503f5f8252a20f1a9e56ef8775c9959fd01c55f2d3a39d9a8abaf3e30c1abeb1895f367dcbbe0a8fd1c9ca01c4f6 + languageName: node + linkType: hard + "iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -11140,7 +11872,7 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.0, inherits@npm:~2.0.3": +"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.0, inherits@npm:~2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1 @@ -11211,6 +11943,13 @@ __metadata: languageName: node linkType: hard +"ipaddr.js@npm:1.9.1": + version: 1.9.1 + resolution: "ipaddr.js@npm:1.9.1" + checksum: f88d3825981486f5a1942414c8d77dd6674dd71c065adcfa46f578d677edcb99fda25af42675cb59db492fdf427b34a5abfcde3982da11a8fd83a500b41cfe77 + languageName: node + linkType: hard + "irregular-plurals@npm:^3.2.0": version: 3.3.0 resolution: "irregular-plurals@npm:3.3.0" @@ -12659,7 +13398,7 @@ __metadata: languageName: node linkType: hard -"kolorist@npm:^1.5.1": +"kolorist@npm:^1.5.1, kolorist@npm:^1.6.0": version: 1.6.0 resolution: "kolorist@npm:1.6.0" checksum: 4d898b782ceaaac3a51d9820a13563fcd0ed516d5493374a0e04ceda93ed4d74f9e267e8da5fb4453e508099b9f6b22e38ac1bff92fdc227081f460c003401c0 @@ -13022,6 +13761,16 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^4.0.0": + version: 4.1.5 + resolution: "lru-cache@npm:4.1.5" + dependencies: + pseudomap: ^1.0.2 + yallist: ^2.1.2 + checksum: 4bb4b58a36cd7dc4dcec74cbe6a8f766a38b7426f1ff59d4cf7d82a2aa9b9565cd1cb98f6ff60ce5cd174524868d7bc9b7b1c294371851356066ca9ac4cf135a + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -13484,6 +14233,13 @@ __metadata: languageName: node linkType: hard +"media-typer@npm:0.3.0": + version: 0.3.0 + resolution: "media-typer@npm:0.3.0" + checksum: af1b38516c28ec95d6b0826f6c8f276c58aec391f76be42aa07646b4e39d317723e869700933ca6995b056db4b09a78c92d5440dc23657e6764be5d28874bba1 + languageName: node + linkType: hard + "meilisearch@npm:^0.28.0": version: 0.28.0 resolution: "meilisearch@npm:0.28.0" @@ -13532,6 +14288,13 @@ __metadata: languageName: node linkType: hard +"merge-descriptors@npm:1.0.1": + version: 1.0.1 + resolution: "merge-descriptors@npm:1.0.1" + checksum: 5abc259d2ae25bb06d19ce2b94a21632583c74e2a9109ee1ba7fd147aa7362b380d971e0251069f8b3eb7d48c21ac839e21fa177b335e82c76ec172e30c31a26 + languageName: node + linkType: hard + "merge-stream@npm:^2.0.0": version: 2.0.0 resolution: "merge-stream@npm:2.0.0" @@ -13546,7 +14309,7 @@ __metadata: languageName: node linkType: hard -"methods@npm:^1.1.2": +"methods@npm:^1.1.2, methods@npm:~1.1.2": version: 1.1.2 resolution: "methods@npm:1.1.2" checksum: 0917ff4041fa8e2f2fda5425a955fe16ca411591fbd123c0d722fcf02b73971ed6f764d85f0a6f547ce49ee0221ce2c19a5fa692157931cecb422984f1dcd13a @@ -14016,7 +14779,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:~2.1.19": +"mime-types@npm:^2.1.12, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -14025,6 +14788,15 @@ __metadata: languageName: node linkType: hard +"mime@npm:1.6.0": + version: 1.6.0 + resolution: "mime@npm:1.6.0" + bin: + mime: cli.js + checksum: fef25e39263e6d207580bdc629f8872a3f9772c923c7f8c7e793175cee22777bbe8bba95e5d509a40aaa292d8974514ce634ae35769faa45f22d17edda5e8557 + languageName: node + linkType: hard + "mime@npm:2.6.0": version: 2.6.0 resolution: "mime@npm:2.6.0" @@ -14270,7 +15042,7 @@ __metadata: languageName: node linkType: hard -"ms@npm:^2.0.0, ms@npm:^2.1.1": +"ms@npm:2.1.3, ms@npm:^2.0.0, ms@npm:^2.1.1": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d @@ -14346,7 +15118,7 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:^0.6.3": +"negotiator@npm:0.6.3, negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9 @@ -14679,6 +15451,15 @@ __metadata: languageName: node linkType: hard +"npm-run-path@npm:^1.0.0": + version: 1.0.0 + resolution: "npm-run-path@npm:1.0.0" + dependencies: + path-key: ^1.0.0 + checksum: ffabf15b6e4cb6f511a49cb9c824db67cd13198938988d18362fb62e793650b10d5e87695016625d3bed06fb9ab6a3b359265d97910d8971c8fdca845d3aaadd + languageName: node + linkType: hard + "npm-run-path@npm:^4.0.1": version: 4.0.1 resolution: "npm-run-path@npm:4.0.1" @@ -14877,6 +15658,15 @@ __metadata: languageName: node linkType: hard +"on-finished@npm:2.4.1": + version: 2.4.1 + resolution: "on-finished@npm:2.4.1" + dependencies: + ee-first: 1.1.1 + checksum: d20929a25e7f0bb62f937a425b5edeb4e4cde0540d77ba146ec9357f00b0d497cdb3b9b05b9c8e46222407d1548d08166bff69cc56dfa55ba0e4469228920ff0 + languageName: node + linkType: hard + "once@npm:1.4.0, once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -15142,6 +15932,13 @@ __metadata: languageName: node linkType: hard +"parseurl@npm:~1.3.3": + version: 1.3.3 + resolution: "parseurl@npm:1.3.3" + checksum: 407cee8e0a3a4c5cd472559bca8b6a45b82c124e9a4703302326e9ab60fc1081442ada4e02628efef1eb16197ddc7f8822f5a91fd7d7c86b51f530aedb17dfa2 + languageName: node + linkType: hard + "parsimmon@npm:^1.13.0": version: 1.18.1 resolution: "parsimmon@npm:1.18.1" @@ -15177,6 +15974,13 @@ __metadata: languageName: node linkType: hard +"path-key@npm:^1.0.0": + version: 1.0.0 + resolution: "path-key@npm:1.0.0" + checksum: 41c4aa248d3b2e4f98b98c753b3721da7a25060cdce1ac95944ae19c71b7d85702b790558763c0371bab46269f40aa8b5ec4a3353954d0c05c8231c41dae9cf0 + languageName: node + linkType: hard + "path-key@npm:^3.0.0, path-key@npm:^3.1.0": version: 3.1.1 resolution: "path-key@npm:3.1.1" @@ -15198,6 +16002,13 @@ __metadata: languageName: node linkType: hard +"path-to-regexp@npm:0.1.7": + version: 0.1.7 + resolution: "path-to-regexp@npm:0.1.7" + checksum: 69a14ea24db543e8b0f4353305c5eac6907917031340e5a8b37df688e52accd09e3cebfe1660b70d76b6bd89152f52183f28c74813dbf454ba1a01c82a38abce + languageName: node + linkType: hard + "path-to-regexp@npm:6.1.0": version: 6.1.0 resolution: "path-to-regexp@npm:6.1.0" @@ -15577,6 +16388,15 @@ __metadata: languageName: node linkType: hard +"prism-react-renderer@npm:^1.3.5": + version: 1.3.5 + resolution: "prism-react-renderer@npm:1.3.5" + peerDependencies: + react: ">=0.14.9" + checksum: c18806dcbc4c0b4fd6fd15bd06b4f7c0a6da98d93af235c3e970854994eb9b59e23315abb6cfc29e69da26d36709a47e25da85ab27fed81b6812f0a52caf6dfa + languageName: node + linkType: hard + "prismjs@npm:^1.27.0, prismjs@npm:^1.28.0": version: 1.29.0 resolution: "prismjs@npm:1.29.0" @@ -15668,6 +16488,23 @@ __metadata: languageName: node linkType: hard +"proxy-addr@npm:~2.0.7": + version: 2.0.7 + resolution: "proxy-addr@npm:2.0.7" + dependencies: + forwarded: 0.2.0 + ipaddr.js: 1.9.1 + checksum: 29c6990ce9364648255454842f06f8c46fcd124d3e6d7c5066df44662de63cdc0bad032e9bf5a3d653ff72141cc7b6019873d685708ac8210c30458ad99f2b74 + languageName: node + linkType: hard + +"pseudomap@npm:^1.0.2": + version: 1.0.2 + resolution: "pseudomap@npm:1.0.2" + checksum: 856c0aae0ff2ad60881168334448e898ad7a0e45fe7386d114b150084254c01e200c957cf378378025df4e052c7890c5bd933939b0e0d2ecfcc1dc2f0b2991f5 + languageName: node + linkType: hard + "psl@npm:^1.1.28": version: 1.9.0 resolution: "psl@npm:1.9.0" @@ -15708,6 +16545,15 @@ __metadata: languageName: node linkType: hard +"qs@npm:6.10.3": + version: 6.10.3 + resolution: "qs@npm:6.10.3" + dependencies: + side-channel: ^1.0.4 + checksum: 0fac5e6c7191d0295a96d0e83c851aeb015df7e990e4d3b093897d3ac6c94e555dbd0a599739c84d7fa46d7fee282d94ba76943983935cf33bba6769539b8019 + languageName: node + linkType: hard + "qs@npm:6.9.3": version: 6.9.3 resolution: "qs@npm:6.9.3" @@ -15731,6 +16577,18 @@ __metadata: languageName: node linkType: hard +"query-string@npm:^7.1.1": + version: 7.1.1 + resolution: "query-string@npm:7.1.1" + dependencies: + decode-uri-component: ^0.2.0 + filter-obj: ^1.1.0 + split-on-first: ^1.0.0 + strict-uri-encode: ^2.0.0 + checksum: b227d1f588ae93f9f0ad078c6b811295fa151dc5a160a03bb2bac5fa0e6919cb1daa570aad1d288e77c8e89fde5362ba505b1014e6e793da9b1e885b59a690a6 + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -15763,6 +16621,25 @@ __metadata: languageName: node linkType: hard +"range-parser@npm:~1.2.1": + version: 1.2.1 + resolution: "range-parser@npm:1.2.1" + checksum: 0a268d4fea508661cf5743dfe3d5f47ce214fd6b7dec1de0da4d669dd4ef3d2144468ebe4179049eff253d9d27e719c88dae55be64f954e80135a0cada804ec9 + languageName: node + linkType: hard + +"raw-body@npm:2.5.1": + version: 2.5.1 + resolution: "raw-body@npm:2.5.1" + dependencies: + bytes: 3.1.2 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + checksum: 5362adff1575d691bb3f75998803a0ffed8c64eabeaa06e54b4ada25a0cd1b2ae7f4f5ec46565d1bec337e08b5ac90c76eaa0758de6f72a633f025d754dec29e + languageName: node + linkType: hard + "rc@npm:1.2.8, rc@npm:^1.2.7, rc@npm:^1.2.8": version: 1.2.8 resolution: "rc@npm:1.2.8" @@ -15816,6 +16693,17 @@ __metadata: languageName: node linkType: hard +"react-frame-component@npm:^5.2.3": + version: 5.2.3 + resolution: "react-frame-component@npm:5.2.3" + peerDependencies: + prop-types: ^15.5.9 + react: ">= 16.3" + react-dom: ">= 16.3" + checksum: 1843c48dce41a0af03590dd7351baaf8a68ecac4e850d9819d093517a34d1097668c2b2cd809a8f5cd70791c011c6f2dcaf90d43b6e773b33c212f1f4cf17f55 + languageName: node + linkType: hard + "react-icons@npm:^4.4.0": version: 4.4.0 resolution: "react-icons@npm:4.4.0" @@ -15825,6 +16713,15 @@ __metadata: languageName: node linkType: hard +"react-inspector@npm:^6.0.1": + version: 6.0.1 + resolution: "react-inspector@npm:6.0.1" + peerDependencies: + react: ^16.8.4 || ^17.0.0 || ^18.0.0 + checksum: 877cbccf36fdc6213abb9611fb9279c4bb76ef7ecb4ec554b3935419a99d55e6d30a80799a054d468d43cc59a9777f21d22d6219a4597bfbd27f3f08a4cdfdc6 + languageName: node + linkType: hard + "react-is@npm:^16.13.1": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -16083,6 +16980,18 @@ __metadata: languageName: node linkType: hard +"recrawl-sync@npm:^2.0.3": + version: 2.2.2 + resolution: "recrawl-sync@npm:2.2.2" + dependencies: + "@cush/relative": ^1.0.0 + glob-regex: ^0.3.0 + slash: ^3.0.0 + tslib: ^1.9.3 + checksum: ee0a3fdbb6c4fa7124a93ef13b87f69f9a4e7bdd0be157ca98e1951ae8d1a7bbee2ebc25de6946b0b53426f804c712ff32f6c93b916b719e865c90233386a126 + languageName: node + linkType: hard + "redent@npm:^3.0.0": version: 3.0.0 resolution: "redent@npm:3.0.0" @@ -16792,6 +17701,15 @@ __metadata: languageName: node linkType: hard +"run-applescript@npm:^5.0.0": + version: 5.0.0 + resolution: "run-applescript@npm:5.0.0" + dependencies: + execa: ^5.0.0 + checksum: d00c2dbfa5b2d774de7451194b8b125f40f65fc183de7d9dcae97f57f59433586d3c39b9001e111c38bfa24c3436c99df1bb4066a2a0c90d39a8c4cd6889af77 + languageName: node + linkType: hard + "run-parallel@npm:^1.1.9": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" @@ -16843,7 +17761,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 @@ -16877,7 +17795,7 @@ __metadata: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": +"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0 @@ -16983,6 +17901,27 @@ __metadata: languageName: node linkType: hard +"send@npm:0.18.0": + version: 0.18.0 + resolution: "send@npm:0.18.0" + dependencies: + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + etag: ~1.8.1 + fresh: 0.5.2 + http-errors: 2.0.0 + mime: 1.6.0 + ms: 2.1.3 + on-finished: 2.4.1 + range-parser: ~1.2.1 + statuses: 2.0.1 + checksum: 74fc07ebb58566b87b078ec63e5a3e41ecd987e4272ba67b7467e86c6ad51bc6b0b0154133b6d8b08a2ddda360464f71382f7ef864700f34844a76c8027817a8 + languageName: node + linkType: hard + "serialize-error@npm:^7.0.1": version: 7.0.1 resolution: "serialize-error@npm:7.0.1" @@ -16992,6 +17931,18 @@ __metadata: languageName: node linkType: hard +"serve-static@npm:1.15.0": + version: 1.15.0 + resolution: "serve-static@npm:1.15.0" + dependencies: + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + parseurl: ~1.3.3 + send: 0.18.0 + checksum: af57fc13be40d90a12562e98c0b7855cf6e8bd4c107fe9a45c212bf023058d54a1871b1c89511c3958f70626fff47faeb795f5d83f8cf88514dbaeb2b724464d + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0, set-blocking@npm:~2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -17006,6 +17957,13 @@ __metadata: languageName: node linkType: hard +"setprototypeof@npm:1.2.0": + version: 1.2.0 + resolution: "setprototypeof@npm:1.2.0" + checksum: be18cbbf70e7d8097c97f713a2e76edf84e87299b40d085c6bf8b65314e994cc15e2e317727342fa6996e38e1f52c59720b53fe621e2eb593a6847bf0356db89 + languageName: node + linkType: hard + "sharp@npm:^0.31.1": version: 0.31.1 resolution: "sharp@npm:0.31.1" @@ -17354,6 +18312,13 @@ __metadata: languageName: node linkType: hard +"split-on-first@npm:^1.0.0": + version: 1.1.0 + resolution: "split-on-first@npm:1.1.0" + checksum: 16ff85b54ddcf17f9147210a4022529b343edbcbea4ce977c8f30e38408b8d6e0f25f92cd35b86a524d4797f455e29ab89eb8db787f3c10708e0b47ebf528d30 + languageName: node + linkType: hard + "split2@npm:^3.0.0": version: 3.2.2 resolution: "split2@npm:3.2.2" @@ -17471,6 +18436,13 @@ __metadata: languageName: node linkType: hard +"statuses@npm:2.0.1": + version: 2.0.1 + resolution: "statuses@npm:2.0.1" + checksum: 18c7623fdb8f646fb213ca4051be4df7efb3484d4ab662937ca6fbef7ced9b9e12842709872eb3020cc3504b93bde88935c9f6417489627a7786f24f8031cbcb + languageName: node + linkType: hard + "stream-connect@npm:^1.0.2": version: 1.0.2 resolution: "stream-connect@npm:1.0.2" @@ -17494,6 +18466,13 @@ __metadata: languageName: node linkType: hard +"strict-uri-encode@npm:^2.0.0": + version: 2.0.0 + resolution: "strict-uri-encode@npm:2.0.0" + checksum: eaac4cf978b6fbd480f1092cab8b233c9b949bcabfc9b598dd79a758f7243c28765ef7639c876fa72940dac687181b35486ea01ff7df3e65ce3848c64822c581 + languageName: node + linkType: hard + "string-argv@npm:^0.3.1, string-argv@npm:~0.3.1": version: 0.3.1 resolution: "string-argv@npm:0.3.1" @@ -17658,6 +18637,13 @@ __metadata: languageName: node linkType: hard +"strip-eof@npm:^1.0.0": + version: 1.0.0 + resolution: "strip-eof@npm:1.0.0" + checksum: 40bc8ddd7e072f8ba0c2d6d05267b4e0a4800898c3435b5fb5f5a21e6e47dfaff18467e7aa0d1844bb5d6274c3097246595841fbfeb317e541974ee992cac506 + languageName: node + linkType: hard + "strip-final-newline@npm:^2.0.0": version: 2.0.0 resolution: "strip-final-newline@npm:2.0.0" @@ -18166,6 +19152,13 @@ __metadata: languageName: node linkType: hard +"titleize@npm:^1.0.0": + version: 1.0.1 + resolution: "titleize@npm:1.0.1" + checksum: 686ec747309423d820e1ca549dfa421cc196368affad30e2998d5b952af9c2b62b77dd36b2a822f069c83d3e4135d45d883563769829e9c639f37b078c556c95 + languageName: node + linkType: hard + "tmp@npm:^0.2.1": version: 0.2.1 resolution: "tmp@npm:0.2.1" @@ -18237,6 +19230,13 @@ __metadata: languageName: node linkType: hard +"toidentifier@npm:1.0.1": + version: 1.0.1 + resolution: "toidentifier@npm:1.0.1" + checksum: 952c29e2a85d7123239b5cfdd889a0dde47ab0497f0913d70588f19c53f7e0b5327c95f4651e413c74b785147f9637b17410ac8c846d5d4a20a5a33eb6dc3a45 + languageName: node + linkType: hard + "token-types@npm:^5.0.1": version: 5.0.1 resolution: "token-types@npm:5.0.1" @@ -18348,6 +19348,16 @@ __metadata: languageName: node linkType: hard +"ts-morph@npm:^16.0.0": + version: 16.0.0 + resolution: "ts-morph@npm:16.0.0" + dependencies: + "@ts-morph/common": ~0.17.0 + code-block-writer: ^11.0.3 + checksum: a45ee1a2da09b06ac45a468c1cb9b00cc1b335224afddb22c30e4ad8a747b71c8a7c6cea29a6309ebf68d69f5dc8d3650d381891b77da5e2ad3e301dc3de40d5 + languageName: node + linkType: hard + "ts-node@npm:8.9.1": version: 8.9.1 resolution: "ts-node@npm:8.9.1" @@ -18413,6 +19423,17 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths@npm:^4.0.0": + version: 4.1.0 + resolution: "tsconfig-paths@npm:4.1.0" + dependencies: + json5: ^2.2.1 + minimist: ^1.2.6 + strip-bom: ^3.0.0 + checksum: e4b101f81b2abd95499d8145e0aa73144e857c2c359191058486cef101b7accae22a69114e5d5814a13d5ab3b0bae70dd0c85bcdb7e829bbe1bfda5c9067c9b1 + languageName: node + linkType: hard + "tsconfig-resolver@npm:^3.0.1": version: 3.0.1 resolution: "tsconfig-resolver@npm:3.0.1" @@ -18443,7 +19464,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.13.0, tslib@npm:^1.8.0, tslib@npm:^1.8.1": +"tslib@npm:^1.13.0, tslib@npm:^1.8.0, tslib@npm:^1.8.1, tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd @@ -18751,13 +19772,23 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.5.0": +"type-fest@npm:^2.13.0, type-fest@npm:^2.5.0": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: a4ef07ece297c9fba78fc1bd6d85dff4472fe043ede98bd4710d2615d15776902b595abf62bd78339ed6278f021235fb28a96361f8be86ed754f778973a0d278 languageName: node linkType: hard +"type-is@npm:~1.6.18": + version: 1.6.18 + resolution: "type-is@npm:1.6.18" + dependencies: + media-typer: 0.3.0 + mime-types: ~2.1.24 + checksum: 2c8e47675d55f8b4e404bcf529abdf5036c537a04c2b20177bcf78c9e3c1da69da3942b1346e6edb09e823228c0ee656ef0e033765ec39a70d496ef601a0c657 + languageName: node + linkType: hard + "typedarray-to-buffer@npm:^3.1.5": version: 3.1.5 resolution: "typedarray-to-buffer@npm:3.1.5" @@ -19262,6 +20293,20 @@ __metadata: languageName: node linkType: hard +"unpipe@npm:1.0.0, unpipe@npm:~1.0.0": + version: 1.0.0 + resolution: "unpipe@npm:1.0.0" + checksum: 4fa18d8d8d977c55cb09715385c203197105e10a6d220087ec819f50cb68870f02942244f1017565484237f1f8c5d3cd413631b1ae104d3096f24fdfde1b4aa2 + languageName: node + linkType: hard + +"untildify@npm:^4.0.0": + version: 4.0.0 + resolution: "untildify@npm:4.0.0" + checksum: 39ced9c418a74f73f0a56e1ba4634b4d959422dff61f4c72a8e39f60b99380c1b45ed776fbaa0a4101b157e4310d873ad7d114e8534ca02609b4916bb4187fb9 + languageName: node + linkType: hard + "update-browserslist-db@npm:^1.0.9": version: 1.0.9 resolution: "update-browserslist-db@npm:1.0.9" @@ -19363,6 +20408,13 @@ __metadata: languageName: node linkType: hard +"utils-merge@npm:1.0.1": + version: 1.0.1 + resolution: "utils-merge@npm:1.0.1" + checksum: c81095493225ecfc28add49c106ca4f09cdf56bc66731aa8dabc2edbbccb1e1bfe2de6a115e5c6a380d3ea166d1636410b62ef216bb07b3feb1cfde1d95d5080 + languageName: node + linkType: hard + "uuid@npm:^3.3.2": version: 3.4.0 resolution: "uuid@npm:3.4.0" @@ -19448,6 +20500,13 @@ __metadata: languageName: node linkType: hard +"vary@npm:~1.1.2": + version: 1.1.2 + resolution: "vary@npm:1.1.2" + checksum: ae0123222c6df65b437669d63dfa8c36cee20a504101b2fcd97b8bf76f91259c17f9f2b4d70a1e3c6bbcee7f51b28392833adb6b2770b23b01abec84e369660b + languageName: node + linkType: hard + "vercel@npm:^28.4.8": version: 28.4.8 resolution: "vercel@npm:28.4.8" @@ -19546,6 +20605,38 @@ __metadata: languageName: node linkType: hard +"vite-plugin-dts@npm:^1.6.5": + version: 1.6.5 + resolution: "vite-plugin-dts@npm:1.6.5" + dependencies: + "@microsoft/api-extractor": ^7.32.0 + "@rushstack/node-core-library": ^3.53.0 + chalk: ^4.1.2 + debug: ^4.3.4 + fast-glob: ^3.2.12 + fs-extra: ^10.1.0 + kolorist: ^1.6.0 + ts-morph: ^16.0.0 + peerDependencies: + vite: ">=2.9.0" + checksum: 1e9691dd03b32e69084601b065db6c39e74d047005c16c271f0c0573f9b8b807ce871f14605ccfed519e16ed8c142575db216c82931ba6b3bc5a6dce9e4cecec + languageName: node + linkType: hard + +"vite-tsconfig-paths@npm:^3.5.0": + version: 3.5.1 + resolution: "vite-tsconfig-paths@npm:3.5.1" + dependencies: + debug: ^4.1.1 + globrex: ^0.1.2 + recrawl-sync: ^2.0.3 + tsconfig-paths: ^4.0.0 + peerDependencies: + vite: ">2.0.0-0" + checksum: 99755d754ceda2c49b862947e991bb0d6e3ca10221bd0edb0441f2c0b6c973d970601f2baada13647330d4d22d5a682c9558c746fda8db00413ee2a82d2ef28e + languageName: node + linkType: hard + "vite@npm:^2.9.12 || ^3.0.0-0": version: 3.1.3 resolution: "vite@npm:3.1.3" @@ -19578,6 +20669,38 @@ __metadata: languageName: node linkType: hard +"vite@npm:^3.0.9, vite@npm:^3.1.6": + version: 3.1.6 + resolution: "vite@npm:3.1.6" + dependencies: + esbuild: ^0.15.9 + fsevents: ~2.3.2 + postcss: ^8.4.16 + resolve: ^1.22.1 + rollup: ~2.78.0 + peerDependencies: + less: "*" + sass: "*" + stylus: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + less: + optional: true + sass: + optional: true + stylus: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 393369af4da85aef8718d2236fceb238410c130cc740462c317c6ae4d9c04c519c1591cf8fef2ccc61195e41db54c0d892b3f9a10d3ed0e3c8ae8f0cffaa46ed + languageName: node + linkType: hard + "vite@npm:~3.1.3": version: 3.1.4 resolution: "vite@npm:3.1.4" @@ -19914,6 +21037,17 @@ __metadata: languageName: node linkType: hard +"which@npm:^1.2.8": + 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" @@ -20060,6 +21194,16 @@ __metadata: languageName: node linkType: hard +"xdg-default-browser@npm:^2.1.0": + version: 2.1.0 + resolution: "xdg-default-browser@npm:2.1.0" + dependencies: + execa: ^0.2.2 + titleize: ^1.0.0 + checksum: c17752ba5662fa601acc8ae49f2aac20fd27e6aa1615caadab4ca8075a24e32183d120d92a4050a6dac745762d8ab60788ce87d696f14274a0e60b9b2e9b9269 + languageName: node + linkType: hard + "xml-name-validator@npm:^4.0.0": version: 4.0.0 resolution: "xml-name-validator@npm:4.0.0" @@ -20095,6 +21239,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^2.1.2": + version: 2.1.2 + resolution: "yallist@npm:2.1.2" + checksum: 9ba99409209f485b6fcb970330908a6d41fa1c933f75e08250316cce19383179a6b70a7e0721b89672ebb6199cc377bf3e432f55100da6a7d6e11902b0a642cb + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0"