create-catalyst-app 0.0.1-beta.0 → 0.0.1-beta.1
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/package.json +1 -1
- package/scripts/cli.mjs +2 -3
package/package.json
CHANGED
package/scripts/cli.mjs
CHANGED
|
@@ -103,9 +103,7 @@ const program = new Commander.Command(packageJson.name)
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
function packNpmPackage (packageName, packageVersion, tempDir) {
|
|
106
|
-
const tarballFileName = `${packageName
|
|
107
|
-
.substring(1)
|
|
108
|
-
.replace("/", "-")}-${packageVersion}.tgz`;
|
|
106
|
+
const tarballFileName = `${packageName}-${packageVersion}.tgz`;
|
|
109
107
|
const tarballFilePath = path.join(tempDir, tarballFileName);
|
|
110
108
|
|
|
111
109
|
try {
|
|
@@ -123,6 +121,7 @@ const program = new Commander.Command(packageJson.name)
|
|
|
123
121
|
// Function to create a temporary directory
|
|
124
122
|
function createTempDir() {
|
|
125
123
|
const tempDir = fs.mkdtempSync(path.join(process.cwd(), "temp-"));
|
|
124
|
+
console.log("temp dir is ===>",tempDir)
|
|
126
125
|
return tempDir;
|
|
127
126
|
}
|
|
128
127
|
|