Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaoxfly/monorope-component
Templates based on the monorepo architecture
https://github.com/yaoxfly/monorope-component
Last synced: 6 days ago
JSON representation
Templates based on the monorepo architecture
- Host: GitHub
- URL: https://github.com/yaoxfly/monorope-component
- Owner: yaoxfly
- Created: 2023-08-28T02:16:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T08:28:58.000Z (about 1 month ago)
- Last Synced: 2024-12-05T09:29:52.168Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 120 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Preface
Templates based on the monorepo architecture# Use
#### Startup template
```
pnpm run demo
```#### Package item
```
pnpm run build
```#### Add plugin to main repository
```
pnpm add -Dw Plug-in name
```#### Install specified dependencies separately for a package
pnpm provides the --filter parameter, which can be used to perform certain operations on specific packages.Therefore, if you want to install a dependent package for pkg1, such as axios, you can do the following:
```
pnpm add axios --filter Construction name
```#### Interdependencies between modules
```
pnpm add component-pc --filter demo
```