From 01f8bb9346670ddda1c75fba0df792cb35622c50 Mon Sep 17 00:00:00 2001 From: Aiden Bai Date: Thu, 15 Feb 2024 22:16:36 -0800 Subject: [PATCH] chore: cleanup cli --- packages/cli/README.md | 46 ------------------------ packages/cli/package.json | 24 ------------- pnpm-lock.yaml | 76 ++------------------------------------- 3 files changed, 2 insertions(+), 144 deletions(-) delete mode 100644 packages/cli/README.md diff --git a/packages/cli/README.md b/packages/cli/README.md deleted file mode 100644 index a3c9fe9023..0000000000 --- a/packages/cli/README.md +++ /dev/null @@ -1,46 +0,0 @@ -## Million Setup Wizard - -The Million Setup Wizard is a tool for configuring your project with million js. - -## Usage - -You can use the Million Setup Wizard: - -```bash copy code -npx million@latest -``` - -This command will automatically detect your project's build environment and configure the Million.js settings accordingly. - -## Features - -- Automatically detects the build environment (Next.js, Vite, Webpack, etc.). -- Provides options to pick a compatible build tool if automatic detection fails. -- Creates or updates the Million.js configuration with auto mode options. -- Ensures compatibility with Next.js and detects the App router (RSC mode). - -## Compatibility - -The Million CLI is currently compatible with the following build tools: - -- Next.js -- Gatsby -- Astro -- Vite -- Create-React-App -- Webpack -- Rollup - -## Documentation - -For detailed documentation and usage instructions, please refer to the official [Million Documentation](https://million.dev/docs/install). - -## Troubleshooting - -If you encounter any issues or need assistance, please visit the installation page in the Million Documentation for guidance. - -If you feel there's some bugs or errors, please report them at [Report Bug](https://github.com/aidenybai/million/issues) - -### License - -This project is licensed under the MIT License - see the LICENSE.md file for details. diff --git a/packages/cli/package.json b/packages/cli/package.json index dbc1b07f38..8bab7d7dfa 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,35 +1,11 @@ { - "name": "million_setup_wizard", - "version": "0.0.1", - "description": "Million.js is an extremely fast and lightweight <4kb virtual DOM that makes React up to 70% faster. By using a fine-tuned, optimized virtual DOM, Million.js reduces the overhead of React.", - "keywords": [ - "cli", - "million js", - "fast", - "react" - ], "main": "dist/index.js", - "repository": { - "type": "git", - "url": "https://github.com/aidenybai/million.git", - "directory": "packages/cli" - }, - "homepage": "https://million.dev/", - "author": "Aiden Bai", - "bugs": "https://github.com/aidenybai/million/issues", - "license": "MIT", - "files": [ - "README.md", - "dist" - ], "bin": { "million": "./dist/index.js" }, "dependencies": { "@antfu/ni": "^0.21.8", "@clack/prompts": "^0.7.0", - "@sentry/integrations": "^7.69.0", - "@sentry/node": "^7.69.0", "chalk": "^5.3.0", "diff": "^5.1.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b16dd124a..3e842f3121 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,12 +111,6 @@ importers: '@clack/prompts': specifier: ^0.7.0 version: 0.7.0 - '@sentry/integrations': - specifier: ^7.69.0 - version: 7.81.1 - '@sentry/node': - specifier: ^7.69.0 - version: 7.81.1 chalk: specifier: ^5.3.0 version: 5.3.0 @@ -2185,58 +2179,6 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@sentry-internal/tracing@7.81.1: - resolution: {integrity: sha512-E5xm27xrLXL10knH2EWDQsQYh5nb4SxxZzJ3sJwDGG9XGKzBdlp20UUhKqx00wixooVX9uCj3e4Jg8SvNB1hKg==} - engines: {node: '>=8'} - dependencies: - '@sentry/core': 7.81.1 - '@sentry/types': 7.81.1 - '@sentry/utils': 7.81.1 - dev: false - - /@sentry/core@7.81.1: - resolution: {integrity: sha512-tU37yAmckOGCw/moWKSwekSCWWJP15O6luIq+u7wal22hE88F3Vc5Avo8SeF3upnPR+4ejaOFH+BJTr6bgrs6Q==} - engines: {node: '>=8'} - dependencies: - '@sentry/types': 7.81.1 - '@sentry/utils': 7.81.1 - dev: false - - /@sentry/integrations@7.81.1: - resolution: {integrity: sha512-DN5ONn0/LX5HHVPf1EBGHFssIZaZmLgkqUIeMqCNYBpB4DiOrJANnGwTcWKDPphqhdPxjnPv9AGRLaU0PdvvZQ==} - engines: {node: '>=8'} - dependencies: - '@sentry/core': 7.81.1 - '@sentry/types': 7.81.1 - '@sentry/utils': 7.81.1 - localforage: 1.10.0 - dev: false - - /@sentry/node@7.81.1: - resolution: {integrity: sha512-bKS3Mb95bar8AUEZSLKQ/RTSfFXo5sCSPNiBr5dDFuVljDFdkLq6NE3svG5bisrbENqfi0bqWsB4GZ7NHRTPbA==} - engines: {node: '>=8'} - dependencies: - '@sentry-internal/tracing': 7.81.1 - '@sentry/core': 7.81.1 - '@sentry/types': 7.81.1 - '@sentry/utils': 7.81.1 - https-proxy-agent: 5.0.1 - transitivePeerDependencies: - - supports-color - dev: false - - /@sentry/types@7.81.1: - resolution: {integrity: sha512-dvJvGyctiaPMIQqa46k56Re5IODWMDxiHJ1UjBs/WYDLrmWFPGrEbyJ8w8CYLhYA+7qqrCyIZmHbWSTRIxstHw==} - engines: {node: '>=8'} - dev: false - - /@sentry/utils@7.81.1: - resolution: {integrity: sha512-gq+MDXIirHKxNZ+c9/lVvCXd6y2zaZANujwlFggRH2u9SRiPaIXVilLpvMm4uJqmqBMEcY81ArujExtHvkbCqg==} - engines: {node: '>=8'} - dependencies: - '@sentry/types': 7.81.1 - dev: false - /@shuding/opentype.js@1.4.0-beta.0: resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==} engines: {node: '>= 8.0.0'} @@ -3057,6 +2999,7 @@ packages: debug: 4.3.4 transitivePeerDependencies: - supports-color + dev: true /ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -6191,6 +6134,7 @@ packages: debug: 4.3.4 transitivePeerDependencies: - supports-color + dev: true /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} @@ -6222,10 +6166,6 @@ packages: engines: {node: '>= 4'} dev: true - /immediate@3.0.6: - resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==} - dev: false - /immer@9.0.21: resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==} dev: false @@ -6838,12 +6778,6 @@ packages: type-check: 0.4.0 dev: true - /lie@3.1.1: - resolution: {integrity: sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==} - dependencies: - immediate: 3.0.6 - dev: false - /lilconfig@2.1.0: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} @@ -6875,12 +6809,6 @@ packages: pkg-types: 1.0.3 dev: true - /localforage@1.10.0: - resolution: {integrity: sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==} - dependencies: - lie: 3.1.1 - dev: false - /locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'}