spine-framework 0.3.18 → 0.3.19

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.
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire } from 'module'
3
+ import { fileURLToPath } from 'url'
4
+ import { dirname, resolve } from 'path'
5
+ import { spawnSync } from 'child_process'
6
+
7
+ const __dirname = dirname(fileURLToPath(import.meta.url))
8
+ const tsEntry = resolve(__dirname, 'index.ts')
9
+
10
+ // Find tsx relative to this package or globally
11
+ const result = spawnSync('npx', ['--yes', 'tsx', tsEntry, ...process.argv.slice(2)], {
12
+ stdio: 'inherit',
13
+ shell: true,
14
+ })
15
+
16
+ process.exit(result.status ?? 0)
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.3.18",
3
+ "version": "0.3.19",
4
4
  "description": "Multi-tenant, modular application platform for modern SaaS systems",
5
5
  "type": "module",
6
6
  "bin": {
7
- "spine-framework": "./.framework/cli/index.ts"
7
+ "spine-framework": "./.framework/cli/bin.mjs"
8
8
  },
9
9
  "files": [
10
+ ".framework/cli/bin.mjs",
10
11
  ".framework/cli/",
11
12
  ".framework/docs/",
12
13
  ".framework/functions/",