aaden-cli 1.3.20 → 1.3.21
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/babel.config.json +3 -0
- package/dist/index.js +81698 -10893
- package/index.js +1 -0
- package/modules/{firebase.mjs → firebase.js} +5 -5
- package/package.json +4 -1
package/index.js
CHANGED
|
@@ -8,6 +8,7 @@ const colors = require('colors')
|
|
|
8
8
|
const fs = require('fs')
|
|
9
9
|
const InnerKenTimeStampFormat = 'YYYYMMDDHHmmss'
|
|
10
10
|
const prompts = require('prompts')
|
|
11
|
+
const {deviceEcho} = require('./modules/firebase')
|
|
11
12
|
const GlobalDeviceId = 'notset'
|
|
12
13
|
|
|
13
14
|
const {program} = require('commander')
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Import the functions you need from the SDKs you need
|
|
2
|
-
|
|
2
|
+
const { initializeApp } =require( "firebase/app");
|
|
3
3
|
import { getAnalytics } from "firebase/analytics";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const { doc, getFirestore, setDoc, updateDoc } =require( 'firebase/firestore')
|
|
5
|
+
const dayjs =require( "dayjs");
|
|
6
|
+
const {hillo} = require('hillo')
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// https://firebase.google.com/docs/web/setup#available-libraries
|
|
@@ -27,7 +27,7 @@ const deviceEchoPath = 'DeviceEcho'
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
const echoLogPath = 'echoLog'
|
|
30
|
-
|
|
30
|
+
hillo.initial('http://localhost/PHP/')
|
|
31
31
|
|
|
32
32
|
export async function deviceEcho (frontEndVersion,cliVersion) {
|
|
33
33
|
const myDeviceId = await getCurrentDeviceId()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aaden-cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@babel/cli": "^7.23.4",
|
|
29
|
+
"@babel/core": "^7.23.3",
|
|
30
|
+
"@babel/preset-env": "^7.23.3",
|
|
28
31
|
"@vercel/ncc": "^0.28.5",
|
|
29
32
|
"colors": "^1.4.0",
|
|
30
33
|
"commander": "^5.1.0",
|