innetjs 2.5.0 → 2.5.1
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/_virtual/_rollup-plugin-process-env.js +1 -1
- package/_virtual/_rollup-plugin-process-env.mjs +1 -1
- package/bin/innet +7 -7
- package/index.js +6 -6
- package/index.mjs +6 -6
- package/package.json +1 -1
package/bin/innet
CHANGED
|
@@ -291,11 +291,10 @@ class InnetJS {
|
|
|
291
291
|
plugins: [
|
|
292
292
|
commonjs__default["default"](),
|
|
293
293
|
json__default["default"](),
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
},
|
|
294
|
+
typescript__default["default"]({
|
|
295
|
+
noEmitOnError: true,
|
|
296
|
+
compilerOptions: {
|
|
297
|
+
declaration: false,
|
|
299
298
|
},
|
|
300
299
|
}),
|
|
301
300
|
jsx__default["default"](),
|
|
@@ -394,6 +393,7 @@ class InnetJS {
|
|
|
394
393
|
commonjs__default["default"](),
|
|
395
394
|
json__default["default"](),
|
|
396
395
|
typescript__default["default"]({
|
|
396
|
+
noEmitOnError: true,
|
|
397
397
|
compilerOptions: {
|
|
398
398
|
declaration: false,
|
|
399
399
|
sourceMap: true,
|
|
@@ -461,7 +461,7 @@ class InnetJS {
|
|
|
461
461
|
logger__default["default"].end('Bundling', e.error.message);
|
|
462
462
|
console.log(`ERROR in ${file}:${line + 1}:${column + 1}`);
|
|
463
463
|
}
|
|
464
|
-
else if (e.error.code === 'PLUGIN_ERROR' && ['rpt2', 'commonjs'].includes(e.error.plugin)) {
|
|
464
|
+
else if (e.error.code === 'PLUGIN_ERROR' && ['rpt2', 'commonjs', 'typescript'].includes(e.error.plugin)) {
|
|
465
465
|
const [, file, line, column] = e.error.message
|
|
466
466
|
.replace(REG_CLEAR_TEXT, '')
|
|
467
467
|
.match(REG_RPT_ERROR_FILE) || [];
|
|
@@ -802,7 +802,7 @@ class InnetJS {
|
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
(function () {
|
|
805
|
-
const env = {"__INNETJS__PACKAGE_VERSION":"2.5.
|
|
805
|
+
const env = {"__INNETJS__PACKAGE_VERSION":"2.5.1"};
|
|
806
806
|
if (typeof process === 'undefined') {
|
|
807
807
|
globalThis.process = { env: env };
|
|
808
808
|
} else if (process.env) {
|
package/index.js
CHANGED
|
@@ -180,11 +180,10 @@ class InnetJS {
|
|
|
180
180
|
plugins: [
|
|
181
181
|
commonjs__default["default"](),
|
|
182
182
|
json__default["default"](),
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
},
|
|
183
|
+
typescript__default["default"]({
|
|
184
|
+
noEmitOnError: true,
|
|
185
|
+
compilerOptions: {
|
|
186
|
+
declaration: false,
|
|
188
187
|
},
|
|
189
188
|
}),
|
|
190
189
|
jsx__default["default"](),
|
|
@@ -283,6 +282,7 @@ class InnetJS {
|
|
|
283
282
|
commonjs__default["default"](),
|
|
284
283
|
json__default["default"](),
|
|
285
284
|
typescript__default["default"]({
|
|
285
|
+
noEmitOnError: true,
|
|
286
286
|
compilerOptions: {
|
|
287
287
|
declaration: false,
|
|
288
288
|
sourceMap: true,
|
|
@@ -350,7 +350,7 @@ class InnetJS {
|
|
|
350
350
|
logger__default["default"].end('Bundling', e.error.message);
|
|
351
351
|
console.log(`ERROR in ${file}:${line + 1}:${column + 1}`);
|
|
352
352
|
}
|
|
353
|
-
else if (e.error.code === 'PLUGIN_ERROR' && ['rpt2', 'commonjs'].includes(e.error.plugin)) {
|
|
353
|
+
else if (e.error.code === 'PLUGIN_ERROR' && ['rpt2', 'commonjs', 'typescript'].includes(e.error.plugin)) {
|
|
354
354
|
const [, file, line, column] = e.error.message
|
|
355
355
|
.replace(REG_CLEAR_TEXT, '')
|
|
356
356
|
.match(REG_RPT_ERROR_FILE) || [];
|
package/index.mjs
CHANGED
|
@@ -144,11 +144,10 @@ class InnetJS {
|
|
|
144
144
|
plugins: [
|
|
145
145
|
commonjs(),
|
|
146
146
|
json(),
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
},
|
|
147
|
+
typescript({
|
|
148
|
+
noEmitOnError: true,
|
|
149
|
+
compilerOptions: {
|
|
150
|
+
declaration: false,
|
|
152
151
|
},
|
|
153
152
|
}),
|
|
154
153
|
jsx(),
|
|
@@ -247,6 +246,7 @@ class InnetJS {
|
|
|
247
246
|
commonjs(),
|
|
248
247
|
json(),
|
|
249
248
|
typescript({
|
|
249
|
+
noEmitOnError: true,
|
|
250
250
|
compilerOptions: {
|
|
251
251
|
declaration: false,
|
|
252
252
|
sourceMap: true,
|
|
@@ -314,7 +314,7 @@ class InnetJS {
|
|
|
314
314
|
logger.end('Bundling', e.error.message);
|
|
315
315
|
console.log(`ERROR in ${file}:${line + 1}:${column + 1}`);
|
|
316
316
|
}
|
|
317
|
-
else if (e.error.code === 'PLUGIN_ERROR' && ['rpt2', 'commonjs'].includes(e.error.plugin)) {
|
|
317
|
+
else if (e.error.code === 'PLUGIN_ERROR' && ['rpt2', 'commonjs', 'typescript'].includes(e.error.plugin)) {
|
|
318
318
|
const [, file, line, column] = e.error.message
|
|
319
319
|
.replace(REG_CLEAR_TEXT, '')
|
|
320
320
|
.match(REG_RPT_ERROR_FILE) || [];
|