constructa-core 0.0.1 → 0.0.4

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -2
  3. package/package.json +14 -9
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Constructa contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # `constructa-core`
2
2
 
3
- UI-agnostic generator registration and execution engine.
3
+ UI-agnostic generator registration and execution engine for Constructa.
4
4
 
5
- Planned areas include the registry, executor, generation context, seeded randomness, composition lifecycle, and structured errors. The engine may consume `constructa-schema`, but it must not depend on applications, UI, storage, or transport code.
5
+ This package contains the core runtime responsible for registering, composing, and executing generators. It defines the fundamental behavior of the Constructa generation system without making assumptions about user interfaces, persistence, transport, or application environments.
6
+
7
+ ## Responsibilities
8
+
9
+ Planned areas include:
10
+
11
+ * Generator registry
12
+ * Generator execution
13
+ * Generation context
14
+ * Seeded randomness
15
+ * Generator composition and lifecycle
16
+ * Structured errors
17
+
18
+ ## Dependency Boundary
19
+
20
+ `constructa-schema` is the only Constructa runtime dependency that `constructa-core` may depend on.
21
+
22
+ Core must not import or depend directly on:
23
+
24
+ * Built-in generators
25
+ * Exporters
26
+ * SDK
27
+ * Applications
28
+ * UI components
29
+ * Environment configuration
30
+ * Persistence or storage
31
+ * Transport or API code
32
+
33
+ This boundary keeps the generator engine portable and independent of higher-level Constructa packages and applications.
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "constructa-core",
3
- "version": "0.0.1",
3
+ "version": "0.0.4",
4
4
  "description": "The UI-agnostic Constructa generator execution engine.",
5
5
  "private": false,
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Jack-WebDev/constructa.git",
10
+ "directory": "packages/core"
11
+ },
7
12
  "type": "module",
8
13
  "files": [
9
14
  "dist"
@@ -17,18 +22,18 @@
17
22
  "default": "./dist/index.js"
18
23
  }
19
24
  },
20
- "scripts": {
21
- "build": "tsdown",
22
- "check-types": "tsc --noEmit"
23
- },
24
25
  "publishConfig": {
25
26
  "access": "public"
26
27
  },
27
28
  "dependencies": {
28
- "constructa-schema": "workspace:*"
29
+ "constructa-schema": "0.0.4"
29
30
  },
30
31
  "devDependencies": {
31
- "@constructa/config": "workspace:*",
32
- "typescript": "catalog:"
32
+ "typescript": "^6.0.3",
33
+ "@constructa/config": "0.0.0"
34
+ },
35
+ "scripts": {
36
+ "build": "tsdown",
37
+ "check-types": "tsc --noEmit"
33
38
  }
34
- }
39
+ }