innetjs 2.1.4 → 2.1.6
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/bin/innet +5 -4
- package/index.es6.js +2 -0
- package/index.js +2 -0
- package/package.json +4 -3
package/bin/innet
CHANGED
|
@@ -197,6 +197,8 @@ const { exec, spawn } = require('child_process');
|
|
|
197
197
|
const readline = require('readline');
|
|
198
198
|
const execAsync = util.promisify(exec);
|
|
199
199
|
const copyFiles = util.promisify(fs__default["default"].copy);
|
|
200
|
+
const dotenvConfigOutput$1 = require('dotenv').config();
|
|
201
|
+
require('dotenv-expand').expand(dotenvConfigOutput$1);
|
|
200
202
|
const REG_CLEAR_TEXT = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
|
|
201
203
|
function normalizeEnv(value) {
|
|
202
204
|
if (value) {
|
|
@@ -625,11 +627,10 @@ class InnetJS {
|
|
|
625
627
|
}
|
|
626
628
|
}
|
|
627
629
|
|
|
628
|
-
var version = "2.1.
|
|
630
|
+
var version = "2.1.6";
|
|
629
631
|
|
|
630
|
-
require('dotenv').config(
|
|
631
|
-
|
|
632
|
-
});
|
|
632
|
+
const dotenvConfigOutput = require('dotenv').config();
|
|
633
|
+
require('dotenv-expand').expand(dotenvConfigOutput);
|
|
633
634
|
const innetJS = new InnetJS();
|
|
634
635
|
commander.program
|
|
635
636
|
.version(version, '-v, --version');
|
package/index.es6.js
CHANGED
|
@@ -165,6 +165,8 @@ const { exec, spawn } = require('child_process');
|
|
|
165
165
|
const readline = require('readline');
|
|
166
166
|
const execAsync = promisify(exec);
|
|
167
167
|
const copyFiles = promisify(fs.copy);
|
|
168
|
+
const dotenvConfigOutput = require('dotenv').config();
|
|
169
|
+
require('dotenv-expand').expand(dotenvConfigOutput);
|
|
168
170
|
const REG_CLEAR_TEXT = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
|
|
169
171
|
function normalizeEnv(value) {
|
|
170
172
|
if (value) {
|
package/index.js
CHANGED
|
@@ -195,6 +195,8 @@ const { exec, spawn } = require('child_process');
|
|
|
195
195
|
const readline = require('readline');
|
|
196
196
|
const execAsync = util.promisify(exec);
|
|
197
197
|
const copyFiles = util.promisify(fs__default["default"].copy);
|
|
198
|
+
const dotenvConfigOutput = require('dotenv').config();
|
|
199
|
+
require('dotenv-expand').expand(dotenvConfigOutput);
|
|
198
200
|
const REG_CLEAR_TEXT = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
|
|
199
201
|
function normalizeEnv(value) {
|
|
200
202
|
if (value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "innetjs",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "CLI for innet boilerplate",
|
|
5
5
|
"homepage": "https://github.com/d8corp/innetjs",
|
|
6
6
|
"author": "Mikhail Lysikov <d8corp@mail.ru>",
|
|
@@ -44,23 +44,24 @@
|
|
|
44
44
|
"cli-select": "^1.1.2",
|
|
45
45
|
"commander": "^9.4.1",
|
|
46
46
|
"dotenv": "^16.0.3",
|
|
47
|
+
"dotenv-expand": "^9.0.0",
|
|
47
48
|
"express": "^4.18.2",
|
|
48
49
|
"express-http-proxy": "^1.6.3",
|
|
49
50
|
"fs-extra": "^10.1.0",
|
|
50
51
|
"lines-and-columns": "^2.0.3",
|
|
51
52
|
"postcss": "^8.4.18",
|
|
52
|
-
"sass": "^1.55.0",
|
|
53
53
|
"prompts": "^2.4.2",
|
|
54
54
|
"rollup": "^2.79.1",
|
|
55
55
|
"rollup-plugin-filesize": "^9.1.2",
|
|
56
56
|
"rollup-plugin-inject-process-env": "^1.3.1",
|
|
57
57
|
"rollup-plugin-innet-jsx": "^1.3.0",
|
|
58
58
|
"rollup-plugin-livereload": "^2.0.5",
|
|
59
|
+
"rollup-plugin-polyfill-node": "^0.11.0",
|
|
59
60
|
"rollup-plugin-string": "^3.0.0",
|
|
60
61
|
"rollup-plugin-styles": "^4.0.0",
|
|
61
62
|
"rollup-plugin-terser": "^7.0.2",
|
|
62
63
|
"rollup-plugin-typescript2": "^0.33.0",
|
|
63
|
-
"
|
|
64
|
+
"sass": "^1.55.0",
|
|
64
65
|
"tmp": "^0.2.1",
|
|
65
66
|
"typescript": "^4.8.4",
|
|
66
67
|
"unzipper": "^0.10.11"
|