create-ripple 0.2.0 → 0.2.2
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/LICENSE +21 -21
- package/README.md +50 -50
- package/dist/index.js +151 -0
- package/package.json +19 -16
- package/src/commands/create.js +0 -151
- package/src/constants.js +0 -17
- package/src/index.js +0 -52
- package/src/lib/project-creator.js +0 -316
- package/src/lib/prompts.js +0 -164
- package/src/lib/templates.js +0 -104
- package/src/lib/validation.js +0 -155
- package/tests/integration/cli.test.js +0 -179
- package/tests/integration/project-creator.test.js +0 -271
- package/tests/unit/prompts.test.js +0 -240
- package/tests/unit/templates.test.js +0 -160
- package/tests/unit/validation.test.js +0 -192
- package/vitest.config.js +0 -22
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Ripple
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Ripple
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
# create-ripple
|
|
2
|
-
|
|
3
|
-
Interactive CLI tool for creating new Ripple applications.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
### Interactive Mode
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm create ripple
|
|
11
|
-
# or
|
|
12
|
-
npx create-ripple
|
|
13
|
-
# or
|
|
14
|
-
yarn create ripple
|
|
15
|
-
# or
|
|
16
|
-
pnpm create ripple
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
### With Arguments
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npm create ripple my-app
|
|
23
|
-
# or
|
|
24
|
-
npx create-ripple my-app
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Features
|
|
28
|
-
|
|
29
|
-
- 🎯 **Interactive prompts** - Guides you through project setup
|
|
30
|
-
- 📁 **Template selection** - Choose from predefined templates
|
|
31
|
-
- ✅ **Project validation** - Ensures valid project names
|
|
32
|
-
- 🎨 **Beautiful CLI** - Colored output with progress indicators
|
|
33
|
-
- ⚡ **Fast setup** - Quickly scaffold new Ripple projects
|
|
34
|
-
|
|
35
|
-
## Templates
|
|
36
|
-
|
|
37
|
-
### Basic
|
|
38
|
-
A minimal Ripple application with:
|
|
39
|
-
- Vite for development and building
|
|
40
|
-
- TypeScript support
|
|
41
|
-
- Prettier for code formatting
|
|
42
|
-
- Basic project structure
|
|
43
|
-
|
|
44
|
-
## Requirements
|
|
45
|
-
|
|
46
|
-
- Node.js 18.0.0 or higher
|
|
47
|
-
|
|
48
|
-
## License
|
|
49
|
-
|
|
50
|
-
MIT
|
|
1
|
+
# create-ripple
|
|
2
|
+
|
|
3
|
+
Interactive CLI tool for creating new Ripple applications.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
### Interactive Mode
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm create ripple
|
|
11
|
+
# or
|
|
12
|
+
npx create-ripple
|
|
13
|
+
# or
|
|
14
|
+
yarn create ripple
|
|
15
|
+
# or
|
|
16
|
+
pnpm create ripple
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### With Arguments
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm create ripple my-app
|
|
23
|
+
# or
|
|
24
|
+
npx create-ripple my-app
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Features
|
|
28
|
+
|
|
29
|
+
- 🎯 **Interactive prompts** - Guides you through project setup
|
|
30
|
+
- 📁 **Template selection** - Choose from predefined templates
|
|
31
|
+
- ✅ **Project validation** - Ensures valid project names
|
|
32
|
+
- 🎨 **Beautiful CLI** - Colored output with progress indicators
|
|
33
|
+
- ⚡ **Fast setup** - Quickly scaffold new Ripple projects
|
|
34
|
+
|
|
35
|
+
## Templates
|
|
36
|
+
|
|
37
|
+
### Basic
|
|
38
|
+
A minimal Ripple application with:
|
|
39
|
+
- Vite for development and building
|
|
40
|
+
- TypeScript support
|
|
41
|
+
- Prettier for code formatting
|
|
42
|
+
- Basic project structure
|
|
43
|
+
|
|
44
|
+
## Requirements
|
|
45
|
+
|
|
46
|
+
- Node.js 18.0.0 or higher
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
MIT
|