@baseplate-dev/core-generators 0.1.1 → 0.1.3
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 +26 -0
- package/package.json +12 -12
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @baseplate-dev/core-generators
|
|
2
|
+
|
|
3
|
+
This package provides core code generators for TypeScript projects and base abstractions used throughout Baseplate.
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The core-generators package provides:
|
|
8
|
+
|
|
9
|
+
- TypeScript code generation utilities and abstractions
|
|
10
|
+
- Package.json generation and management
|
|
11
|
+
- High-level TypeScript file abstractions
|
|
12
|
+
- Core project structure generators
|
|
13
|
+
- Base configuration file generators
|
|
14
|
+
- Common provider definitions and scopes
|
|
15
|
+
|
|
16
|
+
## Key Features
|
|
17
|
+
|
|
18
|
+
- TsCodeFragment system for composable TypeScript generation
|
|
19
|
+
- Import management and resolution
|
|
20
|
+
- Project-wide provider definitions
|
|
21
|
+
- JSON file generation with formatting
|
|
22
|
+
- Core package dependency management
|
|
23
|
+
|
|
24
|
+
## Part of Baseplate Monorepo
|
|
25
|
+
|
|
26
|
+
This package is part of the Baseplate monorepo and serves as the foundation for all code generation in Baseplate projects.
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseplate-dev/core-generators",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Core generators for Baseplate",
|
|
5
|
-
"homepage": "https://www.
|
|
5
|
+
"homepage": "https://www.baseplate.dev",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/halfdomelabs/baseplate",
|
|
9
9
|
"directory": "packages/code-generators"
|
|
10
10
|
},
|
|
11
|
-
"license": "
|
|
11
|
+
"license": "MPL-2.0",
|
|
12
12
|
"author": "Half Dome Labs LLC",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"type": "module",
|
|
@@ -27,11 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"main": "dist/index.js",
|
|
29
29
|
"files": [
|
|
30
|
+
"README.md",
|
|
30
31
|
"LICENSE",
|
|
32
|
+
"CHANGELOG",
|
|
31
33
|
"dist/**/*",
|
|
32
34
|
"!dist/**/*.d.ts.map",
|
|
33
|
-
"!dist/**/*.tsbuildinfo"
|
|
34
|
-
"CHANGELOG"
|
|
35
|
+
"!dist/**/*.tsbuildinfo"
|
|
35
36
|
],
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"change-case": "5.4.4",
|
|
@@ -46,19 +47,19 @@
|
|
|
46
47
|
"sort-package-json": "2.10.1",
|
|
47
48
|
"ts-morph": "25.0.0",
|
|
48
49
|
"zod": "3.24.1",
|
|
49
|
-
"@baseplate-dev/sync": "0.1.
|
|
50
|
-
"@baseplate-dev/utils": "0.1.
|
|
50
|
+
"@baseplate-dev/sync": "0.1.3",
|
|
51
|
+
"@baseplate-dev/utils": "0.1.3"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"@types/node": "^22.0.0",
|
|
54
55
|
"@types/prettier": "^2.7.3",
|
|
55
56
|
"@types/semver": "^7.5.0",
|
|
56
57
|
"concurrently": "9.0.1",
|
|
57
|
-
"cpx2": "
|
|
58
|
+
"cpx2": "8.0.0",
|
|
58
59
|
"eslint": "9.26.0",
|
|
59
60
|
"typescript": "5.7.3",
|
|
60
61
|
"vitest": "3.0.7",
|
|
61
|
-
"@baseplate-dev/tools": "0.1.
|
|
62
|
+
"@baseplate-dev/tools": "0.1.3"
|
|
62
63
|
},
|
|
63
64
|
"engines": {
|
|
64
65
|
"node": "^22.0.0"
|
|
@@ -80,9 +81,8 @@
|
|
|
80
81
|
"prettier:write": "prettier -w .",
|
|
81
82
|
"test": "vitest",
|
|
82
83
|
"test:coverage": "vitest run --coverage",
|
|
84
|
+
"tsc:watch": "tsc -p tsconfig.build.json --preserveWatchOutput -w",
|
|
83
85
|
"typecheck": "tsc --noEmit",
|
|
84
|
-
"watch": "
|
|
85
|
-
"watch:templates": "pnpm build:templates --watch",
|
|
86
|
-
"watch:tsc": "tsc -p tsconfig.build.json --preserveWatchOutput -w"
|
|
86
|
+
"watch": "pnpm build:templates --watch"
|
|
87
87
|
}
|
|
88
88
|
}
|