diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6f877b5..d530241 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -8,18 +8,21 @@ on:
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- - uses: actions/checkout@v3
- - uses: pnpm/action-setup@v2
+ - uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v3
with:
version: latest
- name: Setup Node.js environment
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: 24
- name: Install dependencies
run: pnpm install --ignore-scripts
@@ -28,3 +31,5 @@ jobs:
run: pnpm build
- name: Test all packages
run: pnpm test
+ env:
+ BEGIT_GH_API_KEY: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 5bf8787..ba04bab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -94,6 +94,9 @@ dist
# SWC Plugin Cache
.swc
+# Turbopack files
+.turbo
+
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
@@ -131,3 +134,9 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
+
+# Test directory
+test
+
+# Build output
+types
\ No newline at end of file
diff --git a/.prettierignore b/.prettierignore
index 1ef1d53..39e2e9f 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,3 +1,2 @@
**/*.rs
**/*.yaml
-packages/swc-plugin-solid-cli
\ No newline at end of file
diff --git a/.prettierrc b/.prettierrc
index 8af17f2..df8a347 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -7,5 +7,6 @@
"tabWidth": 2,
"trailingComma": "all",
"useTabs": true,
- "quoteProps": "consistent"
+ "quoteProps": "consistent",
+ "endOfLine": "auto"
}
diff --git a/README.md b/README.md
index 36d664a..aa0e49a 100644
--- a/README.md
+++ b/README.md
@@ -2,82 +2,20 @@
-# Solid CLI (This is currently very much still in beta)
+# Solid CLI
[](https://github.com/solidjs-community/solid-cli/actions/workflows/tests.yml)
+[](https://app.netlify.com/sites/solid-cli/deploys)
-A custom CLI built for the purpose of installing and managing SolidJS apps and projects. The goal of the CLI is to provide a useful and powerful utility to installing any dependencies, searching the Solid ecosystem etc.
+A CLI for creating and managing SolidJS apps and projects.
-# Roadmap/Features
+## Commands
-- [x] Templates
- - [x] From Degit
-- [x] Docs
-- [ ] Primitives
- - [ ] Add/remove/update primitives
- - [x] Search list of primitives
-- [ ] Integrations
- - [ ] Auth.js
- - [x] Tailwind
- - [ ] PandaCSS
- - [ ] Cypress
- - [ ] PostCSS
- - [x] UnoCSS
- - [ ] Vanilla Extract
- - [ ] Vitest
- - [ ] Tauri
- - [ ] Playwright
-- [ ] Utilities
- - [ ] eslint-plugin-solid
- - [x] solid-devtools
-- [ ] Misc
- - [x] Launch new Stackblitz
- - [ ] Launch new CodeSandBox
-- [x] SolidStart
- - [x] New route
- - [x] New data file
- - [x] Enable Adapters
- - [x] Enable SSR/CSR/SSG mode
+- `sd create`: See [create-solid](./packages/create-solid)
+- `sd docs`: Opens the Solid docs in the browser
+- `sd start`: Special keyword for SolidStart commands
+ - `route`: Creates a new route ie. `sd start route login`
-# CLI Design
+## Contributing
-The CLI will use `solid` as the initialiation keyword. The CLI commands will then cascade based on groupings determined baed on what the action does defined by higher level actions. The actions will be:
-
-- `version`: Displays a changelog of recent Solid versions
- - `start`: Specific command for Start versions
-- `docs`: List a `man`-like page for versioned docs or link out to the docs
-- `primitives`: Potential integration with Solid Primitives
-- `add`, `remove`: Used for adding and installing integrations/packages ie. `solid add tailwind`
-- `config`: For enabling a certain features ie. `solid config vite _____`
-- `start`: Special keyword for SolidStart commands
- - `mode`: Changes the Start serving mode (ssr/csr/ssg) `solid mode ssr`
- - `route`: Creates a new route ie. `solid start route login`
-- `new`: Opens your browser to a new template via CSB/SB ie. `solid new bare --stackblitz` opens
-- `ecosystem`
- - `add`: Starts the process of submitting your current project to our ecosystem listing (Solidex) ie. `solid ecosystem publish`
- - `search`: Initializes an ecosystem search result `solid ecosystem search auth`
-
-# Development Path
-
-We will need to decide what framework and language we will use to develop this utility.
-
-## JS
-
-- [`Solid Ink`](https://github.com/devinxi/solid-ink) - Needs to be maintained but expands our ecosystem
-- [`Ink`](https://github.com/vadimdemedes/ink) - React-based and popular
-- [`Clack`](https://github.com/natemoo-re/clack) - Used by Astro
-- [`Tiny Bin`](https://github.com/fabiospampinato/tiny-bin) - By Fabio!
-- [`Prompts`](https://github.com/terkelg/prompts) - Popular and well maintained
-
-## Rust
-
-- [`TUI-RS`](https://github.com/fdehau/tui-rs) - Great for using SWC
-
-## Go
-
-- [`BubbleTea`](https://github.com/charmbracelet/bubbletea) - Beautiful CLI builder lots of tools
-- [`Cobra`](https://github.com/spf13/cobra) - Used by K8
-
-# Contributions
-
-Please feel free to contribute to this repo by expanding on this design document. Once we lock a general design a choice of technology will be decided.
+Please feel free to contribute to this repo by creating an issue or a PR.
diff --git a/docs/.gitignore b/docs/.gitignore
deleted file mode 100644
index f3c937e..0000000
--- a/docs/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-vitepress_docs/.vitepress/cache
\ No newline at end of file
diff --git a/docs/package.json b/docs/package.json
deleted file mode 100644
index a7290e5..0000000
--- a/docs/package.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "private": true,
- "scripts": {
- "docs:dev": "vitepress dev vitepress_docs",
- "docs:build": "vitepress build vitepress_docs",
- "docs:preview": "vitepress preview vitepress_docs"
- },
- "devDependencies": {
- "flexsearch": "^0.7.31",
- "vitepress": "1.0.0-beta.5",
- "vitepress-plugin-search": "1.0.4-alpha.20",
- "vue": "^3.3.4"
- }
-}
diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml
deleted file mode 100644
index 393c03e..0000000
--- a/docs/pnpm-lock.yaml
+++ /dev/null
@@ -1,948 +0,0 @@
-lockfileVersion: '6.0'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
-
-devDependencies:
- flexsearch:
- specifier: ^0.7.31
- version: 0.7.31
- vitepress:
- specifier: 1.0.0-beta.5
- version: 1.0.0-beta.5(@algolia/client-search@4.18.0)(search-insights@2.7.0)
- vitepress-plugin-search:
- specifier: 1.0.4-alpha.20
- version: 1.0.4-alpha.20(flexsearch@0.7.31)(vitepress@1.0.0-beta.5)(vue@3.3.4)
- vue:
- specifier: ^3.3.4
- version: 3.3.4
-
-packages:
-
- /@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)(search-insights@2.7.0):
- resolution: {integrity: sha512-009HdfugtGCdC4JdXUbVJClA0q0zh24yyePn+KUGk3rP7j8FEe/m5Yo/z65gn6nP/cM39PxpzqKrL7A6fP6PPw==}
- dependencies:
- '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)(search-insights@2.7.0)
- '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)
- transitivePeerDependencies:
- - '@algolia/client-search'
- - algoliasearch
- - search-insights
- dev: true
-
- /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)(search-insights@2.7.0):
- resolution: {integrity: sha512-a/yTUkcO/Vyy+JffmAnTWbr4/90cLzw+CC3bRbhnULr/EM0fGNvM13oQQ14f2moLMcVDyAx/leczLlAOovhSZg==}
- peerDependencies:
- search-insights: '>= 1 < 3'
- dependencies:
- '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)
- search-insights: 2.7.0
- transitivePeerDependencies:
- - '@algolia/client-search'
- - algoliasearch
- dev: true
-
- /@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0):
- resolution: {integrity: sha512-d4qlt6YmrLMYy95n5TB52wtNDr6EgAIPH81dvvvW8UmuWRgxEtY0NJiPwl/h95JtG2vmRM804M0DSwMCNZlzRA==}
- peerDependencies:
- '@algolia/client-search': '>= 4.9.1 < 6'
- algoliasearch: '>= 4.9.1 < 6'
- dependencies:
- '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)
- '@algolia/client-search': 4.18.0
- algoliasearch: 4.18.0
- dev: true
-
- /@algolia/autocomplete-shared@1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0):
- resolution: {integrity: sha512-Wnm9E4Ye6Rl6sTTqjoymD+l8DjSTHsHboVRYrKgEt8Q7UHm9nYbqhN/i0fhUYA3OAEH7WA8x3jfpnmJm3rKvaQ==}
- peerDependencies:
- '@algolia/client-search': '>= 4.9.1 < 6'
- algoliasearch: '>= 4.9.1 < 6'
- dependencies:
- '@algolia/client-search': 4.18.0
- algoliasearch: 4.18.0
- dev: true
-
- /@algolia/cache-browser-local-storage@4.18.0:
- resolution: {integrity: sha512-rUAs49NLlO8LVLgGzM4cLkw8NJLKguQLgvFmBEe3DyzlinoqxzQMHfKZs6TSq4LZfw/z8qHvRo8NcTAAUJQLcw==}
- dependencies:
- '@algolia/cache-common': 4.18.0
- dev: true
-
- /@algolia/cache-common@4.18.0:
- resolution: {integrity: sha512-BmxsicMR4doGbeEXQu8yqiGmiyvpNvejYJtQ7rvzttEAMxOPoWEHrWyzBQw4x7LrBY9pMrgv4ZlUaF8PGzewHg==}
- dev: true
-
- /@algolia/cache-in-memory@4.18.0:
- resolution: {integrity: sha512-evD4dA1nd5HbFdufBxLqlJoob7E2ozlqJZuV3YlirNx5Na4q1LckIuzjNYZs2ddLzuTc/Xd5O3Ibf7OwPskHxw==}
- dependencies:
- '@algolia/cache-common': 4.18.0
- dev: true
-
- /@algolia/client-account@4.18.0:
- resolution: {integrity: sha512-XsDnlROr3+Z1yjxBJjUMfMazi1V155kVdte6496atvBgOEtwCzTs3A+qdhfsAnGUvaYfBrBkL0ThnhMIBCGcew==}
- dependencies:
- '@algolia/client-common': 4.18.0
- '@algolia/client-search': 4.18.0
- '@algolia/transporter': 4.18.0
- dev: true
-
- /@algolia/client-analytics@4.18.0:
- resolution: {integrity: sha512-chEUSN4ReqU7uRQ1C8kDm0EiPE+eJeAXiWcBwLhEynfNuTfawN9P93rSZktj7gmExz0C8XmkbBU19IQ05wCNrQ==}
- dependencies:
- '@algolia/client-common': 4.18.0
- '@algolia/client-search': 4.18.0
- '@algolia/requester-common': 4.18.0
- '@algolia/transporter': 4.18.0
- dev: true
-
- /@algolia/client-common@4.18.0:
- resolution: {integrity: sha512-7N+soJFP4wn8tjTr3MSUT/U+4xVXbz4jmeRfWfVAzdAbxLAQbHa0o/POSdTvQ8/02DjCLelloZ1bb4ZFVKg7Wg==}
- dependencies:
- '@algolia/requester-common': 4.18.0
- '@algolia/transporter': 4.18.0
- dev: true
-
- /@algolia/client-personalization@4.18.0:
- resolution: {integrity: sha512-+PeCjODbxtamHcPl+couXMeHEefpUpr7IHftj4Y4Nia1hj8gGq4VlIcqhToAw8YjLeCTfOR7r7xtj3pJcYdP8A==}
- dependencies:
- '@algolia/client-common': 4.18.0
- '@algolia/requester-common': 4.18.0
- '@algolia/transporter': 4.18.0
- dev: true
-
- /@algolia/client-search@4.18.0:
- resolution: {integrity: sha512-F9xzQXTjm6UuZtnsLIew6KSraXQ0AzS/Ee+OD+mQbtcA/K1sg89tqb8TkwjtiYZ0oij13u3EapB3gPZwm+1Y6g==}
- dependencies:
- '@algolia/client-common': 4.18.0
- '@algolia/requester-common': 4.18.0
- '@algolia/transporter': 4.18.0
- dev: true
-
- /@algolia/logger-common@4.18.0:
- resolution: {integrity: sha512-46etYgSlkoKepkMSyaoriSn2JDgcrpc/nkOgou/lm0y17GuMl9oYZxwKKTSviLKI5Irk9nSKGwnBTQYwXOYdRg==}
- dev: true
-
- /@algolia/logger-console@4.18.0:
- resolution: {integrity: sha512-3P3VUYMl9CyJbi/UU1uUNlf6Z8N2ltW3Oqhq/nR7vH0CjWv32YROq3iGWGxB2xt3aXobdUPXs6P0tHSKRmNA6g==}
- dependencies:
- '@algolia/logger-common': 4.18.0
- dev: true
-
- /@algolia/requester-browser-xhr@4.18.0:
- resolution: {integrity: sha512-/AcWHOBub2U4TE/bPi4Gz1XfuLK6/7dj4HJG+Z2SfQoS1RjNLshZclU3OoKIkFp8D2NC7+BNsPvr9cPLyW8nyQ==}
- dependencies:
- '@algolia/requester-common': 4.18.0
- dev: true
-
- /@algolia/requester-common@4.18.0:
- resolution: {integrity: sha512-xlT8R1qYNRBCi1IYLsx7uhftzdfsLPDGudeQs+xvYB4sQ3ya7+ppolB/8m/a4F2gCkEO6oxpp5AGemM7kD27jA==}
- dev: true
-
- /@algolia/requester-node-http@4.18.0:
- resolution: {integrity: sha512-TGfwj9aeTVgOUhn5XrqBhwUhUUDnGIKlI0kCBMdR58XfXcfdwomka+CPIgThRbfYw04oQr31A6/95ZH2QVJ9UQ==}
- dependencies:
- '@algolia/requester-common': 4.18.0
- dev: true
-
- /@algolia/transporter@4.18.0:
- resolution: {integrity: sha512-xbw3YRUGtXQNG1geYFEDDuFLZt4Z8YNKbamHPkzr3rWc6qp4/BqEeXcI2u/P/oMq2yxtXgMxrCxOPA8lyIe5jw==}
- dependencies:
- '@algolia/cache-common': 4.18.0
- '@algolia/logger-common': 4.18.0
- '@algolia/requester-common': 4.18.0
- dev: true
-
- /@babel/helper-string-parser@7.22.5:
- resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==}
- engines: {node: '>=6.9.0'}
- dev: true
-
- /@babel/helper-validator-identifier@7.22.5:
- resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==}
- engines: {node: '>=6.9.0'}
- dev: true
-
- /@babel/parser@7.22.7:
- resolution: {integrity: sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==}
- engines: {node: '>=6.0.0'}
- hasBin: true
- dependencies:
- '@babel/types': 7.22.5
- dev: true
-
- /@babel/types@7.22.5:
- resolution: {integrity: sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==}
- engines: {node: '>=6.9.0'}
- dependencies:
- '@babel/helper-string-parser': 7.22.5
- '@babel/helper-validator-identifier': 7.22.5
- to-fast-properties: 2.0.0
- dev: true
-
- /@docsearch/css@3.5.1:
- resolution: {integrity: sha512-2Pu9HDg/uP/IT10rbQ+4OrTQuxIWdKVUEdcw9/w7kZJv9NeHS6skJx1xuRiFyoGKwAzcHXnLp7csE99sj+O1YA==}
- dev: true
-
- /@docsearch/js@3.5.1(@algolia/client-search@4.18.0)(search-insights@2.7.0):
- resolution: {integrity: sha512-EXi8de5njxgP6TV3N9ytnGRLG9zmBNTEZjR4VzwPcpPLbZxxTLG2gaFyJyKiFVQxHW/DPlMrDJA3qoRRGEkgZw==}
- dependencies:
- '@docsearch/react': 3.5.1(@algolia/client-search@4.18.0)(search-insights@2.7.0)
- preact: 10.16.0
- transitivePeerDependencies:
- - '@algolia/client-search'
- - '@types/react'
- - react
- - react-dom
- - search-insights
- dev: true
-
- /@docsearch/react@3.5.1(@algolia/client-search@4.18.0)(search-insights@2.7.0):
- resolution: {integrity: sha512-t5mEODdLzZq4PTFAm/dvqcvZFdPDMdfPE5rJS5SC8OUq9mPzxEy6b+9THIqNM9P0ocCb4UC5jqBrxKclnuIbzQ==}
- peerDependencies:
- '@types/react': '>= 16.8.0 < 19.0.0'
- react: '>= 16.8.0 < 19.0.0'
- react-dom: '>= 16.8.0 < 19.0.0'
- peerDependenciesMeta:
- '@types/react':
- optional: true
- react:
- optional: true
- react-dom:
- optional: true
- dependencies:
- '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)(search-insights@2.7.0)
- '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.18.0)(algoliasearch@4.18.0)
- '@docsearch/css': 3.5.1
- algoliasearch: 4.18.0
- transitivePeerDependencies:
- - '@algolia/client-search'
- - search-insights
- dev: true
-
- /@esbuild/android-arm64@0.18.13:
- resolution: {integrity: sha512-j7NhycJUoUAG5kAzGf4fPWfd17N6SM3o1X6MlXVqfHvs2buFraCJzos9vbeWjLxOyBKHyPOnuCuipbhvbYtTAg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/android-arm@0.18.13:
- resolution: {integrity: sha512-KwqFhxRFMKZINHzCqf8eKxE0XqWlAVPRxwy6rc7CbVFxzUWB2sA/s3hbMZeemPdhN3fKBkqOaFhTbS8xJXYIWQ==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/android-x64@0.18.13:
- resolution: {integrity: sha512-M2eZkRxR6WnWfVELHmv6MUoHbOqnzoTVSIxgtsyhm/NsgmL+uTmag/VVzdXvmahak1I6sOb1K/2movco5ikDJg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/darwin-arm64@0.18.13:
- resolution: {integrity: sha512-f5goG30YgR1GU+fxtaBRdSW3SBG9pZW834Mmhxa6terzcboz7P2R0k4lDxlkP7NYRIIdBbWp+VgwQbmMH4yV7w==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/darwin-x64@0.18.13:
- resolution: {integrity: sha512-RIrxoKH5Eo+yE5BtaAIMZaiKutPhZjw+j0OCh8WdvKEKJQteacq0myZvBDLU+hOzQOZWJeDnuQ2xgSScKf1Ovw==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/freebsd-arm64@0.18.13:
- resolution: {integrity: sha512-AfRPhHWmj9jGyLgW/2FkYERKmYR+IjYxf2rtSLmhOrPGFh0KCETFzSjx/JX/HJnvIqHt/DRQD/KAaVsUKoI3Xg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [freebsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/freebsd-x64@0.18.13:
- resolution: {integrity: sha512-pGzWWZJBInhIgdEwzn8VHUBang8UvFKsvjDkeJ2oyY5gZtAM6BaxK0QLCuZY+qoj/nx/lIaItH425rm/hloETA==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [freebsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-arm64@0.18.13:
- resolution: {integrity: sha512-hCzZbVJEHV7QM77fHPv2qgBcWxgglGFGCxk6KfQx6PsVIdi1u09X7IvgE9QKqm38OpkzaAkPnnPqwRsltvLkIQ==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-arm@0.18.13:
- resolution: {integrity: sha512-4iMxLRMCxGyk7lEvkkvrxw4aJeC93YIIrfbBlUJ062kilUUnAiMb81eEkVvCVoh3ON283ans7+OQkuy1uHW+Hw==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-ia32@0.18.13:
- resolution: {integrity: sha512-I3OKGbynl3AAIO6onXNrup/ttToE6Rv2XYfFgLK/wnr2J+1g+7k4asLrE+n7VMhaqX+BUnyWkCu27rl+62Adug==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-loong64@0.18.13:
- resolution: {integrity: sha512-8pcKDApAsKc6WW51ZEVidSGwGbebYw2qKnO1VyD8xd6JN0RN6EUXfhXmDk9Vc4/U3Y4AoFTexQewQDJGsBXBpg==}
- engines: {node: '>=12'}
- cpu: [loong64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-mips64el@0.18.13:
- resolution: {integrity: sha512-6GU+J1PLiVqWx8yoCK4Z0GnfKyCGIH5L2KQipxOtbNPBs+qNDcMJr9euxnyJ6FkRPyMwaSkjejzPSISD9hb+gg==}
- engines: {node: '>=12'}
- cpu: [mips64el]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-ppc64@0.18.13:
- resolution: {integrity: sha512-pfn/OGZ8tyR8YCV7MlLl5hAit2cmS+j/ZZg9DdH0uxdCoJpV7+5DbuXrR+es4ayRVKIcfS9TTMCs60vqQDmh+w==}
- engines: {node: '>=12'}
- cpu: [ppc64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-riscv64@0.18.13:
- resolution: {integrity: sha512-aIbhU3LPg0lOSCfVeGHbmGYIqOtW6+yzO+Nfv57YblEK01oj0mFMtvDJlOaeAZ6z0FZ9D13oahi5aIl9JFphGg==}
- engines: {node: '>=12'}
- cpu: [riscv64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-s390x@0.18.13:
- resolution: {integrity: sha512-Pct1QwF2sp+5LVi4Iu5Y+6JsGaV2Z2vm4O9Dd7XZ5tKYxEHjFtb140fiMcl5HM1iuv6xXO8O1Vrb1iJxHlv8UA==}
- engines: {node: '>=12'}
- cpu: [s390x]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-x64@0.18.13:
- resolution: {integrity: sha512-zTrIP0KzYP7O0+3ZnmzvUKgGtUvf4+piY8PIO3V8/GfmVd3ZyHJGz7Ht0np3P1wz+I8qJ4rjwJKqqEAbIEPngA==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/netbsd-x64@0.18.13:
- resolution: {integrity: sha512-I6zs10TZeaHDYoGxENuksxE1sxqZpCp+agYeW039yqFwh3MgVvdmXL5NMveImOC6AtpLvE4xG5ujVic4NWFIDQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [netbsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/openbsd-x64@0.18.13:
- resolution: {integrity: sha512-W5C5nczhrt1y1xPG5bV+0M12p2vetOGlvs43LH8SopQ3z2AseIROu09VgRqydx5qFN7y9qCbpgHLx0kb0TcW7g==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [openbsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/sunos-x64@0.18.13:
- resolution: {integrity: sha512-X/xzuw4Hzpo/yq3YsfBbIsipNgmsm8mE/QeWbdGdTTeZ77fjxI2K0KP3AlhZ6gU3zKTw1bKoZTuKLnqcJ537qw==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [sunos]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/win32-arm64@0.18.13:
- resolution: {integrity: sha512-4CGYdRQT/ILd+yLLE5i4VApMPfGE0RPc/wFQhlluDQCK09+b4JDbxzzjpgQqTPrdnP7r5KUtGVGZYclYiPuHrw==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/win32-ia32@0.18.13:
- resolution: {integrity: sha512-D+wKZaRhQI+MUGMH+DbEr4owC2D7XnF+uyGiZk38QbgzLcofFqIOwFs7ELmIeU45CQgfHNy9Q+LKW3cE8g37Kg==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/win32-x64@0.18.13:
- resolution: {integrity: sha512-iVl6lehAfJS+VmpF3exKpNQ8b0eucf5VWfzR8S7xFve64NBNz2jPUgx1X93/kfnkfgP737O+i1k54SVQS7uVZA==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- /@jridgewell/sourcemap-codec@1.4.15:
- resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
- dev: true
-
- /@types/flexsearch@0.7.3:
- resolution: {integrity: sha512-HXwADeHEP4exXkCIwy2n1+i0f1ilP1ETQOH5KDOugjkTFZPntWo0Gr8stZOaebkxsdx+k0X/K6obU/+it07ocg==}
- dev: true
-
- /@types/linkify-it@3.0.2:
- resolution: {integrity: sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==}
- dev: true
-
- /@types/markdown-it@12.2.3:
- resolution: {integrity: sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==}
- dependencies:
- '@types/linkify-it': 3.0.2
- '@types/mdurl': 1.0.2
- dev: true
-
- /@types/mdurl@1.0.2:
- resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==}
- dev: true
-
- /@types/web-bluetooth@0.0.17:
- resolution: {integrity: sha512-4p9vcSmxAayx72yn70joFoL44c9MO/0+iVEBIQXe3v2h2SiAsEIo/G5v6ObFWvNKRFjbrVadNf9LqEEZeQPzdA==}
- dev: true
-
- /@vitejs/plugin-vue@4.2.3(vite@4.4.0-beta.3)(vue@3.3.4):
- resolution: {integrity: sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==}
- engines: {node: ^14.18.0 || >=16.0.0}
- peerDependencies:
- vite: ^4.0.0
- vue: ^3.2.25
- dependencies:
- vite: 4.4.0-beta.3
- vue: 3.3.4
- dev: true
-
- /@vue/compiler-core@3.3.4:
- resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==}
- dependencies:
- '@babel/parser': 7.22.7
- '@vue/shared': 3.3.4
- estree-walker: 2.0.2
- source-map-js: 1.0.2
- dev: true
-
- /@vue/compiler-dom@3.3.4:
- resolution: {integrity: sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==}
- dependencies:
- '@vue/compiler-core': 3.3.4
- '@vue/shared': 3.3.4
- dev: true
-
- /@vue/compiler-sfc@3.3.4:
- resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==}
- dependencies:
- '@babel/parser': 7.22.7
- '@vue/compiler-core': 3.3.4
- '@vue/compiler-dom': 3.3.4
- '@vue/compiler-ssr': 3.3.4
- '@vue/reactivity-transform': 3.3.4
- '@vue/shared': 3.3.4
- estree-walker: 2.0.2
- magic-string: 0.30.1
- postcss: 8.4.26
- source-map-js: 1.0.2
- dev: true
-
- /@vue/compiler-ssr@3.3.4:
- resolution: {integrity: sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==}
- dependencies:
- '@vue/compiler-dom': 3.3.4
- '@vue/shared': 3.3.4
- dev: true
-
- /@vue/devtools-api@6.5.0:
- resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==}
- dev: true
-
- /@vue/reactivity-transform@3.3.4:
- resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==}
- dependencies:
- '@babel/parser': 7.22.7
- '@vue/compiler-core': 3.3.4
- '@vue/shared': 3.3.4
- estree-walker: 2.0.2
- magic-string: 0.30.1
- dev: true
-
- /@vue/reactivity@3.3.4:
- resolution: {integrity: sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==}
- dependencies:
- '@vue/shared': 3.3.4
- dev: true
-
- /@vue/runtime-core@3.3.4:
- resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==}
- dependencies:
- '@vue/reactivity': 3.3.4
- '@vue/shared': 3.3.4
- dev: true
-
- /@vue/runtime-dom@3.3.4:
- resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==}
- dependencies:
- '@vue/runtime-core': 3.3.4
- '@vue/shared': 3.3.4
- csstype: 3.1.2
- dev: true
-
- /@vue/server-renderer@3.3.4(vue@3.3.4):
- resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==}
- peerDependencies:
- vue: 3.3.4
- dependencies:
- '@vue/compiler-ssr': 3.3.4
- '@vue/shared': 3.3.4
- vue: 3.3.4
- dev: true
-
- /@vue/shared@3.3.4:
- resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==}
- dev: true
-
- /@vueuse/core@10.2.1(vue@3.3.4):
- resolution: {integrity: sha512-c441bfMbkAwTNwVRHQ0zdYZNETK//P84rC01aP2Uy/aRFCiie9NE/k9KdIXbno0eDYP5NPUuWv0aA/I4Unr/7w==}
- dependencies:
- '@types/web-bluetooth': 0.0.17
- '@vueuse/metadata': 10.2.1
- '@vueuse/shared': 10.2.1(vue@3.3.4)
- vue-demi: 0.14.5(vue@3.3.4)
- transitivePeerDependencies:
- - '@vue/composition-api'
- - vue
- dev: true
-
- /@vueuse/integrations@10.2.1(focus-trap@7.5.2)(vue@3.3.4):
- resolution: {integrity: sha512-FDP5lni+z9FjHE9H3xuvwSjoRV9U8jmDvJpmHPCBjUgPGYRynwb60eHWXCFJXLUtb4gSIHy0e+iaEbrKdalCkQ==}
- peerDependencies:
- async-validator: '*'
- axios: '*'
- change-case: '*'
- drauu: '*'
- focus-trap: '*'
- fuse.js: '*'
- idb-keyval: '*'
- jwt-decode: '*'
- nprogress: '*'
- qrcode: '*'
- sortablejs: '*'
- universal-cookie: '*'
- peerDependenciesMeta:
- async-validator:
- optional: true
- axios:
- optional: true
- change-case:
- optional: true
- drauu:
- optional: true
- focus-trap:
- optional: true
- fuse.js:
- optional: true
- idb-keyval:
- optional: true
- jwt-decode:
- optional: true
- nprogress:
- optional: true
- qrcode:
- optional: true
- sortablejs:
- optional: true
- universal-cookie:
- optional: true
- dependencies:
- '@vueuse/core': 10.2.1(vue@3.3.4)
- '@vueuse/shared': 10.2.1(vue@3.3.4)
- focus-trap: 7.5.2
- vue-demi: 0.14.5(vue@3.3.4)
- transitivePeerDependencies:
- - '@vue/composition-api'
- - vue
- dev: true
-
- /@vueuse/metadata@10.2.1:
- resolution: {integrity: sha512-3Gt68mY/i6bQvFqx7cuGBzrCCQu17OBaGWS5JdwISpMsHnMKKjC2FeB5OAfMcCQ0oINfADP3i9A4PPRo0peHdQ==}
- dev: true
-
- /@vueuse/shared@10.2.1(vue@3.3.4):
- resolution: {integrity: sha512-QWHq2bSuGptkcxx4f4M/fBYC3Y8d3M2UYyLsyzoPgEoVzJURQ0oJeWXu79OiLlBb8gTKkqe4mO85T/sf39mmiw==}
- dependencies:
- vue-demi: 0.14.5(vue@3.3.4)
- transitivePeerDependencies:
- - '@vue/composition-api'
- - vue
- dev: true
-
- /algoliasearch@4.18.0:
- resolution: {integrity: sha512-pCuVxC1SVcpc08ENH32T4sLKSyzoU7TkRIDBMwSLfIiW+fq4znOmWDkAygHZ6pRcO9I1UJdqlfgnV7TRj+MXrA==}
- dependencies:
- '@algolia/cache-browser-local-storage': 4.18.0
- '@algolia/cache-common': 4.18.0
- '@algolia/cache-in-memory': 4.18.0
- '@algolia/client-account': 4.18.0
- '@algolia/client-analytics': 4.18.0
- '@algolia/client-common': 4.18.0
- '@algolia/client-personalization': 4.18.0
- '@algolia/client-search': 4.18.0
- '@algolia/logger-common': 4.18.0
- '@algolia/logger-console': 4.18.0
- '@algolia/requester-browser-xhr': 4.18.0
- '@algolia/requester-common': 4.18.0
- '@algolia/requester-node-http': 4.18.0
- '@algolia/transporter': 4.18.0
- dev: true
-
- /ansi-sequence-parser@1.1.0:
- resolution: {integrity: sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==}
- dev: true
-
- /argparse@2.0.1:
- resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
- dev: true
-
- /body-scroll-lock@4.0.0-beta.0:
- resolution: {integrity: sha512-a7tP5+0Mw3YlUJcGAKUqIBkYYGlYxk2fnCasq/FUph1hadxlTRjF+gAcZksxANnaMnALjxEddmSi/H3OR8ugcQ==}
- dev: true
-
- /csstype@3.1.2:
- resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}
- dev: true
-
- /entities@3.0.1:
- resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==}
- engines: {node: '>=0.12'}
- dev: true
-
- /esbuild@0.18.13:
- resolution: {integrity: sha512-vhg/WR/Oiu4oUIkVhmfcc23G6/zWuEQKFS+yiosSHe4aN6+DQRXIfeloYGibIfVhkr4wyfuVsGNLr+sQU1rWWw==}
- engines: {node: '>=12'}
- hasBin: true
- requiresBuild: true
- optionalDependencies:
- '@esbuild/android-arm': 0.18.13
- '@esbuild/android-arm64': 0.18.13
- '@esbuild/android-x64': 0.18.13
- '@esbuild/darwin-arm64': 0.18.13
- '@esbuild/darwin-x64': 0.18.13
- '@esbuild/freebsd-arm64': 0.18.13
- '@esbuild/freebsd-x64': 0.18.13
- '@esbuild/linux-arm': 0.18.13
- '@esbuild/linux-arm64': 0.18.13
- '@esbuild/linux-ia32': 0.18.13
- '@esbuild/linux-loong64': 0.18.13
- '@esbuild/linux-mips64el': 0.18.13
- '@esbuild/linux-ppc64': 0.18.13
- '@esbuild/linux-riscv64': 0.18.13
- '@esbuild/linux-s390x': 0.18.13
- '@esbuild/linux-x64': 0.18.13
- '@esbuild/netbsd-x64': 0.18.13
- '@esbuild/openbsd-x64': 0.18.13
- '@esbuild/sunos-x64': 0.18.13
- '@esbuild/win32-arm64': 0.18.13
- '@esbuild/win32-ia32': 0.18.13
- '@esbuild/win32-x64': 0.18.13
- dev: true
-
- /estree-walker@2.0.2:
- resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
- dev: true
-
- /flexsearch@0.7.31:
- resolution: {integrity: sha512-XGozTsMPYkm+6b5QL3Z9wQcJjNYxp0CYn3U1gO7dwD6PAqU1SVWZxI9CCg3z+ml3YfqdPnrBehaBrnH2AGKbNA==}
- dev: true
-
- /focus-trap@7.5.2:
- resolution: {integrity: sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==}
- dependencies:
- tabbable: 6.2.0
- dev: true
-
- /fsevents@2.3.2:
- resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- /glob-to-regexp@0.4.1:
- resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
- dev: true
-
- /jsonc-parser@3.2.0:
- resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}
- dev: true
-
- /linkify-it@4.0.1:
- resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==}
- dependencies:
- uc.micro: 1.0.6
- dev: true
-
- /magic-string@0.30.1:
- resolution: {integrity: sha512-mbVKXPmS0z0G4XqFDCTllmDQ6coZzn94aMlb0o/A4HEHJCKcanlDZwYJgwnkmgD3jyWhUgj9VsPrfd972yPffA==}
- engines: {node: '>=12'}
- dependencies:
- '@jridgewell/sourcemap-codec': 1.4.15
- dev: true
-
- /mark.js@8.11.1:
- resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==}
- dev: true
-
- /markdown-it@13.0.1:
- resolution: {integrity: sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==}
- hasBin: true
- dependencies:
- argparse: 2.0.1
- entities: 3.0.1
- linkify-it: 4.0.1
- mdurl: 1.0.1
- uc.micro: 1.0.6
- dev: true
-
- /mdurl@1.0.1:
- resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==}
- dev: true
-
- /minisearch@6.1.0:
- resolution: {integrity: sha512-PNxA/X8pWk+TiqPbsoIYH0GQ5Di7m6326/lwU/S4mlo4wGQddIcf/V//1f9TB0V4j59b57b+HZxt8h3iMROGvg==}
- dev: true
-
- /nanoid@3.3.6:
- resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==}
- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
- hasBin: true
- dev: true
-
- /picocolors@1.0.0:
- resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
- dev: true
-
- /postcss@8.4.26:
- resolution: {integrity: sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==}
- engines: {node: ^10 || ^12 || >=14}
- dependencies:
- nanoid: 3.3.6
- picocolors: 1.0.0
- source-map-js: 1.0.2
- dev: true
-
- /preact@10.16.0:
- resolution: {integrity: sha512-XTSj3dJ4roKIC93pald6rWuB2qQJO9gO2iLLyTe87MrjQN+HklueLsmskbywEWqCHlclgz3/M4YLL2iBr9UmMA==}
- dev: true
-
- /rollup@3.26.2:
- resolution: {integrity: sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==}
- engines: {node: '>=14.18.0', npm: '>=8.0.0'}
- hasBin: true
- optionalDependencies:
- fsevents: 2.3.2
- dev: true
-
- /search-insights@2.7.0:
- resolution: {integrity: sha512-GLbVaGgzYEKMvuJbHRhLi1qoBFnjXZGZ6l4LxOYPCp4lI2jDRB3jPU9/XNhMwv6kvnA9slTreq6pvK+b3o3aqg==}
- engines: {node: '>=8.16.0'}
- dev: true
-
- /shiki@0.14.3:
- resolution: {integrity: sha512-U3S/a+b0KS+UkTyMjoNojvTgrBHjgp7L6ovhFVZsXmBGnVdQ4K4U9oK0z63w538S91ATngv1vXigHCSWOwnr+g==}
- dependencies:
- ansi-sequence-parser: 1.1.0
- jsonc-parser: 3.2.0
- vscode-oniguruma: 1.7.0
- vscode-textmate: 8.0.0
- dev: true
-
- /source-map-js@1.0.2:
- resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /tabbable@6.2.0:
- resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==}
- dev: true
-
- /to-fast-properties@2.0.0:
- resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
- engines: {node: '>=4'}
- dev: true
-
- /uc.micro@1.0.6:
- resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==}
- dev: true
-
- /vite@4.4.0-beta.3:
- resolution: {integrity: sha512-IC/thYTvArOFRJ4qvvudnu4KKZOVc+gduS3I9OfC5SbP/Rf4kkP7z6Of2QpKeOSVqwIK24khW6VOUmVD/0yzSQ==}
- engines: {node: ^14.18.0 || >=16.0.0}
- hasBin: true
- peerDependencies:
- '@types/node': '>= 14'
- less: '*'
- lightningcss: ^1.21.0
- sass: '*'
- stylus: '*'
- sugarss: '*'
- terser: ^5.4.0
- peerDependenciesMeta:
- '@types/node':
- optional: true
- less:
- optional: true
- lightningcss:
- optional: true
- sass:
- optional: true
- stylus:
- optional: true
- sugarss:
- optional: true
- terser:
- optional: true
- dependencies:
- esbuild: 0.18.13
- postcss: 8.4.26
- rollup: 3.26.2
- optionalDependencies:
- fsevents: 2.3.2
- dev: true
-
- /vitepress-plugin-search@1.0.4-alpha.20(flexsearch@0.7.31)(vitepress@1.0.0-beta.5)(vue@3.3.4):
- resolution: {integrity: sha512-zG+ev9pw1Mg7htABlFCNXb8XwnKN+qfTKw+vU0Ers6RIrABx+45EAAFBoaL1mEpl1FRFn1o/dQ7F4b8GP6HdGQ==}
- engines: {node: ^14.13.1 || ^16.7.0 || >=18}
- peerDependencies:
- flexsearch: ^0.7.31
- vitepress: ^1.0.0-alpha.65
- vue: '3'
- dependencies:
- '@types/flexsearch': 0.7.3
- '@types/markdown-it': 12.2.3
- flexsearch: 0.7.31
- glob-to-regexp: 0.4.1
- markdown-it: 13.0.1
- vitepress: 1.0.0-beta.5(@algolia/client-search@4.18.0)(search-insights@2.7.0)
- vue: 3.3.4
- dev: true
-
- /vitepress@1.0.0-beta.5(@algolia/client-search@4.18.0)(search-insights@2.7.0):
- resolution: {integrity: sha512-/RjqqRsSEKkzF6HhK5e5Ij+bZ7ETb9jNCRRgIMm10gJ+ZLC3D1OqkE465lEqCeJUgt2HZ6jmWjDqIBfrJSpv7w==}
- hasBin: true
- dependencies:
- '@docsearch/css': 3.5.1
- '@docsearch/js': 3.5.1(@algolia/client-search@4.18.0)(search-insights@2.7.0)
- '@vitejs/plugin-vue': 4.2.3(vite@4.4.0-beta.3)(vue@3.3.4)
- '@vue/devtools-api': 6.5.0
- '@vueuse/core': 10.2.1(vue@3.3.4)
- '@vueuse/integrations': 10.2.1(focus-trap@7.5.2)(vue@3.3.4)
- body-scroll-lock: 4.0.0-beta.0
- focus-trap: 7.5.2
- mark.js: 8.11.1
- minisearch: 6.1.0
- shiki: 0.14.3
- vite: 4.4.0-beta.3
- vue: 3.3.4
- transitivePeerDependencies:
- - '@algolia/client-search'
- - '@types/node'
- - '@types/react'
- - '@vue/composition-api'
- - async-validator
- - axios
- - change-case
- - drauu
- - fuse.js
- - idb-keyval
- - jwt-decode
- - less
- - lightningcss
- - nprogress
- - qrcode
- - react
- - react-dom
- - sass
- - search-insights
- - sortablejs
- - stylus
- - sugarss
- - terser
- - universal-cookie
- dev: true
-
- /vscode-oniguruma@1.7.0:
- resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==}
- dev: true
-
- /vscode-textmate@8.0.0:
- resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==}
- dev: true
-
- /vue-demi@0.14.5(vue@3.3.4):
- resolution: {integrity: sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==}
- engines: {node: '>=12'}
- hasBin: true
- requiresBuild: true
- peerDependencies:
- '@vue/composition-api': ^1.0.0-rc.1
- vue: ^3.0.0-0 || ^2.6.0
- peerDependenciesMeta:
- '@vue/composition-api':
- optional: true
- dependencies:
- vue: 3.3.4
- dev: true
-
- /vue@3.3.4:
- resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==}
- dependencies:
- '@vue/compiler-dom': 3.3.4
- '@vue/compiler-sfc': 3.3.4
- '@vue/runtime-dom': 3.3.4
- '@vue/server-renderer': 3.3.4(vue@3.3.4)
- '@vue/shared': 3.3.4
- dev: true
diff --git a/docs/pnpm-workspace.yaml b/docs/pnpm-workspace.yaml
deleted file mode 100644
index e69de29..0000000
diff --git a/docs/vitepress_docs/.vitepress/config.ts b/docs/vitepress_docs/.vitepress/config.ts
deleted file mode 100644
index d82218a..0000000
--- a/docs/vitepress_docs/.vitepress/config.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { defineConfig } from "vitepress";
-import { SearchPlugin } from "vitepress-plugin-search";
-// https://vitepress.dev/reference/site-config
-export default defineConfig({
- title: "Solid-CLI Docs",
- description: "Documentation for the Solid CLI",
- themeConfig: {
- // https://vitepress.dev/reference/default-theme-config
- nav: [
- { text: "Home", link: "/" },
- { text: "Guide", link: "/about" },
- ],
-
- sidebar: [
- {
- text: "Getting started",
- items: [
- { text: "About", link: "/about" },
- { text: "Installation", link: "/installation" },
- { text: "Basic Commands", link: "/basic-commands" },
- { text: "Solid-Start Commands", link: "/start-commands" },
- ],
- },
- { text: "Supported Integrations", link: "/supported-integrations" },
- ],
- socialLinks: [
- {
- icon: "github",
- link: "https://github.com/solidjs-community/solid-cli",
- },
- ],
- },
- vite: { plugins: [SearchPlugin()] },
-});
diff --git a/docs/vitepress_docs/.vitepress/theme/index.ts b/docs/vitepress_docs/.vitepress/theme/index.ts
deleted file mode 100644
index 09d0a1a..0000000
--- a/docs/vitepress_docs/.vitepress/theme/index.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-// https://vitepress.dev/guide/custom-theme
-import { h } from "vue";
-import Theme from "vitepress/theme";
-import "./style.css";
-
-export default {
- extends: Theme,
- Layout: () => {
- return h(Theme.Layout, null, {
- // https://vitepress.dev/guide/extending-default-theme#layout-slots
- });
- },
- enhanceApp({ app, router, siteData }) {
- // ...
- },
-};
diff --git a/docs/vitepress_docs/.vitepress/theme/style.css b/docs/vitepress_docs/.vitepress/theme/style.css
deleted file mode 100644
index bab0266..0000000
--- a/docs/vitepress_docs/.vitepress/theme/style.css
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Customize default theme styling by overriding CSS variables:
- * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
- */
-
-/**
- * Colors
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-c-brand: #646cff;
- --vp-c-brand-light: #747bff;
- --vp-c-brand-lighter: #9499ff;
- --vp-c-brand-lightest: #bcc0ff;
- --vp-c-brand-dark: #535bf2;
- --vp-c-brand-darker: #454ce1;
- --vp-c-brand-dimm: rgba(100, 108, 255, 0.08);
-}
-
-/**
- * Component: Button
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-button-brand-border: var(--vp-c-brand-light);
- --vp-button-brand-text: var(--vp-c-white);
- --vp-button-brand-bg: var(--vp-c-brand);
- --vp-button-brand-hover-border: var(--vp-c-brand-light);
- --vp-button-brand-hover-text: var(--vp-c-white);
- --vp-button-brand-hover-bg: var(--vp-c-brand-light);
- --vp-button-brand-active-border: var(--vp-c-brand-light);
- --vp-button-brand-active-text: var(--vp-c-white);
- --vp-button-brand-active-bg: var(--vp-button-brand-bg);
-}
-
-/**
- * Component: Home
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-home-hero-name-color: transparent;
- --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
-
- --vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
- --vp-home-hero-image-filter: blur(40px);
-}
-
-@media (min-width: 640px) {
- :root {
- --vp-home-hero-image-filter: blur(56px);
- }
-}
-
-@media (min-width: 960px) {
- :root {
- --vp-home-hero-image-filter: blur(72px);
- }
-}
-
-/**
- * Component: Custom Block
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-custom-block-tip-border: var(--vp-c-brand);
- --vp-custom-block-tip-text: var(--vp-c-brand-darker);
- --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
-}
-
-.dark {
- --vp-custom-block-tip-border: var(--vp-c-brand);
- --vp-custom-block-tip-text: var(--vp-c-brand-lightest);
- --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
-}
-
-/**
- * Component: Algolia
- * -------------------------------------------------------------------------- */
-
-.DocSearch {
- --docsearch-primary-color: var(--vp-c-brand) !important;
-}
diff --git a/docs/vitepress_docs/about.md b/docs/vitepress_docs/about.md
deleted file mode 100644
index 504eb5c..0000000
--- a/docs/vitepress_docs/about.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# About
-
-The Solid CLI is a tool aiming to make the Solid development experience easier, faster, and less error prone.
-
-## Features
-
-### Automatic Config manipulation
-
-Can automatically update your config to enable solid features, such as toggling SSR, or adding adapters.
-
-### Adding integrations
-
-Can automatically install and configure supported packages.
-
-### Project creation
-
-Provides an easy way to create new projects, whether that be locally, or on a platform such as stackblitz or codesandbox.
diff --git a/docs/vitepress_docs/basic-commands.md b/docs/vitepress_docs/basic-commands.md
deleted file mode 100644
index 2f6dfa1..0000000
--- a/docs/vitepress_docs/basic-commands.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Basic Commands
-
-### `Add`
-
-```sh
-solid add
-```
-
-Used to add packages and setup integrations.
-
-::: info
-By default, when no arguments or flags are passed, this command will open up a searchable multiselect for you to be able to search through
-all supported integrations and packages. You can select the ones you want to use through there.
-:::
-
-**Options**
-
-| Option | Description |
-| --------------- | ------------------------------------------------------------------------------------------------------ |
-| `` | List of integrations you want to add to your project (ie. unocss, vitepwa, solid-devtools) |
-| `--force` | Force apply any changes to the config to add the integration(s) even if they already exist `(boolean)` |
-
----
-
-### `New`
-
-```sh
-solid new
-```
-
-Creates a new solid project with the selected variation and name.
-
-This can also be used to spin up a new stackblitz or codesandbox instance.
-
-**Options**
-
-| Option | Description |
-| -------------------------- | ------------------------------------------------------------------------------------------- |
-| `` | The variation you want to start the project from. One of the following: "bare", "js", "ts". |
-| `` | The name of the project and the folder to create it in. |
-| `--stackblitz (short: -s)` | Create the project with the variation in a stackblitz instance. `(boolean)` |
diff --git a/docs/vitepress_docs/index.md b/docs/vitepress_docs/index.md
deleted file mode 100644
index 551ee49..0000000
--- a/docs/vitepress_docs/index.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-# https://vitepress.dev/reference/default-theme-home-page
-layout: home
-
-hero:
- name: "Solid-CLI Docs"
- text: "Documentation for the Solid CLI"
- tagline: A solid cli
- actions:
- - theme: brand
- text: Get started
- link: /about
-features:
- - title: Package manager
- icon: 📦
- details: Installs solid related packages, and automatically configures them in your project.
- - title: Customisable
- details: Plugins can be used to extend or manipulate existing functionality
- icon: 🎨
- - title: Automatic configuration
- icon: ♻
- details: Can automatically enable or disable features within solid, such as automatically enabling SSR
----
diff --git a/docs/vitepress_docs/installation.md b/docs/vitepress_docs/installation.md
deleted file mode 100644
index e9443bf..0000000
--- a/docs/vitepress_docs/installation.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# Installation
-
-The CLI can be installed locally to your project via
-
-```sh
-npm install @solid-cli/core
-```
-
-Or installed globally:
-
-```sh
-npm install -g @solid-cli/core
-```
-
-It can then be invoked via the keyword `solid`, and the help page can be displayed with `solid --help`
-
-```txt
-┌ Solid-CLI
-solid
-
-where can be one of:
-
-- add - Can add and install integrations: `solid add unocss`.
-- new - Creates a new solid project
-- start - Commands specific to solid start
-
-For more help, try running `solid --help`
-```
diff --git a/docs/vitepress_docs/start-commands.md b/docs/vitepress_docs/start-commands.md
deleted file mode 100644
index 2ffa10d..0000000
--- a/docs/vitepress_docs/start-commands.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# Solid-Start Commands
-
-### `Mode`
-
-```sh
-solid start mode
-```
-
-Set the rendering mode for solid to build for and use (ie. Client-Side Rendering (CSR), Server-Side Rendering (SSR), Static-Site Generation (SSG))
-
-**Options**
-
-| Option | Description |
-| -------- | -------------------------------------------------------------- |
-| `` | The rendering mode to use. One of the following: csr, ssr, ssg |
-
----
-
-### `Route`
-
-```sh
-solid start route
-```
-
-Creates a new route file in the file routes directory.
-
-**Options**
-
-| Option | Description |
-| -------- | ------------------------------------------- |
-| `` | The path to the new route |
-| `` | The name of the `.tsx` file to be generated |
-
----
-
-### `Adapter`
-
-```sh
-solid start adapter
-```
-
-Used to setup a Solid-Start specific adapter.
-
-**Options**
-
-| Option | Description |
-| --------- | -------------------------------- |
-| `` | The name of the adapter `string` |
-| `--force` | Force setup the adapater |
-
-### `Data`
-
-```sh
-solid start data
-```
-
-Creates a new data file at the given path
-
-**Options**
-
-| Option | Description |
-| -------- | ----------------------------------------------- |
-| `` | The path to the new data file |
-| `` | The name of the `.data.ts` file to be generated |
diff --git a/docs/vitepress_docs/supported-integrations.md b/docs/vitepress_docs/supported-integrations.md
deleted file mode 100644
index 1373c60..0000000
--- a/docs/vitepress_docs/supported-integrations.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Supported Integrations
-
-## Adapters
-
-- [Aws](https://github.com/solidjs/solid-start/tree/main/packages/start-aws)
-- [Cloudflare-pages](https://github.com/solidjs/solid-start/tree/main/packages/start-cloudflare-pages)
-- [Cloudflare-workers](https://github.com/solidjs/solid-start/tree/main/packages/start-cloudflare-workers)
-- [Deno](https://github.com/solidjs/solid-start/tree/main/packages/start-deno)
-- [Netlify](https://github.com/solidjs/solid-start/tree/main/packages/start-netlify)
-- [Node](https://github.com/solidjs/solid-start/tree/main/packages/start-node)
-- [Static](https://github.com/solidjs/solid-start/tree/main/packages/start-static)
-- [Vercel](https://github.com/solidjs/solid-start/tree/main/packages/start-vercel)
-
-## Packages
-
-These packages will be automatically installed and configured with sensible defaults:
-
-- [UnoCss](https://unocss.dev/)
-- [Tailwind CSS](https://tailwindcss.com/)
diff --git a/examples/README.md b/examples/README.md
deleted file mode 100644
index bde8a57..0000000
--- a/examples/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# Example plugins for the CLI
diff --git a/examples/plugin_template/package.json b/examples/plugin_template/package.json
deleted file mode 100644
index 4f9cffc..0000000
--- a/examples/plugin_template/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "test_plugin",
- "version": "1.0.0",
- "description": "",
- "module": "./dist/index.mjs",
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1",
- "build": "tsup"
- },
- "keywords": [],
- "author": "",
- "license": "ISC",
- "dependencies": {
- "cmd-ts": "^0.13.0"
- },
- "devDependencies": {
- "tsup": "^7.2.0"
- }
-}
diff --git a/examples/plugin_template/pnpm-lock.yaml b/examples/plugin_template/pnpm-lock.yaml
deleted file mode 100644
index b437238..0000000
--- a/examples/plugin_template/pnpm-lock.yaml
+++ /dev/null
@@ -1,930 +0,0 @@
-lockfileVersion: '6.0'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
-
-dependencies:
- cmd-ts:
- specifier: ^0.13.0
- version: 0.13.0
-
-devDependencies:
- tsup:
- specifier: ^7.2.0
- version: 7.2.0
-
-packages:
-
- /@esbuild/android-arm64@0.18.19:
- resolution: {integrity: sha512-4+jkUFQxZkQfQOOxfGVZB38YUWHMJX2ihZwF+2nh8m7bHdWXpixiurgGRN3c/KMSwlltbYI0/i929jwBRMFzbA==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/android-arm@0.18.19:
- resolution: {integrity: sha512-1uOoDurJYh5MNqPqpj3l/TQCI1V25BXgChEldCB7D6iryBYqYKrbZIhYO5AI9fulf66sM8UJpc3UcCly2Tv28w==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/android-x64@0.18.19:
- resolution: {integrity: sha512-ae5sHYiP/Ogj2YNrLZbWkBmyHIDOhPgpkGvFnke7XFGQldBDWvc/AyYwSLpNuKw9UNkgnLlB/jPpnBmlF3G9Bg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/darwin-arm64@0.18.19:
- resolution: {integrity: sha512-HIpQvNQWFYROmWDANMRL+jZvvTQGOiTuwWBIuAsMaQrnStedM+nEKJBzKQ6bfT9RFKH2wZ+ej+DY7+9xHBTFPg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/darwin-x64@0.18.19:
- resolution: {integrity: sha512-m6JdvXJQt0thNLIcWOeG079h2ivhYH4B5sVCgqb/B29zTcFd7EE8/J1nIUHhdtwGeItdUeqKaqqb4towwxvglQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/freebsd-arm64@0.18.19:
- resolution: {integrity: sha512-G0p4EFMPZhGn/xVNspUyMQbORH3nlKTV0bFNHPIwLraBuAkTeMyxNviTe0ZXUbIXQrR1lrwniFjNFU4s+x7veQ==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [freebsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/freebsd-x64@0.18.19:
- resolution: {integrity: sha512-hBxgRlG42+W+j/1/cvlnSa+3+OBKeDCyO7OG2ICya1YJaSCYfSpuG30KfOnQHI7Ytgu4bRqCgrYXxQEzy0zM5Q==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [freebsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-arm64@0.18.19:
- resolution: {integrity: sha512-X8g33tczY0GsJq3lhyBrjnFtaKjWVpp1gMq5IlF9BQJ3TUfSK74nQnz9mRIEejmcV+OIYn6bkOJeUaU1Knrljg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-arm@0.18.19:
- resolution: {integrity: sha512-qtWyoQskfJlb9MD45mvzCEKeO4uCnDZ7lPFeNqbfaaJHqBiH9qA5Vu2EuckqYZuFMJWy1l4dxTf9NOulCVfUjg==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-ia32@0.18.19:
- resolution: {integrity: sha512-SAkRWJgb+KN+gOhmbiE6/wu23D6HRcGQi15cB13IVtBZZgXxygTV5GJlUAKLQ5Gcx0gtlmt+XIxEmSqA6sZTOw==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-loong64@0.18.19:
- resolution: {integrity: sha512-YLAslaO8NsB9UOxBchos82AOMRDbIAWChwDKfjlGrHSzS3v1kxce7dGlSTsrb0PJwo1KYccypN3VNjQVLtz7LA==}
- engines: {node: '>=12'}
- cpu: [loong64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-mips64el@0.18.19:
- resolution: {integrity: sha512-vSYFtlYds/oTI8aflEP65xo3MXChMwBOG1eWPGGKs/ev9zkTeXVvciU+nifq8J1JYMz+eQ4J9JDN0O2RKF8+1Q==}
- engines: {node: '>=12'}
- cpu: [mips64el]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-ppc64@0.18.19:
- resolution: {integrity: sha512-tgG41lRVwlzqO9tv9l7aXYVw35BxKXLtPam1qALScwSqPivI8hjkZLNH0deaaSCYCFT9cBIdB+hUjWFlFFLL9A==}
- engines: {node: '>=12'}
- cpu: [ppc64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-riscv64@0.18.19:
- resolution: {integrity: sha512-EgBZFLoN1S5RuB4cCJI31pBPsjE1nZ+3+fHRjguq9Ibrzo29bOLSBcH1KZJvRNh5qtd+fcYIGiIUia8Jw5r1lQ==}
- engines: {node: '>=12'}
- cpu: [riscv64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-s390x@0.18.19:
- resolution: {integrity: sha512-q1V1rtHRojAzjSigZEqrcLkpfh5K09ShCoIsdTakozVBnM5rgV58PLFticqDp5UJ9uE0HScov9QNbbl8HBo6QQ==}
- engines: {node: '>=12'}
- cpu: [s390x]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/linux-x64@0.18.19:
- resolution: {integrity: sha512-D0IiYjpZRXxGZLQfsydeAD7ZWqdGyFLBj5f2UshJpy09WPs3qizDCsEr8zyzcym6Woj/UI9ZzMIXwvoXVtyt0A==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/netbsd-x64@0.18.19:
- resolution: {integrity: sha512-3tt3SOS8L3D54R8oER41UdDshlBIAjYhdWRPiZCTZ1E41+shIZBpTjaW5UaN/jD1ENE/Ok5lkeqhoNMbxstyxw==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [netbsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/openbsd-x64@0.18.19:
- resolution: {integrity: sha512-MxbhcuAYQPlfln1EMc4T26OUoeg/YQc6wNoEV8xvktDKZhLtBxjkoeESSo9BbPaGKhAPzusXYj5n8n5A8iZSrA==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [openbsd]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/sunos-x64@0.18.19:
- resolution: {integrity: sha512-m0/UOq1wj25JpWqOJxoWBRM9VWc3c32xiNzd+ERlYstUZ6uwx5SZsQUtkiFHaYmcaoj+f6+Tfcl7atuAz3idwQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [sunos]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/win32-arm64@0.18.19:
- resolution: {integrity: sha512-L4vb6pcoB1cEcXUHU6EPnUhUc4+/tcz4OqlXTWPcSQWxegfmcOprhmIleKKwmMNQVc4wrx/+jB7tGkjjDmiupg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/win32-ia32@0.18.19:
- resolution: {integrity: sha512-rQng7LXSKdrDlNDb7/v0fujob6X0GAazoK/IPd9C3oShr642ri8uIBkgM37/l8B3Rd5sBQcqUXoDdEy75XC/jg==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- /@esbuild/win32-x64@0.18.19:
- resolution: {integrity: sha512-z69jhyG20Gq4QL5JKPLqUT+eREuqnDAFItLbza4JCmpvUnIlY73YNjd5djlO7kBiiZnvTnJuAbOjIoZIOa1GjA==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- /@jridgewell/gen-mapping@0.3.3:
- resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==}
- engines: {node: '>=6.0.0'}
- dependencies:
- '@jridgewell/set-array': 1.1.2
- '@jridgewell/sourcemap-codec': 1.4.15
- '@jridgewell/trace-mapping': 0.3.18
- dev: true
-
- /@jridgewell/resolve-uri@3.1.0:
- resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==}
- engines: {node: '>=6.0.0'}
- dev: true
-
- /@jridgewell/set-array@1.1.2:
- resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}
- engines: {node: '>=6.0.0'}
- dev: true
-
- /@jridgewell/sourcemap-codec@1.4.14:
- resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
- dev: true
-
- /@jridgewell/sourcemap-codec@1.4.15:
- resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
- dev: true
-
- /@jridgewell/trace-mapping@0.3.18:
- resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==}
- dependencies:
- '@jridgewell/resolve-uri': 3.1.0
- '@jridgewell/sourcemap-codec': 1.4.14
- dev: true
-
- /@nodelib/fs.scandir@2.1.5:
- resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
- engines: {node: '>= 8'}
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- run-parallel: 1.2.0
- dev: true
-
- /@nodelib/fs.stat@2.0.5:
- resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
- engines: {node: '>= 8'}
- dev: true
-
- /@nodelib/fs.walk@1.2.8:
- resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
- engines: {node: '>= 8'}
- dependencies:
- '@nodelib/fs.scandir': 2.1.5
- fastq: 1.15.0
- dev: true
-
- /ansi-regex@5.0.1:
- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
- engines: {node: '>=8'}
- dev: false
-
- /ansi-styles@4.3.0:
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
- dependencies:
- color-convert: 2.0.1
- dev: false
-
- /any-promise@1.3.0:
- resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
- dev: true
-
- /anymatch@3.1.3:
- resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
- engines: {node: '>= 8'}
- dependencies:
- normalize-path: 3.0.0
- picomatch: 2.3.1
- dev: true
-
- /array-union@2.1.0:
- resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
- engines: {node: '>=8'}
- dev: true
-
- /balanced-match@1.0.2:
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
- dev: true
-
- /binary-extensions@2.2.0:
- resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
- engines: {node: '>=8'}
- dev: true
-
- /brace-expansion@1.1.11:
- resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
- dependencies:
- balanced-match: 1.0.2
- concat-map: 0.0.1
- dev: true
-
- /braces@3.0.2:
- resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
- engines: {node: '>=8'}
- dependencies:
- fill-range: 7.0.1
- dev: true
-
- /bundle-require@4.0.1(esbuild@0.18.19):
- resolution: {integrity: sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- peerDependencies:
- esbuild: '>=0.17'
- dependencies:
- esbuild: 0.18.19
- load-tsconfig: 0.2.5
- dev: true
-
- /cac@6.7.14:
- resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
- engines: {node: '>=8'}
- dev: true
-
- /chalk@4.1.2:
- resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
- engines: {node: '>=10'}
- dependencies:
- ansi-styles: 4.3.0
- supports-color: 7.2.0
- dev: false
-
- /chokidar@3.5.3:
- resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
- engines: {node: '>= 8.10.0'}
- dependencies:
- anymatch: 3.1.3
- braces: 3.0.2
- glob-parent: 5.1.2
- is-binary-path: 2.1.0
- is-glob: 4.0.3
- normalize-path: 3.0.0
- readdirp: 3.6.0
- optionalDependencies:
- fsevents: 2.3.2
- dev: true
-
- /cmd-ts@0.13.0:
- resolution: {integrity: sha512-nsnxf6wNIM/JAS7T/x/1JmbEsjH0a8tezXqqpaL0O6+eV0/aDEnRxwjxpu0VzDdRcaC1ixGSbRlUuf/IU59I4g==}
- dependencies:
- chalk: 4.1.2
- debug: 4.3.4
- didyoumean: 1.2.2
- strip-ansi: 6.0.1
- transitivePeerDependencies:
- - supports-color
- dev: false
-
- /color-convert@2.0.1:
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
- dependencies:
- color-name: 1.1.4
- dev: false
-
- /color-name@1.1.4:
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
- dev: false
-
- /commander@4.1.1:
- resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
- engines: {node: '>= 6'}
- dev: true
-
- /concat-map@0.0.1:
- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
- dev: true
-
- /cross-spawn@7.0.3:
- resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
- engines: {node: '>= 8'}
- dependencies:
- path-key: 3.1.1
- shebang-command: 2.0.0
- which: 2.0.2
- dev: true
-
- /debug@4.3.4:
- resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
- engines: {node: '>=6.0'}
- peerDependencies:
- supports-color: '*'
- peerDependenciesMeta:
- supports-color:
- optional: true
- dependencies:
- ms: 2.1.2
-
- /didyoumean@1.2.2:
- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
- dev: false
-
- /dir-glob@3.0.1:
- resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
- engines: {node: '>=8'}
- dependencies:
- path-type: 4.0.0
- dev: true
-
- /esbuild@0.18.19:
- resolution: {integrity: sha512-ra3CaIKCzJp5bU5BDfrCc0FRqKj71fQi+gbld0aj6lN0ifuX2fWJYPgLVLGwPfA+ruKna+OWwOvf/yHj6n+i0g==}
- engines: {node: '>=12'}
- hasBin: true
- requiresBuild: true
- optionalDependencies:
- '@esbuild/android-arm': 0.18.19
- '@esbuild/android-arm64': 0.18.19
- '@esbuild/android-x64': 0.18.19
- '@esbuild/darwin-arm64': 0.18.19
- '@esbuild/darwin-x64': 0.18.19
- '@esbuild/freebsd-arm64': 0.18.19
- '@esbuild/freebsd-x64': 0.18.19
- '@esbuild/linux-arm': 0.18.19
- '@esbuild/linux-arm64': 0.18.19
- '@esbuild/linux-ia32': 0.18.19
- '@esbuild/linux-loong64': 0.18.19
- '@esbuild/linux-mips64el': 0.18.19
- '@esbuild/linux-ppc64': 0.18.19
- '@esbuild/linux-riscv64': 0.18.19
- '@esbuild/linux-s390x': 0.18.19
- '@esbuild/linux-x64': 0.18.19
- '@esbuild/netbsd-x64': 0.18.19
- '@esbuild/openbsd-x64': 0.18.19
- '@esbuild/sunos-x64': 0.18.19
- '@esbuild/win32-arm64': 0.18.19
- '@esbuild/win32-ia32': 0.18.19
- '@esbuild/win32-x64': 0.18.19
- dev: true
-
- /execa@5.1.1:
- resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
- engines: {node: '>=10'}
- dependencies:
- cross-spawn: 7.0.3
- get-stream: 6.0.1
- human-signals: 2.1.0
- is-stream: 2.0.1
- merge-stream: 2.0.0
- npm-run-path: 4.0.1
- onetime: 5.1.2
- signal-exit: 3.0.7
- strip-final-newline: 2.0.0
- dev: true
-
- /fast-glob@3.3.1:
- resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==}
- engines: {node: '>=8.6.0'}
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- '@nodelib/fs.walk': 1.2.8
- glob-parent: 5.1.2
- merge2: 1.4.1
- micromatch: 4.0.5
- dev: true
-
- /fastq@1.15.0:
- resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==}
- dependencies:
- reusify: 1.0.4
- dev: true
-
- /fill-range@7.0.1:
- resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
- engines: {node: '>=8'}
- dependencies:
- to-regex-range: 5.0.1
- dev: true
-
- /fs.realpath@1.0.0:
- resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
- dev: true
-
- /fsevents@2.3.2:
- resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- /get-stream@6.0.1:
- resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}
- engines: {node: '>=10'}
- dev: true
-
- /glob-parent@5.1.2:
- resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
- engines: {node: '>= 6'}
- dependencies:
- is-glob: 4.0.3
- dev: true
-
- /glob@7.1.6:
- resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==}
- dependencies:
- fs.realpath: 1.0.0
- inflight: 1.0.6
- inherits: 2.0.4
- minimatch: 3.1.2
- once: 1.4.0
- path-is-absolute: 1.0.1
- dev: true
-
- /globby@11.1.0:
- resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
- engines: {node: '>=10'}
- dependencies:
- array-union: 2.1.0
- dir-glob: 3.0.1
- fast-glob: 3.3.1
- ignore: 5.2.4
- merge2: 1.4.1
- slash: 3.0.0
- dev: true
-
- /has-flag@4.0.0:
- resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
- engines: {node: '>=8'}
- dev: false
-
- /human-signals@2.1.0:
- resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
- engines: {node: '>=10.17.0'}
- dev: true
-
- /ignore@5.2.4:
- resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
- engines: {node: '>= 4'}
- dev: true
-
- /inflight@1.0.6:
- resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
- dependencies:
- once: 1.4.0
- wrappy: 1.0.2
- dev: true
-
- /inherits@2.0.4:
- resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
- dev: true
-
- /is-binary-path@2.1.0:
- resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
- engines: {node: '>=8'}
- dependencies:
- binary-extensions: 2.2.0
- dev: true
-
- /is-extglob@2.1.1:
- resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /is-glob@4.0.3:
- resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
- engines: {node: '>=0.10.0'}
- dependencies:
- is-extglob: 2.1.1
- dev: true
-
- /is-number@7.0.0:
- resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
- engines: {node: '>=0.12.0'}
- dev: true
-
- /is-stream@2.0.1:
- resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
- engines: {node: '>=8'}
- dev: true
-
- /isexe@2.0.0:
- resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
- dev: true
-
- /joycon@3.1.1:
- resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
- engines: {node: '>=10'}
- dev: true
-
- /lilconfig@2.1.0:
- resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}
- engines: {node: '>=10'}
- dev: true
-
- /lines-and-columns@1.2.4:
- resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
- dev: true
-
- /load-tsconfig@0.2.5:
- resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dev: true
-
- /lodash.sortby@4.7.0:
- resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==}
- dev: true
-
- /merge-stream@2.0.0:
- resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
- dev: true
-
- /merge2@1.4.1:
- resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
- engines: {node: '>= 8'}
- dev: true
-
- /micromatch@4.0.5:
- resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
- engines: {node: '>=8.6'}
- dependencies:
- braces: 3.0.2
- picomatch: 2.3.1
- dev: true
-
- /mimic-fn@2.1.0:
- resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}
- engines: {node: '>=6'}
- dev: true
-
- /minimatch@3.1.2:
- resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
- dependencies:
- brace-expansion: 1.1.11
- dev: true
-
- /ms@2.1.2:
- resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
-
- /mz@2.7.0:
- resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
- dependencies:
- any-promise: 1.3.0
- object-assign: 4.1.1
- thenify-all: 1.6.0
- dev: true
-
- /normalize-path@3.0.0:
- resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /npm-run-path@4.0.1:
- resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}
- engines: {node: '>=8'}
- dependencies:
- path-key: 3.1.1
- dev: true
-
- /object-assign@4.1.1:
- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /once@1.4.0:
- resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
- dependencies:
- wrappy: 1.0.2
- dev: true
-
- /onetime@5.1.2:
- resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}
- engines: {node: '>=6'}
- dependencies:
- mimic-fn: 2.1.0
- dev: true
-
- /path-is-absolute@1.0.1:
- resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
- engines: {node: '>=0.10.0'}
- dev: true
-
- /path-key@3.1.1:
- resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
- engines: {node: '>=8'}
- dev: true
-
- /path-type@4.0.0:
- resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
- engines: {node: '>=8'}
- dev: true
-
- /picomatch@2.3.1:
- resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
- engines: {node: '>=8.6'}
- dev: true
-
- /pirates@4.0.6:
- resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
- engines: {node: '>= 6'}
- dev: true
-
- /postcss-load-config@4.0.1:
- resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==}
- engines: {node: '>= 14'}
- peerDependencies:
- postcss: '>=8.0.9'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- postcss:
- optional: true
- ts-node:
- optional: true
- dependencies:
- lilconfig: 2.1.0
- yaml: 2.3.1
- dev: true
-
- /punycode@2.3.0:
- resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
- engines: {node: '>=6'}
- dev: true
-
- /queue-microtask@1.2.3:
- resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
- dev: true
-
- /readdirp@3.6.0:
- resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
- engines: {node: '>=8.10.0'}
- dependencies:
- picomatch: 2.3.1
- dev: true
-
- /resolve-from@5.0.0:
- resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
- engines: {node: '>=8'}
- dev: true
-
- /reusify@1.0.4:
- resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
- engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
- dev: true
-
- /rollup@3.27.2:
- resolution: {integrity: sha512-YGwmHf7h2oUHkVBT248x0yt6vZkYQ3/rvE5iQuVBh3WO8GcJ6BNeOkpoX1yMHIiBm18EMLjBPIoUDkhgnyxGOQ==}
- engines: {node: '>=14.18.0', npm: '>=8.0.0'}
- hasBin: true
- optionalDependencies:
- fsevents: 2.3.2
- dev: true
-
- /run-parallel@1.2.0:
- resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
- dependencies:
- queue-microtask: 1.2.3
- dev: true
-
- /shebang-command@2.0.0:
- resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
- engines: {node: '>=8'}
- dependencies:
- shebang-regex: 3.0.0
- dev: true
-
- /shebang-regex@3.0.0:
- resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
- engines: {node: '>=8'}
- dev: true
-
- /signal-exit@3.0.7:
- resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
- dev: true
-
- /slash@3.0.0:
- resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
- engines: {node: '>=8'}
- dev: true
-
- /source-map@0.8.0-beta.0:
- resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==}
- engines: {node: '>= 8'}
- dependencies:
- whatwg-url: 7.1.0
- dev: true
-
- /strip-ansi@6.0.1:
- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
- engines: {node: '>=8'}
- dependencies:
- ansi-regex: 5.0.1
- dev: false
-
- /strip-final-newline@2.0.0:
- resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
- engines: {node: '>=6'}
- dev: true
-
- /sucrase@3.34.0:
- resolution: {integrity: sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==}
- engines: {node: '>=8'}
- hasBin: true
- dependencies:
- '@jridgewell/gen-mapping': 0.3.3
- commander: 4.1.1
- glob: 7.1.6
- lines-and-columns: 1.2.4
- mz: 2.7.0
- pirates: 4.0.6
- ts-interface-checker: 0.1.13
- dev: true
-
- /supports-color@7.2.0:
- resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
- engines: {node: '>=8'}
- dependencies:
- has-flag: 4.0.0
- dev: false
-
- /thenify-all@1.6.0:
- resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
- engines: {node: '>=0.8'}
- dependencies:
- thenify: 3.3.1
- dev: true
-
- /thenify@3.3.1:
- resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
- dependencies:
- any-promise: 1.3.0
- dev: true
-
- /to-regex-range@5.0.1:
- resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
- engines: {node: '>=8.0'}
- dependencies:
- is-number: 7.0.0
- dev: true
-
- /tr46@1.0.1:
- resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==}
- dependencies:
- punycode: 2.3.0
- dev: true
-
- /tree-kill@1.2.2:
- resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
- hasBin: true
- dev: true
-
- /ts-interface-checker@0.1.13:
- resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
- dev: true
-
- /tsup@7.2.0:
- resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==}
- engines: {node: '>=16.14'}
- hasBin: true
- peerDependencies:
- '@swc/core': ^1
- postcss: ^8.4.12
- typescript: '>=4.1.0'
- peerDependenciesMeta:
- '@swc/core':
- optional: true
- postcss:
- optional: true
- typescript:
- optional: true
- dependencies:
- bundle-require: 4.0.1(esbuild@0.18.19)
- cac: 6.7.14
- chokidar: 3.5.3
- debug: 4.3.4
- esbuild: 0.18.19
- execa: 5.1.1
- globby: 11.1.0
- joycon: 3.1.1
- postcss-load-config: 4.0.1
- resolve-from: 5.0.0
- rollup: 3.27.2
- source-map: 0.8.0-beta.0
- sucrase: 3.34.0
- tree-kill: 1.2.2
- transitivePeerDependencies:
- - supports-color
- - ts-node
- dev: true
-
- /webidl-conversions@4.0.2:
- resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==}
- dev: true
-
- /whatwg-url@7.1.0:
- resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==}
- dependencies:
- lodash.sortby: 4.7.0
- tr46: 1.0.1
- webidl-conversions: 4.0.2
- dev: true
-
- /which@2.0.2:
- resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
- engines: {node: '>= 8'}
- hasBin: true
- dependencies:
- isexe: 2.0.0
- dev: true
-
- /wrappy@1.0.2:
- resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
- dev: true
-
- /yaml@2.3.1:
- resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==}
- engines: {node: '>= 14'}
- dev: true
diff --git a/examples/plugin_template/src/index.ts b/examples/plugin_template/src/index.ts
deleted file mode 100644
index dd44b62..0000000
--- a/examples/plugin_template/src/index.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { command } from "cmd-ts";
-
-export default command({
- name: "custom",
- description: "A completely custom command dynamically imported at runtime!",
- args: {},
- handler() {
- console.log("CUSTOM COMMAND WORKS!!");
- },
-});
diff --git a/examples/plugin_template/tsup.config.ts b/examples/plugin_template/tsup.config.ts
deleted file mode 100644
index d80d441..0000000
--- a/examples/plugin_template/tsup.config.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { defineConfig } from "tsup";
-
-export default defineConfig({
- entry: ["src/index.ts"],
- target: "esnext",
- format: "esm",
- splitting: false,
- sourcemap: true,
- clean: true,
-});
diff --git a/package.json b/package.json
index c844a72..d897b76 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "solid-cli",
"private": true,
"version": "0.0.1",
- "description": "A CLI for making the solidjs development experience easier, faster, and less error prone.",
+ "description": "A CLI for making the SolidJS development experience easier, faster, and less error prone.",
"license": "MIT",
"homepage": "https://solid-cli.netlify.app",
"repository": {
@@ -10,27 +10,35 @@
"url": "https://github.com/solidjs-community/solid-cli"
},
"scripts": {
- "test": "vitest",
+ "test": "vitest run",
"test:all": "turbo run test",
"build": "turbo run build",
"release": "pnpm build && changeset publish",
- "start": "cd packages/core && pnpm start",
- "format": "prettier . --write"
+ "start": "pnpm build && cd packages/create-solid && pnpm start",
+ "format": "prettier --write .",
+ "watch:build": "turbo watch build",
+ "update-deps": "ncu -u --packageFile packages/**/package.json"
},
- "keywords": [],
- "author": "Thomas Beer & Rahul Batra",
+ "contributors": [
+ {
+ "name": "Thomas Beer"
+ },
+ {
+ "name": "Rahul Batra"
+ }
+ ],
"workspaces": [
"./packages/*"
],
"devDependencies": {
- "@changesets/cli": "2.26.2",
- "prettier": "^3.0.1",
- "turbo": "^1.10.12",
- "vitest": "^0.33.0"
+ "@changesets/cli": "2.31.1",
+ "@types/node": "26.1.1",
+ "jiti": "^2.7.0",
+ "prettier": "^3.9.6",
+ "tsup": "^8.5.1",
+ "turbo": "^2.10.6",
+ "typescript": "^7.0.2",
+ "vitest": "^4.1.10"
},
- "pnpm": {
- "patchedDependencies": {
- "detect-package-manager@2.0.1": "patches/detect-package-manager@2.0.1.patch"
- }
- }
+ "packageManager": "pnpm@11.15.1"
}
diff --git a/packages/core/.gitignore b/packages/core/.gitignore
deleted file mode 100644
index bf96551..0000000
--- a/packages/core/.gitignore
+++ /dev/null
@@ -1,133 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-.pnpm-debug.log*
-
-# Diagnostic reports (https://nodejs.org/api/report.html)
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-
-# Runtime data
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-*.lcov
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules/
-jspm_packages/
-
-# Snowpack dependency directory (https://snowpack.dev/)
-web_modules/
-
-# TypeScript cache
-*.tsbuildinfo
-
-# Optional npm cache directory
-.npm
-
-# Optional swc cache
-.swc
-
-# Optional eslint cache
-.eslintcache
-
-# Optional stylelint cache
-.stylelintcache
-
-# Microbundle cache
-.rpt2_cache/
-.rts2_cache_cjs/
-.rts2_cache_es/
-.rts2_cache_umd/
-
-# Optional REPL history
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variable files
-.env
-.env.development.local
-.env.test.local
-.env.production.local
-.env.local
-
-# parcel-bundler cache (https://parceljs.org/)
-.cache
-.parcel-cache
-
-# Next.js build output
-.next
-out
-
-# Nuxt.js build / generate output
-.nuxt
-dist
-
-# Gatsby files
-.cache/
-# Comment in the public line in if your project uses Gatsby and not Next.js
-# https://nextjs.org/blog/next-9-1#public-directory-support
-# public
-
-# vuepress build output
-.vuepress/dist
-
-# vuepress v2.x temp and cache directory
-.temp
-.cache
-
-# Docusaurus cache and generated files
-.docusaurus
-
-# Serverless directories
-.serverless/
-
-# FuseBox cache
-.fusebox/
-
-# DynamoDB Local files
-.dynamodb/
-
-# TernJS port file
-.tern-port
-
-# Stores VSCode versions used for testing VSCode extensions
-.vscode-test
-
-# yarn v2
-.yarn/cache
-.yarn/unplugged
-.yarn/build-state.yml
-.yarn/install-state.gz
-.pnp.*
diff --git a/packages/core/README.md b/packages/core/README.md
deleted file mode 100644
index 51fc211..0000000
--- a/packages/core/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# @solid-cli/core
-
-The main entry point package for the CLI. To install, just run `npm i -g @solid-cli/core`, and invoke with the `solid` command
diff --git a/packages/core/package.json b/packages/core/package.json
deleted file mode 100644
index 69eec55..0000000
--- a/packages/core/package.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "name": "@solid-cli/core",
- "version": "0.0.10",
- "description": "A CLI for Solid",
- "author": "Thomas Beer & Rahul Batra",
- "license": "MIT",
- "homepage": "https://solid-cli.netlify.app",
- "repository": {
- "type": "git",
- "url": "https://github.com/solidjs-community/solid-cli"
- },
- "main": "dist/index.mjs",
- "bin": {
- "solid": "./dist/index.mjs"
- },
- "files": [
- "dist"
- ],
- "dependencies": {
- "@clack/core": "0.3.2",
- "@clack/prompts": "0.6.3",
- "@solid-cli/reactivity": "workspace:*",
- "@solid-cli/swc-plugin-solid-cli": "workspace:*",
- "@solid-cli/ui": "workspace:*",
- "@solid-cli/utils": "workspace:*",
- "@swc/core": "^1.3.75",
- "cmd-ts": "^0.12.1",
- "detect-package-manager": "^2.0.1",
- "execa": "^7.2.0",
- "picocolors": "^1.0.0",
- "smol-toml": "^1.1.1",
- "tiny-updater": "^3.5.1"
- },
- "scripts": {
- "start": "jiti ./src/index.ts",
- "build": "tsup"
- },
- "devDependencies": {
- "@chialab/esbuild-plugin-meta-url": "^0.17.7",
- "@types/node": "^20.4.9",
- "jiti": "^1.19.1",
- "tsup": "^7.2.0"
- },
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/packages/core/pnpm-lock.yaml b/packages/core/pnpm-lock.yaml
deleted file mode 100644
index 95ddd57..0000000
--- a/packages/core/pnpm-lock.yaml
+++ /dev/null
@@ -1,1164 +0,0 @@
-lockfileVersion: '6.0'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
-
-dependencies:
- '@clack/core':
- specifier: 0.3.2
- version: 0.3.2
- '@clack/prompts':
- specifier: 0.6.3
- version: 0.6.3
- '@swc/core':
- specifier: ^1.3.68
- version: 1.3.68
- cmd-ts:
- specifier: ^0.12.1
- version: 0.12.1
- detect-package-manager:
- specifier: ^2.0.1
- version: 2.0.1
- execa:
- specifier: ^7.1.1
- version: 7.1.1
- picocolors:
- specifier: ^1.0.0
- version: 1.0.0
- tsup:
- specifier: ^7.1.0
- version: 7.1.0(@swc/core@1.3.68)
-
-devDependencies:
- '@types/node':
- specifier: ^20.4.1
- version: 20.4.1
- jiti:
- specifier: ^1.17.0
- version: 1.17.0
-
-packages:
-
- /@clack/core@0.3.2:
- resolution: {integrity: sha512-FZnsNynwGDIDktx6PEZK1EuCkFpY4ldEX6VYvfl0dqeoLPb9Jpw1xoUXaVcGR8ExmYNm1w2vdGdJkEUYD/2pqg==}
- dependencies:
- picocolors: 1.0.0
- sisteransi: 1.0.5
- dev: false
-
- /@clack/prompts@0.6.3:
- resolution: {integrity: sha512-AM+kFmAHawpUQv2q9+mcB6jLKxXGjgu/r2EQjEwujgpCdzrST6BJqYw00GRn56/L/Izw5U7ImoLmy00X/r80Pw==}
- dependencies:
- '@clack/core': 0.3.2
- picocolors: 1.0.0
- sisteransi: 1.0.5
- dev: false
- bundledDependencies:
- - is-unicode-supported
-
- /@esbuild/android-arm64@0.18.12:
- resolution: {integrity: sha512-BMAlczRqC/LUt2P97E4apTBbkvS9JTJnp2DKFbCwpZ8vBvXVbNdqmvzW/OsdtI/+mGr+apkkpqGM8WecLkPgrA==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [android]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/android-arm@0.18.12:
- resolution: {integrity: sha512-LIxaNIQfkFZbTLb4+cX7dozHlAbAshhFE5PKdro0l+FnCpx1GDJaQ2WMcqm+ToXKMt8p8Uojk/MFRuGyz3V5Sw==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [android]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/android-x64@0.18.12:
- resolution: {integrity: sha512-zU5MyluNsykf5cOJ0LZZZjgAHbhPJ1cWfdH1ZXVMXxVMhEV0VZiZXQdwBBVvmvbF28EizeK7obG9fs+fpmS0eQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [android]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/darwin-arm64@0.18.12:
- resolution: {integrity: sha512-zUZMep7YONnp6954QOOwEBwFX9svlKd3ov6PkxKd53LGTHsp/gy7vHaPGhhjBmEpqXEXShi6dddjIkmd+NgMsA==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/darwin-x64@0.18.12:
- resolution: {integrity: sha512-ohqLPc7i67yunArPj1+/FeeJ7AgwAjHqKZ512ADk3WsE3FHU9l+m5aa7NdxXr0HmN1bjDlUslBjWNbFlD9y12Q==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/freebsd-arm64@0.18.12:
- resolution: {integrity: sha512-GIIHtQXqgeOOqdG16a/A9N28GpkvjJnjYMhOnXVbn3EDJcoItdR58v/pGN31CHjyXDc8uCcRnFWmqaJt24AYJg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [freebsd]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/freebsd-x64@0.18.12:
- resolution: {integrity: sha512-zK0b9a1/0wZY+6FdOS3BpZcPc1kcx2G5yxxfEJtEUzVxI6n/FrC2Phsxj/YblPuBchhBZ/1wwn7AyEBUyNSa6g==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [freebsd]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-arm64@0.18.12:
- resolution: {integrity: sha512-JKgG8Q/LL/9sw/iHHxQyVMoQYu3rU3+a5Z87DxC+wAu3engz+EmctIrV+FGOgI6gWG1z1+5nDDbXiRMGQZXqiw==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-arm@0.18.12:
- resolution: {integrity: sha512-y75OijvrBE/1XRrXq1jtrJfG26eHeMoqLJ2dwQNwviwTuTtHGCojsDO6BJNF8gU+3jTn1KzJEMETytwsFSvc+Q==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-ia32@0.18.12:
- resolution: {integrity: sha512-yoRIAqc0B4lDIAAEFEIu9ttTRFV84iuAl0KNCN6MhKLxNPfzwCBvEMgwco2f71GxmpBcTtn7KdErueZaM2rEvw==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-loong64@0.18.12:
- resolution: {integrity: sha512-qYgt3dHPVvf/MgbIBpJ4Sup/yb9DAopZ3a2JgMpNKIHUpOdnJ2eHBo/aQdnd8dJ21X/+sS58wxHtA9lEazYtXQ==}
- engines: {node: '>=12'}
- cpu: [loong64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-mips64el@0.18.12:
- resolution: {integrity: sha512-wHphlMLK4ufNOONqukELfVIbnGQJrHJ/mxZMMrP2jYrPgCRZhOtf0kC4yAXBwnfmULimV1qt5UJJOw4Kh13Yfg==}
- engines: {node: '>=12'}
- cpu: [mips64el]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-ppc64@0.18.12:
- resolution: {integrity: sha512-TeN//1Ft20ZZW41+zDSdOI/Os1bEq5dbvBvYkberB7PHABbRcsteeoNVZFlI0YLpGdlBqohEpjrn06kv8heCJg==}
- engines: {node: '>=12'}
- cpu: [ppc64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-riscv64@0.18.12:
- resolution: {integrity: sha512-AgUebVS4DoAblBgiB2ACQ/8l4eGE5aWBb8ZXtkXHiET9mbj7GuWt3OnsIW/zX+XHJt2RYJZctbQ2S/mDjbp0UA==}
- engines: {node: '>=12'}
- cpu: [riscv64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-s390x@0.18.12:
- resolution: {integrity: sha512-dJ3Rb3Ei2u/ysSXd6pzleGtfDdc2MuzKt8qc6ls8vreP1G3B7HInX3i7gXS4BGeVd24pp0yqyS7bJ5NHaI9ing==}
- engines: {node: '>=12'}
- cpu: [s390x]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/linux-x64@0.18.12:
- resolution: {integrity: sha512-OrNJMGQbPaVyHHcDF8ybNSwu7TDOfX8NGpXCbetwOSP6txOJiWlgQnRymfC9ocR1S0Y5PW0Wb1mV6pUddqmvmQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/netbsd-x64@0.18.12:
- resolution: {integrity: sha512-55FzVCAiwE9FK8wWeCRuvjazNRJ1QqLCYGZVB6E8RuQuTeStSwotpSW4xoRGwp3a1wUsaVCdYcj5LGCASVJmMg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [netbsd]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/openbsd-x64@0.18.12:
- resolution: {integrity: sha512-qnluf8rfb6Y5Lw2tirfK2quZOBbVqmwxut7GPCIJsM8lc4AEUj9L8y0YPdLaPK0TECt4IdyBdBD/KRFKorlK3g==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [openbsd]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/sunos-x64@0.18.12:
- resolution: {integrity: sha512-+RkKpVQR7bICjTOPUpkTBTaJ4TFqQBX5Ywyd/HSdDkQGn65VPkTsR/pL4AMvuMWy+wnXgIl4EY6q4mVpJal8Kg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [sunos]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/win32-arm64@0.18.12:
- resolution: {integrity: sha512-GNHuciv0mFM7ouzsU0+AwY+7eV4Mgo5WnbhfDCQGtpvOtD1vbOiRjPYG6dhmMoFyBjj+pNqQu2X+7DKn0KQ/Gw==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/win32-ia32@0.18.12:
- resolution: {integrity: sha512-kR8cezhYipbbypGkaqCTWIeu4zID17gamC8YTPXYtcN3E5BhhtTnwKBn9I0PJur/T6UVwIEGYzkffNL0lFvxEw==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
- /@esbuild/win32-x64@0.18.12:
- resolution: {integrity: sha512-O0UYQVkvfM/jO8a4OwoV0mAKSJw+mjWTAd1MJd/1FCX6uiMdLmMRPK/w6e9OQ0ob2WGxzIm9va/KG0Ja4zIOgg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
- /@jridgewell/gen-mapping@0.3.3:
- resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==}
- engines: {node: '>=6.0.0'}
- dependencies:
- '@jridgewell/set-array': 1.1.2
- '@jridgewell/sourcemap-codec': 1.4.15
- '@jridgewell/trace-mapping': 0.3.18
- dev: false
-
- /@jridgewell/resolve-uri@3.1.0:
- resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==}
- engines: {node: '>=6.0.0'}
- dev: false
-
- /@jridgewell/set-array@1.1.2:
- resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}
- engines: {node: '>=6.0.0'}
- dev: false
-
- /@jridgewell/sourcemap-codec@1.4.14:
- resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
- dev: false
-
- /@jridgewell/sourcemap-codec@1.4.15:
- resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
- dev: false
-
- /@jridgewell/trace-mapping@0.3.18:
- resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==}
- dependencies:
- '@jridgewell/resolve-uri': 3.1.0
- '@jridgewell/sourcemap-codec': 1.4.14
- dev: false
-
- /@nodelib/fs.scandir@2.1.5:
- resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
- engines: {node: '>= 8'}
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- run-parallel: 1.2.0
- dev: false
-
- /@nodelib/fs.stat@2.0.5:
- resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
- engines: {node: '>= 8'}
- dev: false
-
- /@nodelib/fs.walk@1.2.8:
- resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
- engines: {node: '>= 8'}
- dependencies:
- '@nodelib/fs.scandir': 2.1.5
- fastq: 1.15.0
- dev: false
-
- /@swc/core-darwin-arm64@1.3.68:
- resolution: {integrity: sha512-Z5pNxeuP2NxpOHTzDQkJs0wAPLnTlglZnR3WjObijwvdwT/kw1Y5EPDKM/BVSIeG40SPMkDLBbI0aj0qyXzrBA==}
- engines: {node: '>=10'}
- cpu: [arm64]
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-darwin-x64@1.3.68:
- resolution: {integrity: sha512-ZHl42g6yXhfX4PzAQ0BNvBXpt/OcbAHfubWRN6eXELK3fiNnxL7QBW1if7iizlq6iA+Mj1pwHyyUit1pz0+fgA==}
- engines: {node: '>=10'}
- cpu: [x64]
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-linux-arm-gnueabihf@1.3.68:
- resolution: {integrity: sha512-Mk8f6KCOQ2CNAR4PtWajIjS6XKSSR7ZYDOCf1GXRxhS3qEyQH7V8elWvqWYqHcT4foO60NUmxA/NOM/dQrdO1A==}
- engines: {node: '>=10'}
- cpu: [arm]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-linux-arm64-gnu@1.3.68:
- resolution: {integrity: sha512-RhBllggh9t9sIxaRgRcGrVaS7fDk6KsIqR6b9+dwU5OyDr4ZyHWw1ZaH/1/HAebuXYhNBjoNUiRtca6lKRIPgQ==}
- engines: {node: '>=10'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-linux-arm64-musl@1.3.68:
- resolution: {integrity: sha512-8K3zjU+tFgn6yGDEeD343gkKaHU9dhz77NiVkI1VzwRaT/Ag5pwl5eMQ1yStm8koNFzn3zq6rGjHfI5g2yI5Wg==}
- engines: {node: '>=10'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-linux-x64-gnu@1.3.68:
- resolution: {integrity: sha512-4xAnvsBOyeTL0AB8GWlRKDM/hsysJ5jr5qvdKKI3rZfJgnnxl/xSX6TJKPsJ8gygfUJ3BmfCbmUmEyeDZ3YPvA==}
- engines: {node: '>=10'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-linux-x64-musl@1.3.68:
- resolution: {integrity: sha512-RCpaBo1fcpy1EFdjF+I7N4lfzOaHXVV0iMw/ABM+0PD6tp3V/9pxsguaZyeAHyEiUlDA6PZ4TfXv5zfnXEgW4Q==}
- engines: {node: '>=10'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-win32-arm64-msvc@1.3.68:
- resolution: {integrity: sha512-v2WZvXrSslYEpY1nqpItyamL4DyaJinmOkXvM8Bc1LLKU5rGuvmBdjUYg/5Y+o0AUynuiWubpgHNOkBWiCvfqw==}
- engines: {node: '>=10'}
- cpu: [arm64]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-win32-ia32-msvc@1.3.68:
- resolution: {integrity: sha512-HH5NJrIdzkJs+1xxprie0qSCMBeL9yeEhcC1yZTzYv8bwmabOUSdtKIqS55iYP/2hLWn9CTbvKPmLOIhCopW3Q==}
- engines: {node: '>=10'}
- cpu: [ia32]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core-win32-x64-msvc@1.3.68:
- resolution: {integrity: sha512-9HZVtLQUgK8r/yXQdwe0VBexbIcrY6+fBROhs7AAPWdewpaUeLkwQEJk6TbYr9CQuHw26FFGg6SjwAiqXF+kgQ==}
- engines: {node: '>=10'}
- cpu: [x64]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
- /@swc/core@1.3.68:
- resolution: {integrity: sha512-njGQuJO+Wy06dEayt70cf0c/KI3HGjm4iW9LLViVLBuYNzJ4SSdNfzejludzufu6im+dsDJ0i3QjgWhAIcVHMQ==}
- engines: {node: '>=10'}
- requiresBuild: true
- peerDependencies:
- '@swc/helpers': ^0.5.0
- peerDependenciesMeta:
- '@swc/helpers':
- optional: true
- optionalDependencies:
- '@swc/core-darwin-arm64': 1.3.68
- '@swc/core-darwin-x64': 1.3.68
- '@swc/core-linux-arm-gnueabihf': 1.3.68
- '@swc/core-linux-arm64-gnu': 1.3.68
- '@swc/core-linux-arm64-musl': 1.3.68
- '@swc/core-linux-x64-gnu': 1.3.68
- '@swc/core-linux-x64-musl': 1.3.68
- '@swc/core-win32-arm64-msvc': 1.3.68
- '@swc/core-win32-ia32-msvc': 1.3.68
- '@swc/core-win32-x64-msvc': 1.3.68
- dev: false
-
- /@types/node@20.4.1:
- resolution: {integrity: sha512-JIzsAvJeA/5iY6Y/OxZbv1lUcc8dNSE77lb2gnBH+/PJ3lFR1Ccvgwl5JWnHAkNHcRsT0TbpVOsiMKZ1F/yyJg==}
- dev: true
-
- /ansi-regex@5.0.1:
- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
- engines: {node: '>=8'}
- dev: false
-
- /ansi-styles@4.3.0:
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
- dependencies:
- color-convert: 2.0.1
- dev: false
-
- /any-promise@1.3.0:
- resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
- dev: false
-
- /anymatch@3.1.3:
- resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
- engines: {node: '>= 8'}
- dependencies:
- normalize-path: 3.0.0
- picomatch: 2.3.1
- dev: false
-
- /array-union@2.1.0:
- resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
- engines: {node: '>=8'}
- dev: false
-
- /balanced-match@1.0.2:
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
- dev: false
-
- /binary-extensions@2.2.0:
- resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
- engines: {node: '>=8'}
- dev: false
-
- /brace-expansion@1.1.11:
- resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
- dependencies:
- balanced-match: 1.0.2
- concat-map: 0.0.1
- dev: false
-
- /braces@3.0.2:
- resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
- engines: {node: '>=8'}
- dependencies:
- fill-range: 7.0.1
- dev: false
-
- /bundle-require@4.0.1(esbuild@0.18.12):
- resolution: {integrity: sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- peerDependencies:
- esbuild: '>=0.17'
- dependencies:
- esbuild: 0.18.12
- load-tsconfig: 0.2.5
- dev: false
-
- /cac@6.7.14:
- resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
- engines: {node: '>=8'}
- dev: false
-
- /chalk@4.1.2:
- resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
- engines: {node: '>=10'}
- dependencies:
- ansi-styles: 4.3.0
- supports-color: 7.2.0
- dev: false
-
- /chokidar@3.5.3:
- resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
- engines: {node: '>= 8.10.0'}
- dependencies:
- anymatch: 3.1.3
- braces: 3.0.2
- glob-parent: 5.1.2
- is-binary-path: 2.1.0
- is-glob: 4.0.3
- normalize-path: 3.0.0
- readdirp: 3.6.0
- optionalDependencies:
- fsevents: 2.3.2
- dev: false
-
- /cmd-ts@0.12.1:
- resolution: {integrity: sha512-k93f6LgFEzx7/vBy5qV+tu1VI8YuH0DZmwNXPvRaDR4Qp7Fl9+pUSylX/CKHrWoKqHMJjNOLb1NeYTvHOjQ2Kw==}
- dependencies:
- chalk: 4.1.2
- debug: 4.3.4
- didyoumean: 1.2.2
- strip-ansi: 6.0.1
- transitivePeerDependencies:
- - supports-color
- dev: false
-
- /color-convert@2.0.1:
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
- dependencies:
- color-name: 1.1.4
- dev: false
-
- /color-name@1.1.4:
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
- dev: false
-
- /commander@4.1.1:
- resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
- engines: {node: '>= 6'}
- dev: false
-
- /concat-map@0.0.1:
- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
- dev: false
-
- /cross-spawn@7.0.3:
- resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
- engines: {node: '>= 8'}
- dependencies:
- path-key: 3.1.1
- shebang-command: 2.0.0
- which: 2.0.2
- dev: false
-
- /debug@4.3.4:
- resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
- engines: {node: '>=6.0'}
- peerDependencies:
- supports-color: '*'
- peerDependenciesMeta:
- supports-color:
- optional: true
- dependencies:
- ms: 2.1.2
- dev: false
-
- /detect-package-manager@2.0.1:
- resolution: {integrity: sha512-j/lJHyoLlWi6G1LDdLgvUtz60Zo5GEj+sVYtTVXnYLDPuzgC3llMxonXym9zIwhhUII8vjdw0LXxavpLqTbl1A==}
- engines: {node: '>=12'}
- dependencies:
- execa: 5.1.1
- dev: false
-
- /didyoumean@1.2.2:
- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
- dev: false
-
- /dir-glob@3.0.1:
- resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
- engines: {node: '>=8'}
- dependencies:
- path-type: 4.0.0
- dev: false
-
- /esbuild@0.18.12:
- resolution: {integrity: sha512-XuOVLDdtsDslXStStduT41op21Ytmf4/BDS46aa3xPJ7X5h2eMWBF1oAe3QjUH3bDksocNXgzGUZ7XHIBya6Tg==}
- engines: {node: '>=12'}
- hasBin: true
- requiresBuild: true
- optionalDependencies:
- '@esbuild/android-arm': 0.18.12
- '@esbuild/android-arm64': 0.18.12
- '@esbuild/android-x64': 0.18.12
- '@esbuild/darwin-arm64': 0.18.12
- '@esbuild/darwin-x64': 0.18.12
- '@esbuild/freebsd-arm64': 0.18.12
- '@esbuild/freebsd-x64': 0.18.12
- '@esbuild/linux-arm': 0.18.12
- '@esbuild/linux-arm64': 0.18.12
- '@esbuild/linux-ia32': 0.18.12
- '@esbuild/linux-loong64': 0.18.12
- '@esbuild/linux-mips64el': 0.18.12
- '@esbuild/linux-ppc64': 0.18.12
- '@esbuild/linux-riscv64': 0.18.12
- '@esbuild/linux-s390x': 0.18.12
- '@esbuild/linux-x64': 0.18.12
- '@esbuild/netbsd-x64': 0.18.12
- '@esbuild/openbsd-x64': 0.18.12
- '@esbuild/sunos-x64': 0.18.12
- '@esbuild/win32-arm64': 0.18.12
- '@esbuild/win32-ia32': 0.18.12
- '@esbuild/win32-x64': 0.18.12
- dev: false
-
- /execa@5.1.1:
- resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
- engines: {node: '>=10'}
- dependencies:
- cross-spawn: 7.0.3
- get-stream: 6.0.1
- human-signals: 2.1.0
- is-stream: 2.0.1
- merge-stream: 2.0.0
- npm-run-path: 4.0.1
- onetime: 5.1.2
- signal-exit: 3.0.7
- strip-final-newline: 2.0.0
- dev: false
-
- /execa@7.1.1:
- resolution: {integrity: sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==}
- engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0}
- dependencies:
- cross-spawn: 7.0.3
- get-stream: 6.0.1
- human-signals: 4.3.1
- is-stream: 3.0.0
- merge-stream: 2.0.0
- npm-run-path: 5.1.0
- onetime: 6.0.0
- signal-exit: 3.0.7
- strip-final-newline: 3.0.0
- dev: false
-
- /fast-glob@3.3.0:
- resolution: {integrity: sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==}
- engines: {node: '>=8.6.0'}
- dependencies:
- '@nodelib/fs.stat': 2.0.5
- '@nodelib/fs.walk': 1.2.8
- glob-parent: 5.1.2
- merge2: 1.4.1
- micromatch: 4.0.5
- dev: false
-
- /fastq@1.15.0:
- resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==}
- dependencies:
- reusify: 1.0.4
- dev: false
-
- /fill-range@7.0.1:
- resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
- engines: {node: '>=8'}
- dependencies:
- to-regex-range: 5.0.1
- dev: false
-
- /fs.realpath@1.0.0:
- resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
- dev: false
-
- /fsevents@2.3.2:
- resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
- /get-stream@6.0.1:
- resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}
- engines: {node: '>=10'}
- dev: false
-
- /glob-parent@5.1.2:
- resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
- engines: {node: '>= 6'}
- dependencies:
- is-glob: 4.0.3
- dev: false
-
- /glob@7.1.6:
- resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==}
- dependencies:
- fs.realpath: 1.0.0
- inflight: 1.0.6
- inherits: 2.0.4
- minimatch: 3.1.2
- once: 1.4.0
- path-is-absolute: 1.0.1
- dev: false
-
- /globby@11.1.0:
- resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
- engines: {node: '>=10'}
- dependencies:
- array-union: 2.1.0
- dir-glob: 3.0.1
- fast-glob: 3.3.0
- ignore: 5.2.4
- merge2: 1.4.1
- slash: 3.0.0
- dev: false
-
- /has-flag@4.0.0:
- resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
- engines: {node: '>=8'}
- dev: false
-
- /human-signals@2.1.0:
- resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
- engines: {node: '>=10.17.0'}
- dev: false
-
- /human-signals@4.3.1:
- resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==}
- engines: {node: '>=14.18.0'}
- dev: false
-
- /ignore@5.2.4:
- resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
- engines: {node: '>= 4'}
- dev: false
-
- /inflight@1.0.6:
- resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
- dependencies:
- once: 1.4.0
- wrappy: 1.0.2
- dev: false
-
- /inherits@2.0.4:
- resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
- dev: false
-
- /is-binary-path@2.1.0:
- resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
- engines: {node: '>=8'}
- dependencies:
- binary-extensions: 2.2.0
- dev: false
-
- /is-extglob@2.1.1:
- resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
- engines: {node: '>=0.10.0'}
- dev: false
-
- /is-glob@4.0.3:
- resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
- engines: {node: '>=0.10.0'}
- dependencies:
- is-extglob: 2.1.1
- dev: false
-
- /is-number@7.0.0:
- resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
- engines: {node: '>=0.12.0'}
- dev: false
-
- /is-stream@2.0.1:
- resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
- engines: {node: '>=8'}
- dev: false
-
- /is-stream@3.0.0:
- resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dev: false
-
- /isexe@2.0.0:
- resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
- dev: false
-
- /jiti@1.17.0:
- resolution: {integrity: sha512-CByzPgFqYoB9odEeef7GNmQ3S5THIBOtzRYoSCya2Sv27AuQxy2jgoFjQ6VTF53xsq1MXRm+YWNvOoDHUAteOw==}
- hasBin: true
- dev: true
-
- /joycon@3.1.1:
- resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
- engines: {node: '>=10'}
- dev: false
-
- /lilconfig@2.1.0:
- resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}
- engines: {node: '>=10'}
- dev: false
-
- /lines-and-columns@1.2.4:
- resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
- dev: false
-
- /load-tsconfig@0.2.5:
- resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dev: false
-
- /lodash.sortby@4.7.0:
- resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==}
- dev: false
-
- /merge-stream@2.0.0:
- resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
- dev: false
-
- /merge2@1.4.1:
- resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
- engines: {node: '>= 8'}
- dev: false
-
- /micromatch@4.0.5:
- resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
- engines: {node: '>=8.6'}
- dependencies:
- braces: 3.0.2
- picomatch: 2.3.1
- dev: false
-
- /mimic-fn@2.1.0:
- resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}
- engines: {node: '>=6'}
- dev: false
-
- /mimic-fn@4.0.0:
- resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}
- engines: {node: '>=12'}
- dev: false
-
- /minimatch@3.1.2:
- resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
- dependencies:
- brace-expansion: 1.1.11
- dev: false
-
- /ms@2.1.2:
- resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
- dev: false
-
- /mz@2.7.0:
- resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
- dependencies:
- any-promise: 1.3.0
- object-assign: 4.1.1
- thenify-all: 1.6.0
- dev: false
-
- /normalize-path@3.0.0:
- resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
- engines: {node: '>=0.10.0'}
- dev: false
-
- /npm-run-path@4.0.1:
- resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}
- engines: {node: '>=8'}
- dependencies:
- path-key: 3.1.1
- dev: false
-
- /npm-run-path@5.1.0:
- resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dependencies:
- path-key: 4.0.0
- dev: false
-
- /object-assign@4.1.1:
- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
- engines: {node: '>=0.10.0'}
- dev: false
-
- /once@1.4.0:
- resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
- dependencies:
- wrappy: 1.0.2
- dev: false
-
- /onetime@5.1.2:
- resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}
- engines: {node: '>=6'}
- dependencies:
- mimic-fn: 2.1.0
- dev: false
-
- /onetime@6.0.0:
- resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==}
- engines: {node: '>=12'}
- dependencies:
- mimic-fn: 4.0.0
- dev: false
-
- /path-is-absolute@1.0.1:
- resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
- engines: {node: '>=0.10.0'}
- dev: false
-
- /path-key@3.1.1:
- resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
- engines: {node: '>=8'}
- dev: false
-
- /path-key@4.0.0:
- resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}
- engines: {node: '>=12'}
- dev: false
-
- /path-type@4.0.0:
- resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
- engines: {node: '>=8'}
- dev: false
-
- /picocolors@1.0.0:
- resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
- dev: false
-
- /picomatch@2.3.1:
- resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
- engines: {node: '>=8.6'}
- dev: false
-
- /pirates@4.0.6:
- resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
- engines: {node: '>= 6'}
- dev: false
-
- /postcss-load-config@4.0.1:
- resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==}
- engines: {node: '>= 14'}
- peerDependencies:
- postcss: '>=8.0.9'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- postcss:
- optional: true
- ts-node:
- optional: true
- dependencies:
- lilconfig: 2.1.0
- yaml: 2.3.1
- dev: false
-
- /punycode@2.3.0:
- resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
- engines: {node: '>=6'}
- dev: false
-
- /queue-microtask@1.2.3:
- resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
- dev: false
-
- /readdirp@3.6.0:
- resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
- engines: {node: '>=8.10.0'}
- dependencies:
- picomatch: 2.3.1
- dev: false
-
- /resolve-from@5.0.0:
- resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
- engines: {node: '>=8'}
- dev: false
-
- /reusify@1.0.4:
- resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
- engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
- dev: false
-
- /rollup@3.26.2:
- resolution: {integrity: sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==}
- engines: {node: '>=14.18.0', npm: '>=8.0.0'}
- hasBin: true
- optionalDependencies:
- fsevents: 2.3.2
- dev: false
-
- /run-parallel@1.2.0:
- resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
- dependencies:
- queue-microtask: 1.2.3
- dev: false
-
- /shebang-command@2.0.0:
- resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
- engines: {node: '>=8'}
- dependencies:
- shebang-regex: 3.0.0
- dev: false
-
- /shebang-regex@3.0.0:
- resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
- engines: {node: '>=8'}
- dev: false
-
- /signal-exit@3.0.7:
- resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
- dev: false
-
- /sisteransi@1.0.5:
- resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
- dev: false
-
- /slash@3.0.0:
- resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
- engines: {node: '>=8'}
- dev: false
-
- /source-map@0.8.0-beta.0:
- resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==}
- engines: {node: '>= 8'}
- dependencies:
- whatwg-url: 7.1.0
- dev: false
-
- /strip-ansi@6.0.1:
- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
- engines: {node: '>=8'}
- dependencies:
- ansi-regex: 5.0.1
- dev: false
-
- /strip-final-newline@2.0.0:
- resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
- engines: {node: '>=6'}
- dev: false
-
- /strip-final-newline@3.0.0:
- resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}
- engines: {node: '>=12'}
- dev: false
-
- /sucrase@3.32.0:
- resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==}
- engines: {node: '>=8'}
- hasBin: true
- dependencies:
- '@jridgewell/gen-mapping': 0.3.3
- commander: 4.1.1
- glob: 7.1.6
- lines-and-columns: 1.2.4
- mz: 2.7.0
- pirates: 4.0.6
- ts-interface-checker: 0.1.13
- dev: false
-
- /supports-color@7.2.0:
- resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
- engines: {node: '>=8'}
- dependencies:
- has-flag: 4.0.0
- dev: false
-
- /thenify-all@1.6.0:
- resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
- engines: {node: '>=0.8'}
- dependencies:
- thenify: 3.3.1
- dev: false
-
- /thenify@3.3.1:
- resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}
- dependencies:
- any-promise: 1.3.0
- dev: false
-
- /to-regex-range@5.0.1:
- resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
- engines: {node: '>=8.0'}
- dependencies:
- is-number: 7.0.0
- dev: false
-
- /tr46@1.0.1:
- resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==}
- dependencies:
- punycode: 2.3.0
- dev: false
-
- /tree-kill@1.2.2:
- resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
- hasBin: true
- dev: false
-
- /ts-interface-checker@0.1.13:
- resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
- dev: false
-
- /tsup@7.1.0(@swc/core@1.3.68):
- resolution: {integrity: sha512-mazl/GRAk70j8S43/AbSYXGgvRP54oQeX8Un4iZxzATHt0roW0t6HYDVZIXMw0ZQIpvr1nFMniIVnN5186lW7w==}
- engines: {node: '>=16.14'}
- hasBin: true
- peerDependencies:
- '@swc/core': ^1
- postcss: ^8.4.12
- typescript: '>=4.1.0'
- peerDependenciesMeta:
- '@swc/core':
- optional: true
- postcss:
- optional: true
- typescript:
- optional: true
- dependencies:
- '@swc/core': 1.3.68
- bundle-require: 4.0.1(esbuild@0.18.12)
- cac: 6.7.14
- chokidar: 3.5.3
- debug: 4.3.4
- esbuild: 0.18.12
- execa: 5.1.1
- globby: 11.1.0
- joycon: 3.1.1
- postcss-load-config: 4.0.1
- resolve-from: 5.0.0
- rollup: 3.26.2
- source-map: 0.8.0-beta.0
- sucrase: 3.32.0
- tree-kill: 1.2.2
- transitivePeerDependencies:
- - supports-color
- - ts-node
- dev: false
-
- /webidl-conversions@4.0.2:
- resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==}
- dev: false
-
- /whatwg-url@7.1.0:
- resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==}
- dependencies:
- lodash.sortby: 4.7.0
- tr46: 1.0.1
- webidl-conversions: 4.0.2
- dev: false
-
- /which@2.0.2:
- resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
- engines: {node: '>= 8'}
- hasBin: true
- dependencies:
- isexe: 2.0.0
- dev: false
-
- /wrappy@1.0.2:
- resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
- dev: false
-
- /yaml@2.3.1:
- resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==}
- engines: {node: '>= 14'}
- dev: false
diff --git a/packages/core/src/command_handlers/add.ts b/packages/core/src/command_handlers/add.ts
deleted file mode 100644
index 40e9eef..0000000
--- a/packages/core/src/command_handlers/add.ts
+++ /dev/null
@@ -1,154 +0,0 @@
-import { autocomplete } from "@solid-cli/ui";
-import { S_BAR, cancelable } from "@solid-cli/ui";
-import { Integrations, PluginOptions, Supported, integrations, setRootFile, transformPlugins } from "../lib/transform";
-import * as p from "@clack/prompts";
-import color from "picocolors";
-import { detect } from "detect-package-manager";
-import { $ } from "execa";
-import { loadPrimitives } from "../lib/utils/primitives";
-import { primitives } from "../lib/utils/primitives";
-import { t } from "@solid-cli/utils";
-import { spinnerify } from "../lib/utils/ui";
-import { fileExists, getRootFile, getViteConfig, validateFilePath } from "../lib/utils/helpers";
-import { writeFile } from "fs/promises";
-
-const handleAutocompleteAdd = async () => {
- const supportedIntegrations = (Object.keys(integrations) as Supported[]).map((value) => ({ label: value, value }));
- const opts = () => [...supportedIntegrations, ...primitives()];
- loadPrimitives().catch((e) => p.log.error(e));
- const a = await cancelable(
- autocomplete({
- message: t.ADD_PACKAGES,
- options: opts,
- }),
- );
-
- if (a.length === 0) {
- p.log.warn(t.NOTHING_SELECTED);
- return;
- }
- const shouldInstall = await cancelable(
- p.select({
- options: [
- { label: t.YES, value: true },
- { label: t.NO, value: false },
- { label: t.YES_FORCE, value: [true, "force"] },
- ],
- message: `${t.CONFIRM_INSTALL(a.length)} \n${color.red(S_BAR)} \n${color.red(S_BAR)} ${
- " " + color.yellow(a.map((opt) => opt.label).join(" ")) + " "
- } \n${color.red(S_BAR)} `,
- }),
- );
-
- if (!shouldInstall) return;
-
- let forceTransform = false;
- if (Array.isArray(shouldInstall) && shouldInstall[1] === "force") {
- forceTransform = true;
- }
- const packages = a.map((opt) => opt.value as Supported);
-
- return { packages, forceTransform };
-};
-const isIntegration = (str: string) => {
- if (Object.keys(integrations).includes(str)) return true;
- return false;
-};
-/**
- * Transforms a list containing primitives, either by name or full package name, and returns the corresponding primitive objects
- */
-const transformPrimitives = async (ps: string[]) => {
- if (!ps.length) return [];
- if (!primitives().length) {
- await spinnerify({
- startText: t.LOADING_PRIMITIVES,
- finishText: t.PRIMITIVES_LOADED,
- fn: loadPrimitives,
- });
- }
- const mappedInput = ps.map((p) => p.replace("@solid-primitives/", ""));
- return primitives().filter((p) => mappedInput.includes(p.value.replace("@solid-primitives/", "")));
-};
-type Configs = Integrations[keyof Integrations][];
-export const handleAdd = async (packages?: string[], forceTransform: boolean = false) => {
- if (!packages?.length) {
- const autocompleted = await handleAutocompleteAdd();
-
- if (!autocompleted) return;
-
- packages = autocompleted.packages;
- forceTransform = autocompleted.forceTransform;
- }
- const possiblePrimitives: string[] = [];
- const configs: Configs = packages
- .map((n) => {
- if (!n) return;
- if (!isIntegration(n)) {
- possiblePrimitives.push(n);
- return;
- }
- const res = integrations[n as Supported];
- if (!res) {
- p.log.error(t.NO_SUPPORT(n));
- return;
- }
- return res;
- })
- .filter((p) => p) as Configs;
-
- const viteConfig = await getViteConfig();
-
- const code = await transformPlugins(
- configs.map((c) => c.pluginOptions).filter(Boolean) as PluginOptions[],
- forceTransform,
- undefined,
- viteConfig,
- );
- await writeFile(viteConfig, code);
- p.log.success(t.CONFIG_UPDATED);
- const pM = await detect();
- await spinnerify([
- {
- startText: t.INSTALLING_VIA(pM),
- finishText: t.PACKAGES_INSTALLED,
- fn: async () => {
- for (let i = 0; i < configs.length; i++) {
- const config = configs[i];
- await $`${pM} install ${config.installs}`;
- }
- // Install primitives
- for (const primitive of await transformPrimitives(possiblePrimitives)) {
- await $`${pM} install ${primitive.value}`;
- }
- },
- },
- ]);
- if (configs.length) {
- p.log.info("Preparing post install steps for integrations");
- let projectRoot = await getRootFile();
- setRootFile(projectRoot);
- if (!fileExists(projectRoot)) {
- p.log.error(color.red(`Can't find root file \`${projectRoot.split("/")[1]}\`.`));
- await cancelable(
- p.text({
- message: `Type path to root: `,
- validate(value) {
- if (!value.length) return `Path can not be empty`;
- const path = validateFilePath(value, ["root.tsx", "index.tsx"]);
- if (!path) return `File at \`${value}\` not found. Please try again`;
- else setRootFile(path);
- },
- }),
- );
- }
- await spinnerify({
- startText: t.POST_INSTALL,
- finishText: t.POST_INSTALL_COMPLETE,
- fn: async () => {
- for (const cfg of configs) {
- await cfg.postInstall?.();
- }
- },
- });
- }
-};
diff --git a/packages/core/src/command_handlers/new.ts b/packages/core/src/command_handlers/new.ts
deleted file mode 100644
index 3a48c2a..0000000
--- a/packages/core/src/command_handlers/new.ts
+++ /dev/null
@@ -1,130 +0,0 @@
-import * as p from "@clack/prompts";
-import { openInBrowser } from "../lib/utils/open";
-import { PM, detect } from "detect-package-manager";
-import { execa } from "execa";
-import { cancelable } from "@solid-cli/ui";
-import { t } from "@solid-cli/utils";
-import { spinnerify } from "../lib/utils/ui";
-
-const startSupported = [
- "bare",
- "hackernews",
- "todomvc",
- "with-auth",
- "with-authjs",
- "with-mdx",
- "with-prisma",
- "with-solid-styled",
- "with-tailwindcss",
- "with-trpc",
- "with-vitest",
- "with-websocket",
-] as const;
-const localSupported = ["ts", "js"] as const;
-const stackblitzSupported = ["bare"] as const;
-
-type AllSupported = (typeof localSupported)[number] | (typeof stackblitzSupported)[number];
-export const getRunner = (pM: PM) => {
- switch (pM) {
- case "npm":
- return "npx";
- case "yarn":
- return "npx";
- case "pnpm":
- return "pnpx";
- }
-};
-
-const handleNewStartProject = async (projectName: string) => {
- const template = await cancelable(
- p.select({
- message: t.NEW_START,
- initialValue: "ts",
- options: startSupported.map((s) => ({ label: s, value: s })),
- }),
- );
-
- const pM = await detect();
- await spinnerify({
- startText: t.CREATING_PROJECT,
- finishText: t.PROJECT_CREATED,
- fn: () =>
- execa(
- getRunner(pM),
- ["degit", `solidjs/solid-start/examples/${template}#main`, projectName].filter((e) => e !== null) as string[],
- ),
- });
- p.log.info(`${t.GET_STARTED}
- - cd ${projectName}
- - npm install
- - npm run dev`);
-};
-
-const handleAutocompleteNew = async () => {
- const name = await cancelable(
- p.text({ message: t.PROJECT_NAME, placeholder: "solid-project", defaultValue: "solid-project" }),
- );
-
- const isStart = await cancelable(p.confirm({ message: t.IS_START_PROJECT }));
-
- if (isStart) {
- handleNewStartProject(name);
- return;
- }
-
- const template = await cancelable(
- p.select({
- message: t.TEMPLATE,
- initialValue: "ts",
- options: localSupported.map((s) => ({ label: s, value: s })),
- }),
- );
-
- const pM = await detect();
- const projectName = name ?? "solid-project";
- await spinnerify({
- startText: t.CREATING_PROJECT,
- finishText: t.PROJECT_CREATED,
- fn: () =>
- execa(
- getRunner(pM),
- ["degit", `solidjs/templates/${template}`, projectName].filter((e) => e !== null) as string[],
- ),
- });
-
- p.log.info(`${t.GET_STARTED}
- - cd ${projectName}
- - npm install
- - npm run dev`);
-};
-export const handleNew = async (variation?: AllSupported, name?: string, stackblitz: boolean = false) => {
- if (!variation) {
- await handleAutocompleteNew();
- return;
- }
-
- if (stackblitz) {
- await spinnerify({
- startText: t.OPENING_IN_BROWSER(variation),
- finishText: t.OPENED_IN_BROWSER,
- fn: () => openInBrowser(`https://solid.new/${variation}`),
- });
- return;
- }
-
- const pM = await detect();
-
- await spinnerify({
- startText: t.CREATING_PROJECT,
- finishText: t.PROJECT_CREATED,
- fn: () =>
- execa(
- getRunner(pM),
- ["degit", `solidjs/templates/${variation}`, name ?? null].filter((e) => e !== null) as string[],
- ),
- });
- p.log.info(`${t.GET_STARTED}
- - cd ${name}
- - npm install
- - npm run dev`);
-};
diff --git a/packages/core/src/command_handlers/start/adapter.ts b/packages/core/src/command_handlers/start/adapter.ts
deleted file mode 100644
index 3595b62..0000000
--- a/packages/core/src/command_handlers/start/adapter.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-import { writeFile } from "fs/promises";
-import { transformPlugins } from "../../lib/transform";
-import * as p from "@clack/prompts";
-import { cancelable } from "@solid-cli/ui";
-
-export const supportedAdapters = [
- "aws",
- "cloudflare-pages",
- "cloudflare-workers",
- "deno",
- "netlify",
- "node",
- "static",
- "vercel",
-] as const;
-
-type SupportedAdapters = (typeof supportedAdapters)[number];
-
-const handleAutocompleteAdapter = async () => {
- const name = (await cancelable(
- p.select({
- message: "Select an adapter",
- options: supportedAdapters.map((a) => ({ value: a, label: a })),
- }),
- )) as SupportedAdapters;
- await handleAdapter(name, true);
-};
-
-export const handleAdapter = async (name?: string, forceTransform = false) => {
- if (!name) {
- await handleAutocompleteAdapter();
- return;
- }
- const sym = Symbol(name).toString();
- let code = await transformPlugins(
- [
- {
- importName: "solid",
- importSource: "solid-start/vite",
- isDefault: true,
- options: { adapter: sym },
- },
- ],
- forceTransform,
- );
- code = `import ${name} from "solid-start-${name}";\n` + code;
- code = code.replace(`"${sym}"`, `${name}({})`);
- await writeFile("vite.config.ts", code);
-};
diff --git a/packages/core/src/command_handlers/start/api.ts b/packages/core/src/command_handlers/start/api.ts
deleted file mode 100644
index 3a96a35..0000000
--- a/packages/core/src/command_handlers/start/api.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-import { isSolidStart } from "../../lib/utils/solid_start";
-import * as p from "@clack/prompts";
-import { spinnerify } from "../../lib/utils/ui";
-import { createApi } from "../../lib/start/add_api";
-import { cancelable } from "@solid-cli/ui";
-
-const handleAutocompleteApi = async () => {
- const path = await cancelable(
- p.text({
- message: "Enter the path in which the api file will be created",
- placeholder: "/user",
- validate(value) {
- if (!value.length) return "Path is required";
- },
- }),
- );
-
- const name = await cancelable(
- p.text({
- message: "Enter the name for the api file (required)",
- validate(value) {
- if (!value.length) return "Name is required";
- },
- }),
- );
-
- await handleApi(path, name);
-};
-export const handleApi = async (path?: string, name?: string) => {
- if (!(await isSolidStart())) {
- p.log.error("Cannot run command. Your project doesn't include solid-start");
- return;
- }
- if (!path) {
- await handleAutocompleteApi();
- return;
- }
- await spinnerify({
- startText: "Creating new api file",
- finishText: "Api file created",
- fn: () => createApi(path, name),
- });
-};
diff --git a/packages/core/src/command_handlers/start/data.ts b/packages/core/src/command_handlers/start/data.ts
deleted file mode 100644
index 01c60f0..0000000
--- a/packages/core/src/command_handlers/start/data.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import { createData } from "../../lib/start/add_data";
-import { isSolidStart } from "../../lib/utils/solid_start";
-import * as p from "@clack/prompts";
-import { spinnerify } from "../../lib/utils/ui";
-import { cancelable } from "@solid-cli/ui";
-
-const handleAutocompleteData = async () => {
- const path = await cancelable(
- p.text({
- message: "Enter the path in which the data file will be created",
- placeholder: "/user/login",
- validate(value) {
- if (!value.length) return "Path is required";
- },
- }),
- );
-
- const name = await cancelable(
- p.text({
- message: "Enter the name for the data file (leave this blank for the default)",
- }),
- );
-
- await handleData(path, name);
-};
-
-export const handleData = async (path?: string, name?: string) => {
- if (!(await isSolidStart())) {
- p.log.error("Cannot run command. Your project doesn't include solid-start");
- return;
- }
- if (!path) {
- await handleAutocompleteData();
- return;
- }
- await spinnerify({
- startText: "Creating new data file",
- finishText: "Data file created",
- fn: () => createData(path, name),
- });
-};
diff --git a/packages/core/src/command_handlers/start/mode.ts b/packages/core/src/command_handlers/start/mode.ts
deleted file mode 100644
index 12b92d9..0000000
--- a/packages/core/src/command_handlers/start/mode.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import { writeFile } from "fs/promises";
-import { transformPlugins } from "../../lib/transform";
-import { isSolidStart } from "../../lib/utils/solid_start";
-import * as p from "@clack/prompts";
-import { cancelable } from "@solid-cli/ui";
-
-export const supportedModes = ["csr", "ssr", "ssg"] as const;
-type SupportedModes = (typeof supportedModes)[number];
-
-const handleAutocompleteMode = async () => {
- const mode = (await cancelable(
- p.select({
- message: "Select a mode",
- options: supportedModes.map((a) => ({ value: a, label: a.toUpperCase() })),
- }),
- )) as SupportedModes;
- await handleMode(mode);
-};
-
-export const handleMode = async (mode?: SupportedModes) => {
- if (!(await isSolidStart())) {
- p.log.error("Cannot run command. Your project doesn't include solid-start");
- return;
- }
- if (!mode) {
- handleAutocompleteMode();
- return;
- }
- p.log.info("Updating config");
- if (mode != "ssg") {
- const newConfig = await transformPlugins(
- [
- {
- importName: "solid",
- importSource: "solid-start/vite",
- isDefault: true,
- options: { ssr: mode === "ssr" },
- },
- ],
- true,
- true,
- );
- await writeFile("vite.config.ts", newConfig);
- }
-};
diff --git a/packages/core/src/command_handlers/start/route.ts b/packages/core/src/command_handlers/start/route.ts
deleted file mode 100644
index 72ece24..0000000
--- a/packages/core/src/command_handlers/start/route.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import * as p from "@clack/prompts";
-import { isSolidStart } from "../../lib/utils/solid_start";
-import { createRoute } from "../../lib/start/add_route";
-import { spinnerify } from "../../lib/utils/ui";
-import { cancelable } from "@solid-cli/ui";
-const handleAutocompleteRoute = async () => {
- const path = await cancelable(
- p.text({
- message: "Please provide a path for the route",
- placeholder: "/user/login",
- validate(value) {
- if (!value.length) return "Path is required";
- },
- }),
- );
- const name = await cancelable(
- p.text({
- message: "Please provide a name for the route",
-
- validate(value) {
- if (!value.length) return "Name for route is required";
- },
- }),
- );
-
- await handleRoute(path, name);
-};
-export const handleRoute = async (path?: string, name?: string) => {
- if (!(await isSolidStart())) {
- p.log.error("Cannot run command. Your project doesn't include solid-start");
- return;
- }
- if (!path) {
- await handleAutocompleteRoute();
- return;
- }
- await spinnerify({
- startText: "Creating new route",
- finishText: "Route created",
- fn: () => createRoute(path, name),
- });
-};
diff --git a/packages/core/src/commands/index.ts b/packages/core/src/commands/index.ts
deleted file mode 100644
index 2861a77..0000000
--- a/packages/core/src/commands/index.ts
+++ /dev/null
@@ -1,105 +0,0 @@
-import { openInBrowser } from "../lib/utils/open";
-import { startCommands } from "./start";
-import * as p from "@clack/prompts";
-import { boolean, command, flag, optional, positional, restPositionals, string } from "cmd-ts";
-import { oneOf } from "../lib/utils/oneOf";
-import { handleAdd } from "../command_handlers/add";
-import { handleNew } from "../command_handlers/new";
-import { cancelable } from "@solid-cli/ui";
-import { t } from "@solid-cli/utils";
-import { spinnerify } from "../lib/utils/ui";
-import { configInst } from "@solid-cli/utils";
-
-const add = command({
- name: "add",
- description: t.ADD_DESC,
- args: {
- packages: restPositionals({
- type: string,
- displayName: "Package Name",
- }),
- forceTransform: flag({ type: boolean, long: "force", short: "f" }),
- },
- handler: async ({ packages, forceTransform }) => {
- await handleAdd(packages, forceTransform);
- },
-});
-const new_ = command({
- name: "new",
- description: t.NEW_DESC,
- args: {
- variation: positional({
- type: optional(oneOf(["bare", "ts", "js"] as const)),
- displayName: t.NEW_VARIATION_DESC,
- description: "",
- }),
- name: positional({
- type: optional(string),
- displayName: t.PROJECT_NAME,
- description: t.NEW_NAME_DESC,
- }),
- stackblitz: flag({ type: boolean, long: "stackblitz", short: "s" }),
- },
- async handler({ variation, name, stackblitz }) {
- if (!name && variation) {
- const _name = await cancelable(
- p.text({
- message: t.PROJECT_NAME,
- placeholder: `solid-${variation}`,
- defaultValue: `solid-${variation}`,
- }),
- );
- name = _name;
- }
- await handleNew(variation, name, stackblitz);
- },
-});
-const docs = command({
- name: "docs",
- args: {
- keyword: positional({ type: optional(string), displayName: "Keyword" }),
- open: flag({ type: boolean, long: "open", short: "o" }),
- },
- async handler({ keyword, open }) {
- if (!keyword) {
- if (open) {
- await spinnerify({
- startText: "Opening",
- finishText: "Opened",
- fn: () => openInBrowser("https://docs.solidjs.com"),
- });
- return;
- }
- p.log.message("The solid documentation is available at https://docs.solidjs.com");
- return;
- }
- await spinnerify({
- startText: "Opening",
- finishText: "Opened",
- fn: () =>
- openInBrowser(
- `https://www.google.com/search?q=${keyword}+site:docs.solidjs.com+OR+site:start.solidjs.com+OR+site:solidjs.com`,
- ),
- });
- },
-});
-const set = command({
- name: "set",
- args: { field: positional({ type: string }), value: positional({ type: string }) },
- async handler({ field, value }) {
- try {
- configInst.setField(field, value);
- } catch (e) {
- if (e instanceof Error) p.log.error(e.message);
- return;
- }
- await configInst.writeConfig();
- },
-});
-export default {
- add,
- docs,
- new: new_,
- set,
- start: startCommands,
-};
diff --git a/packages/core/src/commands/start.ts b/packages/core/src/commands/start.ts
deleted file mode 100644
index e0c34b1..0000000
--- a/packages/core/src/commands/start.ts
+++ /dev/null
@@ -1,90 +0,0 @@
-import { command, flag, optional, positional, string, subcommands } from "cmd-ts";
-import { oneOf } from "../lib/utils/oneOf";
-import { handleMode, supportedModes } from "../command_handlers/start/mode";
-import { handleRoute } from "../command_handlers/start/route";
-import { handleData } from "../command_handlers/start/data";
-import { handleAdapter, supportedAdapters } from "../command_handlers/start/adapter";
-import { handleApi } from "../command_handlers/start/api";
-import { t } from "@solid-cli/utils";
-
-const mode = command({
- name: "mode",
- args: {
- mode: positional({
- type: optional(oneOf(supportedModes)),
- displayName: "Mode",
- description: t.START_MODE_DESC,
- }),
- },
- async handler({ mode }) {
- await handleMode(mode);
- },
-});
-const route = command({
- name: "route",
- args: {
- path: positional({ type: optional(string), displayName: "Route Path" }),
- name: positional({
- type: optional(string),
- displayName: "Route name",
- description: t.START_ROUTE_DESC,
- }),
- },
- async handler({ path, name }) {
- await handleRoute(path, name);
- },
-});
-const data = command({
- name: "data",
- args: {
- path: positional({ type: optional(string), displayName: "Data Path" }),
- name: positional({
- type: optional(string),
- displayName: "Data name",
- description: t.START_DATA_DESC,
- }),
- },
- async handler({ path, name }) {
- await handleData(path, name);
- },
-});
-const adapter = command({
- name: "adapter",
- args: {
- name: positional({
- type: optional(oneOf(supportedAdapters)),
- displayName: t.START_ADAPTER_DISPLAYNAME,
- }),
- forceTransform: flag({ short: "f", long: "force" }),
- },
- async handler({ name, forceTransform }) {
- await handleAdapter(name, forceTransform);
- },
-});
-
-const api = command({
- name: "api",
- args: {
- path: positional({ type: optional(string), displayName: "Api Path" }),
- name: positional({
- type: optional(string),
- displayName: t.START_API_DISPLAYNAME,
- description: t.START_API_HINT,
- }),
- },
- async handler({ path, name }) {
- await handleApi(path, name);
- },
-});
-
-export const startCommands = subcommands({
- name: "start",
- description: "Commands specific to solid start",
- cmds: {
- mode,
- route,
- data,
- adapter,
- api,
- },
-});
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
deleted file mode 100644
index b70c58a..0000000
--- a/packages/core/src/index.ts
+++ /dev/null
@@ -1,109 +0,0 @@
-#! /usr/bin/env node
-import { run, subcommands } from "cmd-ts";
-import * as p from "@clack/prompts";
-import color from "picocolors";
-import { handleAdd } from "./command_handlers/add";
-import { handleNew } from "./command_handlers/new";
-import { handleMode } from "./command_handlers/start/mode";
-import { handleAdapter } from "./command_handlers/start/adapter";
-import { handleData } from "./command_handlers/start/data";
-import { handleRoute } from "./command_handlers/start/route";
-
-import { t, setLocale } from "@solid-cli/utils";
-import { name, version } from "../package.json";
-import { configInst } from "@solid-cli/utils";
-import loadCommands from "./plugins/plugins_entry";
-import updater from "tiny-updater";
-import { createAsync } from "@solid-cli/reactivity";
-import { handleApi } from "./command_handlers/start/api";
-const possibleActions = () =>
- [
- { value: "add", label: t.ACTION_ADD, hint: "solid add ..." },
- { value: "new", label: t.ACTION_NEW, hint: "solid new ..." },
- { value: "start", label: t.ACTION_START, hint: "solid start ..." },
- ] as const;
-
-export const provideStartSuggestions = async () => {
- let startAction = await p.select({
- message: t.SELECT_START_ACTION,
- options: [
- { value: "mode", label: t.START_MODE, hint: t.START_MODE_HINT },
- { value: "route", label: t.START_ROUTE, hint: t.START_ROUTE_HINT },
- { value: "data", label: t.START_DATA, hint: t.START_DATA_HINT },
- {
- value: "adapter",
- label: t.START_ADAPTER,
- hint: t.START_ADAPTER_HINT,
- },
- {
- value: "api",
- label: t.START_API,
- hint: t.START_API_HINT,
- },
- ],
- });
- switch (startAction) {
- case "mode":
- await handleMode();
- break;
- case "route":
- await handleRoute();
- break;
- case "data":
- await handleData();
- break;
- case "adapter":
- await handleAdapter();
- break;
- case "api":
- await handleApi();
- break;
- }
-};
-
-const provideSuggestions = async () => {
- type ActionType = ReturnType[number]["value"];
- let action = (await p.select({
- message: t.SELECT_ACTION,
- // This thing really doesn't like `as const` things
- options: possibleActions() as any,
- })) as ActionType;
- if (!action) return;
- switch (action) {
- case "add":
- await handleAdd();
- break;
- case "new":
- await handleNew();
- break;
- case "start":
- await provideStartSuggestions();
- break;
- }
-};
-
-const main = async () => {
- p.intro(`${color.bgCyan(color.black(" Solid-CLI "))}`);
- await configInst.parseConfig();
- const needsUpdate = createAsync(async () => await updater({ name, version, ttl: 86_400_000 }));
- setLocale(configInst.field("lang"));
- const cli = subcommands({
- name: "solid",
- cmds: await loadCommands(),
- version: version,
- });
- const args = process.argv.slice(2);
-
- if (args.length === 0) {
- await provideSuggestions();
- return;
- }
-
- if (args.length === 1 && args[0] === "start") {
- await provideStartSuggestions();
- return;
- }
-
- run(cli, args);
-};
-main();
diff --git a/packages/core/src/lib/transform.ts b/packages/core/src/lib/transform.ts
deleted file mode 100644
index 9ca5b3f..0000000
--- a/packages/core/src/lib/transform.ts
+++ /dev/null
@@ -1,148 +0,0 @@
-import { transform } from "@swc/core";
-import { readFile } from "fs/promises";
-import { fileURLToPath } from "url";
-import { insertAfter, insertAtBeginning } from "./utils/file_ops";
-import { fileExists, validateFilePath } from "./utils/helpers";
-import { $ } from "execa";
-import { detect } from "detect-package-manager";
-import { getRunner } from "../command_handlers/new";
-import { createSignal } from "@solid-cli/reactivity";
-import * as p from "@clack/prompts";
-import color from "picocolors";
-import { cancelable } from "@solid-cli/ui";
-
-export const transformPlugins = async (
- new_plugins: PluginOptions[],
- force_transform = false,
- merge_configs = false,
- config_path = "vite.config.ts",
- wasm_path = fileURLToPath(new URL("../../../swc-plugin-solid-cli/output/swc_plugin_solid_cli.wasm", import.meta.url)),
-) => {
- const configData = (await readFile(config_path)).toString();
- const res = await transform(configData, {
- filename: config_path,
- jsc: {
- parser: {
- syntax: "typescript",
- tsx: false,
- },
- target: "es2022",
- experimental: {
- plugins: [
- [
- wasm_path,
- {
- additionalPlugins: new_plugins,
- forceTransform: force_transform,
- mergeConfigs: merge_configs,
- },
- ],
- ],
- },
- },
- });
- return res.code;
-};
-// All the integrations/packages that we support
-// export const supported = ["unocss", "vitepwa", "solid-devtools"] as const;
-export type Supported = keyof typeof integrations;
-export type PluginOptions = {
- importName: string;
- importSource: string;
- isDefault: boolean;
- options: object;
-};
-
-export type IntegrationsValue = {
- pluginOptions?: PluginOptions;
- installs: string[];
- postInstall?: () => Promise;
-};
-
-export type Integrations = Record;
-
-export const [rootFile, setRootFile] = createSignal(undefined);
-
-export const integrations = {
- "tailwind": {
- installs: ["tailwindcss", "postcss", "autoprefixer"],
- postInstall: async () => {
- const pM = await detect();
- await $`${getRunner(pM)} tailwindcss init -p`;
- let tailwindConfig = "tailwind.config.js";
- if (!fileExists(tailwindConfig)) {
- p.log.error(color.red(`Can't find tailwind config file`));
- await cancelable(
- p.text({
- message: `Type path to tailwind config: `,
- validate(value) {
- if (!value.length) return `Path can not be empty`;
- const path = validateFilePath(value, "tailwind.config");
- if (!path) return `Tailwind config at \`${value}\` not found. Please try again`;
- else {
- tailwindConfig = path;
- }
- },
- }),
- );
- }
-
- let indexCss = "./src/index.css";
- if (!fileExists(indexCss)) {
- p.log.error(color.red(`Can't find index.css`));
- await cancelable(
- p.text({
- message: `Type path to index.css: `,
- validate(value) {
- if (!value.length) return `Path can not be empty`;
- const path = validateFilePath(value, "index.css");
- if (!path) return `index.css at \`${value}\` not found. Please try again`;
- else {
- indexCss = path;
- }
- },
- }),
- );
- }
- await insertAfter(tailwindConfig, "content: [", '"./index.html", "./src/**/*.{js,ts,jsx,tsx}"');
- await insertAtBeginning(indexCss, "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n");
- },
- },
- "unocss": {
- pluginOptions: {
- importName: "UnoCss",
- importSource: "unocss/vite",
- isDefault: true,
- options: {},
- },
- installs: ["unocss"],
- postInstall: async () => {
- const path = rootFile();
- if (!path) return;
- await insertAtBeginning(path, `import "virtual:uno.css";\n`);
- },
- },
- "vitepwa": {
- pluginOptions: {
- importName: "VitePWA",
- importSource: "vite-plugin-pwa",
- isDefault: false,
- options: {},
- },
- installs: ["vite-plugin-pwa"],
- },
- "solid-devtools": {
- pluginOptions: {
- importName: "devtools",
- importSource: "solid-devtools/vite",
- isDefault: true,
- options: {},
- },
- installs: ["solid-devtools"],
- postInstall: async () => {
- const path = rootFile();
- if (!path) return;
- await insertAtBeginning(path, `import "solid-devtools";\n`);
- },
- },
-};
diff --git a/packages/core/src/lib/utils/helpers.ts b/packages/core/src/lib/utils/helpers.ts
deleted file mode 100644
index ec075bd..0000000
--- a/packages/core/src/lib/utils/helpers.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-import { existsSync, lstatSync, readdirSync } from "fs";
-import { isSolidStart } from "./solid_start";
-import { join, resolve } from "path";
-import { $ } from "execa";
-import { cancelable } from "@solid-cli/ui";
-import * as p from "@clack/prompts";
-import color from "picocolors";
-
-export const getProjectRoot = async () => {
- const { stdout } = await $`npm root`;
-
- return stdout.slice(0, stdout.lastIndexOf("/"));
-};
-
-export const getRootFile = async () => {
- if (await isSolidStart()) {
- return "src/root.tsx";
- }
- return "src/index.tsx";
-};
-
-export const fileExists = (path: string) => {
- return existsSync(path);
-};
-
-export function validateFilePath(path: string, lookingFor: string): string | undefined;
-export function validateFilePath(path: string, lookingFor: string[]): string | undefined;
-export function validateFilePath(path: string, lookingFor: string | string[]): string | undefined {
- path = resolve(path);
- const isDir = lstatSync(path).isDirectory();
- if (isDir) {
- const files = readdirSync(path, { withFileTypes: true });
-
- const config = files.find((file) => {
- if (Array.isArray(lookingFor)) {
- return lookingFor.some((s) => file.name.startsWith(s));
- }
-
- return file.name.startsWith(lookingFor);
- });
- return config ? join(path, config.name) : undefined;
- }
-
- const pathIsValid = Array.isArray(lookingFor)
- ? lookingFor.some((s) => path.startsWith(s))
- : path.startsWith(lookingFor);
-
- const exists = fileExists(path) && pathIsValid;
-
- return exists ? path : undefined;
-}
-
-export async function findFiles(
- startPath: string,
- lookingFor: string | string[],
- opts: { depth?: number; ignoreDirs: string[] },
-): Promise {
- let { depth = Infinity, ignoreDirs = ["node_modules", "."] } = opts;
-
- startPath = resolve(startPath);
-
- const isDir = lstatSync(startPath).isDirectory();
-
- if (!isDir) {
- startPath = resolve(startPath.slice(0, startPath.lastIndexOf("/")));
- }
-
- let filePaths: string[] = [];
-
- const files = readdirSync(startPath, { withFileTypes: true });
-
- for (const file of files) {
- if (file.isDirectory() && !ignoreDirs.some((s) => file.name.includes(s))) {
- if (Number.isFinite(depth) && depth-- <= 0) continue;
- filePaths = filePaths.concat(await findFiles(resolve(startPath, file.name), lookingFor, opts));
- continue;
- }
-
- if (file.isFile()) {
- const fileMatch = Array.isArray(lookingFor)
- ? lookingFor.some((s) => file.name.startsWith(s))
- : file.name.startsWith(lookingFor);
-
- if (fileMatch) {
- filePaths.push(resolve(startPath, file.name));
- }
- }
- }
-
- return filePaths;
-}
-
-export const getViteConfig = async () => {
- let configFile = "vite.config.ts";
-
- const existsHere = fileExists(configFile);
-
- if (!existsHere) {
- const root = await getProjectRoot();
- const existsInRoot = validateFilePath(root, "vite.config");
- if (existsInRoot) {
- const correctConfig = await cancelable(
- p.confirm({
- message: `Could not find vite config in current directory, but found vite config in \`${root}\`. Is this the correct vite config?`,
- }),
- );
- if (correctConfig) return existsInRoot;
- }
-
- p.log.error(color.red(`Can't find vite config`));
- await cancelable(
- p.text({
- message: "Type path to vite config: ",
- validate(value) {
- const path = validateFilePath(value, "vite.config");
- if (!path) return `Vite config not found. Please try again`;
- else {
- configFile = path;
- }
- },
- }),
- );
- }
-
- return configFile;
-};
diff --git a/packages/core/src/lib/utils/oneOf.ts b/packages/core/src/lib/utils/oneOf.ts
deleted file mode 100644
index 79fabcb..0000000
--- a/packages/core/src/lib/utils/oneOf.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Type } from "cmd-ts";
-import { inspect } from "util";
-
-export function oneOf(literals: readonly T[], case_sensitive: boolean = false): Type {
- const examples = literals.map((x) => inspect(x)).join(", ");
- return {
- async from(str) {
- const value = literals.find((x) => (case_sensitive ? x === str : x.toLowerCase() === str.toLowerCase()));
- if (!value) {
- throw new Error(`Invalid value '${str}'. Expected one of: ${examples}`);
- }
- return value;
- },
- description: `One of ${examples}`,
- };
-}
diff --git a/packages/core/src/lib/utils/primitives.ts b/packages/core/src/lib/utils/primitives.ts
deleted file mode 100644
index b8dea66..0000000
--- a/packages/core/src/lib/utils/primitives.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-import { tmpdir } from "@solid-cli/utils/paths";
-import type { Option } from "@solid-cli/ui";
-import { createSignal } from "@solid-cli/reactivity";
-import { readFile, writeFile } from "fs/promises";
-export const [primitives, setPrimitives] = createSignal