@corpdk/create-ds 2026.10.0-alpha.1 → 2026.10.0-alpha.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 +39 -0
- package/package.json +8 -2
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @corpdk/create-ds
|
|
2
|
+
|
|
3
|
+
Scaffold and upgrade **DAL-automated** GraphQL data services outside the monorepo (`init` / `upgrade`).
|
|
4
|
+
|
|
5
|
+
The CLI copies a starter layout, merges dependency versions for `@corpdk/dal-*` packages at the CLI’s CalVer, and applies template deltas on upgrade. Your team owns `src/db/schema/`; codegen owns generated output under `src/generated/`.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add -g @corpdk/create-ds
|
|
11
|
+
# or
|
|
12
|
+
npx @corpdk/create-ds init my-ds
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Global install is optional; `pnpm dlx` / `npx` work the same.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
create-ds init [directory] # new DAL DS package
|
|
21
|
+
create-ds upgrade [directory] # merge automation updates from the published template
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
From the monorepo root (development):
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pnpm create-ds init [dir]
|
|
28
|
+
pnpm create-ds upgrade [dir]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Documentation
|
|
32
|
+
|
|
33
|
+
- [DS automation upgrades](https://github.com/CorpDK/coding-templates/blob/main/docs/developer/ds-automation-upgrades.md)
|
|
34
|
+
- [npm publish — DS automation](https://github.com/CorpDK/coding-templates/blob/main/docs/admin/04-npm-publish-ds-automation.md)
|
|
35
|
+
- Package source: [`engines/create-ds`](https://github.com/CorpDK/coding-templates/tree/main/engines/create-ds)
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT — see the [repository LICENSE](https://github.com/CorpDK/coding-templates/blob/main/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corpdk/create-ds",
|
|
3
|
-
"version": "2026.10.0-alpha.
|
|
3
|
+
"version": "2026.10.0-alpha.3",
|
|
4
4
|
"description": "Scaffold and upgrade DAL-automated GraphQL data services",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/",
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/CorpDK/coding-templates.git",
|
|
13
|
+
"directory": "engines/create-ds"
|
|
14
|
+
},
|
|
10
15
|
"files": [
|
|
11
16
|
"dist",
|
|
12
17
|
"starter",
|
|
13
|
-
"canonical"
|
|
18
|
+
"canonical",
|
|
19
|
+
"README.md"
|
|
14
20
|
],
|
|
15
21
|
"bin": {
|
|
16
22
|
"create-ds": "./dist/index.js"
|