flowershow 0.1.1 → 0.1.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.
File without changes
package/README.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Flowershow CLI
2
2
 
3
+ ## CLI commands
4
+
5
+ Install Flowershow:
6
+
7
+ ```
8
+ npx flowershow@latest install
9
+ ```
10
+
11
+ Preview your Flowershow website:
12
+
13
+ ```bash
14
+ npx flowershow@latest preview
15
+ ```
16
+
17
+ Static build your website:
18
+
19
+ ```bash
20
+ npx flowershow@latest export
21
+ ```
22
+
23
+ See all available commands:
24
+
3
25
  ```bash
4
- npx flowershow --help
26
+ npx flowershow@latest --help
5
27
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowershow",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Publish your digital garden",
5
5
  "bin": {
6
6
  "flowershow": "src/bin/cli.js"
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/cli"
12
12
  },
13
13
  "files": [
14
- "dist"
14
+ "**/*"
15
15
  ],
16
16
  "keywords": [
17
17
  "flowershow",
@@ -38,5 +38,7 @@
38
38
  "type": "module",
39
39
  "engines": {
40
40
  "node": ">=16.3.0"
41
- }
41
+ },
42
+ "main": "./src/bin/cli.js",
43
+ "types": "./src/bin/cli.d.ts"
42
44
  }
File without changes
File without changes
@@ -135,6 +135,10 @@ export default class Installer {
135
135
  log(err);
136
136
  exit(1);
137
137
  }
138
+ // remove unneeded dev files
139
+ fs.rmSync(`${flowershowDir}/project.json`, { force: true });
140
+ fs.rmSync(`${flowershowDir}/.eslintrc.json`, { force: true });
141
+ fs.rmSync(`${flowershowDir}/jest.config.js`, { force: true });
138
142
  // update content and assets symlinks
139
143
  const contentSymlinkPath = path.relative(`${flowershowDir}`, contentDir);
140
144
  fs.symlinkSync(contentSymlinkPath, `${flowershowDir}/content`);
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Flowershow CLI
2
-
3
- ```bash
4
- npx flowershow --help
5
- ```
package/dist/package.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "name": "flowershow",
3
- "version": "0.1.1",
4
- "description": "Publish your digital garden",
5
- "bin": {
6
- "flowershow": "src/bin/cli.js"
7
- },
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/flowershow/flowershow",
11
- "directory": "packages/cli"
12
- },
13
- "files": [
14
- "dist"
15
- ],
16
- "keywords": [
17
- "flowershow",
18
- "cli"
19
- ],
20
- "author": "Rufus Pollock",
21
- "license": "MIT",
22
- "bugs": {
23
- "url": "https://github.com/flowershow/flowershow/issues"
24
- },
25
- "homepage": "https://github.com/flowershow/flowershow#readme",
26
- "publishConfig": {
27
- "access": "public"
28
- },
29
- "dependencies": {
30
- "chalk": "^5.0.1",
31
- "commander": "^9.4.0",
32
- "degit": "^2.8.4",
33
- "execa": "^6.1.0",
34
- "inquirer": "^9.1.1",
35
- "ora": "^6.1.2",
36
- "universal-analytics": "^0.5.3"
37
- },
38
- "type": "module",
39
- "engines": {
40
- "node": ">=16.3.0"
41
- },
42
- "main": "./src/bin/cli.js",
43
- "types": "./src/bin/cli.d.ts"
44
- }