create-gardener 2.0.4 → 2.0.5

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "https://github.com/ritishDas/gardener"
7
7
  },
8
- "version": "2.0.4",
8
+ "version": "2.0.5",
9
9
  "description": "A dom gardener converting dom elements into json and vice versa",
10
10
  "main": "index.js",
11
11
  "bin": {
@@ -7,8 +7,12 @@ async function buildHelper() {
7
7
 
8
8
  await fs.cp(src, dest, { recursive: true });
9
9
 
10
- await fs.writeFile(path.join(dest, 'static', 'gardenerConfig.js'), "export const mode = 'prod';", 'utf8');
10
+ await fs.writeFile(path.join(dest, 'static', 'gardenerConfig.js'), "export const
11
+ mode = 'prod'; ", 'utf8');
12
+
13
+ await fs.rm(path.join(dest, 'template'), { recursive: true });
11
14
 
12
15
  }
13
16
 
14
- buildHelper();// const path = require('path');
17
+ buildHelper();
18
+
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "create-gardener",
3
- "version": "2.0.3",
4
- "description": "A dom gardener converting dom elements into json and vice versa",
2
+ "name": "app",
3
+ "version": "1.0.0",
4
+ "description": "a web app build with create gardener",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "cross-env NODE_ENV=production node build/backend/server.js",