@packmind/cli 0.2.9 → 0.2.11

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/main.cjs CHANGED
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ // Add stubs directory to module resolution paths
3
+ // This allows Node.js to find our stub modules
4
+ const __stubsPath = require('path');
5
+ const __stubsDir = __stubsPath.join(__dirname, 'stubs');
6
+ if (!module.paths.includes(__stubsDir)) {
7
+ module.paths.unshift(__stubsDir);
8
+ }
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@packmind/cli",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "A command-line interface for Packmind linting and code quality checks",
5
5
  "private": false,
6
6
  "bin": {
@@ -10,7 +10,8 @@
10
10
  "files": [
11
11
  "main.cjs",
12
12
  "*.wasm",
13
- "stubs"
13
+ "stubs",
14
+ "node_modules"
14
15
  ],
15
16
  "keywords": [
16
17
  "packmind",
@@ -33,21 +34,13 @@
33
34
  "packmind-cli": "ts-node --project tsconfig.app.json src/main.ts"
34
35
  },
35
36
  "dependencies": {
36
- "@infisical/sdk": "4.0.2",
37
- "@nestjs/common": "11.1.6",
38
- "@types/nodemailer": "6.4.19",
39
37
  "@types/winston": "2.4.4",
40
38
  "chalk": "5.6.0",
41
39
  "cmd-ts": "0.14.3",
42
40
  "minimatch": "9.0.3",
43
- "nodemailer": "7.0.7",
44
- "openai": "5.11.0",
45
- "reflect-metadata": "0.1.14",
46
- "rxjs": "7.8.2",
47
- "typeorm": "0.3.25",
48
41
  "uuid": "11.1.0",
49
42
  "web-tree-sitter": "0.25.10",
50
43
  "winston": "3.17.0"
51
44
  },
52
45
  "type": "commonjs"
53
- }
46
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for @infisical/sdk
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "@infisical/sdk",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for @infisical/sdk - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for @nestjs/common
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "@nestjs/common",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for @nestjs/common - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for @types/nodemailer
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "@types/nodemailer",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for @types/nodemailer - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for ioredis
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "ioredis",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for ioredis - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for nodemailer
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "nodemailer",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for nodemailer - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for openai
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "openai",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for openai - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for reflect-metadata
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "reflect-metadata",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for reflect-metadata - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for rxjs
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "rxjs",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for rxjs - not actually used by CLI",
5
+ "main": "index.js"
6
+ }
@@ -0,0 +1,19 @@
1
+ // Stub module for typeorm
2
+ // This module is not actually used by the CLI but is imported by shared dependencies
3
+
4
+ const stub = function(...args) {
5
+ return new Proxy({}, {
6
+ get: (target, prop) => {
7
+ if (prop === 'then' || prop === 'catch') {
8
+ return undefined;
9
+ }
10
+ return stub;
11
+ },
12
+ apply: () => stub,
13
+ });
14
+ };
15
+
16
+ // Provide both CommonJS and ES module exports
17
+ stub.default = stub;
18
+ module.exports = stub;
19
+ module.exports.default = stub;
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "typeorm",
3
+ "version": "0.0.0-stub",
4
+ "description": "Stub for typeorm - not actually used by CLI",
5
+ "main": "index.js"
6
+ }