innetjs 2.1.3 → 2.1.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/bin/innet CHANGED
@@ -197,9 +197,6 @@ 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
- require('dotenv').config({
201
- override: true
202
- });
203
200
  const REG_CLEAR_TEXT = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
204
201
  function normalizeEnv(value) {
205
202
  if (value) {
@@ -628,9 +625,12 @@ class InnetJS {
628
625
  }
629
626
  }
630
627
 
631
- var version = "2.1.3";
628
+ var version = "2.1.5";
632
629
 
633
- require('dotenv').config();
630
+ const dotenvConfigOutput = require('dotenv').config({
631
+ override: true
632
+ });
633
+ require('dotenv-expand').expand(dotenvConfigOutput);
634
634
  const innetJS = new InnetJS();
635
635
  commander.program
636
636
  .version(version, '-v, --version');
package/index.es6.js CHANGED
@@ -165,9 +165,6 @@ 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
- require('dotenv').config({
169
- override: true
170
- });
171
168
  const REG_CLEAR_TEXT = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
172
169
  function normalizeEnv(value) {
173
170
  if (value) {
package/index.js CHANGED
@@ -195,9 +195,6 @@ 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
- require('dotenv').config({
199
- override: true
200
- });
201
198
  const REG_CLEAR_TEXT = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
202
199
  function normalizeEnv(value) {
203
200
  if (value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
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
- "rollup-plugin-polyfill-node": "^0.11.0",
64
+ "sass": "^1.55.0",
64
65
  "tmp": "^0.2.1",
65
66
  "typescript": "^4.8.4",
66
67
  "unzipper": "^0.10.11"