@decohere/workspace 0.0.1-dev.20261123.370 → 0.0.1-dev.20261123.379

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 (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -94,3 +94,14 @@ const aliases = workspace.getPackageAliases("debug");
94
94
  A tool with defaults of its own passes them as the second argument, `WorkspaceFactory.create(options, defaults)`, so `.decohere.js` can override them. Anything in `options` overrides the user's file.
95
95
 
96
96
  Pass a pre-built `workspace` into Forge/Flux in tests to skip filesystem discovery.
97
+
98
+ ## Working on this package
99
+
100
+ For contributors to Decohere: how the package is laid out and tested. Using it needs nothing below.
101
+
102
+ `src/` has two folders:
103
+
104
+ - `models/`: the workspace and its projects (`workspace.model.ts`, `project.model.ts`), their `package.json` and `tsconfig` models with the mixins that give a project them, package aliases, project scripts, source extensions, and JSONC parsing. They keep `.model.ts`, since they model files, not a business domain ([ADR 0027](../../docs/contributing/adr/0027-code-design.md)).
105
+ - `factories/`: `ProjectFactory`, plus `WorkspaceFactory` and `UserConfigFactory` (which loads `.decohere.js`); those two are exported as instances today, not classes.
106
+
107
+ There is no canonical suite for workspace in the [testing table](../../docs/contributing/testing/README.md#canonical-suite-ownership): it is exercised through the forge and flux CLI suites in `projects/cli/tests/`. Its own specs, in `tests/`, cover the factories and models in memfs, and move beside the code.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decohere/workspace",
3
- "version": "0.0.1-dev.20261123.370",
3
+ "version": "0.0.1-dev.20261123.379",
4
4
  "description": "Workspace and project model primitives for monorepo tooling",
5
5
  "keywords": [
6
6
  "typescript",
@@ -32,9 +32,9 @@
32
32
  "test": "echo \"Error: no test specified\" && exit 1"
33
33
  },
34
34
  "dependencies": {
35
- "@decohere/core": "0.0.1-dev.20261123.370",
36
- "@decohere/crucible": "0.0.1-dev.20261123.370",
37
- "@decohere/devkit": "0.0.1-dev.20261123.370",
35
+ "@decohere/core": "0.0.1-dev.20261123.379",
36
+ "@decohere/crucible": "0.0.1-dev.20261123.379",
37
+ "@decohere/devkit": "0.0.1-dev.20261123.379",
38
38
  "get-tsconfig": "^4.14.3",
39
39
  "picomatch": "^4.0.4"
40
40
  },