anhedral 0.22.0 → 0.23.0
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 +37 -51
- package/assets/contracts/deployment-provenance.json +4 -4
- package/assets/contracts/environment-provenance.json +2 -2
- package/dist/cli-commands.js +5 -17
- package/dist/cli-errors.js +1 -1
- package/dist/cli-output.js +1 -1
- package/dist/command-schema.d.ts +1 -0
- package/dist/command-schema.js +19 -1
- package/dist/completion.js +1 -1
- package/dist/{capability-catalog.d.ts → composition/catalog.d.ts} +2 -2
- package/dist/{capability-catalog.js → composition/catalog.js} +2 -2
- package/dist/{capability-command.d.ts → composition/command.d.ts} +3 -3
- package/dist/{capability-command.js → composition/command.js} +29 -22
- package/dist/{composition.d.ts → composition/composition.d.ts} +1 -1
- package/dist/{composition.js → composition/composition.js} +2 -2
- package/dist/{capability-editor.js → composition/editor.js} +1 -1
- package/dist/{capability-recipes.d.ts → composition/recipes.d.ts} +2 -2
- package/dist/{capability-recipes.js → composition/recipes.js} +7 -7
- package/dist/{capability-references.js → composition/references.js} +2 -2
- package/dist/{stack-update.d.ts → composition/update.d.ts} +3 -3
- package/dist/{stack-update.js → composition/update.js} +11 -11
- package/dist/contracts/cli-transport.d.ts +1 -1
- package/dist/contracts/deployment.d.ts +4 -65
- package/dist/contracts/deployment.js +0 -29
- package/dist/contracts/environment-file.d.ts +3 -0
- package/dist/contracts/environment-file.js +8 -5
- package/dist/contracts/production-transport.d.ts +2 -2
- package/dist/contracts/staging-transport.d.ts +2 -2
- package/dist/dependencies.d.ts +1 -1
- package/dist/dependencies.js +1 -1
- package/dist/launch.js +8 -8
- package/dist/platform/auth.d.ts +14 -0
- package/dist/platform/auth.js +62 -0
- package/dist/{platform-command.d.ts → platform/command.d.ts} +2 -2
- package/dist/platform/command.js +279 -0
- package/dist/{credential-helper.js → platform/credential-helper.js} +1 -1
- package/dist/platform/deploy.d.ts +2 -0
- package/dist/platform/deploy.js +158 -0
- package/dist/{platform-environment.d.ts → platform/environment.d.ts} +1 -1
- package/dist/{platform-environment.js → platform/environment.js} +12 -12
- package/dist/platform/http.d.ts +7 -0
- package/dist/platform/http.js +105 -0
- package/dist/{platform-operations.d.ts → platform/operations.d.ts} +1 -1
- package/dist/{platform-operations.js → platform/operations.js} +5 -5
- package/dist/platform/output.d.ts +2 -0
- package/dist/platform/output.js +79 -0
- package/dist/{platform-production.d.ts → platform/production.d.ts} +1 -1
- package/dist/{platform-production.js → platform/production.js} +4 -4
- package/dist/platform/projects.d.ts +12 -0
- package/dist/platform/projects.js +125 -0
- package/dist/{platform-source.js → platform/source.js} +7 -7
- package/dist/platform/state-schema.d.ts +25 -0
- package/dist/platform/state-schema.js +11 -0
- package/dist/{platform-state.d.ts → platform/state.d.ts} +1 -1
- package/dist/{platform-state.js → platform/state.js} +3 -4
- package/dist/platform/types.d.ts +26 -0
- package/dist/platform/upload.d.ts +2 -0
- package/dist/platform/upload.js +60 -0
- package/dist/process/runner.d.ts +1 -0
- package/dist/{command-runner.js → process/runner.js} +1 -1
- package/dist/registry/usage.d.ts +1 -0
- package/dist/{platforms → scaffold}/tanstack.d.ts +2 -2
- package/dist/{platforms → scaffold}/tanstack.js +2 -2
- package/dist/transactions/durable-files.d.ts +8 -0
- package/dist/transactions/durable-files.js +132 -0
- package/dist/transactions/journal.d.ts +4 -0
- package/dist/transactions/journal.js +141 -0
- package/dist/{transaction-lock.js → transactions/lock.js} +2 -2
- package/dist/transactions/model.d.ts +18 -0
- package/dist/transactions/model.js +4 -0
- package/dist/transactions/paths.d.ts +12 -0
- package/dist/transactions/paths.js +155 -0
- package/dist/transactions/recovery.d.ts +7 -0
- package/dist/transactions/recovery.js +132 -0
- package/dist/{transaction.d.ts → transactions/transaction.d.ts} +1 -2
- package/dist/transactions/transaction.js +179 -0
- package/dist/util.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/capabilities.md +8 -6
- package/docs/software-factory.md +36 -6
- package/package.json +22 -22
- package/dist/platform-command.js +0 -787
- package/dist/transaction.js +0 -716
- /package/dist/{capability-editor.d.ts → composition/editor.d.ts} +0 -0
- /package/dist/{capability-references.d.ts → composition/references.d.ts} +0 -0
- /package/dist/{credential-helper.d.ts → platform/credential-helper.d.ts} +0 -0
- /package/dist/{platform-source.d.ts → platform/source.d.ts} +0 -0
- /package/dist/{command-runner.d.ts → platform/types.js} +0 -0
- /package/dist/{command.d.ts → process/resolve-command.d.ts} +0 -0
- /package/dist/{command.js → process/resolve-command.js} +0 -0
- /package/dist/{transaction-lock.d.ts → transactions/lock.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anhedral",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.23.0",
|
|
4
|
+
"description": "The open-source Anhedral API client for building, configuring and deploying apps, with editable source generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"scaffold": "node dist/bin.js init",
|
|
60
|
-
"clean": "node scripts/clean.mjs",
|
|
61
|
-
"build": "node scripts/standalone-checkout.mjs && pnpm clean && tsc && node scripts/prepare-cli.mjs",
|
|
60
|
+
"clean": "node scripts/build/clean.mjs",
|
|
61
|
+
"build": "node scripts/checks/standalone-checkout.mjs && pnpm clean && tsc && node scripts/build/prepare-cli.mjs",
|
|
62
62
|
"prepare": "pnpm build",
|
|
63
63
|
"typecheck": "tsc --noEmit",
|
|
64
|
-
"check:hygiene": "node scripts/check-source-hygiene.mjs && node scripts/check-environment-contract.mjs && node scripts/check-operations-contract.mjs",
|
|
65
|
-
"check:security": "node scripts/check-security-policy.mjs",
|
|
66
|
-
"check:release-policy": "node scripts/check-release-policy.mjs",
|
|
67
|
-
"check:release-secrets": "node scripts/check-release-secrets.mjs",
|
|
64
|
+
"check:hygiene": "node scripts/checks/check-source-hygiene.mjs && node scripts/contracts/check-environment-contract.mjs && node scripts/contracts/check-operations-contract.mjs",
|
|
65
|
+
"check:security": "node scripts/security/check-security-policy.mjs",
|
|
66
|
+
"check:release-policy": "node scripts/release/check-release-policy.mjs",
|
|
67
|
+
"check:release-secrets": "node scripts/release/check-release-secrets.mjs",
|
|
68
68
|
"lint": "pnpm typecheck && pnpm format:check && pnpm check:hygiene && pnpm check:release-policy && pnpm check:boundaries",
|
|
69
|
-
"audit:osv": "node scripts/audit-osv.mjs",
|
|
69
|
+
"audit:osv": "node scripts/security/audit-osv.mjs",
|
|
70
70
|
"test": "pnpm test:unit",
|
|
71
71
|
"pretest": "pnpm build",
|
|
72
72
|
"prepublishOnly": "pnpm test:all",
|
|
@@ -77,19 +77,19 @@
|
|
|
77
77
|
"test:release-tooling": "node tests/test-release-tooling.test.mjs",
|
|
78
78
|
"test:all": "pnpm build && pnpm format:check && pnpm check:hygiene && pnpm check:release-policy && pnpm check:boundaries && pnpm check:security && pnpm audit:osv && pnpm test:unit && pnpm test:patch && node tests/test-packed-cli.js && node tests/test-packlist.js",
|
|
79
79
|
"release:check": "pnpm test:all",
|
|
80
|
-
"release:pack": "pnpm build && pnpm plugin:build && node scripts/create-release-artifact.mjs && node scripts/check-release-secrets.mjs .artifacts/release/metadata.json",
|
|
81
|
-
"release:artifact:verify": "node scripts/verify-release-artifact.mjs .artifacts/release/metadata.json && node scripts/check-release-secrets.mjs .artifacts/release/metadata.json",
|
|
80
|
+
"release:pack": "pnpm build && pnpm plugin:build && node scripts/release/create-release-artifact.mjs && node scripts/release/check-release-secrets.mjs .artifacts/release/metadata.json",
|
|
81
|
+
"release:artifact:verify": "node scripts/release/verify-release-artifact.mjs .artifacts/release/metadata.json && node scripts/release/check-release-secrets.mjs .artifacts/release/metadata.json",
|
|
82
82
|
"release:artifact:smoke": "node tests/test-packed-cli.js .artifacts/release/metadata.json",
|
|
83
83
|
"test:unit": "node --test --test-concurrency=4 --test-reporter=spec tests/*.test.mjs",
|
|
84
84
|
"test:integration": "pnpm build && node tests/test-generated-apps.mjs",
|
|
85
|
-
"format": "prettier --write src scripts tests \"assets/patches/*.mjs\" assets/ui assets/security && node scripts/stack-template-format.mjs --write",
|
|
86
|
-
"format:check": "prettier --check src scripts tests \"assets/patches/*.mjs\" assets/ui assets/security && node scripts/stack-template-format.mjs",
|
|
87
|
-
"plugin:build": "node scripts/check-plugin.mjs",
|
|
88
|
-
"plugin:check": "node scripts/check-plugin.mjs",
|
|
85
|
+
"format": "prettier --write src scripts tests \"assets/patches/*.mjs\" assets/ui assets/security && node scripts/build/stack-template-format.mjs --write",
|
|
86
|
+
"format:check": "prettier --check src scripts tests \"assets/patches/*.mjs\" assets/ui assets/security && node scripts/build/stack-template-format.mjs",
|
|
87
|
+
"plugin:build": "node scripts/plugin/check-plugin.mjs",
|
|
88
|
+
"plugin:check": "node scripts/plugin/check-plugin.mjs",
|
|
89
89
|
"test:patch": "node tests/test-braces-install.mjs && node tests/test-forge-install.mjs",
|
|
90
|
-
"check:boundaries": "node scripts/repository-boundaries.mjs",
|
|
91
|
-
"test:tanstack-runtime": "pnpm build && node scripts/tanstack-runtime-smoke.mjs",
|
|
92
|
-
"check:standalone": "node scripts/standalone-checkout.mjs"
|
|
90
|
+
"check:boundaries": "node scripts/checks/repository-boundaries.mjs",
|
|
91
|
+
"test:tanstack-runtime": "pnpm build && node scripts/runtime/tanstack-runtime-smoke.mjs",
|
|
92
|
+
"check:standalone": "node scripts/checks/standalone-checkout.mjs"
|
|
93
93
|
},
|
|
94
94
|
"keywords": [
|
|
95
95
|
"cli",
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
"packageManager": "pnpm@10.34.5",
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@types/node": "20.19.43",
|
|
112
|
-
"hono": "4.13.
|
|
113
|
-
"prettier": "3.
|
|
114
|
-
"typescript": "
|
|
112
|
+
"hono": "4.13.18",
|
|
113
|
+
"prettier": "3.10.1",
|
|
114
|
+
"typescript": "6.0.3"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
117
|
"jsonc-parser": "3.3.1",
|
|
118
118
|
"yaml": "2.9.1",
|
|
119
|
-
"zod": "4.6.
|
|
119
|
+
"zod": "4.6.7",
|
|
120
120
|
"ignore": "7.0.14"
|
|
121
121
|
}
|
|
122
122
|
}
|