@solidxai/code-builder 0.0.2 → 0.1.0

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.
Files changed (2) hide show
  1. package/package.json +2 -5
  2. package/publish.js +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidxai/code-builder",
3
- "version": "0.0.2",
3
+ "version": "0.1.0",
4
4
  "description": "This package is use to generate code for the @solidxai projects",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,10 +12,7 @@
12
12
  "test": "npm run build && jasmine src/**/*_spec.js",
13
13
  "postbuild": "copyfiles './files/**/*' dist/",
14
14
  "clean": "rimraf dist",
15
- "prepare": "npm run build",
16
- "publish:patch": "node publish.js patch",
17
- "publish:minor": "node publish.js minor",
18
- "publish:major": "node publish.js major"
15
+ "prepare": "npm run build"
19
16
  },
20
17
  "keywords": [
21
18
  "schematics"
package/publish.js DELETED
@@ -1,16 +0,0 @@
1
- const { execSync } = require("child_process");
2
-
3
- const versionType = process.argv[2] || "patch"; // Default to patch if not specified
4
-
5
- try {
6
- console.log(`🔄 Updating package version (${versionType})...`);
7
- execSync(`npm version ${versionType}`, { stdio: "inherit" });
8
-
9
- console.log("📦 Publishing package...");
10
- execSync("npm publish", { stdio: "inherit" });
11
-
12
- console.log("✅ Published successfully!");
13
- } catch (error) {
14
- console.error("❌ Error:", error.message);
15
- process.exit(1);
16
- }