propelkit 1.0.2 → 1.0.3

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/bin/cli.js +27 -19
  2. package/package.json +28 -28
package/bin/cli.js CHANGED
@@ -1,19 +1,27 @@
1
- #!/usr/bin/env node
2
- const { main } = require('create-propelkit');
3
-
4
- const args = process.argv.slice(2);
5
- const command = args[0];
6
-
7
- if (command === 'init' || !command) {
8
- // Run the main create-propelkit flow
9
- main().catch((err) => {
10
- console.error('Error:', err.message);
11
- process.exit(1);
12
- });
13
- } else {
14
- console.log(`Unknown command: ${command}`);
15
- console.log('');
16
- console.log('Usage: propelkit init');
17
- console.log(' propelkit (same as init)');
18
- process.exit(1);
19
- }
1
+ #!/usr/bin/env node
2
+ /* eslint-disable @typescript-eslint/no-require-imports */
3
+
4
+ const args = process.argv.slice(2);
5
+ const command = args[0];
6
+
7
+ if (command === 'init' || !command) {
8
+ // Run the main create-propelkit flow
9
+ const { main } = require('create-propelkit');
10
+ main().catch((err) => {
11
+ console.error('Error:', err.message);
12
+ process.exit(1);
13
+ });
14
+ } else if (command === 'deploy') {
15
+ const { deployCommand } = require('create-propelkit');
16
+ deployCommand().catch((err) => {
17
+ console.error('Deploy failed:', err.message);
18
+ process.exit(1);
19
+ });
20
+ } else {
21
+ console.log(`Unknown command: ${command}`);
22
+ console.log('');
23
+ console.log('Usage: propelkit init');
24
+ console.log(' propelkit deploy');
25
+ console.log(' propelkit (same as init)');
26
+ process.exit(1);
27
+ }
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "propelkit",
3
- "version": "1.0.2",
4
- "description": "PropelKit CLI - Initialize SaaS projects with AI PM",
5
- "bin": {
6
- "propelkit": "./bin/cli.js"
7
- },
8
- "main": "./bin/cli.js",
9
- "files": [
10
- "bin"
11
- ],
12
- "keywords": [
13
- "propelkit",
14
- "saas",
15
- "boilerplate",
16
- "india",
17
- "razorpay",
18
- "cli"
19
- ],
20
- "author": "PropelKit",
21
- "license": "MIT",
22
- "engines": {
23
- "node": ">=18.0.0"
24
- },
25
- "dependencies": {
26
- "create-propelkit": "^1.0.3"
27
- }
28
- }
1
+ {
2
+ "name": "propelkit",
3
+ "version": "1.0.3",
4
+ "description": "PropelKit CLI - Initialize SaaS projects with AI PM",
5
+ "bin": {
6
+ "propelkit": "./bin/cli.js"
7
+ },
8
+ "main": "./bin/cli.js",
9
+ "files": [
10
+ "bin"
11
+ ],
12
+ "keywords": [
13
+ "propelkit",
14
+ "saas",
15
+ "boilerplate",
16
+ "india",
17
+ "razorpay",
18
+ "cli"
19
+ ],
20
+ "author": "PropelKit",
21
+ "license": "MIT",
22
+ "engines": {
23
+ "node": ">=18.0.0"
24
+ },
25
+ "dependencies": {
26
+ "create-propelkit": "file:../create-propelkit"
27
+ }
28
+ }