@orkestrel/brief 0.0.6 → 0.0.7
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 +6 -6
- package/dist/src/core/index.cjs +380 -274
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +594 -485
- package/dist/src/core/index.d.ts +594 -485
- package/dist/src/core/index.js +369 -263
- package/dist/src/core/index.js.map +1 -1
- package/package.json +16 -15
package/README.md
CHANGED
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
createBriefCompiler,
|
|
18
18
|
briefToGoal,
|
|
19
19
|
briefToMarkdown,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
buildOutcome,
|
|
21
|
+
buildProof,
|
|
22
|
+
buildTask,
|
|
23
23
|
} from '@orkestrel/brief'
|
|
24
24
|
|
|
25
25
|
const compiler = createBriefCompiler()
|
|
26
26
|
const briefing = compiler.compile({
|
|
27
|
-
task:
|
|
28
|
-
outcomes: [
|
|
29
|
-
proofs: [
|
|
27
|
+
task: buildTask('refactor', 'code', 'Refactor useForm to native browser form APIs.'),
|
|
28
|
+
outcomes: [buildOutcome(1, 'useForm uses native FormData with no behavior change')],
|
|
29
|
+
proofs: [buildProof('type-check and lint pass', 'npm run check')],
|
|
30
30
|
})
|
|
31
31
|
|
|
32
32
|
if (briefing.brief !== undefined) {
|