@packtory/cli 0.0.102 → 0.0.104
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/command-line-interface/config-loader.js +2 -33
- package/command-line-interface/config-loader.js.map +1 -1
- package/command-line-interface/one-time-password-prompt.js +0 -31
- package/command-line-interface/one-time-password-prompt.js.map +1 -1
- package/command-line-interface/preview-io/preview-io-shared.js +2 -31
- package/command-line-interface/preview-io/preview-io-shared.js.map +1 -1
- package/command-line-interface/preview-io/preview-io.js +4 -15
- package/command-line-interface/preview-io/preview-io.js.map +1 -1
- package/command-line-interface/preview-io/preview-spawn.js +1 -26
- package/command-line-interface/preview-io/preview-spawn.js.map +1 -1
- package/command-line-interface/runner/changelog-destinations.js +5 -220
- package/command-line-interface/runner/changelog-destinations.js.map +1 -1
- package/command-line-interface/runner/changelog-handler.js +5 -79
- package/command-line-interface/runner/changelog-handler.js.map +1 -1
- package/command-line-interface/runner/changelog-pr-log-config.js +1 -147
- package/command-line-interface/runner/changelog-pr-log-config.js.map +1 -1
- package/command-line-interface/runner/command-parsing.js +0 -10
- package/command-line-interface/runner/command-parsing.js.map +1 -1
- package/command-line-interface/runner/config-inspect-handler.js +4 -79
- package/command-line-interface/runner/config-inspect-handler.js.map +1 -1
- package/command-line-interface/runner/failure-printing.js +5 -75
- package/command-line-interface/runner/failure-printing.js.map +1 -1
- package/command-line-interface/runner/github-api-request.js +0 -100
- package/command-line-interface/runner/github-api-request.js.map +1 -1
- package/command-line-interface/runner/github-release-client.js +2 -102
- package/command-line-interface/runner/github-release-client.js.map +1 -1
- package/command-line-interface/runner/github-release-notes.js +1 -74
- package/command-line-interface/runner/github-release-notes.js.map +1 -1
- package/command-line-interface/runner/github-repository.js +1 -14
- package/command-line-interface/runner/github-repository.js.map +1 -1
- package/command-line-interface/runner/pack-handler.js +4 -201
- package/command-line-interface/runner/pack-handler.js.map +1 -1
- package/command-line-interface/runner/package-dependencies-handler.js +3 -53
- package/command-line-interface/runner/package-dependencies-handler.js.map +1 -1
- package/command-line-interface/runner/package-tree-handler.js +3 -66
- package/command-line-interface/runner/package-tree-handler.js.map +1 -1
- package/command-line-interface/runner/preview-handler.js +4 -50
- package/command-line-interface/runner/preview-handler.js.map +1 -1
- package/command-line-interface/runner/progress-wiring.js +0 -32
- package/command-line-interface/runner/progress-wiring.js.map +1 -1
- package/command-line-interface/runner/publish-handler.js +2 -45
- package/command-line-interface/runner/publish-handler.js.map +1 -1
- package/command-line-interface/runner/release-diff-handler.js +3 -33
- package/command-line-interface/runner/release-diff-handler.js.map +1 -1
- package/command-line-interface/runner/release-handler.js +5 -246
- package/command-line-interface/runner/release-handler.js.map +1 -1
- package/command-line-interface/runner/release-output-files.js +2 -24
- package/command-line-interface/runner/release-output-files.js.map +1 -1
- package/command-line-interface/runner/release-plan-result-printing.js +2 -25
- package/command-line-interface/runner/release-plan-result-printing.js.map +1 -1
- package/command-line-interface/runner/release-pr-branch-commit.js +2 -108
- package/command-line-interface/runner/release-pr-branch-commit.js.map +1 -1
- package/command-line-interface/runner/release-pr-github-client.js +8 -289
- package/command-line-interface/runner/release-pr-github-client.js.map +1 -1
- package/command-line-interface/runner/release-pr-workflow-run-cancellation.js +3 -66
- package/command-line-interface/runner/release-pr-workflow-run-cancellation.js.map +1 -1
- package/command-line-interface/runner/release-pr-workflow-runs.js +1 -52
- package/command-line-interface/runner/release-pr-workflow-runs.js.map +1 -1
- package/command-line-interface/runner/release-preparation.js +4 -91
- package/command-line-interface/runner/release-preparation.js.map +1 -1
- package/command-line-interface/runner/release-publish-authorization.js +1 -66
- package/command-line-interface/runner/release-publish-authorization.js.map +1 -1
- package/command-line-interface/runner/release-pull-request-ci.js +0 -297
- package/command-line-interface/runner/release-pull-request-ci.js.map +1 -1
- package/command-line-interface/runner/release-pull-request-config.d.ts +0 -38
- package/command-line-interface/runner/release-pull-request-config.d.ts.map +1 -1
- package/command-line-interface/runner/release-pull-request-config.js +5 -51
- package/command-line-interface/runner/release-pull-request-config.js.map +1 -1
- package/command-line-interface/runner/release-pull-request-handler.js +9 -320
- package/command-line-interface/runner/release-pull-request-handler.js.map +1 -1
- package/command-line-interface/runner/release-pull-request-policy.js +0 -46
- package/command-line-interface/runner/release-pull-request-policy.js.map +1 -1
- package/command-line-interface/runner/release-pull-request-settings.js +2 -18
- package/command-line-interface/runner/release-pull-request-settings.js.map +1 -1
- package/command-line-interface/runner/report-persistence.js +2 -25
- package/command-line-interface/runner/report-persistence.js.map +1 -1
- package/command-line-interface/runner/runner-symbols.js +1 -10
- package/command-line-interface/runner/runner-symbols.js.map +1 -1
- package/command-line-interface/runner/runner.js +14 -385
- package/command-line-interface/runner/runner.js.map +1 -1
- package/command-line-interface/runner/terminal-error-chain.js +0 -101
- package/command-line-interface/runner/terminal-error-chain.js.map +1 -1
- package/command-line-interface/spinner/line-spinner-renderer.js +2 -49
- package/command-line-interface/spinner/line-spinner-renderer.js.map +1 -1
- package/command-line-interface/spinner/spinner-boot.js +1 -9
- package/command-line-interface/spinner/spinner-boot.js.map +1 -1
- package/command-line-interface/spinner/spinner-glyphs.js +1 -30
- package/command-line-interface/spinner/spinner-glyphs.js.map +1 -1
- package/command-line-interface/spinner/spinner-render-sequence.js +2 -30
- package/command-line-interface/spinner/spinner-render-sequence.js.map +1 -1
- package/command-line-interface/spinner/spinner-runtime.js +1 -30
- package/command-line-interface/spinner/spinner-runtime.js.map +1 -1
- package/command-line-interface/spinner/spinner-shared-state.js +0 -271
- package/command-line-interface/spinner/spinner-shared-state.js.map +1 -1
- package/command-line-interface/spinner/spinner-snapshots.js +1 -11
- package/command-line-interface/spinner/spinner-snapshots.js.map +1 -1
- package/command-line-interface/spinner/spinner-worker-backend.js +0 -42
- package/command-line-interface/spinner/spinner-worker-backend.js.map +1 -1
- package/command-line-interface/spinner/spinner-worker-loop.js +3 -39
- package/command-line-interface/spinner/spinner-worker-loop.js.map +1 -1
- package/command-line-interface/spinner/terminal-spinner-renderer.js +0 -54
- package/command-line-interface/spinner/terminal-spinner-renderer.js.map +1 -1
- package/common/path-tree.js +2 -100
- package/common/path-tree.js.map +1 -1
- package/package.json +3 -3
- package/packages/command-line-interface/pull-request-label-versioning.js +3 -80
- package/packages/command-line-interface/pull-request-label-versioning.js.map +1 -1
- package/packages/command-line-interface/spinner-boot.entry-point.js +3 -40
- package/packages/command-line-interface/spinner-boot.entry-point.js.map +1 -1
- package/packtory/changelog-source-file-history.js +2 -108
- package/packtory/changelog-source-file-history.js.map +1 -1
- package/packtory/packtory-changelog.js +5 -294
- package/packtory/packtory-changelog.js.map +1 -1
- package/report/html-renderer/artifact-tree-renderer.js +4 -28
- package/report/html-renderer/artifact-tree-renderer.js.map +1 -1
- package/report/html-renderer/diagnostics-renderer.js +2 -38
- package/report/html-renderer/diagnostics-renderer.js.map +1 -1
- package/report/html-renderer/diff-renderer.js +1 -28
- package/report/html-renderer/diff-renderer.js.map +1 -1
- package/report/html-renderer/eliminated-files-renderer.js +2 -15
- package/report/html-renderer/eliminated-files-renderer.js.map +1 -1
- package/report/html-renderer/html-escaping.js +0 -8
- package/report/html-renderer/html-escaping.js.map +1 -1
- package/report/html-renderer/html-primitives.js +1 -23
- package/report/html-renderer/html-primitives.js.map +1 -1
- package/report/html-renderer/html-renderer.js +4 -60
- package/report/html-renderer/html-renderer.js.map +1 -1
- package/report/html-renderer/html-styles.js +0 -176
- package/report/html-renderer/html-styles.js.map +1 -1
- package/report/html-renderer/package-renderer.js +6 -31
- package/report/html-renderer/package-renderer.js.map +1 -1
- package/report/preview/artifact-diff-builder.js +2 -19
- package/report/preview/artifact-diff-builder.js.map +1 -1
- package/report/preview/artifact-tree-builder.js +1 -19
- package/report/preview/artifact-tree-builder.js.map +1 -1
- package/report/preview/bundle-artifact-index.js +1 -15
- package/report/preview/bundle-artifact-index.js.map +1 -1
- package/report/preview/preview-document-state.js +0 -16
- package/report/preview/preview-document-state.js.map +1 -1
- package/report/preview/preview-document.js +6 -84
- package/report/preview/preview-document.js.map +1 -1
- package/report/preview/preview-result-inspectors.js +2 -33
- package/report/preview/preview-result-inspectors.js.map +1 -1
- package/report/preview/preview-summary.js +0 -25
- package/report/preview/preview-summary.js.map +1 -1
- package/report/release-diff/release-diff-document.js +2 -25
- package/report/release-diff/release-diff-document.js.map +1 -1
- package/report/release-diff/release-diff-summary.js +1 -39
- package/report/release-diff/release-diff-summary.js.map +1 -1
- package/report/terminal-renderer/terminal-artifact-renderer.js +2 -30
- package/report/terminal-renderer/terminal-artifact-renderer.js.map +1 -1
- package/report/terminal-renderer/terminal-package-dependencies-renderer.js +1 -77
- package/report/terminal-renderer/terminal-package-dependencies-renderer.js.map +1 -1
- package/report/terminal-renderer/terminal-package-renderer.js +2 -74
- package/report/terminal-renderer/terminal-package-renderer.js.map +1 -1
- package/report/terminal-renderer/terminal-package-tree-renderer.js +3 -16
- package/report/terminal-renderer/terminal-package-tree-renderer.js.map +1 -1
- package/report/terminal-renderer/terminal-preview-renderer-shared.js +3 -61
- package/report/terminal-renderer/terminal-preview-renderer-shared.js.map +1 -1
- package/report/terminal-renderer/terminal-preview-renderer.js +2 -54
- package/report/terminal-renderer/terminal-preview-renderer.js.map +1 -1
- package/report/terminal-renderer/terminal-release-diff-package-renderer.js +4 -145
- package/report/terminal-renderer/terminal-release-diff-package-renderer.js.map +1 -1
- package/report/terminal-renderer/terminal-release-diff-renderer.js +2 -48
- package/report/terminal-renderer/terminal-release-diff-renderer.js.map +1 -1
- package/sbom.cdx.json +15 -15
|
@@ -1,75 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export function missingGitHubReleaseNotes(target) {
|
|
3
|
-
throw new Error(`GitHub release notes for "${target.tagName}" could not be generated`);
|
|
4
|
-
}
|
|
5
|
-
function hasReleaseNotes(value) {
|
|
6
|
-
return value !== undefined && value.trim().length > 0;
|
|
7
|
-
}
|
|
8
|
-
function escapeRegExp(value) {
|
|
9
|
-
return value.replaceAll(/[.*+?^${}()|[\]\\]/gu, '\\$&');
|
|
10
|
-
}
|
|
11
|
-
function releaseNotesHeadingPattern(target) {
|
|
12
|
-
const packageName = escapeRegExp(target.name);
|
|
13
|
-
const version = escapeRegExp(target.version);
|
|
14
|
-
return new RegExp(`^##\\s+(?:${packageName}\\s+)?${version}(?:\\s|\\(|$)`);
|
|
15
|
-
}
|
|
16
|
-
function extractReleaseNotes(markdown, target) {
|
|
17
|
-
const lines = markdown.split(/\r?\n/u);
|
|
18
|
-
const headingPattern = releaseNotesHeadingPattern(target);
|
|
19
|
-
const start = lines.findIndex(function (line) {
|
|
20
|
-
return headingPattern.test(line);
|
|
21
|
-
});
|
|
22
|
-
if (start === -1) {
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
25
|
-
const next = lines.findIndex(function (line, index) {
|
|
26
|
-
return index > start && line.startsWith('## ');
|
|
27
|
-
});
|
|
28
|
-
const end = next === -1 ? lines.length : next;
|
|
29
|
-
const releaseNotes = lines.slice(start, end).join('\n').trim();
|
|
30
|
-
const hasBody = lines.slice(start + 1, end).some(function (line) {
|
|
31
|
-
return line.trim().length > 0;
|
|
32
|
-
});
|
|
33
|
-
return hasBody ? releaseNotes : undefined;
|
|
34
|
-
}
|
|
35
|
-
function isMissingFileError(error) {
|
|
36
|
-
return Reflect.get(new Object(error), 'code') === 'ENOENT';
|
|
37
|
-
}
|
|
38
|
-
function packageChangelogPathFor(dependencies, config, packageName) {
|
|
39
|
-
const outputPath = collectChangelogOutputFilePaths(dependencies, config).find(function (entry) {
|
|
40
|
-
return entry.packageName === packageName;
|
|
41
|
-
});
|
|
42
|
-
return outputPath?.filePath;
|
|
43
|
-
}
|
|
44
|
-
async function readConfiguredReleaseNotes(dependencies, config, target) {
|
|
45
|
-
const changelogPath = packageChangelogPathFor(dependencies, config, target.name);
|
|
46
|
-
if (changelogPath === undefined) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
try {
|
|
50
|
-
return extractReleaseNotes(await dependencies.fileManager.readFile(changelogPath), target);
|
|
51
|
-
}
|
|
52
|
-
catch (error) {
|
|
53
|
-
if (isMissingFileError(error)) {
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
56
|
-
throw error;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
async function recoverMissingReleaseNotes(dependencies, config, target) {
|
|
60
|
-
const releaseNotes = await readConfiguredReleaseNotes(dependencies, config, target);
|
|
61
|
-
if (!hasReleaseNotes(releaseNotes)) {
|
|
62
|
-
missingGitHubReleaseNotes(target);
|
|
63
|
-
}
|
|
64
|
-
return releaseNotes;
|
|
65
|
-
}
|
|
66
|
-
export async function collectGitHubReleaseNotes(dependencies, config, targets, changelog) {
|
|
67
|
-
const releaseNotesByPackageName = new Map(changelog.packageMarkdownByName);
|
|
68
|
-
for (const target of targets) {
|
|
69
|
-
if (!hasReleaseNotes(releaseNotesByPackageName.get(target.name))) {
|
|
70
|
-
releaseNotesByPackageName.set(target.name, await recoverMissingReleaseNotes(dependencies, config, target));
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return releaseNotesByPackageName;
|
|
74
|
-
}
|
|
1
|
+
import "./changelog-destinations.js";
|
|
75
2
|
//# sourceMappingURL=github-release-notes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-release-notes.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/github-release-notes.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"github-release-notes.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/github-release-notes.ts"],"names":[],"mappings":"AACA,OAAsE,6BAA6B,CAAC;AA0BxE,QAYxB,KAwBA"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const githubRepositoryPattern = /^https:\/\/github\.com\/(?<owner>[^/]+)\/(?<repo>[^/]+)$/u;
|
|
3
|
-
export function parseGitHubRepositoryParts(packageInfo) {
|
|
4
|
-
const repositoryUrl = normalizeRepositoryUrl(packageInfo.repository);
|
|
5
|
-
const match = githubRepositoryPattern.exec(String(repositoryUrl));
|
|
6
|
-
if (match?.groups === undefined) {
|
|
7
|
-
throw new Error('package.json repository must point to a GitHub repository');
|
|
8
|
-
}
|
|
9
|
-
return { owner: String(match.groups.owner), repo: String(match.groups.repo) };
|
|
10
|
-
}
|
|
11
|
-
export function formatGitHubRepositoryName(packageInfo) {
|
|
12
|
-
const repository = parseGitHubRepositoryParts(packageInfo);
|
|
13
|
-
return `${repository.owner}/${repository.repo}`;
|
|
14
|
-
}
|
|
1
|
+
import "packtory/bundle-emitter/repository-url-normalizer.js";
|
|
15
2
|
//# sourceMappingURL=github-repository.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-repository.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/github-repository.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"github-repository.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/github-repository.ts"],"names":[],"mappings":"AAAA,OAAuC,sDAAmD,CAAC;AAO3D"}
|
|
@@ -1,202 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const issuePrefixByType = {
|
|
6
|
-
[configErrorType]: 'The provided config is invalid',
|
|
7
|
-
[checksErrorType]: 'Checks failed'
|
|
8
|
-
};
|
|
9
|
-
const conflictingAllPackageMessage = 'Pass either --all or <package>, not both';
|
|
10
|
-
const unsupportedAllFormatMessage = 'pack --all only supports --format folder';
|
|
11
|
-
const missingPackageMessage = 'Pass <package> or --all';
|
|
12
|
-
const allPackMode = new Set();
|
|
13
|
-
const packModeRules = [
|
|
14
|
-
{
|
|
15
|
-
invalid(flags) {
|
|
16
|
-
return flags.all && flags.packageName !== undefined;
|
|
17
|
-
},
|
|
18
|
-
message: conflictingAllPackageMessage
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
invalid(flags) {
|
|
22
|
-
return flags.all && flags.format !== 'folder';
|
|
23
|
-
},
|
|
24
|
-
message: unsupportedAllFormatMessage
|
|
25
|
-
}
|
|
26
|
-
];
|
|
27
|
-
function formatIssueList(prefix, issues) {
|
|
28
|
-
const issueCount = `${issues.length} issue(s)`;
|
|
29
|
-
return `${getErrorSymbol()} ${prefix}, there are ${issueCount}\n\n- ${issues.join('\n- ')}`;
|
|
30
|
-
}
|
|
31
|
-
function formatBulletedLines(header, details) {
|
|
32
|
-
return [header, ...details].join('\n');
|
|
33
|
-
}
|
|
34
|
-
function formatPartialResolveFailure(error, trace) {
|
|
35
|
-
return formatBulletedLines(`${getErrorSymbol()} ${error.error.failures.length} package(s) failed to resolve`, error.error.failures.map(trace ? formatTerminalErrorTraceBullet : formatTerminalErrorBullet));
|
|
36
|
-
}
|
|
37
|
-
function formatPeerFailure(error) {
|
|
38
|
-
return formatBulletedLines(`${getErrorSymbol()} Pack of "${error.packageName}" is missing ${error.items.length} peer dependency(ies)`, error.items.map(function (item) {
|
|
39
|
-
return `- "${item.packageName}" needs peer "${item.peer}"`;
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
const packageFailureSuffixByType = {
|
|
43
|
-
[packPackageFailureType.bundleDependenciesUnsupported]: 'declares bundleDependencies which pack does not yet support without --vendor-dependencies',
|
|
44
|
-
[packPackageFailureType.packageNotFound]: 'is not declared in the packtory configuration'
|
|
45
|
-
};
|
|
46
|
-
function formatInvalidPackMode(message) {
|
|
47
|
-
return `${getErrorSymbol()} ${message}`;
|
|
48
|
-
}
|
|
49
|
-
function formatOutputPathFailure(error) {
|
|
50
|
-
if (error.type === packPackageFailureType.outputRootNotDirectory) {
|
|
51
|
-
return `${getErrorSymbol()} Pack output root "${error.outputPath}" exists but is not a directory`;
|
|
52
|
-
}
|
|
53
|
-
if (error.type === packPackageFailureType.unsafeOutputFolder) {
|
|
54
|
-
return `${getErrorSymbol()} Package "${error.packageName}" cannot be packed safely to "${error.outputPath}"`;
|
|
55
|
-
}
|
|
56
|
-
return `${getErrorSymbol()} Pack output folder "${error.outputPath}" for "${error.packageName}" already exists`;
|
|
57
|
-
}
|
|
58
|
-
function formatVendorSymlinkOutsidePackageFailure(error) {
|
|
59
|
-
const reason = 'rejected a vendored dependency with a symlink that escapes its package directory';
|
|
60
|
-
const header = `${getErrorSymbol()} Pack of "${error.packageName}" ${reason}`;
|
|
61
|
-
const target = `which resolves to "${error.resolvedTargetPath}"`;
|
|
62
|
-
const details = `- "${error.vendoredPackageName}" contains "${error.entryRelativePath}" ${target}`;
|
|
63
|
-
return `${header}\n${details}`;
|
|
64
|
-
}
|
|
65
|
-
function formatVendorInvalidDependencyNameFailure(error) {
|
|
66
|
-
const reason = 'rejected a vendored package.json with an invalid dependency name';
|
|
67
|
-
const header = `${getErrorSymbol()} Pack of "${error.packageName}" ${reason}`;
|
|
68
|
-
const sourceLabel = error.sourcePackageName === undefined
|
|
69
|
-
? 'the configured external set'
|
|
70
|
-
: `"${error.sourcePackageName}"`;
|
|
71
|
-
const tail = 'which is not a valid npm package name';
|
|
72
|
-
const details = `- ${sourceLabel} declares dependency "${error.invalidDependencyName}" ${tail}`;
|
|
73
|
-
return `${header}\n${details}`;
|
|
74
|
-
}
|
|
75
|
-
function formatVendorDependencyNotFoundFailure(error) {
|
|
76
|
-
const reason = 'could not find a required vendored dependency';
|
|
77
|
-
const header = `${getErrorSymbol()} Pack of "${error.packageName}" ${reason}`;
|
|
78
|
-
if (error.sourcePackageName === undefined) {
|
|
79
|
-
return `${header}\n- runtime imports need "${error.dependencyName}"`;
|
|
80
|
-
}
|
|
81
|
-
const sourceLabel = `"${error.sourcePackageName}"`;
|
|
82
|
-
const details = `- ${sourceLabel} needs "${error.dependencyName}"`;
|
|
83
|
-
return `${header}\n${details}`;
|
|
84
|
-
}
|
|
85
|
-
function formatPackageNameFailure(error) {
|
|
86
|
-
return `${getErrorSymbol()} Package "${error.packageName}" ${packageFailureSuffixByType[error.type]}`;
|
|
87
|
-
}
|
|
88
|
-
function isIssueFailure(error) {
|
|
89
|
-
return error.type === configErrorType || error.type === checksErrorType;
|
|
90
|
-
}
|
|
91
|
-
function formatPackageFailure(error) {
|
|
92
|
-
return match(error)
|
|
93
|
-
.with({ type: packPackageFailureType.bundleDependenciesUnsupported }, formatPackageNameFailure)
|
|
94
|
-
.with({ type: packPackageFailureType.packageNotFound }, formatPackageNameFailure)
|
|
95
|
-
.with({ type: packPackageFailureType.outputFolderExists }, formatOutputPathFailure)
|
|
96
|
-
.with({ type: packPackageFailureType.outputRootNotDirectory }, formatOutputPathFailure)
|
|
97
|
-
.with({ type: packPackageFailureType.unsafeOutputFolder }, formatOutputPathFailure)
|
|
98
|
-
.with({ type: packPackageFailureType.peerDependenciesUnsatisfied }, formatPeerFailure)
|
|
99
|
-
.with({ type: packPackageFailureType.vendorDependencyNotFound }, formatVendorDependencyNotFoundFailure)
|
|
100
|
-
.with({ type: packPackageFailureType.vendorInvalidDependencyName }, formatVendorInvalidDependencyNameFailure)
|
|
101
|
-
.otherwise(formatVendorSymlinkOutsidePackageFailure);
|
|
102
|
-
}
|
|
103
|
-
function formatPackFailure(error, trace) {
|
|
104
|
-
if (isIssueFailure(error)) {
|
|
105
|
-
return formatIssueList(issuePrefixByType[error.type], error.issues);
|
|
106
|
-
}
|
|
107
|
-
if (error.type === partialFailureType) {
|
|
108
|
-
return formatPartialResolveFailure(error, trace);
|
|
109
|
-
}
|
|
110
|
-
return formatPackageFailure(error);
|
|
111
|
-
}
|
|
112
|
-
function reportOutcome(log, outcome, flags, packageName) {
|
|
113
|
-
if (outcome.result.isErr) {
|
|
114
|
-
log(formatPackFailure(outcome.result.error, flags.trace));
|
|
115
|
-
return 1;
|
|
116
|
-
}
|
|
117
|
-
log(`${getSuccessSymbol()} Packed "${packageName}" as ${flags.format} to ${flags.outputPath}`);
|
|
118
|
-
return 0;
|
|
119
|
-
}
|
|
120
|
-
function reportAllOutcome(log, outcome, flags) {
|
|
121
|
-
if (outcome.result.isErr) {
|
|
122
|
-
log(formatPackFailure(outcome.result.error, flags.trace));
|
|
123
|
-
return 1;
|
|
124
|
-
}
|
|
125
|
-
const packageCount = String(outcome.result.value.packageNames.length);
|
|
126
|
-
log(`${getSuccessSymbol()} Packed ${packageCount} packages as folders to ${flags.outputPath}`);
|
|
127
|
-
return 0;
|
|
128
|
-
}
|
|
129
|
-
function packMode(flags) {
|
|
130
|
-
const rule = packModeRules.find(function (candidate) {
|
|
131
|
-
return candidate.invalid(flags);
|
|
132
|
-
});
|
|
133
|
-
if (rule !== undefined) {
|
|
134
|
-
return { message: rule.message };
|
|
135
|
-
}
|
|
136
|
-
if (flags.all) {
|
|
137
|
-
return allPackMode;
|
|
138
|
-
}
|
|
139
|
-
if (flags.packageName === undefined) {
|
|
140
|
-
return { message: missingPackageMessage };
|
|
141
|
-
}
|
|
142
|
-
return { packageName: flags.packageName };
|
|
143
|
-
}
|
|
144
|
-
async function runPackAll(dependencies, config) {
|
|
145
|
-
const { log, packtory, flags } = dependencies;
|
|
146
|
-
const outcome = await packtory.packAllPackages(config, {
|
|
147
|
-
outputPath: flags.outputPath,
|
|
148
|
-
version: flags.version,
|
|
149
|
-
vendorDependencies: flags.vendorDependencies
|
|
150
|
-
});
|
|
151
|
-
return reportAllOutcome(log, outcome, flags);
|
|
152
|
-
}
|
|
153
|
-
async function runSinglePack(dependencies, config, packageName) {
|
|
154
|
-
const { log, packtory, flags } = dependencies;
|
|
155
|
-
const outcome = await packtory.packPackage(config, {
|
|
156
|
-
packageName,
|
|
157
|
-
format: flags.format,
|
|
158
|
-
outputPath: flags.outputPath,
|
|
159
|
-
version: flags.version,
|
|
160
|
-
vendorDependencies: flags.vendorDependencies
|
|
161
|
-
});
|
|
162
|
-
return reportOutcome(log, outcome, flags, packageName);
|
|
163
|
-
}
|
|
164
|
-
async function runConfiguredPackAll(dependencies) {
|
|
165
|
-
const { configLoader } = dependencies;
|
|
166
|
-
const config = await configLoader.load();
|
|
167
|
-
return await runPackAll(dependencies, config);
|
|
168
|
-
}
|
|
169
|
-
async function runConfiguredSinglePack(dependencies, packageName) {
|
|
170
|
-
const config = await dependencies.configLoader.load();
|
|
171
|
-
return await runSinglePack(dependencies, config, packageName);
|
|
172
|
-
}
|
|
173
|
-
function isAllPackMode(mode) {
|
|
174
|
-
return mode === allPackMode;
|
|
175
|
-
}
|
|
176
|
-
async function runConfiguredPack(dependencies, mode) {
|
|
177
|
-
if (isAllPackMode(mode)) {
|
|
178
|
-
return await runConfiguredPackAll(dependencies);
|
|
179
|
-
}
|
|
180
|
-
return await runConfiguredSinglePack(dependencies, mode.packageName);
|
|
181
|
-
}
|
|
182
|
-
function isSinglePackMode(mode) {
|
|
183
|
-
return Object.hasOwn(mode, 'packageName');
|
|
184
|
-
}
|
|
185
|
-
function isInvalidPackMode(mode) {
|
|
186
|
-
return !isAllPackMode(mode) && !isSinglePackMode(mode);
|
|
187
|
-
}
|
|
188
|
-
export async function runPackHandler(dependencies) {
|
|
189
|
-
const { flags, log, spinnerRenderer } = dependencies;
|
|
190
|
-
const mode = packMode(flags);
|
|
191
|
-
if (isInvalidPackMode(mode)) {
|
|
192
|
-
log(formatInvalidPackMode(mode.message));
|
|
193
|
-
return 1;
|
|
194
|
-
}
|
|
195
|
-
try {
|
|
196
|
-
return await runConfiguredPack(dependencies, mode);
|
|
197
|
-
}
|
|
198
|
-
finally {
|
|
199
|
-
spinnerRenderer.stopAll();
|
|
200
|
-
}
|
|
201
|
-
}
|
|
1
|
+
import 'ts-pattern';
|
|
2
|
+
import "packtory/packtory/packtory-results.js";
|
|
3
|
+
import "./runner-symbols.js";
|
|
4
|
+
import "./terminal-error-chain.js";
|
|
202
5
|
//# sourceMappingURL=pack-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/pack-handler.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"pack-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/pack-handler.ts"],"names":[],"mappings":"AAAA,OAAsB,YAAY,CAAC;AAEnC,OAMO,uCAAoC,CAAC;AAG5C,OAAiD,qBAAqB,CAAC;AACvE,OAA0E,2BAA2B,CAAC"}
|
|
@@ -1,54 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
function formatConfigFailure(error) {
|
|
5
|
-
return [
|
|
6
|
-
'Packtory dependency reasons [Dry run]',
|
|
7
|
-
'Configuration issues',
|
|
8
|
-
...error.issues.map(function (issue) {
|
|
9
|
-
return `- ${issue}`;
|
|
10
|
-
})
|
|
11
|
-
]
|
|
12
|
-
.join('\n');
|
|
13
|
-
}
|
|
14
|
-
function formatPartialFailure(error, trace) {
|
|
15
|
-
const formatError = trace ? formatTerminalErrorTraceBullet : formatTerminalErrorBullet;
|
|
16
|
-
return [
|
|
17
|
-
'Packtory dependency reasons [Dry run]',
|
|
18
|
-
'Package failures',
|
|
19
|
-
...error.error.failures.map(formatError)
|
|
20
|
-
]
|
|
21
|
-
.join('\n');
|
|
22
|
-
}
|
|
23
|
-
function formatPackageDependenciesFailure(error, trace) {
|
|
24
|
-
if (error.type === configErrorType) {
|
|
25
|
-
return formatConfigFailure(error);
|
|
26
|
-
}
|
|
27
|
-
if (error.type === partialFailureType) {
|
|
28
|
-
return formatPartialFailure(error, trace);
|
|
29
|
-
}
|
|
30
|
-
if (error.type === packPackageFailureType.packageNotFound) {
|
|
31
|
-
return `Package "${error.packageName}" is not declared in the packtory configuration`;
|
|
32
|
-
}
|
|
33
|
-
return 'Package dependencies could not be inspected';
|
|
34
|
-
}
|
|
35
|
-
async function inspectPackageDependencies(dependencies) {
|
|
36
|
-
const { configLoader, flags, log, packtory, spinnerRenderer } = dependencies;
|
|
37
|
-
const outcome = await packtory.inspectPackageDependencies(await configLoader.load(), flags.packageName);
|
|
38
|
-
spinnerRenderer.stopAll();
|
|
39
|
-
if (outcome.result.isErr) {
|
|
40
|
-
log(formatPackageDependenciesFailure(outcome.result.error, flags.trace));
|
|
41
|
-
return 1;
|
|
42
|
-
}
|
|
43
|
-
log(renderTerminalPackageDependencies(outcome.result.value).trimEnd());
|
|
44
|
-
return 0;
|
|
45
|
-
}
|
|
46
|
-
export async function runPackageDependenciesHandler(dependencies) {
|
|
47
|
-
try {
|
|
48
|
-
return await inspectPackageDependencies(dependencies);
|
|
49
|
-
}
|
|
50
|
-
finally {
|
|
51
|
-
dependencies.spinnerRenderer.stopAll();
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
import "packtory/packtory/packtory-results.js";
|
|
2
|
+
import "../../report/terminal-renderer/terminal-package-dependencies-renderer.js";
|
|
3
|
+
import "./terminal-error-chain.js";
|
|
54
4
|
//# sourceMappingURL=package-dependencies-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-dependencies-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/package-dependencies-handler.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"package-dependencies-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/package-dependencies-handler.ts"],"names":[],"mappings":"AAAA,OAKO,uCAAoC,CAAC;AAE5C,OAEO,0EAA0E,CAAC;AAGlF,OAA0E,2BAA2B,CAAC"}
|
|
@@ -1,67 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const issueTitleByType = {
|
|
5
|
-
[configErrorType]: 'Configuration issues',
|
|
6
|
-
[checksErrorType]: 'Check failures'
|
|
7
|
-
};
|
|
8
|
-
function formatIssueFailure(error) {
|
|
9
|
-
return [
|
|
10
|
-
'Packtory tree [Dry run]',
|
|
11
|
-
issueTitleByType[error.type],
|
|
12
|
-
...error.issues.map(function (issue) {
|
|
13
|
-
return `- ${issue}`;
|
|
14
|
-
})
|
|
15
|
-
]
|
|
16
|
-
.join('\n');
|
|
17
|
-
}
|
|
18
|
-
function formatPackageNotFoundFailure(error) {
|
|
19
|
-
return `Package "${error.packageName}" is not declared in the packtory configuration`;
|
|
20
|
-
}
|
|
21
|
-
function formatPartialFailure(error, trace) {
|
|
22
|
-
const formatError = trace ? formatTerminalErrorTraceBullet : formatTerminalErrorBullet;
|
|
23
|
-
return [
|
|
24
|
-
'Packtory tree [Dry run]',
|
|
25
|
-
'Package failures',
|
|
26
|
-
...error.error.failures.map(formatError)
|
|
27
|
-
]
|
|
28
|
-
.join('\n');
|
|
29
|
-
}
|
|
30
|
-
function hasPackageName(error) {
|
|
31
|
-
return Object.hasOwn(error, 'packageName');
|
|
32
|
-
}
|
|
33
|
-
function formatPackageTreeFailure(error, trace) {
|
|
34
|
-
if (error.type === configErrorType || error.type === checksErrorType) {
|
|
35
|
-
return formatIssueFailure(error);
|
|
36
|
-
}
|
|
37
|
-
if (error.type === partialFailureType) {
|
|
38
|
-
return formatPartialFailure(error, trace);
|
|
39
|
-
}
|
|
40
|
-
if (error.type === packPackageFailureType.packageNotFound) {
|
|
41
|
-
return formatPackageNotFoundFailure(error);
|
|
42
|
-
}
|
|
43
|
-
if (hasPackageName(error)) {
|
|
44
|
-
return `Package "${error.packageName}" could not be inspected`;
|
|
45
|
-
}
|
|
46
|
-
return 'Package could not be inspected';
|
|
47
|
-
}
|
|
48
|
-
async function inspectPackageTree(dependencies) {
|
|
49
|
-
const { configLoader, flags, log, packtory, spinnerRenderer } = dependencies;
|
|
50
|
-
const outcome = await packtory.inspectPackageTree(await configLoader.load(), flags.packageName);
|
|
51
|
-
spinnerRenderer.stopAll();
|
|
52
|
-
if (outcome.result.isErr) {
|
|
53
|
-
log(formatPackageTreeFailure(outcome.result.error, flags.trace));
|
|
54
|
-
return 1;
|
|
55
|
-
}
|
|
56
|
-
log(renderTerminalPackageTree(outcome.result.value).trimEnd());
|
|
57
|
-
return 0;
|
|
58
|
-
}
|
|
59
|
-
export async function runPackageTreeHandler(dependencies) {
|
|
60
|
-
try {
|
|
61
|
-
return await inspectPackageTree(dependencies);
|
|
62
|
-
}
|
|
63
|
-
finally {
|
|
64
|
-
dependencies.spinnerRenderer.stopAll();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
import "packtory/packtory/packtory-results.js";
|
|
2
|
+
import "../../report/terminal-renderer/terminal-package-tree-renderer.js";
|
|
3
|
+
import "./terminal-error-chain.js";
|
|
67
4
|
//# sourceMappingURL=package-tree-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-tree-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/package-tree-handler.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"package-tree-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/package-tree-handler.ts"],"names":[],"mappings":"AAAA,OAMO,uCAAoC,CAAC;AAE5C,OAA0C,kEAAkE,CAAC;AAG7G,OAA0E,2BAA2B,CAAC"}
|
|
@@ -1,51 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
async function renderOpenedReport(dependencies, document) {
|
|
6
|
-
const filePath = dependencies.createTemporaryFilePath();
|
|
7
|
-
await dependencies.fileManager.writeFile(filePath, renderHtmlReport(document));
|
|
8
|
-
const opened = await dependencies.openFile(filePath);
|
|
9
|
-
if (!opened) {
|
|
10
|
-
dependencies.log(filePath);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
async function renderInlinePreview(dependencies, document) {
|
|
14
|
-
if (document.previewable) {
|
|
15
|
-
await dependencies.pageOutput(renderTerminalPreview(document));
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
dependencies.log(renderFailureOnlyTerminalPreview(document).trimEnd());
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
async function renderDocument(dependencies, document) {
|
|
22
|
-
if (dependencies.flags.open) {
|
|
23
|
-
await renderOpenedReport(dependencies, document);
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
await renderInlinePreview(dependencies, document);
|
|
27
|
-
}
|
|
28
|
-
async function preview(dependencies) {
|
|
29
|
-
const { packtory, spinnerRenderer, configLoader, fileManager } = dependencies;
|
|
30
|
-
const config = await configLoader.load();
|
|
31
|
-
const outcome = await packtory.buildAndPublishAll(config, { dryRun: true, stage: false, collectReport: true });
|
|
32
|
-
spinnerRenderer.stopAll();
|
|
33
|
-
const report = outcome.getReport() ?? createEmptyReport();
|
|
34
|
-
const document = await buildPreviewDocument({
|
|
35
|
-
report,
|
|
36
|
-
result: outcome.result,
|
|
37
|
-
dryRun: true,
|
|
38
|
-
fileManager
|
|
39
|
-
});
|
|
40
|
-
await renderDocument(dependencies, document);
|
|
41
|
-
return outcome.result.isErr ? 1 : 0;
|
|
42
|
-
}
|
|
43
|
-
export async function runPreviewHandler(dependencies) {
|
|
44
|
-
try {
|
|
45
|
-
return await preview(dependencies);
|
|
46
|
-
}
|
|
47
|
-
finally {
|
|
48
|
-
dependencies.spinnerRenderer.stopAll();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
import "../../report/preview/preview-document.js";
|
|
2
|
+
import "../../report/html-renderer/html-renderer.js";
|
|
3
|
+
import "../../report/terminal-renderer/terminal-preview-renderer.js";
|
|
4
|
+
import "./report-persistence.js";
|
|
51
5
|
//# sourceMappingURL=preview-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/preview-handler.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"preview-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/preview-handler.ts"],"names":[],"mappings":"AAEA,OAA2D,0CAA0C,CAAC;AACtG,OAAiC,6CAA6C,CAAC;AAC/E,OAGO,6DAA6D,CAAC;AAGrE,OAAkC,yBAAyB,CAAC"}
|
|
@@ -1,33 +1 @@
|
|
|
1
|
-
function describeDoneStatus(status, version, publication) {
|
|
2
|
-
if (status === 'already-published') {
|
|
3
|
-
return `Nothing has changed, published version ${version} is already up-to-date`;
|
|
4
|
-
}
|
|
5
|
-
if (publication.type === 'staged') {
|
|
6
|
-
if (status === 'initial-version') {
|
|
7
|
-
return `First version ${version} staged (${publication.stageId})`;
|
|
8
|
-
}
|
|
9
|
-
return `New version ${version} staged (${publication.stageId})`;
|
|
10
|
-
}
|
|
11
|
-
if (status === 'initial-version') {
|
|
12
|
-
return `First version ${version} has been published`;
|
|
13
|
-
}
|
|
14
|
-
return `New version ${version} published`;
|
|
15
|
-
}
|
|
16
|
-
export function registerProgressListeners(progressBroadcaster, spinnerRenderer) {
|
|
17
|
-
progressBroadcaster.on('scheduled', function (payload) {
|
|
18
|
-
spinnerRenderer.add(payload.packageName, payload.packageName, 'Scheduled …');
|
|
19
|
-
});
|
|
20
|
-
progressBroadcaster.on('error', function (payload) {
|
|
21
|
-
spinnerRenderer.stop(payload.packageName, 'failure', payload.error.message);
|
|
22
|
-
});
|
|
23
|
-
progressBroadcaster.on('done', function (payload) {
|
|
24
|
-
spinnerRenderer.stop(payload.packageName, 'success', describeDoneStatus(payload.status, payload.version, payload.publication));
|
|
25
|
-
});
|
|
26
|
-
progressBroadcaster.on('building', function (payload) {
|
|
27
|
-
spinnerRenderer.updateMessage(payload.packageName, `Building package with version ${payload.version}`);
|
|
28
|
-
});
|
|
29
|
-
progressBroadcaster.on('rebuilding', function (payload) {
|
|
30
|
-
spinnerRenderer.updateMessage(payload.packageName, `Rebuilding package with version ${payload.version}`);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
1
|
//# sourceMappingURL=progress-wiring.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-wiring.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/progress-wiring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress-wiring.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/progress-wiring.ts"],"names":[],"mappings":""}
|
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
async function reportOutcome(log, fileManager, outcome, flags) {
|
|
4
|
-
let exitCode = 0;
|
|
5
|
-
if (outcome.result.isErr) {
|
|
6
|
-
exitCode = 1;
|
|
7
|
-
printPublishFailure(log, outcome.result.error, flags.stage, flags.trace);
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
printSuccessSummary(log, outcome.result.value, { stage: flags.stage });
|
|
11
|
-
}
|
|
12
|
-
await writeReports({
|
|
13
|
-
dryRun: !flags.noDryRun,
|
|
14
|
-
fileManager,
|
|
15
|
-
flags,
|
|
16
|
-
report: outcome.getReport(),
|
|
17
|
-
result: outcome.result
|
|
18
|
-
});
|
|
19
|
-
return exitCode;
|
|
20
|
-
}
|
|
21
|
-
async function publish(dependencies) {
|
|
22
|
-
const { log, packtory, spinnerRenderer, configLoader, fileManager, flags } = dependencies;
|
|
23
|
-
const outcome = await packtory.buildAndPublishAll(await configLoader.load(), {
|
|
24
|
-
dryRun: !flags.noDryRun,
|
|
25
|
-
stage: flags.stage,
|
|
26
|
-
collectReport: flags.reportJson || flags.reportHtml
|
|
27
|
-
});
|
|
28
|
-
spinnerRenderer.stopAll();
|
|
29
|
-
return reportOutcome(log, fileManager, outcome, flags);
|
|
30
|
-
}
|
|
31
|
-
export async function runPublishHandler(dependencies) {
|
|
32
|
-
const { log, spinnerRenderer, flags } = dependencies;
|
|
33
|
-
let shouldStopSpinners = true;
|
|
34
|
-
try {
|
|
35
|
-
const exitCode = await publish(dependencies);
|
|
36
|
-
shouldStopSpinners = false;
|
|
37
|
-
return exitCode;
|
|
38
|
-
}
|
|
39
|
-
finally {
|
|
40
|
-
if (shouldStopSpinners) {
|
|
41
|
-
spinnerRenderer.stopAll();
|
|
42
|
-
}
|
|
43
|
-
printDryRunNote(log, { noDryRun: flags.noDryRun });
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
import "./failure-printing.js";
|
|
2
|
+
import "./report-persistence.js";
|
|
46
3
|
//# sourceMappingURL=publish-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/publish-handler.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"publish-handler.js","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/publish-handler.ts"],"names":[],"mappings":"AAIA,OAA0E,uBAAuB,CAAC;AAClG,OAA+C,yBAAyB,CAAC"}
|