the-grove 0.1.0
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 +21 -0
- package/index.js +10 -0
- package/package.json +17 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# the-grove
|
|
2
|
+
|
|
3
|
+
This is a wrapper package that provides the `the-grove` command.
|
|
4
|
+
|
|
5
|
+
The actual CLI implementation is in [@the-grove/cli](https://www.npmjs.com/package/@the-grove/cli).
|
|
6
|
+
|
|
7
|
+
This package exists to enable users to run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx the-grove add async-button
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Instead of:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx @the-grove/cli add async-button
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Documentation
|
|
20
|
+
|
|
21
|
+
For full documentation, see the main repository: https://github.com/matthewnaples/the-grove
|
package/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Wrapper package that forwards to @the-grove/cli
|
|
4
|
+
// This allows users to run "npx the-grove" instead of "npx @the-grove/cli"
|
|
5
|
+
|
|
6
|
+
import { createRequire } from 'module';
|
|
7
|
+
const require = createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// Forward to the actual CLI package
|
|
10
|
+
require('@the-grove/cli/dist/index.js');
|
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "the-grove",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CLI for the-grove component library (wrapper package)",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"the-grove": "./index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": ["index.js"],
|
|
10
|
+
"scripts": {},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@the-grove/cli": "^0.1.0"
|
|
13
|
+
},
|
|
14
|
+
"keywords": ["the-grove", "components", "cli", "nextjs", "react"],
|
|
15
|
+
"author": "",
|
|
16
|
+
"license": "MIT"
|
|
17
|
+
}
|