buildflow-dev 1.0.0 → 1.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.
package/bin/buildflow.js CHANGED
@@ -1,80 +1,81 @@
1
- #!/usr/bin/env node
2
-
3
- import { program } from 'commander'
4
- import { readFileSync } from 'fs'
5
- import { fileURLToPath } from 'url'
6
- import { dirname, join } from 'path'
7
-
8
- const __dirname = dirname(fileURLToPath(import.meta.url))
9
- const pkg = JSON.parse(readFileSync(join(__dirname, '../package.json'), 'utf8'))
10
-
11
- const loadInit = () => import('../src/commands/init.js')
12
- const loadInstall = () => import('../src/commands/install.js')
13
- const loadAudit = () => import('../src/commands/audit.js')
14
- const loadStatus = () => import('../src/commands/status.js')
15
- const loadUpdate = () => import('../src/commands/update.js')
16
-
17
- program
18
- .name('buildflow')
19
- .description('Adaptive AI-powered development orchestration')
20
- .version(pkg.version)
21
-
22
- program
23
- .command('init')
24
- .description('Initialize BuildFlow in the current project')
25
- .option('-y, --yes', 'Skip prompts, use defaults')
26
- .option('--greenfield', 'Start a brand-new project')
27
- .option('--existing', 'Add BuildFlow to existing codebase')
28
- .action(async (opts) => {
29
- const { run } = await loadInit()
30
- await run(opts)
31
- })
32
-
33
- program
34
- .command('install')
35
- .description('Install BuildFlow slash commands into an AI tool')
36
- .option('--tool <name>', 'AI tool to install into (claude|gemini|codex|cursor|all)')
37
- .option('--global', 'Install globally (available in all projects)')
38
- .option('--local', 'Install locally (current project only)')
39
- .action(async (opts) => {
40
- const { run } = await loadInstall()
41
- await run(opts)
42
- })
43
-
44
- program
45
- .command('audit')
46
- .description('Run a security audit on the current project')
47
- .option('-q, --quick', 'Quick audit (recent changes only)')
48
- .option('-t, --target <path>', 'Audit specific file or directory')
49
- .option('-c, --category <name>', 'Check specific OWASP category (A01-A10)')
50
- .option('-r, --report', 'Show latest report')
51
- .action(async (opts) => {
52
- const { run } = await loadAudit()
53
- await run(opts)
54
- })
55
-
56
- program
57
- .command('status')
58
- .description('Show BuildFlow status for current project')
59
- .option('-v, --verbose', 'Show detailed status')
60
- .action(async (opts) => {
61
- const { run } = await loadStatus()
62
- await run(opts)
63
- })
64
-
65
- program
66
- .command('update')
67
- .description('Update BuildFlow commands and agents in current project')
68
- .option('--check', 'Check for updates without applying')
69
- .action(async (opts) => {
70
- const { run } = await loadUpdate()
71
- await run(opts)
72
- })
73
-
74
- if (process.argv.length <= 2) {
75
- const { showWelcome } = await import('../src/utils/welcome.js')
76
- await showWelcome()
77
- process.exit(0)
78
- }
79
-
80
- program.parse()
1
+ #!/usr/bin/env node
2
+
3
+ import { program } from 'commander'
4
+ import { readFileSync } from 'fs'
5
+ import { fileURLToPath } from 'url'
6
+ import { dirname, join } from 'path'
7
+
8
+ const __dirname = dirname(fileURLToPath(import.meta.url))
9
+ const pkg = JSON.parse(readFileSync(join(__dirname, '../package.json'), 'utf8'))
10
+
11
+ const loadInit = () => import('../src/commands/init.js')
12
+ const loadInstall = () => import('../src/commands/install.js')
13
+ const loadAudit = () => import('../src/commands/audit.js')
14
+ const loadStatus = () => import('../src/commands/status.js')
15
+ const loadUpdate = () => import('../src/commands/update.js')
16
+
17
+ program
18
+ .name('buildflow')
19
+ .description('Adaptive AI-powered development orchestration')
20
+ .version(pkg.version)
21
+
22
+ program
23
+ .command('init')
24
+ .description('Initialize BuildFlow in the current project')
25
+ .option('-y, --yes', 'Skip prompts, use defaults')
26
+ .option('--greenfield', 'Start a brand-new project')
27
+ .option('--existing', 'Add BuildFlow to existing codebase')
28
+ .action(async (opts) => {
29
+ const { run } = await loadInit()
30
+ await run(opts)
31
+ })
32
+
33
+ program
34
+ .command('install')
35
+ .description('Install BuildFlow slash commands into an AI tool')
36
+ .option('-y, --yes', 'Skip prompts, use defaults')
37
+ .option('--tool <name>', 'AI tool to install into (claude|gemini|codex|cursor|all)')
38
+ .option('--global', 'Install globally (available in all projects)')
39
+ .option('--local', 'Install locally (current project only)')
40
+ .action(async (opts) => {
41
+ const { run } = await loadInstall()
42
+ await run(opts)
43
+ })
44
+
45
+ program
46
+ .command('audit')
47
+ .description('Run a security audit on the current project')
48
+ .option('-q, --quick', 'Quick audit (recent changes only)')
49
+ .option('-t, --target <path>', 'Audit specific file or directory')
50
+ .option('-c, --category <name>', 'Check specific OWASP category (A01-A10)')
51
+ .option('-r, --report', 'Show latest report')
52
+ .action(async (opts) => {
53
+ const { run } = await loadAudit()
54
+ await run(opts)
55
+ })
56
+
57
+ program
58
+ .command('status')
59
+ .description('Show BuildFlow status for current project')
60
+ .option('-v, --verbose', 'Show detailed status')
61
+ .action(async (opts) => {
62
+ const { run } = await loadStatus()
63
+ await run(opts)
64
+ })
65
+
66
+ program
67
+ .command('update')
68
+ .description('Update BuildFlow commands and agents in current project')
69
+ .option('--check', 'Check for updates without applying')
70
+ .action(async (opts) => {
71
+ const { run } = await loadUpdate()
72
+ await run(opts)
73
+ })
74
+
75
+ if (process.argv.length <= 2) {
76
+ const { showWelcome } = await import('../src/utils/welcome.js')
77
+ await showWelcome()
78
+ process.exit(0)
79
+ }
80
+
81
+ program.parse()
package/package.json CHANGED
@@ -1,60 +1,60 @@
1
- {
2
- "name": "buildflow-dev",
3
- "version": "1.0.0",
4
- "description": "Adaptive AI-powered development orchestration. Works with Claude Code, Gemini CLI, Codex CLI, Cursor, and more.",
5
- "keywords": [
6
- "ai",
7
- "claude",
8
- "gemini",
9
- "codex",
10
- "cursor",
11
- "developer-tools",
12
- "cli",
13
- "workflow",
14
- "scaffolding",
15
- "security-audit",
16
- "code-generation"
17
- ],
18
- "homepage": "https://github.com/Vikas-gurrapu/buildflow",
19
- "bugs": {
20
- "url": "https://github.com/Vikas-gurrapu/buildflow/issues"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/Vikas-gurrapu/buildflow.git"
25
- },
26
- "license": "MIT",
27
- "author": "Vikas Gurrapu <vikas.gurrapu@gmail.com>",
28
- "type": "module",
29
- "main": "src/index.js",
30
- "bin": {
31
- "buildflow": "./bin/buildflow.js",
32
- "bf": "./bin/buildflow.js"
33
- },
34
- "files": [
35
- "bin/",
36
- "src/",
37
- "templates/",
38
- "README.md",
39
- "LICENSE"
40
- ],
41
- "scripts": {
42
- "start": "node bin/buildflow.js",
43
- "test": "node --test src/**/*.test.js",
44
- "lint": "eslint src/ bin/",
45
- "prepublishOnly": "npm test"
46
- },
47
- "dependencies": {
48
- "chalk": "^5.3.0",
49
- "commander": "^11.1.0",
50
- "enquirer": "^2.4.1",
51
- "ora": "^8.0.1",
52
- "which": "^4.0.0"
53
- },
54
- "devDependencies": {
55
- "eslint": "^8.56.0"
56
- },
57
- "engines": {
58
- "node": ">=18.0.0"
59
- }
60
- }
1
+ {
2
+ "name": "buildflow-dev",
3
+ "version": "1.0.1",
4
+ "description": "Adaptive AI-powered development orchestration. Works with Claude Code, Gemini CLI, Codex CLI, Cursor, and more.",
5
+ "keywords": [
6
+ "ai",
7
+ "claude",
8
+ "gemini",
9
+ "codex",
10
+ "cursor",
11
+ "developer-tools",
12
+ "cli",
13
+ "workflow",
14
+ "scaffolding",
15
+ "security-audit",
16
+ "code-generation"
17
+ ],
18
+ "homepage": "https://github.com/Vikas-gurrapu/buildflow",
19
+ "bugs": {
20
+ "url": "https://github.com/Vikas-gurrapu/buildflow/issues"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Vikas-gurrapu/buildflow.git"
25
+ },
26
+ "license": "MIT",
27
+ "author": "Vikas Gurrapu <vikas.gurrapu@gmail.com>",
28
+ "type": "module",
29
+ "main": "src/index.js",
30
+ "bin": {
31
+ "buildflow": "./bin/buildflow.js",
32
+ "bf": "./bin/buildflow.js"
33
+ },
34
+ "files": [
35
+ "bin/",
36
+ "src/",
37
+ "templates/",
38
+ "README.md",
39
+ "LICENSE"
40
+ ],
41
+ "scripts": {
42
+ "start": "node bin/buildflow.js",
43
+ "test": "node --test src/**/*.test.js",
44
+ "lint": "eslint src/ bin/",
45
+ "prepublishOnly": "npm test"
46
+ },
47
+ "dependencies": {
48
+ "chalk": "^5.3.0",
49
+ "commander": "^11.1.0",
50
+ "enquirer": "^2.4.1",
51
+ "ora": "^8.0.1",
52
+ "which": "^4.0.0"
53
+ },
54
+ "devDependencies": {
55
+ "eslint": "^8.56.0"
56
+ },
57
+ "engines": {
58
+ "node": ">=18.0.0"
59
+ }
60
+ }