@citruslime/create-boilerplate 1.0.0-beta.10 → 1.0.0-beta.11

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.
Files changed (3) hide show
  1. package/README.md +12 -9
  2. package/main.mjs +2 -0
  3. package/package.json +2 -3
package/README.md CHANGED
@@ -1,22 +1,25 @@
1
- # Citrus-Lime UI Library Boilerplate Creation
1
+ # Citrus-Lime UI Library Create Boilerplate Script
2
+
3
+ A create package for initialising Citrus-Lime web apps.
2
4
 
3
5
  ![version](https://img.shields.io/npm/v/@citruslime/create-boilerplate/latest)
4
6
  ![version next](https://img.shields.io/npm/v/@citruslime/create-boilerplate/next)
5
- ![license](https://img.shields.io/npm/l/@citruslime/create-boilerplate)
6
7
 
7
8
  - ⚡ [NPM Package](https://www.npmjs.com/package/@citruslime/create-boilerplate)
8
9
  - 📖 [Documentation & API](https://uilibrary.citruslime.com)
9
10
  - 📌 [Citrus-Lime Ltd](https://www.citruslime.com)
10
11
 
11
- ## Running the script
12
12
 
13
- ⚠️ All of the parameters listed below are required.
13
+ `npm init @citruslime/boilerplate TargetDirectory`
14
+
15
+ or
14
16
 
15
- #### Script signature
16
- ```yarn create @citruslime/boilerplate TargetDirectory```
17
+ `yarn create @citruslime/boilerplate TargetDirectory`
17
18
 
18
19
  - **TargetDirectory**
19
- - _A relative folder path for the script to create the boilerplate app_
20
+ - A relative folder path for the script to create the boilerplate app
21
+ - *Optional* - will be prompted for, if not provided
22
+
23
+ e.g.
20
24
 
21
- #### Example Script Execution
22
- ```yarn create @citruslime/boilerplate ./ui/customer```
25
+ `yarn create @citruslime/boilerplate ./ui/customer`
package/main.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  import { execSync } from 'child_process';
2
4
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'fs';
3
5
  import { dirname, join } from 'path';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citruslime/create-boilerplate",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.11",
4
4
  "author": {
5
5
  "name": "Citrus-Lime Ltd",
6
6
  "url": "https://citruslime.com"
@@ -16,8 +16,7 @@
16
16
  ],
17
17
  "main": "main.mjs",
18
18
  "bin": {
19
- "create-boilerplate": "main.mjs",
20
- "cva": "main.mjs"
19
+ "create-boilerplate": "main.mjs"
21
20
  },
22
21
  "engines": {
23
22
  "node": ">=14.0.0"