@raisenow/tamaro-cli 1.0.4 → 1.0.8
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/.gitignore +2 -1
- package/.nvmrc +1 -1
- package/dist/cli.js +82 -82
- package/dist/webpack.config.js +163 -144
- package/package.json +53 -54
- package/readme.html +55 -0
- package/readme.md +201 -0
- package/src/assets/rnw-logo.png +0 -0
- package/src/cli.ts +18 -12
- package/src/commands/build/index.ts +3 -2
- package/src/commands/deploy/index.ts +1 -2
- package/src/commands/serve/index.ts +1 -1
- package/src/lib/helpers.ts +5 -6
- package/src/webpack.config.ts +142 -119
- package/src/assets/rnw-logo.jpg +0 -0
package/dist/webpack.config.js
CHANGED
|
@@ -20,51 +20,53 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
};
|
|
21
21
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
22
22
|
var __export = (target, all) => {
|
|
23
|
-
__markAsModule(target);
|
|
24
23
|
for (var name in all)
|
|
25
24
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
26
25
|
};
|
|
27
|
-
var __reExport = (target, module2, desc) => {
|
|
26
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
28
27
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
29
28
|
for (let key of __getOwnPropNames(module2))
|
|
30
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
29
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
31
30
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
32
31
|
}
|
|
33
32
|
return target;
|
|
34
33
|
};
|
|
35
|
-
var
|
|
36
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
|
37
|
-
};
|
|
38
|
-
var __publicField = (obj, key, value) => {
|
|
39
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
40
|
-
return value;
|
|
34
|
+
var __toESM = (module2, isNodeMode) => {
|
|
35
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
41
36
|
};
|
|
37
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
38
|
+
return (module2, temp) => {
|
|
39
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
40
|
+
};
|
|
41
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
42
42
|
|
|
43
43
|
// src/webpack.config.ts
|
|
44
|
-
|
|
44
|
+
var webpack_config_exports = {};
|
|
45
|
+
__export(webpack_config_exports, {
|
|
45
46
|
default: () => webpack_config_default
|
|
46
47
|
});
|
|
47
|
-
var import_path2 =
|
|
48
|
-
var import_glob =
|
|
49
|
-
var import_webpack_config_utils2 =
|
|
50
|
-
var import_webpack =
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var
|
|
48
|
+
var import_path2 = require("path");
|
|
49
|
+
var import_glob = __toESM(require("glob"));
|
|
50
|
+
var import_webpack_config_utils2 = require("webpack-config-utils");
|
|
51
|
+
var import_webpack = __toESM(require("webpack"));
|
|
52
|
+
var import_portfinder = require("portfinder");
|
|
53
|
+
var import_tsconfig_paths_webpack_plugin = require("tsconfig-paths-webpack-plugin");
|
|
54
|
+
var import_clean_webpack_plugin = require("clean-webpack-plugin");
|
|
55
|
+
var import_html_webpack_plugin2 = __toESM(require("html-webpack-plugin"));
|
|
56
|
+
var import_fork_ts_checker_webpack_plugin = __toESM(require("fork-ts-checker-webpack-plugin"));
|
|
57
|
+
var import_react_refresh_webpack_plugin = __toESM(require("@pmmmwh/react-refresh-webpack-plugin"));
|
|
58
|
+
var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"));
|
|
59
|
+
var import_css_minimizer_webpack_plugin = __toESM(require("css-minimizer-webpack-plugin"));
|
|
60
|
+
var import_eslint_webpack_plugin = __toESM(require("eslint-webpack-plugin"));
|
|
61
|
+
var import_copy_webpack_plugin = __toESM(require("copy-webpack-plugin"));
|
|
62
|
+
var import_webpack_plugin = __toESM(require("@statoscope/webpack-plugin"));
|
|
61
63
|
|
|
62
64
|
// src/lib/InterpolateHtmlPlugin.ts
|
|
63
|
-
var import_html_webpack_plugin =
|
|
64
|
-
var import_escape_string_regexp =
|
|
65
|
+
var import_html_webpack_plugin = __toESM(require("html-webpack-plugin"));
|
|
66
|
+
var import_escape_string_regexp = __toESM(require("escape-string-regexp"));
|
|
65
67
|
var InterpolateHtmlPlugin = class {
|
|
68
|
+
replacements;
|
|
66
69
|
constructor(replacements) {
|
|
67
|
-
__publicField(this, "replacements");
|
|
68
70
|
this.replacements = __spreadValues({}, replacements);
|
|
69
71
|
}
|
|
70
72
|
apply(compiler) {
|
|
@@ -86,16 +88,16 @@ var InterpolateHtmlPlugin = class {
|
|
|
86
88
|
var InterpolateHtmlPlugin_default = InterpolateHtmlPlugin;
|
|
87
89
|
|
|
88
90
|
// src/lib/helpers.ts
|
|
89
|
-
var import_path =
|
|
90
|
-
var import_fs =
|
|
91
|
-
var import_chalk =
|
|
92
|
-
var import_node_notifier =
|
|
93
|
-
var import_webpack_config_utils =
|
|
94
|
-
var import_columnify =
|
|
95
|
-
var import_boxen =
|
|
96
|
-
var import_dotenv_expand =
|
|
97
|
-
var import_dotenv =
|
|
98
|
-
var import_strip_indent =
|
|
91
|
+
var import_path = require("path");
|
|
92
|
+
var import_fs = require("fs");
|
|
93
|
+
var import_chalk = __toESM(require("chalk"));
|
|
94
|
+
var import_node_notifier = require("node-notifier");
|
|
95
|
+
var import_webpack_config_utils = require("webpack-config-utils");
|
|
96
|
+
var import_columnify = __toESM(require("columnify"));
|
|
97
|
+
var import_boxen = __toESM(require("boxen"));
|
|
98
|
+
var import_dotenv_expand = require("dotenv-expand");
|
|
99
|
+
var import_dotenv = require("dotenv");
|
|
100
|
+
var import_strip_indent = __toESM(require("strip-indent"));
|
|
99
101
|
var TAMARO_CORE_PACKAGE_NAMES = ["@raisenow/tamaro-core", "demo-tamaro-core"];
|
|
100
102
|
var TAMARO_CONFIGURATIONS_PACKAGE_NAMES = [
|
|
101
103
|
"@raisenow/tamaro-configurations",
|
|
@@ -158,7 +160,7 @@ var getPaths = (ifCore) => {
|
|
|
158
160
|
};
|
|
159
161
|
var getEnvVars = (filePath, ifMin, ifCore, ifLocalCore) => {
|
|
160
162
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
161
|
-
(0, import_dotenv_expand.
|
|
163
|
+
(0, import_dotenv_expand.expand)((0, import_dotenv.config)({ path: filePath }));
|
|
162
164
|
(_b = (_a = process.env).NODE_ENV) != null ? _b : _a.NODE_ENV = ifMin("production", "development");
|
|
163
165
|
(_d = (_c = process.env).BABEL_ENV) != null ? _d : _c.BABEL_ENV = ifMin("production", "development");
|
|
164
166
|
(_f = (_e = process.env).EXPOSE_VAR) != null ? _f : _e.EXPOSE_VAR = ifCore("rnw.tamaroCore", "rnw.tamaro");
|
|
@@ -174,7 +176,7 @@ var getEnvVars = (filePath, ifMin, ifCore, ifLocalCore) => {
|
|
|
174
176
|
if (!ifCore()) {
|
|
175
177
|
process.env.WIDGET_UUID = getWidgetUuid();
|
|
176
178
|
if (ifLocalCore()) {
|
|
177
|
-
process.env.CORE_URL = `http://0.0.0.0:
|
|
179
|
+
process.env.CORE_URL = `http://0.0.0.0:1234/index.js`;
|
|
178
180
|
} else {
|
|
179
181
|
let version = process.env.CORE_VERSION;
|
|
180
182
|
version = version ? `@${version}` : "";
|
|
@@ -234,6 +236,7 @@ var getWebpackConfig = async (env) => {
|
|
|
234
236
|
const appHtmlFiles = import_glob.default.sync(paths.appHtml);
|
|
235
237
|
const envVars = getEnvVars(paths.appEnv, ifMin, ifCore, ifLocalCore);
|
|
236
238
|
const { ifHmr } = (0, import_webpack_config_utils2.getIfUtils)({ hmr: process.env.HMR_ENABLED === "true" }, ["hmr"]);
|
|
239
|
+
const port = await (0, import_portfinder.getPortPromise)({ port: 1234 });
|
|
237
240
|
logDataTable(paths, "Paths");
|
|
238
241
|
logDataTable(envVars.raw, "Environment variables");
|
|
239
242
|
const getCssLoaders = (cssOptions = {}) => {
|
|
@@ -251,8 +254,7 @@ var getWebpackConfig = async (env) => {
|
|
|
251
254
|
loader: require.resolve("css-loader"),
|
|
252
255
|
options: __spreadValues({
|
|
253
256
|
sourceMap: ifNotMin(),
|
|
254
|
-
importLoaders: 3
|
|
255
|
-
esModule: false
|
|
257
|
+
importLoaders: 3
|
|
256
258
|
}, cssOptions)
|
|
257
259
|
},
|
|
258
260
|
{
|
|
@@ -320,127 +322,143 @@ var getWebpackConfig = async (env) => {
|
|
|
320
322
|
use: require.resolve("source-map-loader")
|
|
321
323
|
}),
|
|
322
324
|
{
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
325
|
+
oneOf: [
|
|
326
|
+
{
|
|
327
|
+
test: /\.(js|ts)x?$/,
|
|
328
|
+
include: ifCore([
|
|
329
|
+
resolveApp("src"),
|
|
330
|
+
resolveApp("node_modules/micromark"),
|
|
331
|
+
resolveApp("node_modules/decode-named-character-reference")
|
|
332
|
+
], [resolveApp("."), resolveApp("../../src")]),
|
|
333
|
+
loader: require.resolve("babel-loader"),
|
|
334
|
+
options: {
|
|
335
|
+
babelrc: false,
|
|
336
|
+
configFile: false,
|
|
337
|
+
sourceMaps: ifNotMin(),
|
|
338
|
+
inputSourceMap: ifNotMin(),
|
|
339
|
+
presets: [
|
|
340
|
+
require.resolve("@babel/preset-env"),
|
|
341
|
+
[
|
|
342
|
+
require.resolve("@babel/preset-typescript"),
|
|
343
|
+
{
|
|
344
|
+
allowDeclareFields: true
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
require.resolve("@babel/preset-react")
|
|
348
|
+
],
|
|
349
|
+
plugins: (0, import_webpack_config_utils2.removeEmpty)([
|
|
350
|
+
[
|
|
351
|
+
require.resolve("@babel/plugin-transform-runtime"),
|
|
352
|
+
{
|
|
353
|
+
corejs: {
|
|
354
|
+
version: 3,
|
|
355
|
+
proposals: true
|
|
356
|
+
},
|
|
357
|
+
absoluteRuntime: (0, import_path2.dirname)(require.resolve("@babel/runtime-corejs3/package.json"))
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
[
|
|
361
|
+
require.resolve("@babel/plugin-proposal-decorators"),
|
|
362
|
+
{
|
|
363
|
+
legacy: true
|
|
364
|
+
}
|
|
365
|
+
],
|
|
366
|
+
require.resolve("@babel/plugin-syntax-dynamic-import"),
|
|
367
|
+
require.resolve("babel-plugin-lodash"),
|
|
368
|
+
ifHmr(require.resolve("react-refresh/babel"))
|
|
369
|
+
])
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
test: /\.(js|mjs)$/
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
test: /\.s?css$/,
|
|
377
|
+
exclude: /\.module\.s?css$/,
|
|
378
|
+
use: getCssLoaders({
|
|
379
|
+
modules: false
|
|
380
|
+
})
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
test: /\.module\.s?css$/,
|
|
384
|
+
use: getCssLoaders({
|
|
385
|
+
modules: { localIdentName: "[local]__[hash:base64]" }
|
|
386
|
+
})
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
test: /\.svg$/,
|
|
390
|
+
issuer: [/\.html$/, /\.s?css$/],
|
|
391
|
+
type: "asset",
|
|
392
|
+
parser: {
|
|
393
|
+
dataUrlCondition: {
|
|
394
|
+
maxSize: imageInlineSizeLimit
|
|
337
395
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
[
|
|
343
|
-
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
test: /\.svg$/,
|
|
400
|
+
issuer: [/\.(ts|tsx|js|jsx|md|mdx)$/],
|
|
401
|
+
use: [
|
|
344
402
|
{
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
403
|
+
loader: require.resolve("@svgr/webpack"),
|
|
404
|
+
options: {
|
|
405
|
+
svgoConfig: {
|
|
406
|
+
plugins: [
|
|
407
|
+
{
|
|
408
|
+
removeHiddenElems: false,
|
|
409
|
+
moveGroupAttrsToElems: false,
|
|
410
|
+
collapseGroups: false
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
prettier: false,
|
|
415
|
+
titleProp: true,
|
|
416
|
+
ref: true
|
|
417
|
+
}
|
|
418
|
+
},
|
|
354
419
|
{
|
|
355
|
-
|
|
420
|
+
loader: require.resolve("url-loader"),
|
|
421
|
+
options: {
|
|
422
|
+
name: "assets/[name]-[contenthash:16].[ext]",
|
|
423
|
+
limit: imageInlineSizeLimit
|
|
424
|
+
}
|
|
356
425
|
}
|
|
357
|
-
]
|
|
358
|
-
|
|
359
|
-
require.resolve("babel-plugin-lodash"),
|
|
360
|
-
ifHmr(require.resolve("react-refresh/babel"))
|
|
361
|
-
])
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
test: /\.s?css$/,
|
|
366
|
-
exclude: /\.module\.s?css$/,
|
|
367
|
-
use: getCssLoaders({
|
|
368
|
-
modules: false
|
|
369
|
-
})
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
test: /\.module\.s?css$/,
|
|
373
|
-
use: getCssLoaders({
|
|
374
|
-
modules: { localIdentName: "[local]__[hash:base64]" }
|
|
375
|
-
})
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
test: /\.svg$/,
|
|
379
|
-
issuer: /\.html$/,
|
|
380
|
-
type: "asset",
|
|
381
|
-
parser: {
|
|
382
|
-
dataUrlCondition: {
|
|
383
|
-
maxSize: imageInlineSizeLimit
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
test: /\.svg$/,
|
|
389
|
-
issuer: {
|
|
390
|
-
not: [/\.html$/]
|
|
391
|
-
},
|
|
392
|
-
use: [
|
|
426
|
+
]
|
|
427
|
+
},
|
|
393
428
|
{
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
removeHiddenElems: false,
|
|
400
|
-
moveGroupAttrsToElems: false,
|
|
401
|
-
collapseGroups: false
|
|
402
|
-
}
|
|
403
|
-
]
|
|
429
|
+
test: /\.(png|jpe?g|webp|gif|ico|ttf|eot|woff2?)$/,
|
|
430
|
+
type: "asset",
|
|
431
|
+
parser: {
|
|
432
|
+
dataUrlCondition: {
|
|
433
|
+
maxSize: imageInlineSizeLimit
|
|
404
434
|
}
|
|
405
435
|
}
|
|
406
436
|
},
|
|
407
437
|
{
|
|
408
|
-
|
|
438
|
+
test: /\.ya?ml$/,
|
|
439
|
+
use: [
|
|
440
|
+
{ loader: require.resolve("json-loader") },
|
|
441
|
+
{ loader: require.resolve("yaml-loader") }
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
test: /\.html$/,
|
|
446
|
+
loader: require.resolve("html-loader"),
|
|
409
447
|
options: {
|
|
410
|
-
|
|
411
|
-
limit: imageInlineSizeLimit
|
|
448
|
+
minimize: false
|
|
412
449
|
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
exclude: [/^$/, /\.(js|jsx|ts|tsx|mjs)$/, /\.html$/, /\.json$/],
|
|
453
|
+
type: "asset/resource"
|
|
413
454
|
}
|
|
414
455
|
]
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
test: /\.(png|jpe?g|webp|gif|ico|ttf|eot|woff2?)$/,
|
|
418
|
-
type: "asset",
|
|
419
|
-
parser: {
|
|
420
|
-
dataUrlCondition: {
|
|
421
|
-
maxSize: imageInlineSizeLimit
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
test: /\.ya?ml$/,
|
|
427
|
-
use: [
|
|
428
|
-
{ loader: require.resolve("json-loader") },
|
|
429
|
-
{ loader: require.resolve("yaml-loader") }
|
|
430
|
-
]
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
test: /\.html$/,
|
|
434
|
-
loader: require.resolve("html-loader"),
|
|
435
|
-
options: {
|
|
436
|
-
esModule: false,
|
|
437
|
-
minimize: false
|
|
438
|
-
}
|
|
439
456
|
}
|
|
440
457
|
])
|
|
441
458
|
},
|
|
442
459
|
devtool: ifMin(false, "cheap-module-source-map"),
|
|
443
460
|
devServer: {
|
|
461
|
+
port,
|
|
444
462
|
static: false,
|
|
445
463
|
historyApiFallback: {
|
|
446
464
|
disableDotRule: true
|
|
@@ -526,5 +544,6 @@ var getWebpackConfig = async (env) => {
|
|
|
526
544
|
return (0, import_webpack_config_utils2.removeEmpty)(config);
|
|
527
545
|
};
|
|
528
546
|
var webpack_config_default = getWebpackConfig;
|
|
547
|
+
module.exports = __toCommonJS(webpack_config_exports);
|
|
529
548
|
// Annotate the CommonJS export names for ESM import in node:
|
|
530
549
|
0 && (module.exports = {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raisenow/tamaro-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "RaiseNow",
|
|
6
6
|
"email": "development@raisenow.com"
|
|
@@ -11,94 +11,93 @@
|
|
|
11
11
|
"start": "npm run dev",
|
|
12
12
|
"dev": "npm run build -- --watch --ignore-watch .idea",
|
|
13
13
|
"build": "tsup src/cli.ts src/webpack.config.ts --format cjs",
|
|
14
|
+
"docs": "npx -y http-server . --cors -o /readme.html",
|
|
14
15
|
"lint": "eslint .",
|
|
15
16
|
"lint:fix": "eslint . --fix"
|
|
16
17
|
},
|
|
17
18
|
"bin": "dist/cli.js",
|
|
18
19
|
"engines": {
|
|
19
|
-
"node": ">=
|
|
20
|
+
"node": ">=16",
|
|
21
|
+
"npm": ">=8"
|
|
20
22
|
},
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"@babel/cli": "^7.
|
|
23
|
-
"@babel/core": "^7.
|
|
24
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
24
|
+
"@babel/cli": "^7.16.8",
|
|
25
|
+
"@babel/core": "^7.16.12",
|
|
26
|
+
"@babel/plugin-proposal-decorators": "^7.16.7",
|
|
25
27
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
26
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
27
|
-
"@babel/preset-env": "^7.
|
|
28
|
-
"@babel/preset-react": "^7.
|
|
29
|
-
"@babel/preset-typescript": "^7.
|
|
30
|
-
"@babel/runtime-corejs3": "^7.
|
|
31
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.
|
|
32
|
-
"@statoscope/webpack-plugin": "^5.
|
|
33
|
-
"@svgr/webpack": "^
|
|
28
|
+
"@babel/plugin-transform-runtime": "^7.16.10",
|
|
29
|
+
"@babel/preset-env": "^7.16.11",
|
|
30
|
+
"@babel/preset-react": "^7.16.7",
|
|
31
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
32
|
+
"@babel/runtime-corejs3": "^7.16.8",
|
|
33
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
34
|
+
"@statoscope/webpack-plugin": "^5.20.0",
|
|
35
|
+
"@svgr/webpack": "^6.2.0",
|
|
34
36
|
"@types/columnify": "^1.5.1",
|
|
35
|
-
"@types/
|
|
36
|
-
"@types/css-
|
|
37
|
-
"@types/
|
|
38
|
-
"@types/
|
|
39
|
-
"@types/node": "^16.11.1",
|
|
40
|
-
"@types/node-notifier": "^8.0.1",
|
|
37
|
+
"@types/lodash": "^4.14.178",
|
|
38
|
+
"@types/mini-css-extract-plugin": "^2.5.1",
|
|
39
|
+
"@types/node": "^17.0.12",
|
|
40
|
+
"@types/node-notifier": "^8.0.2",
|
|
41
41
|
"@types/resolve-bin": "^0.4.1",
|
|
42
42
|
"@types/webpack-config-utils": "^2.3.1",
|
|
43
|
-
"@
|
|
44
|
-
"@typescript-eslint/
|
|
45
|
-
"
|
|
46
|
-
"autoprefixer": "^10.3.7",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^5.10.1",
|
|
44
|
+
"@typescript-eslint/parser": "^5.10.1",
|
|
45
|
+
"autoprefixer": "^10.4.2",
|
|
47
46
|
"babel-loader": "^8.2.3",
|
|
48
47
|
"babel-plugin-lodash": "^3.3.4",
|
|
49
48
|
"boxen": "^5.1.2",
|
|
50
49
|
"chalk": "^4.1.2",
|
|
51
50
|
"clean-webpack-plugin": "^4.0.0",
|
|
52
51
|
"columnify": "^1.5.4",
|
|
53
|
-
"commander": "^8.
|
|
54
|
-
"copy-webpack-plugin": "^
|
|
55
|
-
"core-js": "^3.
|
|
56
|
-
"css-loader": "^6.
|
|
57
|
-
"css-minimizer-webpack-plugin": "^3.
|
|
52
|
+
"commander": "^8.3.0",
|
|
53
|
+
"copy-webpack-plugin": "^10.2.1",
|
|
54
|
+
"core-js": "^3.20.3",
|
|
55
|
+
"css-loader": "^6.5.1",
|
|
56
|
+
"css-minimizer-webpack-plugin": "^3.4.1",
|
|
58
57
|
"current-script-polyfill": "^1.0.0",
|
|
59
|
-
"dotenv": "^
|
|
60
|
-
"dotenv-expand": "^
|
|
58
|
+
"dotenv": "^14.3.2",
|
|
59
|
+
"dotenv-expand": "^6.0.1",
|
|
61
60
|
"element-closest": "^3.0.2",
|
|
62
61
|
"escape-string-regexp": "^4.0.0",
|
|
63
|
-
"eslint": "^8.0
|
|
62
|
+
"eslint": "^8.7.0",
|
|
64
63
|
"eslint-config-prettier": "^8.3.0",
|
|
65
64
|
"eslint-plugin-node": "^11.1.0",
|
|
66
65
|
"eslint-plugin-prettier": "^4.0.0",
|
|
67
|
-
"eslint-plugin-promise": "^
|
|
68
|
-
"eslint-webpack-plugin": "^3.0
|
|
66
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
67
|
+
"eslint-webpack-plugin": "^3.1.0",
|
|
69
68
|
"execa": "^5.1.1",
|
|
70
69
|
"file-loader": "^6.2.0",
|
|
71
|
-
"fork-ts-checker-webpack-plugin": "^6.
|
|
70
|
+
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
|
72
71
|
"glob": "^7.2.0",
|
|
73
|
-
"html-loader": "^
|
|
74
|
-
"html-webpack-plugin": "^5.
|
|
72
|
+
"html-loader": "^3.1.0",
|
|
73
|
+
"html-webpack-plugin": "^5.5.0",
|
|
75
74
|
"json-loader": "^0.5.7",
|
|
76
75
|
"lodash": "^4.17.21",
|
|
77
|
-
"mini-css-extract-plugin": "^2.
|
|
76
|
+
"mini-css-extract-plugin": "^2.5.3",
|
|
78
77
|
"node-notifier": "^10.0.0",
|
|
79
|
-
"
|
|
80
|
-
"postcss
|
|
81
|
-
"postcss-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
78
|
+
"portfinder": "^1.0.28",
|
|
79
|
+
"postcss": "^8.4.5",
|
|
80
|
+
"postcss-custom-properties": "^12.1.3",
|
|
81
|
+
"postcss-loader": "^6.2.1",
|
|
82
|
+
"prettier": "^2.5.1",
|
|
83
|
+
"react-refresh": "^0.11.0",
|
|
84
84
|
"resolve-bin": "^1.0.0",
|
|
85
|
-
"resolve-url-loader": "^
|
|
86
|
-
"sass": "^1.
|
|
87
|
-
"sass-loader": "^12.
|
|
88
|
-
"source-map-loader": "^3.0.
|
|
85
|
+
"resolve-url-loader": "^5.0.0",
|
|
86
|
+
"sass": "^1.49.0",
|
|
87
|
+
"sass-loader": "^12.4.0",
|
|
88
|
+
"source-map-loader": "^3.0.1",
|
|
89
89
|
"strip-indent": "^3.0.0",
|
|
90
|
-
"style-loader": "^3.3.
|
|
90
|
+
"style-loader": "^3.3.1",
|
|
91
91
|
"tailwindcss": "^0.7.4",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"typescript": "^4.4.4",
|
|
92
|
+
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
93
|
+
"tsup": "^5.11.11",
|
|
94
|
+
"typescript": "^4.5.5",
|
|
96
95
|
"unfetch": "^4.2.0",
|
|
97
96
|
"url-loader": "^4.1.1",
|
|
98
|
-
"webpack": "^5.
|
|
99
|
-
"webpack-cli": "^4.9.
|
|
97
|
+
"webpack": "^5.67.0",
|
|
98
|
+
"webpack-cli": "^4.9.2",
|
|
100
99
|
"webpack-config-utils": "^2.3.1",
|
|
101
|
-
"webpack-dev-server": "^4.3
|
|
100
|
+
"webpack-dev-server": "^4.7.3",
|
|
102
101
|
"yaml-loader": "^0.6.0"
|
|
103
102
|
}
|
|
104
103
|
}
|
package/readme.html
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<title>Tamaro CLI</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width" />
|
|
7
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
8
|
+
<link
|
|
9
|
+
rel="icon"
|
|
10
|
+
href="https://assets.raisenow.io/favicon.svg"
|
|
11
|
+
sizes="any"
|
|
12
|
+
type="image/svg+xml"
|
|
13
|
+
/>
|
|
14
|
+
<link
|
|
15
|
+
rel="icon"
|
|
16
|
+
href="https://assets.raisenow.io/favicon.png"
|
|
17
|
+
type="image/png"
|
|
18
|
+
/>
|
|
19
|
+
|
|
20
|
+
<link
|
|
21
|
+
rel="stylesheet"
|
|
22
|
+
href="https://cdn.jsdelivr.net/npm/docsify-themeable/dist/css/theme-simple.css"
|
|
23
|
+
/>
|
|
24
|
+
<!-- <link-->
|
|
25
|
+
<!-- rel="stylesheet"-->
|
|
26
|
+
<!-- href="https://cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"-->
|
|
27
|
+
<!-- />-->
|
|
28
|
+
|
|
29
|
+
<style>
|
|
30
|
+
.search .clear-button.show {
|
|
31
|
+
display: flex !important;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
</style>
|
|
35
|
+
</head>
|
|
36
|
+
<body>
|
|
37
|
+
<div id="app"></div>
|
|
38
|
+
<script>
|
|
39
|
+
window.$docsify = {
|
|
40
|
+
name: '@raisenow/tamaro-cli',
|
|
41
|
+
// themeColor: '#537397',
|
|
42
|
+
maxLevel: 2,
|
|
43
|
+
homepage: './readme.md',
|
|
44
|
+
coverpage: false,
|
|
45
|
+
}
|
|
46
|
+
</script>
|
|
47
|
+
<script src="https://cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
|
|
48
|
+
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable/dist/js/docsify-themeable.min.js"></script>
|
|
49
|
+
<script src="https://cdn.jsdelivr.net/npm/docsify-copy-code"></script>
|
|
50
|
+
<script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
|
51
|
+
<!-- <script src="https://cdn.jsdelivr.net/npm/prismjs/components/prism-yaml.min.js"></script>-->
|
|
52
|
+
<!-- <script src="https://cdn.jsdelivr.net/npm/prismjs/components/prism-typescript.min.js"></script>-->
|
|
53
|
+
<!-- <script src="https://cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>-->
|
|
54
|
+
</body>
|
|
55
|
+
</html>
|