unictive-angular 1.0.23 → 1.0.25
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/.env +9 -2
- package/index.js +3 -1
- package/package.json +2 -2
package/.env
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
#/-------------------[DOTENV_PUBLIC_KEY]--------------------/
|
|
2
|
+
#/ public-key encryption for .env files /
|
|
3
|
+
#/ [how it works](https://dotenvx.com/encryption) /
|
|
4
|
+
#/----------------------------------------------------------/
|
|
5
|
+
DOTENV_PUBLIC_KEY="025c7ddc5d6c235d0d8d5b300769f7d1f58928f42d1aa274cc95921f73be459c5a"
|
|
6
|
+
|
|
7
|
+
# .env
|
|
8
|
+
ADMIN_PASS=encrypted:BFFqWzwiHsKV/Jk9xVNh18OfRAfWKW/IZI5Nq4bIeglYMxARv1IPTIK8ioxIj2n06O/UgVzznTztlXiudqWP6tOA9Zk+ft/QrYuun7O+UX2jxXLp6akJ9NRSyFXC2l/HJd+EnXe2RSQas2zebFg=
|
|
9
|
+
DOTENV_CONFIG_SILENT=encrypted:BCjHKtfF1z9cfU+r3ckIA8d5BPKlc7+ca2mxiDu91zc2kzlutfscl/+Q1CEM46Jqfa0OgB15h20P+FSXw/Wpptx8Iv1hL621kqS+LVJDXzNIM0vLkm6aD2PnPyNUlleQYuUa6j8=
|
package/index.js
CHANGED
|
@@ -7,10 +7,12 @@
|
|
|
7
7
|
* 👤 by - EkaHersada
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
const { execSync, spawn} = require("child_process");
|
|
11
12
|
const fs = require("fs");
|
|
12
13
|
const os = require("os");
|
|
13
14
|
const path = require("path");
|
|
15
|
+
|
|
14
16
|
const { show_status, run_with_spinner } = require('./bin/utils/showStatus');
|
|
15
17
|
const { refactorAngularJson } = require('./bin/utils/refactorAngularJson');
|
|
16
18
|
const { create_project } = require('./bin/utils/createProject');
|
|
@@ -20,7 +22,7 @@ const updateNotifier = require('update-notifier');
|
|
|
20
22
|
const chalk = require('chalk');
|
|
21
23
|
|
|
22
24
|
|
|
23
|
-
require(
|
|
25
|
+
require('@dotenvx/dotenvx').config({ path: path.resolve(__dirname, ".env") })
|
|
24
26
|
|
|
25
27
|
const { login, logout } = require("./bin/utils/auth");
|
|
26
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unictive-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "CLI untuk membuat project Angular dengan struktur kustom (Modules, Core, API, Shared).",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm version patch && npm publish --access public"
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"author": "EkaHersada",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
+
"@dotenvx/dotenvx": "^1.49.0",
|
|
20
21
|
"chalk": "^4.1.2",
|
|
21
|
-
"dotenv": "^17.2.1",
|
|
22
22
|
"update-notifier": "^5.1.0"
|
|
23
23
|
}
|
|
24
24
|
}
|