@karmaniverous/stan-core 0.10.0 → 0.10.1
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 +11 -3
- package/dist/mjs/index.js +1 -1
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -228,16 +228,24 @@ const full = await createContextArchiveWithDependencyContext({
|
|
|
228
228
|
cwd,
|
|
229
229
|
stanPath,
|
|
230
230
|
dependency: { meta, map, state, clean: true },
|
|
231
|
+
archive: {
|
|
232
|
+
onArchiveWarnings: (text) => console.log(text),
|
|
233
|
+
onSelectionReport: (report) => console.log(report),
|
|
234
|
+
},
|
|
231
235
|
});
|
|
232
236
|
|
|
233
237
|
const diff = await createContextArchiveDiffWithDependencyContext({
|
|
234
238
|
cwd,
|
|
235
239
|
stanPath,
|
|
236
240
|
dependency: { meta, map, state, clean: false },
|
|
237
|
-
diff: {
|
|
241
|
+
diff: {
|
|
242
|
+
baseName: 'archive',
|
|
243
|
+
snapshotFileName: '.archive.snapshot.context.json',
|
|
244
|
+
onArchiveWarnings: (text) => console.log(text),
|
|
245
|
+
onSelectionReport: (report) => console.log(report),
|
|
246
|
+
},
|
|
238
247
|
});
|
|
239
|
-
```
|
|
240
|
-
|
|
248
|
+
```
|
|
241
249
|
## Environment variables
|
|
242
250
|
|
|
243
251
|
See [Env Vars](./guides/env-vars.md) for a complete list of environment variable switches observed by the engine, tests, and release scripts.
|