@prismatic-io/spectral 10.16.3 → 10.16.4
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.
|
@@ -247,11 +247,8 @@ const convertComponentReference = (componentReference, componentRegistry, refere
|
|
|
247
247
|
};
|
|
248
248
|
};
|
|
249
249
|
const convertComponentRegistry = (componentRegistry, publicSupplementalComponent) => {
|
|
250
|
-
const convertedRegistry = Object.values(componentRegistry).map(({ key, public: isPublic, signature }) => ({
|
|
251
|
-
|
|
252
|
-
signature: signature !== null && signature !== void 0 ? signature : "",
|
|
253
|
-
isPublic,
|
|
254
|
-
}));
|
|
250
|
+
const convertedRegistry = Object.values(componentRegistry).map(({ key, public: isPublic, signature }) => (Object.assign({ key,
|
|
251
|
+
isPublic }, (signature ? { signature } : { version: "LATEST" }))));
|
|
255
252
|
if (publicSupplementalComponent) {
|
|
256
253
|
convertedRegistry.push({
|
|
257
254
|
key: `${publicSupplementalComponent}-triggers`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismatic-io/spectral",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.4",
|
|
4
4
|
"description": "Utility library for building Prismatic connectors and code-native integrations",
|
|
5
5
|
"keywords": ["prismatic"],
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"scripts": {
|
|
26
26
|
"clean": "rm -rf dist",
|
|
27
|
-
"build": "
|
|
27
|
+
"build": "bun run format && bun run lint && bun run clean && tsc",
|
|
28
28
|
"build:templates": "copyfiles --error -u 1 src/**/templates/**/*.ejs dist",
|
|
29
29
|
"dev": "tsc -w",
|
|
30
|
-
"postbuild": "
|
|
31
|
-
"prepack": "
|
|
30
|
+
"postbuild": "bun run build:templates",
|
|
31
|
+
"prepack": "bun run build",
|
|
32
32
|
"lint": "biome lint .",
|
|
33
33
|
"lint-fix": "biome lint --apply-unsafe .",
|
|
34
|
-
"format": "
|
|
34
|
+
"format": "bun run lint-fix && biome format --write .",
|
|
35
35
|
"check-format": "biome format .",
|
|
36
|
-
"check": "
|
|
36
|
+
"check": "bun run check-format && bun run lint",
|
|
37
37
|
"test": "vitest run",
|
|
38
38
|
"test:watch": "vitest",
|
|
39
39
|
"test:ui": "vitest --ui"
|