@yoms/create-monorepo 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# create-monorepo
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@yoms/create-monorepo)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
6
|
A CLI tool to scaffold monorepo projects from templates with type sharing between packages.
|
|
@@ -19,23 +19,23 @@ You don't need to install anything! Just run:
|
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
21
|
# Using npx (recommended)
|
|
22
|
-
npx create-monorepo my-project
|
|
22
|
+
npx @yoms/create-monorepo my-project
|
|
23
23
|
|
|
24
24
|
# Using pnpm
|
|
25
|
-
pnpm create monorepo my-project
|
|
25
|
+
pnpm create @yoms/monorepo my-project
|
|
26
26
|
|
|
27
27
|
# Using yarn
|
|
28
|
-
yarn create monorepo my-project
|
|
28
|
+
yarn create @yoms/monorepo my-project
|
|
29
29
|
|
|
30
|
-
# Using
|
|
31
|
-
|
|
30
|
+
# Using npm
|
|
31
|
+
npm create @yoms/monorepo my-project
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
## Quick Start
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
# Create a new project
|
|
38
|
-
npx create-monorepo my-project
|
|
38
|
+
npx @yoms/create-monorepo my-project
|
|
39
39
|
|
|
40
40
|
# Navigate to project
|
|
41
41
|
cd my-project
|
package/dist/index.js
CHANGED
|
@@ -641,7 +641,7 @@ async function createMonorepo(targetDir) {
|
|
|
641
641
|
|
|
642
642
|
// src/index.ts
|
|
643
643
|
var cli = cac("create-monorepo");
|
|
644
|
-
cli.command("[dir]", "Create a new monorepo project").action(async (dir) => {
|
|
644
|
+
cli.command("[dir]", "Create a brand new monorepo project").action(async (dir) => {
|
|
645
645
|
await createMonorepo(dir);
|
|
646
646
|
});
|
|
647
647
|
cli.help();
|