@edgedev/create-edge-app 1.0.29 → 1.0.30

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 +4 -0
  2. package/bin/cli.js +7 -0
  3. package/package.json +22 -22
package/README.md CHANGED
@@ -2,5 +2,9 @@
2
2
  ## Setup
3
3
 
4
4
  ```bash
5
+ #Run this under current version of node once:
6
+ npm install -g --ignore-scripts @edgedev/create-edge-app
7
+
8
+ #Then run this whenever you want to create a new app:
5
9
  npx @edgedev/create-edge-app yourappname
6
10
  ```
package/bin/cli.js CHANGED
@@ -43,6 +43,7 @@ const repoName = process.argv[2]
43
43
  const gitCheckoutCommand = `git clone --depth 1 https://github.com/Edge-Marketing-and-Design/edgeApp.git ${repoName}`
44
44
  const removeGitDirCommand = `rm -rf ${repoName}/.git`
45
45
  const installDependenciesCommand = `cd ${repoName} && pnpm install`
46
+ const installFirebaseCommand = `cd ${repoName} && pnpm install --ignore-scripts=false @edgedev/firebase`
46
47
  const installFunctionDependenciesCommand = `cd ${repoName}/functions && npm install`
47
48
  const cloneFirebaseFrameworkCommand = `cd ${repoName} && git clone https://github.com/Edge-Marketing-and-Design/edgeFirebaseFramework`
48
49
 
@@ -70,6 +71,12 @@ if (!installedDeps) {
70
71
  process.exit(1)
71
72
  }
72
73
 
74
+ console.log(`Installing @edgedev/firebase for ${repoName}...`) // New log
75
+ const installedFirebase = runCommand(installFirebaseCommand) // New command execution
76
+ if (!installedFirebase) {
77
+ process.exit(1)
78
+ }
79
+
73
80
  console.log(`Installing function dependencies for ${repoName}...`)
74
81
  const installedFunctionDeps = runCommand(installFunctionDependenciesCommand)
75
82
  if (!installedFunctionDeps) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/create-edge-app",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Create Edge Starter App",
5
5
  "bin": {
6
6
  "create-edge-app": "./bin/cli.js"
@@ -15,30 +15,30 @@
15
15
  "postinstall": "nuxt prepare"
16
16
  },
17
17
  "devDependencies": {
18
- "@antfu/eslint-config": "^0.35.1",
19
- "@capacitor/assets": "^3.0.0",
20
- "@capacitor/cli": "^5.4.1",
21
- "@mdi/font": "^7.1.96",
22
- "@nuxt/devtools": "^0.7.2",
23
- "@types/node": "^18.11.18",
24
- "@vant/nuxt": "^1.0.3",
25
- "eslint": "^8.33.0",
26
- "firebase": "^9.17.1",
27
- "nuxt": "^3.1.2",
28
- "sass": "^1.58.0",
29
- "typescript": "^4.9.5",
30
- "vuedraggable": "^4.1.0"
18
+ "@antfu/eslint-config": "0.35.1",
19
+ "@capacitor/assets": "3.0.0",
20
+ "@capacitor/cli": "5.4.1",
21
+ "@mdi/font": "7.1.96",
22
+ "@nuxt/devtools": "0.7.2",
23
+ "@types/node": "18.11.18",
24
+ "@vant/nuxt": "1.0.3",
25
+ "eslint": "8.33.0",
26
+ "firebase": "9.17.1",
27
+ "nuxt": "3.1.2",
28
+ "sass": "1.58.0",
29
+ "typescript": "4.9.5",
30
+ "vuedraggable": "4.1.0"
31
31
  },
32
32
  "dependencies": {
33
- "@capacitor/android": "^5.4.1",
34
- "@capacitor/app": "^5.0.6",
35
- "@capacitor/core": "^5.4.1",
36
- "@capacitor/ios": "^5.4.1",
37
- "@capacitor/push-notifications": "^5.1.0",
33
+ "@capacitor/android": "5.4.1",
34
+ "@capacitor/app": "5.0.6",
35
+ "@capacitor/core": "5.4.1",
36
+ "@capacitor/ios": "5.4.1",
37
+ "@capacitor/push-notifications": "5.1.0",
38
38
  "@chenfengyuan/vue-number-input": "2",
39
39
  "@edgedev/firebase": "latest",
40
- "@vueuse/core": "^10.4.1",
41
- "maska": "^2.1.9",
42
- "vuetify": "^3.3.19"
40
+ "@vueuse/core": "10.4.1",
41
+ "maska": "2.1.9",
42
+ "vuetify": "3.3.19"
43
43
  }
44
44
  }