@tscircuit/cli 0.1.1075 → 0.1.1076
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/dist/cli/main.js +5 -3
- package/dist/lib/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -71664,7 +71664,7 @@ var registerStaticAssetLoaders = () => {
|
|
|
71664
71664
|
// cli/main.ts
|
|
71665
71665
|
var import_perfect_cli = __toESM2(require_dist2(), 1);
|
|
71666
71666
|
// package.json
|
|
71667
|
-
var version = "0.1.
|
|
71667
|
+
var version = "0.1.1075";
|
|
71668
71668
|
var package_default = {
|
|
71669
71669
|
name: "@tscircuit/cli",
|
|
71670
71670
|
version,
|
|
@@ -87929,6 +87929,7 @@ var pushSnippet = async ({
|
|
|
87929
87929
|
isPrivate,
|
|
87930
87930
|
versionTag,
|
|
87931
87931
|
includeDist = false,
|
|
87932
|
+
compress = false,
|
|
87932
87933
|
log = console.log,
|
|
87933
87934
|
onExit = (code) => process.exit(code),
|
|
87934
87935
|
onError = (message) => console.error(message),
|
|
@@ -88136,7 +88137,7 @@ var pushSnippet = async ({
|
|
|
88136
88137
|
const filePaths = getPackageFilePaths(projectDir, includeDist ? [] : ["**/dist/**"]);
|
|
88137
88138
|
const uploadResults = { succeeded: [], failed: [] };
|
|
88138
88139
|
const packageNameWithVersion = `${scopedPackageName}@${releaseVersion}`;
|
|
88139
|
-
const shouldUploadArchive = process.env.TSCI_PUSH_ARCHIVE === "1";
|
|
88140
|
+
const shouldUploadArchive = compress || process.env.TSCI_PUSH_ARCHIVE === "1";
|
|
88140
88141
|
if (shouldUploadArchive) {
|
|
88141
88142
|
log(kleur_default.gray("Uploading package archive..."));
|
|
88142
88143
|
try {
|
|
@@ -176339,12 +176340,13 @@ var registerInstall = (program3) => {
|
|
|
176339
176340
|
|
|
176340
176341
|
// cli/push/register.ts
|
|
176341
176342
|
var registerPush = (program3) => {
|
|
176342
|
-
program3.command("push").description("Save package code to Registry API").argument("[file]", "Path to the package file").option("--private", "Make the package private").option("--version-tag <tag>", "Publish as a non-latest version using the provided tag").option("--include-dist", "Include the dist directory in the push").action(async (filePath, options = {}) => {
|
|
176343
|
+
program3.command("push").description("Save package code to Registry API").argument("[file]", "Path to the package file").option("--private", "Make the package private").option("--version-tag <tag>", "Publish as a non-latest version using the provided tag").option("--include-dist", "Include the dist directory in the push").option("--compress", "Compress project files into a single archive upload for faster pushes").action(async (filePath, options = {}) => {
|
|
176343
176344
|
await pushSnippet({
|
|
176344
176345
|
filePath,
|
|
176345
176346
|
isPrivate: options.private ?? false,
|
|
176346
176347
|
versionTag: options.versionTag,
|
|
176347
176348
|
includeDist: options.includeDist ?? false,
|
|
176349
|
+
compress: options.compress ?? false,
|
|
176348
176350
|
onExit: (code) => process.exit(code),
|
|
176349
176351
|
onError: (message) => console.error(message),
|
|
176350
176352
|
onSuccess: (message) => console.log(message)
|
package/dist/lib/index.js
CHANGED
|
@@ -60435,7 +60435,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
|
|
|
60435
60435
|
}));
|
|
60436
60436
|
};
|
|
60437
60437
|
// package.json
|
|
60438
|
-
var version = "0.1.
|
|
60438
|
+
var version = "0.1.1075";
|
|
60439
60439
|
var package_default = {
|
|
60440
60440
|
name: "@tscircuit/cli",
|
|
60441
60441
|
version,
|