@blastlauncher/cli 1.0.3 → 1.0.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @blastlauncher/cli
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Replace raycast extension publish command
8
+
3
9
  ## 1.0.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -347,6 +347,10 @@ function updatePackageInfo(targetDir, version, npmOrganization) {
347
347
  }
348
348
  packageJson.repository = "https://github.com/BlastLauncher/extensions.git";
349
349
  packageJson.version = version;
350
+ packageJson.scripts = Object.keys(packageJson.scripts).filter((key) => key !== "publish").reduce((obj, key) => {
351
+ obj[key] = packageJson.scripts[key];
352
+ return obj;
353
+ }, {});
350
354
  import_fs_extra.default.writeFileSync(packagePath, JSON.stringify(packageJson, null, 2), "utf8");
351
355
  }
352
356
  var program = new import_commander.Command();
package/index.js CHANGED
@@ -222,6 +222,14 @@ function updatePackageInfo(targetDir, version, npmOrganization) {
222
222
  // add version
223
223
  packageJson.version = version;
224
224
 
225
+ // exclude original publish script
226
+ packageJson.scripts = Object.keys(packageJson.scripts)
227
+ .filter((key) => key !== "publish")
228
+ .reduce((obj, key) => {
229
+ obj[key] = packageJson.scripts[key];
230
+ return obj;
231
+ }, {});
232
+
225
233
  // write package.json
226
234
  fs.writeFileSync(packagePath, JSON.stringify(packageJson, null, 2), "utf8");
227
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blastlauncher/cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Blast CLI Tools",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {