stonyx 0.2.3-alpha.33 → 0.2.3-alpha.35

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 CHANGED
@@ -6,7 +6,6 @@
6
6
 
7
7
  **Stonyx** is a lightweight, modular framework for building modern Node.js applications. It provides a plug-and-play architecture, centralized color-coded logging, and seamless async module integration.
8
8
 
9
- - 100% JavaScript (ES Modules)
10
9
  - Drop-in module system — no boilerplate
11
10
  - Automatic async module loading and initialization
12
11
  - Built-in CLI for scaffolding, bootstrapping, and testing
package/dist/cli/new.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- interface ModuleOption {
1
+ export interface ModuleOption {
2
2
  question: string;
3
3
  package: string;
4
4
  dirs?: string[];
5
5
  files?: Record<string, () => string>;
6
6
  }
7
+ export declare const MODULE_OPTIONS: ModuleOption[];
7
8
  export declare function generateDbSchema(): string;
8
9
  export declare function generatePackageJson(name: string, selectedModules: ModuleOption[]): string;
9
10
  export declare function generateAppTs(): string;
@@ -23,4 +24,3 @@ export declare function scaffoldProject(projectDir: string, appName: string, sel
23
24
  export default function newCommand({ args }: {
24
25
  args: string[];
25
26
  }): Promise<void>;
26
- export {};
package/dist/cli/new.js CHANGED
@@ -3,7 +3,7 @@ import { createFile, createDirectory, copyFile, fileExists } from '@stonyx/utils
3
3
  import { spawn } from 'child_process';
4
4
  import path from 'path';
5
5
  import { fileURLToPath } from 'url';
6
- const MODULE_OPTIONS = [
6
+ export const MODULE_OPTIONS = [
7
7
  {
8
8
  question: 'Will this project need a REST server?',
9
9
  package: '@stonyx/rest-server',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stonyx",
3
- "version": "0.2.3-alpha.33",
3
+ "version": "0.2.3-alpha.35",
4
4
  "description": "Base stonyx framework module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -52,8 +52,8 @@
52
52
  "url": "https://github.com/abofs/stonyx/issues"
53
53
  },
54
54
  "dependencies": {
55
- "@stonyx/utils": "0.2.3-beta.23",
56
- "@stonyx/logs": "1.0.1-beta.16"
55
+ "@stonyx/utils": "0.2.3-beta.26",
56
+ "@stonyx/logs": "1.0.1-beta.19"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^25.5.2",
@@ -69,6 +69,7 @@
69
69
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
70
70
  "start": "node .",
71
71
  "test": "pnpm build && node --import tsx node_modules/qunit/bin/qunit.js 'test/**/*-test.ts'",
72
+ "test:acceptance": "STONYX_ACCEPTANCE=1 node --import tsx node_modules/qunit/bin/qunit.js 'test/acceptance/**/*-test.ts'",
72
73
  "error": "echo \"Error: no error handling\" && exit 1",
73
74
  "postinstall": "node scripts/postinstall.js"
74
75
  }