@raisenow/tamaro-cli 1.0.6 → 1.0.10
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/.eslintignore +1 -0
- package/.eslintrc.js +0 -5
- package/.gitignore +2 -1
- package/.nvmrc +1 -1
- package/.prettierignore +1 -0
- package/dist/cli.js +474 -126
- package/dist/webpack.config.js +96 -57
- package/package.json +53 -55
- package/readme.html +55 -0
- package/readme.md +227 -0
- package/src/cli.ts +100 -17
- package/src/commands/build.ts +97 -0
- package/src/commands/deploy-email-config.ts +107 -0
- package/src/commands/deploy.ts +151 -0
- package/src/commands/dev.ts +61 -0
- package/src/commands/list-deployed.ts +102 -0
- package/src/commands/serve.ts +29 -0
- package/src/lib/aws.ts +119 -0
- package/src/lib/helpers.ts +104 -27
- package/src/webpack.config.ts +34 -5
- package/src/assets/rnw-logo.png +0 -0
- package/src/commands/build/index.ts +0 -43
- package/src/commands/deploy/index.ts +0 -25
- package/src/commands/dev/index.ts +0 -32
- package/src/commands/serve/index.ts +0 -12
package/dist/webpack.config.js
CHANGED
|
@@ -20,51 +20,54 @@ 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
|
|
49
|
-
var
|
|
50
|
-
var
|
|
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_fs2 = require("fs");
|
|
50
|
+
var import_glob = __toESM(require("glob"));
|
|
51
|
+
var import_webpack_config_utils2 = require("webpack-config-utils");
|
|
52
|
+
var import_webpack = __toESM(require("webpack"));
|
|
53
|
+
var import_portfinder = require("portfinder");
|
|
54
|
+
var import_tsconfig_paths_webpack_plugin = require("tsconfig-paths-webpack-plugin");
|
|
55
|
+
var import_clean_webpack_plugin = require("clean-webpack-plugin");
|
|
56
|
+
var import_html_webpack_plugin2 = __toESM(require("html-webpack-plugin"));
|
|
57
|
+
var import_fork_ts_checker_webpack_plugin = __toESM(require("fork-ts-checker-webpack-plugin"));
|
|
58
|
+
var import_react_refresh_webpack_plugin = __toESM(require("@pmmmwh/react-refresh-webpack-plugin"));
|
|
59
|
+
var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"));
|
|
60
|
+
var import_css_minimizer_webpack_plugin = __toESM(require("css-minimizer-webpack-plugin"));
|
|
61
|
+
var import_eslint_webpack_plugin = __toESM(require("eslint-webpack-plugin"));
|
|
62
|
+
var import_copy_webpack_plugin = __toESM(require("copy-webpack-plugin"));
|
|
63
|
+
var import_webpack_plugin = __toESM(require("@statoscope/webpack-plugin"));
|
|
61
64
|
|
|
62
65
|
// src/lib/InterpolateHtmlPlugin.ts
|
|
63
|
-
var import_html_webpack_plugin =
|
|
64
|
-
var import_escape_string_regexp =
|
|
66
|
+
var import_html_webpack_plugin = __toESM(require("html-webpack-plugin"));
|
|
67
|
+
var import_escape_string_regexp = __toESM(require("escape-string-regexp"));
|
|
65
68
|
var InterpolateHtmlPlugin = class {
|
|
69
|
+
replacements;
|
|
66
70
|
constructor(replacements) {
|
|
67
|
-
__publicField(this, "replacements");
|
|
68
71
|
this.replacements = __spreadValues({}, replacements);
|
|
69
72
|
}
|
|
70
73
|
apply(compiler) {
|
|
@@ -86,21 +89,20 @@ var InterpolateHtmlPlugin = class {
|
|
|
86
89
|
var InterpolateHtmlPlugin_default = InterpolateHtmlPlugin;
|
|
87
90
|
|
|
88
91
|
// 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
|
|
99
|
-
var
|
|
100
|
-
var
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
];
|
|
92
|
+
var import_path = require("path");
|
|
93
|
+
var import_fs = require("fs");
|
|
94
|
+
var import_chalk = __toESM(require("chalk"));
|
|
95
|
+
var import_node_notifier = __toESM(require("node-notifier"));
|
|
96
|
+
var import_webpack_config_utils = require("webpack-config-utils");
|
|
97
|
+
var import_columnify = __toESM(require("columnify"));
|
|
98
|
+
var import_boxen = __toESM(require("boxen"));
|
|
99
|
+
var import_dotenv_expand = require("dotenv-expand");
|
|
100
|
+
var import_dotenv = require("dotenv");
|
|
101
|
+
var import_open = __toESM(require("open"));
|
|
102
|
+
var import_strip_indent = __toESM(require("strip-indent"));
|
|
103
|
+
var import_execa = require("execa");
|
|
104
|
+
var TAMARO_CORE_PACKAGE_NAMES = ["@raisenow/tamaro-core"];
|
|
105
|
+
var TAMARO_CONFIGURATIONS_PACKAGE_NAMES = ["@raisenow/tamaro-configurations"];
|
|
104
106
|
var getIfCoreFns = () => {
|
|
105
107
|
const corePkgPath = resolveApp("package.json");
|
|
106
108
|
const configsPkgPath = resolveApp("../../package.json");
|
|
@@ -116,12 +118,12 @@ var getIfCoreFns = () => {
|
|
|
116
118
|
return (0, import_webpack_config_utils.getIfUtils)({ core: false }, ["core"]);
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
|
-
|
|
121
|
+
logError((0, import_strip_indent.default)(` You must run "npx @raisenow/tamaro-cli" commands from:
|
|
120
122
|
1. Root of "${import_chalk.default.bold(TAMARO_CORE_PACKAGE_NAMES[0])}" package folder.
|
|
121
123
|
2. Root of particular customer configuration folder of "${import_chalk.default.bold(TAMARO_CONFIGURATIONS_PACKAGE_NAMES[0])}" package.
|
|
122
124
|
You are currently in "${import_chalk.default.bold((0, import_fs.realpathSync)(process.cwd()))}".
|
|
123
|
-
`))
|
|
124
|
-
process.exit(
|
|
125
|
+
`));
|
|
126
|
+
process.exit(1);
|
|
125
127
|
};
|
|
126
128
|
var moduleFileExtensions = ["ts", "tsx", "js", "jsx"];
|
|
127
129
|
var extensions = moduleFileExtensions.map((v) => `.${v}`);
|
|
@@ -156,9 +158,18 @@ var getPaths = (ifCore) => {
|
|
|
156
158
|
appTailwindConfig: void 0
|
|
157
159
|
});
|
|
158
160
|
};
|
|
161
|
+
var getRelativePaths = (paths) => {
|
|
162
|
+
const relativePaths = {};
|
|
163
|
+
for (const [type, absPath] of Object.entries(paths)) {
|
|
164
|
+
if (absPath) {
|
|
165
|
+
relativePaths[type] = (0, import_path.relative)("./", absPath) || ".";
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return relativePaths;
|
|
169
|
+
};
|
|
159
170
|
var getEnvVars = (filePath, ifMin, ifCore, ifLocalCore) => {
|
|
160
171
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
161
|
-
(0, import_dotenv_expand.
|
|
172
|
+
(0, import_dotenv_expand.expand)((0, import_dotenv.config)({ path: filePath }));
|
|
162
173
|
(_b = (_a = process.env).NODE_ENV) != null ? _b : _a.NODE_ENV = ifMin("production", "development");
|
|
163
174
|
(_d = (_c = process.env).BABEL_ENV) != null ? _d : _c.BABEL_ENV = ifMin("production", "development");
|
|
164
175
|
(_f = (_e = process.env).EXPOSE_VAR) != null ? _f : _e.EXPOSE_VAR = ifCore("rnw.tamaroCore", "rnw.tamaro");
|
|
@@ -174,7 +185,7 @@ var getEnvVars = (filePath, ifMin, ifCore, ifLocalCore) => {
|
|
|
174
185
|
if (!ifCore()) {
|
|
175
186
|
process.env.WIDGET_UUID = getWidgetUuid();
|
|
176
187
|
if (ifLocalCore()) {
|
|
177
|
-
process.env.CORE_URL = `http://0.0.0.0:
|
|
188
|
+
process.env.CORE_URL = `http://0.0.0.0:1234/index.js`;
|
|
178
189
|
} else {
|
|
179
190
|
let version = process.env.CORE_VERSION;
|
|
180
191
|
version = version ? `@${version}` : "";
|
|
@@ -206,12 +217,23 @@ var getEnvVars = (filePath, ifMin, ifCore, ifLocalCore) => {
|
|
|
206
217
|
};
|
|
207
218
|
return { raw, stringified };
|
|
208
219
|
};
|
|
220
|
+
var logError = (message) => {
|
|
221
|
+
if (message) {
|
|
222
|
+
console.log(import_chalk.default.red(message));
|
|
223
|
+
}
|
|
224
|
+
};
|
|
209
225
|
var logDataTable = (vars, title) => {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
226
|
+
logTable((0, import_columnify.default)(vars, { showHeaders: false }), title);
|
|
227
|
+
};
|
|
228
|
+
var logTable = (text, title) => {
|
|
229
|
+
let out = "";
|
|
230
|
+
const boxTitle = title ? import_chalk.default.bold(`${title}`) : void 0;
|
|
231
|
+
if (boxTitle) {
|
|
232
|
+
out += `${boxTitle}
|
|
233
|
+
`;
|
|
234
|
+
}
|
|
235
|
+
out += text;
|
|
236
|
+
console.log((0, import_boxen.default)(out, {
|
|
215
237
|
margin: 0,
|
|
216
238
|
padding: {
|
|
217
239
|
top: 0,
|
|
@@ -234,7 +256,9 @@ var getWebpackConfig = async (env) => {
|
|
|
234
256
|
const appHtmlFiles = import_glob.default.sync(paths.appHtml);
|
|
235
257
|
const envVars = getEnvVars(paths.appEnv, ifMin, ifCore, ifLocalCore);
|
|
236
258
|
const { ifHmr } = (0, import_webpack_config_utils2.getIfUtils)({ hmr: process.env.HMR_ENABLED === "true" }, ["hmr"]);
|
|
237
|
-
|
|
259
|
+
const port = await (0, import_portfinder.getPortPromise)({ port: 1234 });
|
|
260
|
+
const useTailwind = ifCore() && paths.appTailwindConfig && (0, import_fs2.existsSync)(paths.appTailwindConfig);
|
|
261
|
+
logDataTable(getRelativePaths(paths), "Paths");
|
|
238
262
|
logDataTable(envVars.raw, "Environment variables");
|
|
239
263
|
const getCssLoaders = (cssOptions = {}) => {
|
|
240
264
|
return (0, import_webpack_config_utils2.removeEmpty)([
|
|
@@ -259,7 +283,12 @@ var getWebpackConfig = async (env) => {
|
|
|
259
283
|
options: {
|
|
260
284
|
postcssOptions: {
|
|
261
285
|
plugins: (0, import_webpack_config_utils2.removeEmpty)([
|
|
262
|
-
|
|
286
|
+
useTailwind ? [
|
|
287
|
+
require.resolve("tailwindcss", {
|
|
288
|
+
paths: [paths.appNodeModules]
|
|
289
|
+
}),
|
|
290
|
+
paths.appTailwindConfig
|
|
291
|
+
] : void 0,
|
|
263
292
|
require.resolve("postcss-custom-properties"),
|
|
264
293
|
require.resolve("autoprefixer")
|
|
265
294
|
])
|
|
@@ -322,7 +351,11 @@ var getWebpackConfig = async (env) => {
|
|
|
322
351
|
oneOf: [
|
|
323
352
|
{
|
|
324
353
|
test: /\.(js|ts)x?$/,
|
|
325
|
-
|
|
354
|
+
include: ifCore([
|
|
355
|
+
resolveApp("src"),
|
|
356
|
+
resolveApp("node_modules/micromark"),
|
|
357
|
+
resolveApp("node_modules/decode-named-character-reference")
|
|
358
|
+
], [resolveApp("."), resolveApp("../../src")]),
|
|
326
359
|
loader: require.resolve("babel-loader"),
|
|
327
360
|
options: {
|
|
328
361
|
babelrc: false,
|
|
@@ -451,6 +484,7 @@ var getWebpackConfig = async (env) => {
|
|
|
451
484
|
},
|
|
452
485
|
devtool: ifMin(false, "cheap-module-source-map"),
|
|
453
486
|
devServer: {
|
|
487
|
+
port,
|
|
454
488
|
static: false,
|
|
455
489
|
historyApiFallback: {
|
|
456
490
|
disableDotRule: true
|
|
@@ -519,8 +553,12 @@ var getWebpackConfig = async (env) => {
|
|
|
519
553
|
ifMin() && ifCore() ? new import_copy_webpack_plugin.default({
|
|
520
554
|
patterns: [
|
|
521
555
|
{
|
|
522
|
-
from: "
|
|
523
|
-
to: "
|
|
556
|
+
from: "readme.md",
|
|
557
|
+
to: "readme.md"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
from: "readme.html",
|
|
561
|
+
to: "readme.html"
|
|
524
562
|
}
|
|
525
563
|
]
|
|
526
564
|
}) : void 0,
|
|
@@ -536,5 +574,6 @@ var getWebpackConfig = async (env) => {
|
|
|
536
574
|
return (0, import_webpack_config_utils2.removeEmpty)(config);
|
|
537
575
|
};
|
|
538
576
|
var webpack_config_default = getWebpackConfig;
|
|
577
|
+
module.exports = __toCommonJS(webpack_config_exports);
|
|
539
578
|
// Annotate the CommonJS export names for ESM import in node:
|
|
540
579
|
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.10",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "RaiseNow",
|
|
6
6
|
"email": "development@raisenow.com"
|
|
@@ -11,94 +11,92 @@
|
|
|
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
|
-
"
|
|
15
|
-
"lint
|
|
14
|
+
"docs": "npx -y http-server . --cors -o /readme.html",
|
|
15
|
+
"lint": "eslint . --fix && prettier --write ."
|
|
16
16
|
},
|
|
17
17
|
"bin": "dist/cli.js",
|
|
18
18
|
"engines": {
|
|
19
|
-
"node": ">=
|
|
19
|
+
"node": ">=16",
|
|
20
20
|
"npm": ">=8"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@babel/cli": "^7.
|
|
24
|
-
"@babel/core": "^7.
|
|
25
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
23
|
+
"@babel/cli": "^7.17.0",
|
|
24
|
+
"@babel/core": "^7.17.0",
|
|
25
|
+
"@babel/plugin-proposal-decorators": "^7.17.0",
|
|
26
26
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
27
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
28
|
-
"@babel/preset-env": "^7.
|
|
29
|
-
"@babel/preset-react": "^7.
|
|
30
|
-
"@babel/preset-typescript": "^7.
|
|
31
|
-
"@babel/runtime-corejs3": "^7.
|
|
32
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.
|
|
33
|
-
"@statoscope/webpack-plugin": "^5.
|
|
34
|
-
"@svgr/webpack": "^
|
|
27
|
+
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
28
|
+
"@babel/preset-env": "^7.16.11",
|
|
29
|
+
"@babel/preset-react": "^7.16.7",
|
|
30
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
31
|
+
"@babel/runtime-corejs3": "^7.17.0",
|
|
32
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
33
|
+
"@statoscope/webpack-plugin": "^5.20.1",
|
|
34
|
+
"@svgr/webpack": "^6.2.1",
|
|
35
35
|
"@types/columnify": "^1.5.1",
|
|
36
|
-
"@types/
|
|
37
|
-
"@types/css-
|
|
38
|
-
"@types/
|
|
39
|
-
"@types/
|
|
40
|
-
"@types/node": "^16.11.6",
|
|
41
|
-
"@types/node-notifier": "^8.0.1",
|
|
36
|
+
"@types/lodash": "^4.14.178",
|
|
37
|
+
"@types/mini-css-extract-plugin": "^2.5.1",
|
|
38
|
+
"@types/node": "^17.0.16",
|
|
39
|
+
"@types/node-notifier": "^8.0.2",
|
|
42
40
|
"@types/resolve-bin": "^0.4.1",
|
|
43
41
|
"@types/webpack-config-utils": "^2.3.1",
|
|
44
|
-
"@
|
|
45
|
-
"@typescript-eslint/
|
|
46
|
-
"
|
|
47
|
-
"autoprefixer": "^10.3.7",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
43
|
+
"@typescript-eslint/parser": "^5.11.0",
|
|
44
|
+
"autoprefixer": "^10.4.2",
|
|
48
45
|
"babel-loader": "^8.2.3",
|
|
49
46
|
"babel-plugin-lodash": "^3.3.4",
|
|
50
47
|
"boxen": "^5.1.2",
|
|
51
48
|
"chalk": "^4.1.2",
|
|
52
49
|
"clean-webpack-plugin": "^4.0.0",
|
|
53
|
-
"columnify": "^1.
|
|
54
|
-
"commander": "^
|
|
55
|
-
"copy-webpack-plugin": "^
|
|
56
|
-
"core-js": "^3.
|
|
57
|
-
"css-loader": "^6.
|
|
58
|
-
"css-minimizer-webpack-plugin": "^3.
|
|
50
|
+
"columnify": "^1.6.0",
|
|
51
|
+
"commander": "^9.0.0",
|
|
52
|
+
"copy-webpack-plugin": "^10.2.4",
|
|
53
|
+
"core-js": "^3.21.0",
|
|
54
|
+
"css-loader": "^6.6.0",
|
|
55
|
+
"css-minimizer-webpack-plugin": "^3.4.1",
|
|
59
56
|
"current-script-polyfill": "^1.0.0",
|
|
60
|
-
"dotenv": "^
|
|
61
|
-
"dotenv-expand": "^
|
|
57
|
+
"dotenv": "^16.0.0",
|
|
58
|
+
"dotenv-expand": "^8.0.1",
|
|
62
59
|
"element-closest": "^3.0.2",
|
|
63
60
|
"escape-string-regexp": "^4.0.0",
|
|
64
|
-
"eslint": "^8.
|
|
61
|
+
"eslint": "^8.8.0",
|
|
65
62
|
"eslint-config-prettier": "^8.3.0",
|
|
66
63
|
"eslint-plugin-node": "^11.1.0",
|
|
67
64
|
"eslint-plugin-prettier": "^4.0.0",
|
|
68
|
-
"eslint-plugin-promise": "^
|
|
65
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
69
66
|
"eslint-webpack-plugin": "^3.1.0",
|
|
70
67
|
"execa": "^5.1.1",
|
|
71
68
|
"file-loader": "^6.2.0",
|
|
72
|
-
"fork-ts-checker-webpack-plugin": "^
|
|
69
|
+
"fork-ts-checker-webpack-plugin": "^7.1.1",
|
|
73
70
|
"glob": "^7.2.0",
|
|
74
|
-
"html-loader": "^3.
|
|
71
|
+
"html-loader": "^3.1.0",
|
|
75
72
|
"html-webpack-plugin": "^5.5.0",
|
|
76
73
|
"json-loader": "^0.5.7",
|
|
77
74
|
"lodash": "^4.17.21",
|
|
78
|
-
"mini-css-extract-plugin": "^2.
|
|
79
|
-
"node-notifier": "^10.0.
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"postcss
|
|
83
|
-
"
|
|
84
|
-
"
|
|
75
|
+
"mini-css-extract-plugin": "^2.5.3",
|
|
76
|
+
"node-notifier": "^10.0.1",
|
|
77
|
+
"open": "^8.4.0",
|
|
78
|
+
"portfinder": "^1.0.28",
|
|
79
|
+
"postcss": "^8.4.6",
|
|
80
|
+
"postcss-custom-properties": "^12.1.4",
|
|
81
|
+
"postcss-loader": "^6.2.1",
|
|
82
|
+
"prettier": "^2.5.1",
|
|
83
|
+
"react-refresh": "^0.11.0",
|
|
85
84
|
"resolve-bin": "^1.0.0",
|
|
86
|
-
"resolve-url-loader": "^
|
|
87
|
-
"sass": "^1.
|
|
88
|
-
"sass-loader": "^12.
|
|
89
|
-
"source-map-loader": "^3.0.
|
|
85
|
+
"resolve-url-loader": "^5.0.0",
|
|
86
|
+
"sass": "^1.49.7",
|
|
87
|
+
"sass-loader": "^12.4.0",
|
|
88
|
+
"source-map-loader": "^3.0.1",
|
|
90
89
|
"strip-indent": "^3.0.0",
|
|
91
90
|
"style-loader": "^3.3.1",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"typescript": "^4.4.4",
|
|
91
|
+
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
92
|
+
"tsup": "^5.11.13",
|
|
93
|
+
"typescript": "^4.5.5",
|
|
96
94
|
"unfetch": "^4.2.0",
|
|
97
95
|
"url-loader": "^4.1.1",
|
|
98
|
-
"webpack": "^5.
|
|
99
|
-
"webpack-cli": "^4.9.
|
|
96
|
+
"webpack": "^5.68.0",
|
|
97
|
+
"webpack-cli": "^4.9.2",
|
|
100
98
|
"webpack-config-utils": "^2.3.1",
|
|
101
|
-
"webpack-dev-server": "^4.4
|
|
99
|
+
"webpack-dev-server": "^4.7.4",
|
|
102
100
|
"yaml-loader": "^0.6.0"
|
|
103
101
|
}
|
|
104
102
|
}
|
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>
|