trinity-method-sdk 2.0.0 → 2.0.1

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.
@@ -22,7 +22,6 @@ export async function updateGitignore(spinner) {
22
22
  const trinityIgnores = [
23
23
  '',
24
24
  '# Trinity Method SDK',
25
- 'node_modules/',
26
25
  '.claude/',
27
26
  'trinity/',
28
27
  '*CLAUDE.md',
@@ -98,7 +98,7 @@ export async function deploy(options) {
98
98
  PACKAGE_MANAGER: stack.packageManager || 'npm',
99
99
  BACKEND_FRAMEWORK: stack.framework,
100
100
  CURRENT_DATE: new Date().toISOString(),
101
- TRINITY_VERSION: pkg.version || '2.0.0',
101
+ TRINITY_VERSION: pkg.version || '2.0.1',
102
102
  };
103
103
  // STEP 4: Create directory structure
104
104
  const directoriesCreated = await createDirectories(spinner);
@@ -39,7 +39,7 @@ async function deployRootClaudeMarkdown(templatesPath, variables) {
39
39
  */
40
40
  async function deployVersionFile(pkgVersion) {
41
41
  const versionPath = validatePath('trinity/VERSION');
42
- await fs.writeFile(versionPath, pkgVersion || '2.0.0');
42
+ await fs.writeFile(versionPath, pkgVersion || '2.0.1');
43
43
  return 1;
44
44
  }
45
45
  /**
@@ -24,7 +24,7 @@ export async function installSDK(spinner) {
24
24
  if (!packageJson.dependencies) {
25
25
  packageJson.dependencies = {};
26
26
  }
27
- packageJson.dependencies['trinity-method-sdk'] = '^2.0.0';
27
+ packageJson.dependencies['trinity-method-sdk'] = '^2.0.1';
28
28
  await fs.writeJson(packageJsonPath, packageJson, { spaces: 2 });
29
29
  spinner.text = 'Installing Trinity Method SDK (this may take a moment)...';
30
30
  // Install dependencies
@@ -24,7 +24,7 @@ const VARIABLE_RESOLVERS = {
24
24
  DEPLOYMENT_TIMESTAMP: (v) => toString(v.DEPLOYMENT_TIMESTAMP || v.timestamp) || new Date().toISOString(),
25
25
  LANGUAGE: (v) => toString(v.LANGUAGE || v.language) || 'Unknown',
26
26
  PACKAGE_MANAGER: (v) => toString(v.PACKAGE_MANAGER || v.packageManager) || 'npm',
27
- TRINITY_VERSION: (v) => toString(v.TRINITY_VERSION) || '2.0.0',
27
+ TRINITY_VERSION: (v) => toString(v.TRINITY_VERSION) || '2.0.1',
28
28
  TECHNOLOGY_STACK: (v) => toString(v.TECHNOLOGY_STACK || v.TECH_STACK || v.techStack) || 'Unknown',
29
29
  PRIMARY_FRAMEWORK: (v) => toString(v.PRIMARY_FRAMEWORK || v.FRAMEWORK || v.framework) || 'Generic',
30
30
  CURRENT_DATE: (v) => toString(v.CURRENT_DATE) || new Date().toISOString().split('T')[0],
@@ -348,7 +348,7 @@
348
348
  ### Initial Project Setup (Recommended)
349
349
  **1. Deploy Trinity Method:**
350
350
  ```bash
351
- npx @trinity-method/cli deploy
351
+ npx trinity-method-sdk deploy
352
352
  ```
353
353
 
354
354
  **2. Complete knowledge base (optional but recommended):**
@@ -360,7 +360,7 @@ npx @trinity-method/cli deploy
360
360
  ### Fast Deployment (Minimal)
361
361
  **Deploy without metrics:**
362
362
  ```bash
363
- npx @trinity-method/cli deploy --skip-audit
363
+ npx trinity-method-sdk deploy --skip-audit
364
364
  ```
365
365
 
366
366
  **Complete manually when needed:**
@@ -393,7 +393,7 @@ npx @trinity-method/cli deploy --skip-audit
393
393
  ### CI/CD Customization (After Basic Deployment)
394
394
  **1. Deploy Trinity Method:**
395
395
  ```bash
396
- npx @trinity-method/cli deploy --ci-deploy
396
+ npx trinity-method-sdk deploy --ci-deploy
397
397
  ```
398
398
 
399
399
  **2. Customize CI/CD (Ein):**
@@ -499,7 +499,7 @@ Trinity Method SDK can optionally configure linting tools during deployment.
499
499
 
500
500
  **To setup during deployment:**
501
501
  ```bash
502
- npx @trinity-method/cli deploy
502
+ npx trinity-method-sdk deploy
503
503
  # Select "Recommended" or "Custom" when prompted
504
504
  ```
505
505
 
package/package.json CHANGED
@@ -1,94 +1,94 @@
1
- {
2
- "name": "trinity-method-sdk",
3
- "version": "2.0.0",
4
- "description": "Trinity Method SDK - Investigation-first development methodology for any project",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist/",
10
- "!dist/**/*.map",
11
- "README.md",
12
- "LICENSE",
13
- "CHANGELOG.md"
14
- ],
15
- "bin": {
16
- "trinity": "./dist/cli/index.js"
17
- },
18
- "scripts": {
19
- "clean": "rimraf dist",
20
- "prebuild": "npm run clean",
21
- "build": "tsc && npm run copy-templates",
22
- "copy-templates": "node -e \"const fs=require('fs-extra'); fs.copySync('src/templates', 'dist/templates');\"",
23
- "test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js",
24
- "test:unit": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects unit",
25
- "test:integration": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects integration",
26
- "test:e2e": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects e2e --passWithNoTests",
27
- "test:performance": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects performance --passWithNoTests",
28
- "test:coverage": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --coverage",
29
- "test:watch": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --watch",
30
- "lint": "eslint src/ tests/",
31
- "lint:fix": "eslint src/ tests/ --fix",
32
- "format": "prettier --write src/ tests/",
33
- "format:check": "prettier --check src/ tests/",
34
- "type-check": "tsc --noEmit",
35
- "docs:generate": "typedoc --out docs src/",
36
- "pretest": "npm run type-check",
37
- "prepublishOnly": "npm run build && npm run test",
38
- "prepare": "husky"
39
- },
40
- "keywords": [
41
- "trinity-method",
42
- "development-methodology",
43
- "investigation-first",
44
- "ai-coding",
45
- "claude-code",
46
- "cursor",
47
- "copilot"
48
- ],
49
- "author": "Trinity Method",
50
- "license": "MIT",
51
- "devDependencies": {
52
- "@eslint/js": "^9.39.2",
53
- "@jest/globals": "^30.2.0",
54
- "@types/fs-extra": "^11.0.4",
55
- "@types/glob": "^8.1.0",
56
- "@types/inquirer": "^9.0.9",
57
- "@types/jest": "^30.0.0",
58
- "@types/node": "^25.0.3",
59
- "@typescript-eslint/eslint-plugin": "^8.50.0",
60
- "@typescript-eslint/parser": "^8.50.0",
61
- "eslint": "^9.39.2",
62
- "eslint-plugin-jest": "^29.5.0",
63
- "husky": "^9.1.7",
64
- "jest": "^30.2.0",
65
- "jest-mock": "^30.2.0",
66
- "lint-staged": "^16.2.7",
67
- "prettier": "^3.0.0",
68
- "rimraf": "^6.0.1",
69
- "ts-jest": "^29.1.0",
70
- "typedoc": "^0.28.15",
71
- "typescript": "^5.9.3"
72
- },
73
- "dependencies": {
74
- "chalk": "^5.3.0",
75
- "commander": "^14.0.2",
76
- "fs-extra": "^11.3.3",
77
- "glob": "^13.0.0",
78
- "inquirer": "^13.1.0",
79
- "ora": "^9.0.0"
80
- },
81
- "lint-staged": {
82
- "*.{ts,tsx}": [
83
- "eslint --fix",
84
- "prettier --write"
85
- ],
86
- "*.{js,jsx}": [
87
- "eslint --fix",
88
- "prettier --write"
89
- ],
90
- "*.{json,md,yml,yaml}": [
91
- "prettier --write"
92
- ]
93
- }
94
- }
1
+ {
2
+ "name": "trinity-method-sdk",
3
+ "version": "2.0.1",
4
+ "description": "Trinity Method SDK - Investigation-first development methodology for any project",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist/",
10
+ "!dist/**/*.map",
11
+ "README.md",
12
+ "LICENSE",
13
+ "CHANGELOG.md"
14
+ ],
15
+ "bin": {
16
+ "trinity": "./dist/cli/index.js"
17
+ },
18
+ "scripts": {
19
+ "clean": "rimraf dist",
20
+ "prebuild": "npm run clean",
21
+ "build": "tsc && npm run copy-templates",
22
+ "copy-templates": "node -e \"const fs=require('fs-extra'); fs.copySync('src/templates', 'dist/templates');\"",
23
+ "test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js",
24
+ "test:unit": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects unit",
25
+ "test:integration": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects integration",
26
+ "test:e2e": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects e2e --passWithNoTests",
27
+ "test:performance": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects performance --passWithNoTests",
28
+ "test:coverage": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --coverage",
29
+ "test:watch": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --watch",
30
+ "lint": "eslint src/ tests/",
31
+ "lint:fix": "eslint src/ tests/ --fix",
32
+ "format": "prettier --write src/ tests/",
33
+ "format:check": "prettier --check src/ tests/",
34
+ "type-check": "tsc --noEmit",
35
+ "docs:generate": "typedoc --out docs src/",
36
+ "pretest": "npm run type-check",
37
+ "prepublishOnly": "npm run build && npm run test",
38
+ "prepare": "husky"
39
+ },
40
+ "keywords": [
41
+ "trinity-method",
42
+ "development-methodology",
43
+ "investigation-first",
44
+ "ai-coding",
45
+ "claude-code",
46
+ "cursor",
47
+ "copilot"
48
+ ],
49
+ "author": "Trinity Method",
50
+ "license": "MIT",
51
+ "devDependencies": {
52
+ "@eslint/js": "^9.39.2",
53
+ "@jest/globals": "^30.2.0",
54
+ "@types/fs-extra": "^11.0.4",
55
+ "@types/glob": "^8.1.0",
56
+ "@types/inquirer": "^9.0.9",
57
+ "@types/jest": "^30.0.0",
58
+ "@types/node": "^25.0.3",
59
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
60
+ "@typescript-eslint/parser": "^8.50.0",
61
+ "eslint": "^9.39.2",
62
+ "eslint-plugin-jest": "^29.5.0",
63
+ "husky": "^9.1.7",
64
+ "jest": "^30.2.0",
65
+ "jest-mock": "^30.2.0",
66
+ "lint-staged": "^16.2.7",
67
+ "prettier": "^3.0.0",
68
+ "rimraf": "^6.0.1",
69
+ "ts-jest": "^29.1.0",
70
+ "typedoc": "^0.28.15",
71
+ "typescript": "^5.9.3"
72
+ },
73
+ "dependencies": {
74
+ "chalk": "^5.3.0",
75
+ "commander": "^14.0.2",
76
+ "fs-extra": "^11.3.3",
77
+ "glob": "^13.0.0",
78
+ "inquirer": "^13.1.0",
79
+ "ora": "^9.0.0"
80
+ },
81
+ "lint-staged": {
82
+ "*.{ts,tsx}": [
83
+ "eslint --fix",
84
+ "prettier --write"
85
+ ],
86
+ "*.{js,jsx}": [
87
+ "eslint --fix",
88
+ "prettier --write"
89
+ ],
90
+ "*.{json,md,yml,yaml}": [
91
+ "prettier --write"
92
+ ]
93
+ }
94
+ }