@scalar/release-notes 0.2.5 → 0.2.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @scalar/release-notes
|
|
2
2
|
|
|
3
|
+
## 0.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#10559](https://github.com/scalar/scalar/pull/10559): Clean up Biome warnings in package code and tests. Handle rejected debounced callbacks and await streaming writes.
|
|
8
|
+
|
|
9
|
+
## 0.2.6
|
|
10
|
+
|
|
3
11
|
## 0.2.5
|
|
4
12
|
|
|
5
13
|
## 0.2.4
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGnC,OAAO,KAAK,EAAuB,kBAAkB,EAAuB,MAAM,iBAAiB,CAAA;AA+DnG,eAAO,MAAM,kCAAkC,GAAI,aAAY,kBAAuB,KAAG,
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGnC,OAAO,KAAK,EAAuB,kBAAkB,EAAuB,MAAM,iBAAiB,CAAA;AA+DnG,eAAO,MAAM,kCAAkC,GAAI,aAAY,kBAAuB,KAAG,OAiFxF,CAAA;AAED,eAAO,MAAM,qBAAqB,SAAuC,CAAA"}
|
|
@@ -69,11 +69,12 @@ export const createReleaseNotesGeneratorCommand = (baseConfig = {}) => {
|
|
|
69
69
|
console.warn(`No API key set for the ${config.builtInProviderName} provider; skipping release-notes generation.`);
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
let products = config.products;
|
|
73
|
+
if (!options.all) {
|
|
74
|
+
products = options.product
|
|
75
75
|
? config.products.filter((product) => product.slug === options.product)
|
|
76
76
|
: [createAdHocProduct(options, config.prompts.productDescriptionFallback ?? 'an open-source package')];
|
|
77
|
+
}
|
|
77
78
|
if (products.length === 0) {
|
|
78
79
|
throw new Error(options.product ? `No configured product found for slug ${options.product}.` : 'No products configured.');
|
|
79
80
|
}
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"changesets",
|
|
17
17
|
"ai"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.2.
|
|
19
|
+
"version": "0.2.7",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=22"
|
|
22
22
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@scalar/helpers": "0.16.
|
|
51
|
+
"@scalar/helpers": "0.16.3",
|
|
52
52
|
"commander": "13.1.0",
|
|
53
53
|
"zod": "^4.4.3"
|
|
54
54
|
},
|