@nahisaho/musubi 1.1.12
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/README.md +33 -0
- package/bin/musubi.js +31 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/package.json +42 -0
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @nahisaho/musubi
|
|
2
|
+
|
|
3
|
+
> Alias package for `@nahisaho/musubix-core`
|
|
4
|
+
|
|
5
|
+
This package is a wrapper that re-exports everything from `@nahisaho/musubix-core`.
|
|
6
|
+
Use this if you prefer the shorter "musubi" name.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @nahisaho/musubi
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
### CLI
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx @nahisaho/musubi init
|
|
20
|
+
npx @nahisaho/musubi requirements analyze <file>
|
|
21
|
+
npx @nahisaho/musubi design generate <file>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### API
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { EarsValidator, C4Generator } from '@nahisaho/musubi';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## See Also
|
|
31
|
+
|
|
32
|
+
- [@nahisaho/musubix-core](https://www.npmjs.com/package/@nahisaho/musubix-core) - Full documentation
|
|
33
|
+
- [MUSUBIX GitHub](https://github.com/nahisaho/MUSUBIX)
|
package/bin/musubi.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* MUSUBI CLI - Wrapper for MUSUBIX
|
|
4
|
+
*
|
|
5
|
+
* This is an alias package that re-exports @nahisaho/musubix-core
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* npx @nahisaho/musubi init
|
|
9
|
+
* npx @nahisaho/musubi requirements analyze <file>
|
|
10
|
+
* npx @nahisaho/musubi design generate <file>
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { createRequire } from 'module';
|
|
14
|
+
import { spawn } from 'child_process';
|
|
15
|
+
import { dirname, join } from 'path';
|
|
16
|
+
import { fileURLToPath } from 'url';
|
|
17
|
+
|
|
18
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
19
|
+
|
|
20
|
+
// Find musubix-core bin
|
|
21
|
+
const musubixBin = join(__dirname, '..', 'node_modules', '@nahisaho', 'musubix-core', 'bin', 'musubix.js');
|
|
22
|
+
|
|
23
|
+
// Forward all arguments to musubix
|
|
24
|
+
const child = spawn('node', [musubixBin, ...process.argv.slice(2)], {
|
|
25
|
+
stdio: 'inherit',
|
|
26
|
+
cwd: process.cwd(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
child.on('close', (code) => {
|
|
30
|
+
process.exit(code || 0);
|
|
31
|
+
});
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nahisaho/musubi
|
|
3
|
+
*
|
|
4
|
+
* This is an alias package that re-exports everything from @nahisaho/musubix-core.
|
|
5
|
+
*
|
|
6
|
+
* Use this package if you prefer the shorter "musubi" name.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { EarsValidator, C4Generator } from '@nahisaho/musubi';
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @packageDocumentation
|
|
14
|
+
*/
|
|
15
|
+
export * from '@nahisaho/musubix-core';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nahisaho/musubi
|
|
3
|
+
*
|
|
4
|
+
* This is an alias package that re-exports everything from @nahisaho/musubix-core.
|
|
5
|
+
*
|
|
6
|
+
* Use this package if you prefer the shorter "musubi" name.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { EarsValidator, C4Generator } from '@nahisaho/musubi';
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @packageDocumentation
|
|
14
|
+
*/
|
|
15
|
+
// Re-export everything from musubix-core
|
|
16
|
+
export * from '@nahisaho/musubix-core';
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,yCAAyC;AACzC,cAAc,wBAAwB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nahisaho/musubi",
|
|
3
|
+
"version": "1.1.12",
|
|
4
|
+
"description": "MUSUBI SDD Framework - Alias for @nahisaho/musubix-core",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"musubi": "./bin/musubi.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"bin"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "echo 'Wrapper package - no build needed'",
|
|
17
|
+
"prepublishOnly": "echo 'Publishing @nahisaho/musubi wrapper'"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@nahisaho/musubix-core": "^1.1.12"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"musubi",
|
|
24
|
+
"musubix",
|
|
25
|
+
"sdd",
|
|
26
|
+
"ai",
|
|
27
|
+
"coding-assistant",
|
|
28
|
+
"requirements",
|
|
29
|
+
"design",
|
|
30
|
+
"codegen"
|
|
31
|
+
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/nahisaho/MUSUBIX.git",
|
|
35
|
+
"directory": "packages/musubi"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/nahisaho/MUSUBIX",
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"license": "MIT"
|
|
42
|
+
}
|