piral-cli 1.4.0-beta.6250 → 1.4.0-beta.6252
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/lib/api.js +8 -17
- package/lib/api.js.map +1 -1
- package/lib/apps/add-piral-instance-pilet.js +20 -31
- package/lib/apps/add-piral-instance-pilet.js.map +1 -1
- package/lib/apps/build-pilet.js +139 -147
- package/lib/apps/build-pilet.js.map +1 -1
- package/lib/apps/build-piral.js +130 -144
- package/lib/apps/build-piral.js.map +1 -1
- package/lib/apps/debug-pilet.js +107 -119
- package/lib/apps/debug-pilet.js.map +1 -1
- package/lib/apps/debug-piral.js +62 -70
- package/lib/apps/debug-piral.js.map +1 -1
- package/lib/apps/declaration-piral.js +6 -17
- package/lib/apps/declaration-piral.js.map +1 -1
- package/lib/apps/new-pilet.js +71 -82
- package/lib/apps/new-pilet.js.map +1 -1
- package/lib/apps/new-piral.js +42 -53
- package/lib/apps/new-piral.js.map +1 -1
- package/lib/apps/pack-pilet.js +7 -18
- package/lib/apps/pack-pilet.js.map +1 -1
- package/lib/apps/publish-pilet.js +127 -141
- package/lib/apps/publish-pilet.js.map +1 -1
- package/lib/apps/publish-piral.js +48 -63
- package/lib/apps/publish-piral.js.map +1 -1
- package/lib/apps/remove-piral-instance-pilet.js +30 -35
- package/lib/apps/remove-piral-instance-pilet.js.map +1 -1
- package/lib/apps/run-emulator-piral.js +49 -61
- package/lib/apps/run-emulator-piral.js.map +1 -1
- package/lib/apps/upgrade-pilet.js +64 -76
- package/lib/apps/upgrade-pilet.js.map +1 -1
- package/lib/apps/upgrade-piral.js +31 -43
- package/lib/apps/upgrade-piral.js.map +1 -1
- package/lib/apps/validate-pilet.js +34 -45
- package/lib/apps/validate-pilet.js.map +1 -1
- package/lib/apps/validate-piral.js +29 -51
- package/lib/apps/validate-piral.js.map +1 -1
- package/lib/build/bundler-calls.js +12 -3
- package/lib/build/bundler-calls.js.map +1 -1
- package/lib/build/run-build-pilet.js +5 -14
- package/lib/build/run-build-pilet.js.map +1 -1
- package/lib/build/run-build-piral.js +5 -14
- package/lib/build/run-build-piral.js.map +1 -1
- package/lib/build/run-debug-mono-piral.js +5 -14
- package/lib/build/run-debug-mono-piral.js.map +1 -1
- package/lib/build/run-debug-pilet.js +5 -14
- package/lib/build/run-debug-pilet.js.map +1 -1
- package/lib/build/run-debug-piral.js +5 -14
- package/lib/build/run-debug-piral.js.map +1 -1
- package/lib/bundler.js +100 -127
- package/lib/bundler.js.map +1 -1
- package/lib/commands.js +5 -1
- package/lib/commands.js.map +1 -1
- package/lib/common/browser.js +13 -26
- package/lib/common/browser.js.map +1 -1
- package/lib/common/compatibility.js +10 -21
- package/lib/common/compatibility.js.map +1 -1
- package/lib/common/declaration.js +80 -101
- package/lib/common/declaration.js.map +1 -1
- package/lib/common/emulator.js +186 -182
- package/lib/common/emulator.js.map +1 -1
- package/lib/common/http.js +7 -4
- package/lib/common/http.js.map +1 -1
- package/lib/common/importmap.js +172 -187
- package/lib/common/importmap.js.map +1 -1
- package/lib/common/injectors.js +4 -1
- package/lib/common/injectors.js.map +1 -1
- package/lib/common/inspect.js +5 -2
- package/lib/common/inspect.js.map +1 -1
- package/lib/common/interactive.js +9 -15
- package/lib/common/interactive.js.map +1 -1
- package/lib/common/io.js +256 -299
- package/lib/common/io.js.map +1 -1
- package/lib/common/language.js +21 -5
- package/lib/common/language.js.map +1 -1
- package/lib/common/npm.js +193 -228
- package/lib/common/npm.js.map +1 -1
- package/lib/common/pack.js +71 -86
- package/lib/common/pack.js.map +1 -1
- package/lib/common/package.js +426 -448
- package/lib/common/package.js.map +1 -1
- package/lib/common/parallel.js +12 -23
- package/lib/common/parallel.js.map +1 -1
- package/lib/common/patcher.js +54 -71
- package/lib/common/patcher.js.map +1 -1
- package/lib/common/platform.js +1 -12
- package/lib/common/platform.js.map +1 -1
- package/lib/common/port.js +11 -24
- package/lib/common/port.js.map +1 -1
- package/lib/common/rules.js +6 -17
- package/lib/common/rules.js.map +1 -1
- package/lib/common/scaffold.js +52 -59
- package/lib/common/scaffold.js.map +1 -1
- package/lib/common/shell.js +49 -58
- package/lib/common/shell.js.map +1 -1
- package/lib/common/spec.js +1 -1
- package/lib/common/spec.js.map +1 -1
- package/lib/common/template.js +3 -14
- package/lib/common/template.js.map +1 -1
- package/lib/common/watcher.js +7 -16
- package/lib/common/watcher.js.map +1 -1
- package/lib/common/website.d.ts +1 -0
- package/lib/common/website.js +67 -57
- package/lib/common/website.js.map +1 -1
- package/lib/injectors/pilet-injector.js +138 -145
- package/lib/injectors/pilet-injector.js.map +1 -1
- package/lib/injectors/piral-injector.js +55 -67
- package/lib/injectors/piral-injector.js.map +1 -1
- package/lib/messages.d.ts +81 -0
- package/lib/messages.js +94 -1
- package/lib/messages.js.map +1 -1
- package/lib/npm-clients/bun.js +36 -60
- package/lib/npm-clients/bun.js.map +1 -1
- package/lib/npm-clients/index.js +10 -21
- package/lib/npm-clients/index.js.map +1 -1
- package/lib/npm-clients/lerna.js +48 -72
- package/lib/npm-clients/lerna.js.map +1 -1
- package/lib/npm-clients/npm.js +69 -105
- package/lib/npm-clients/npm.js.map +1 -1
- package/lib/npm-clients/pnp.js +35 -59
- package/lib/npm-clients/pnp.js.map +1 -1
- package/lib/npm-clients/pnpm.js +35 -59
- package/lib/npm-clients/pnpm.js.map +1 -1
- package/lib/npm-clients/rush.js +53 -77
- package/lib/npm-clients/rush.js.map +1 -1
- package/lib/npm-clients/yarn.js +35 -59
- package/lib/npm-clients/yarn.js.map +1 -1
- package/lib/platforms/node.js +4 -17
- package/lib/platforms/node.js.map +1 -1
- package/lib/platforms/web.js +81 -96
- package/lib/platforms/web.js.map +1 -1
- package/lib/plugin.js +56 -75
- package/lib/plugin.js.map +1 -1
- package/lib/questionnaire.js +46 -12
- package/lib/questionnaire.js.map +1 -1
- package/lib/release.js +32 -47
- package/lib/release.js.map +1 -1
- package/lib/rules/index.js +10 -23
- package/lib/rules/index.js.map +1 -1
- package/lib/rules/pilet-has-externals-as-peers.js +34 -45
- package/lib/rules/pilet-has-externals-as-peers.js.map +1 -1
- package/lib/rules/pilet-has-no-self-reference.js +16 -27
- package/lib/rules/pilet-has-no-self-reference.js.map +1 -1
- package/lib/rules/pilet-has-non-conflicting-css.js +27 -42
- package/lib/rules/pilet-has-non-conflicting-css.js.map +1 -1
- package/lib/rules/pilet-stays-small.js +20 -33
- package/lib/rules/pilet-stays-small.js.map +1 -1
- package/lib/rules/pilet-uses-latest-piral.js +17 -28
- package/lib/rules/pilet-uses-latest-piral.js.map +1 -1
- package/lib/rules/piral-has-valid-devDependencies.js +4 -1
- package/lib/rules/piral-has-valid-devDependencies.js.map +1 -1
- package/lib/runner.js +3 -12
- package/lib/runner.js.map +1 -1
- package/lib/select.js +21 -32
- package/lib/select.js.map +1 -1
- package/lib/start.js +6 -17
- package/lib/start.js.map +1 -1
- package/package.json +2 -2
- package/src/apps/build-piral.test.ts +1 -1
- package/src/common/package.ts +9 -2
- package/src/common/website.ts +43 -15
- package/src/injectors/pilet-injector.ts +12 -2
- package/src/messages.ts +93 -0
package/lib/common/pack.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.createPiletPackage = void 0;
|
|
13
4
|
const path_1 = require("path");
|
|
@@ -16,87 +7,81 @@ const utils_1 = require("./utils");
|
|
|
16
7
|
const log_1 = require("./log");
|
|
17
8
|
const io_1 = require("./io");
|
|
18
9
|
const inspect_1 = require("./inspect");
|
|
19
|
-
function getPiletContentDir(root, packageData) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return (0, path_1.dirname)(file);
|
|
26
|
-
}
|
|
10
|
+
async function getPiletContentDir(root, packageData) {
|
|
11
|
+
const paths = (0, inspect_1.getPossiblePiletMainPaths)(packageData);
|
|
12
|
+
for (const path of paths) {
|
|
13
|
+
const file = (0, path_1.resolve)(root, path);
|
|
14
|
+
if (await (0, io_1.checkExists)(file)) {
|
|
15
|
+
return (0, path_1.dirname)(file);
|
|
27
16
|
}
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
}
|
|
18
|
+
return root;
|
|
30
19
|
}
|
|
31
|
-
function getUniqueFiles(files) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
result.push(...unique);
|
|
42
|
-
}
|
|
43
|
-
else if ((0, utils_1.onlyUniqueFiles)(file, result.length, result)) {
|
|
44
|
-
result.push(file);
|
|
45
|
-
}
|
|
20
|
+
async function getUniqueFiles(files) {
|
|
21
|
+
const result = [];
|
|
22
|
+
for (const file of files) {
|
|
23
|
+
const isDirectory = await (0, io_1.checkIsDirectory)(file);
|
|
24
|
+
if (isDirectory) {
|
|
25
|
+
const names = await (0, io_1.getFileNames)(file);
|
|
26
|
+
const subFiles = names.map((name) => (0, path_1.resolve)(file, name));
|
|
27
|
+
const items = await getUniqueFiles(subFiles);
|
|
28
|
+
const unique = items.filter((m) => (0, utils_1.onlyUniqueFiles)(m, result.length, result));
|
|
29
|
+
result.push(...unique);
|
|
46
30
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
function createPiletPackage(baseDir, source, target) {
|
|
51
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
const root = (0, path_1.resolve)(baseDir, source);
|
|
53
|
-
const dest = (0, path_1.resolve)(baseDir, target);
|
|
54
|
-
(0, log_1.log)('generalDebug_0003', `Reading the package at "${root}" ...`);
|
|
55
|
-
const pckg = yield (0, io_1.readJson)(root, 'package.json');
|
|
56
|
-
(0, log_1.log)('generalDebug_0003', 'Successfully read package.');
|
|
57
|
-
if (!pckg) {
|
|
58
|
-
(0, log_1.fail)('packageJsonNotFound_0020');
|
|
59
|
-
}
|
|
60
|
-
if (!pckg.name) {
|
|
61
|
-
(0, log_1.fail)('packageJsonMissingName_0021');
|
|
62
|
-
}
|
|
63
|
-
if (!pckg.version) {
|
|
64
|
-
(0, log_1.fail)('packageJsonMissingVersion_0022');
|
|
65
|
-
}
|
|
66
|
-
const isFileTarget = target.endsWith('.tgz');
|
|
67
|
-
(0, log_1.progress)(`Packing pilet in "${root}" ...`);
|
|
68
|
-
const pckgName = pckg.name.replace(/@/g, '').replace(/\//g, '-');
|
|
69
|
-
const id = `${pckgName}-${pckg.version}`;
|
|
70
|
-
const name = isFileTarget ? (0, path_1.basename)(target) : `${id}.tgz`;
|
|
71
|
-
const file = isFileTarget ? dest : (0, path_1.resolve)(dest, name);
|
|
72
|
-
(0, log_1.log)('generalDebug_0003', `Assume package name "${name}".`);
|
|
73
|
-
const content = yield getPiletContentDir(root, pckg);
|
|
74
|
-
const files = [(0, path_1.resolve)(root, 'package.json'), content];
|
|
75
|
-
const readme = (0, path_1.resolve)(root, 'README.md');
|
|
76
|
-
if (Array.isArray(pckg.files)) {
|
|
77
|
-
const additionalFiles = pckg.files
|
|
78
|
-
.filter((f) => typeof f === 'string')
|
|
79
|
-
.map((f) => (0, path_1.resolve)(root, f));
|
|
80
|
-
files.push(...additionalFiles);
|
|
31
|
+
else if ((0, utils_1.onlyUniqueFiles)(file, result.length, result)) {
|
|
32
|
+
result.push(file);
|
|
81
33
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
(0, log_1.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
34
|
+
}
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
async function createPiletPackage(baseDir, source, target) {
|
|
38
|
+
const root = (0, path_1.resolve)(baseDir, source);
|
|
39
|
+
const dest = (0, path_1.resolve)(baseDir, target);
|
|
40
|
+
(0, log_1.log)('generalDebug_0003', `Reading the package at "${root}" ...`);
|
|
41
|
+
const pckg = await (0, io_1.readJson)(root, 'package.json');
|
|
42
|
+
(0, log_1.log)('generalDebug_0003', 'Successfully read package.');
|
|
43
|
+
if (!pckg) {
|
|
44
|
+
(0, log_1.fail)('packageJsonNotFound_0020');
|
|
45
|
+
}
|
|
46
|
+
if (!pckg.name) {
|
|
47
|
+
(0, log_1.fail)('packageJsonMissingName_0021');
|
|
48
|
+
}
|
|
49
|
+
if (!pckg.version) {
|
|
50
|
+
(0, log_1.fail)('packageJsonMissingVersion_0022');
|
|
51
|
+
}
|
|
52
|
+
const isFileTarget = target.endsWith('.tgz');
|
|
53
|
+
(0, log_1.progress)(`Packing pilet in "${root}" ...`);
|
|
54
|
+
const pckgName = pckg.name.replace(/@/g, '').replace(/\//g, '-');
|
|
55
|
+
const id = `${pckgName}-${pckg.version}`;
|
|
56
|
+
const name = isFileTarget ? (0, path_1.basename)(target) : `${id}.tgz`;
|
|
57
|
+
const file = isFileTarget ? dest : (0, path_1.resolve)(dest, name);
|
|
58
|
+
(0, log_1.log)('generalDebug_0003', `Assume package name "${name}".`);
|
|
59
|
+
const content = await getPiletContentDir(root, pckg);
|
|
60
|
+
const files = [(0, path_1.resolve)(root, 'package.json'), content];
|
|
61
|
+
const readme = (0, path_1.resolve)(root, 'README.md');
|
|
62
|
+
if (Array.isArray(pckg.files)) {
|
|
63
|
+
const additionalFiles = pckg.files
|
|
64
|
+
.filter((f) => typeof f === 'string')
|
|
65
|
+
.map((f) => (0, path_1.resolve)(root, f));
|
|
66
|
+
files.push(...additionalFiles);
|
|
67
|
+
}
|
|
68
|
+
if (await (0, io_1.checkExists)(readme)) {
|
|
69
|
+
files.push(readme);
|
|
70
|
+
}
|
|
71
|
+
(0, log_1.log)('generalDebug_0003', `Reading out unique files from "${content}" ...`);
|
|
72
|
+
const uniqueFiles = await getUniqueFiles(files);
|
|
73
|
+
// Edge case: If the files to be packaged contains the destination .tgz file, e.g., as a leftover
|
|
74
|
+
// from a previous build/pack, exclude that file, because it will be overwritten/replaced in the
|
|
75
|
+
// upcoming steps.
|
|
76
|
+
if (uniqueFiles.includes(file)) {
|
|
77
|
+
uniqueFiles.splice(uniqueFiles.indexOf(file), 1);
|
|
78
|
+
}
|
|
79
|
+
(0, log_1.log)('generalDebug_0003', `Creating directory if not exist for "${file}" ...`);
|
|
80
|
+
await (0, io_1.createDirectory)((0, path_1.dirname)(file));
|
|
81
|
+
(0, log_1.log)('generalDebug_0003', `Creating compressed archive at "${file}" relative to "${root}" ...`);
|
|
82
|
+
await (0, archive_1.createTgz)(file, root, uniqueFiles.map((file) => (0, path_1.relative)(root, file)));
|
|
83
|
+
(0, log_1.log)('generalDebug_0003', `Successfully created package "${file}" from "${root}".`);
|
|
84
|
+
return file;
|
|
100
85
|
}
|
|
101
86
|
exports.createPiletPackage = createPiletPackage;
|
|
102
87
|
//# sourceMappingURL=pack.js.map
|
package/lib/common/pack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack.js","sourceRoot":"","sources":["../../src/common/pack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pack.js","sourceRoot":"","sources":["../../src/common/pack.ts"],"names":[],"mappings":";;;AAAA,+BAA4D;AAC5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