Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaxingson/yi
A cli with more features such as prototype development and dependency management
https://github.com/yaxingson/yi
cli dependencies manager npm serve
Last synced: 24 days ago
JSON representation
A cli with more features such as prototype development and dependency management
- Host: GitHub
- URL: https://github.com/yaxingson/yi
- Owner: yaxingson
- License: other
- Created: 2024-04-18T09:31:30.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T03:50:47.000Z (2 months ago)
- Last Synced: 2024-12-24T05:37:49.675Z (about 1 month ago)
- Topics: cli, dependencies, manager, npm, serve
- Language: JavaScript
- Homepage:
- Size: 290 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Getting Started
### Install
```shell
> npm install yi-next-cli --global```
### Usage
Project dependency management:
| command | yi-next-cli | npm | yarn | pnpm |
| ----- | ----- | ----- | ----- | ----- |
| install | `yi` | npm install | yarn install | pnpm install |
| | `yi vue` | npm i vue | yarn add vue | pnpm add vue |
| | `yi vite -D` | npm i vite -D | yarn add vite -D | pnpm add -D vite |
| | `yi --frozen` | npm ci | yarn install --immutable | pnpm install --frozen-lockfile |
| | `yi eslint -g` | npm i eslint -g | yarn global add eslint | pnpm add -g eslint |
| run | `yi dev --port=5713` | npm run dev -- --port=5713 | yarn run dev --port=5713 | pnpm dev --port=5713 |
| download & execute | `yi exec vitest` | npx vitest | yarn dlx vitest | pnpm dlx vitest |
| upgrade | `yi up` | npm upgrade | yarn up | pnpm update |
| | `yi up -i` | ❌ | yarn up -i | pnpm update -i |
| uninstall | `yi un webpack` | npm uninstall webpack | yarn remove webpack | pnpm remove webpack |Prototype development:
```shell
# use template
yi create project-name --pro vue-ts
yi create library-name --lib cli# devserver
yi index.htmlyi App.vue
yi App.tsx
yi App.svelte```
Currently supported template presets:
| category | presets |
| ----- | ----- |
| library | cli |
| | ui |
| project | vanilla-ts |
| | vue-ts |
| | react-ts |
| | svelte-ts |## Configuration
## Author
Yaxing Son([email protected])