zerostart-cli 0.0.47 → 0.0.48

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/.eslintrc.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "root": true,
3
+ "parser": "@typescript-eslint/parser",
4
+ "plugins": [
5
+ "@typescript-eslint"
6
+ ],
7
+ "extends": [
8
+ "eslint:recommended",
9
+ "plugin:@typescript-eslint/recommended"
10
+ ],
11
+ "env": {
12
+ "node": true,
13
+ "es2020": true
14
+ },
15
+ "rules": {
16
+ "@typescript-eslint/no-explicit-any": "off",
17
+ "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }]
18
+ },
19
+ "ignorePatterns": ["out", "dist", "**/*.d.ts"]
20
+ }
package/README.md CHANGED
@@ -96,6 +96,13 @@ zerostart ml-py my-model
96
96
  | `zerostart test` | Set up a testing framework |
97
97
  | `zerostart add [feature]` | Add features to an existing project |
98
98
 
99
+ ### Development Commands
100
+
101
+ | Command | Description |
102
+ | :--- | :--- |
103
+ | `npm run lint` | Run ESLint to check for code issues |
104
+ | `npm run compile` | Compile TypeScript into JavaScript |
105
+
99
106
  ### Deployment
100
107
 
101
108
  | Command | Description |
package/eslint_out.txt ADDED
@@ -0,0 +1,13 @@
1
+
2
+ Oops! Something went wrong! :(
3
+
4
+ ESLint: 8.57.1
5
+
6
+ ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
7
+
8
+ npm init @eslint/config
9
+
10
+ ESLint looked for configuration files in C:\Users\R B KUSHAAL NAYAK\Desktop\Projects\ZeroStart\src and its ancestors. If it found none, it then looked in your home directory.
11
+
12
+ If you think you already have a configuration file or if you need more help, please stop by the ESLint Discord server: https://eslint.org/chat
13
+
package/lint_out.txt ADDED
@@ -0,0 +1,22 @@
1
+
2
+ > zerostart-cli@0.0.48 lint
3
+ > eslint src --ext ts
4
+
5
+
6
+ C:\Users\R B KUSHAAL NAYAK\Desktop\Projects\ZeroStart\src\cli.ts
7
+ 536:64 warning 'stderr' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
8
+
9
+ C:\Users\R B KUSHAAL NAYAK\Desktop\Projects\ZeroStart\src\extension.ts
10
+ 11:21 error Require statement not part of import statement @typescript-eslint/no-var-requires
11
+ 20:9 error 'disposable' is never reassigned. Use 'const' instead prefer-const
12
+
13
+ C:\Users\R B KUSHAAL NAYAK\Desktop\Projects\ZeroStart\src\managers\ProjectManager.ts
14
+ 4:13 warning 'fs' is defined but never used @typescript-eslint/no-unused-vars
15
+ 103:33 warning 'token' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
16
+
17
+ C:\Users\R B KUSHAAL NAYAK\Desktop\Projects\ZeroStart\src\services\GitHubServiceCLI.ts
18
+ 41:27 warning 'repo' is assigned a value but never used @typescript-eslint/no-unused-vars
19
+
20
+ Γ£û 6 problems (2 errors, 4 warnings)
21
+ 1 error and 0 warnings potentially fixable with the `--fix` option.
22
+
package/out/cli.js CHANGED
@@ -185,7 +185,7 @@ async function initializeProject(name, language, type, options) {
185
185
  program
186
186
  .name('zerostart')
187
187
  .description('Create and deploy a complete project with one command')
188
- .version('0.0.47');
188
+ .version('0.0.48');
189
189
  // zerostart init [project-name]
190
190
  program
191
191
  .command('init [project-name]')
@@ -523,7 +523,7 @@ program
523
523
  return;
524
524
  }
525
525
  const latestVersion = stdout.trim();
526
- const currentVersion = '0.0.47';
526
+ const currentVersion = '0.0.48';
527
527
  if (latestVersion === currentVersion) {
528
528
  spinner.succeed(chalk_1.default.green('You are using the latest version!'));
529
529
  }
package/out/extension.js CHANGED
@@ -42,6 +42,7 @@ function activate(context) {
42
42
  // Set default auto-select family attempt timeout to 1000ms if available
43
43
  // This helps with connection issues in dual-stack (IPv4/IPv6) environments
44
44
  try {
45
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
45
46
  const net = require('net');
46
47
  if (typeof net.setDefaultAutoSelectFamilyAttemptTimeout === 'function') {
47
48
  net.setDefaultAutoSelectFamilyAttemptTimeout(1000);
@@ -51,7 +52,7 @@ function activate(context) {
51
52
  catch (error) {
52
53
  console.warn('Failed to set auto-select family attempt timeout:', error);
53
54
  }
54
- let disposable = vscode.commands.registerCommand('zerostart.create', async (projectName) => {
55
+ const disposable = vscode.commands.registerCommand('zerostart.create', async (projectName) => {
55
56
  const projectManager = new ProjectManager_1.ProjectManager();
56
57
  await projectManager.start(projectName);
57
58
  });
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "zerostart": "./out/cli.js"
6
6
  },
7
7
  "description": "Create and deploy a complete project with one command.",
8
- "version": "0.0.47",
8
+ "version": "0.0.48",
9
9
  "engines": {
10
10
  "vscode": "^1.85.0"
11
11
  },