ci: narrow extension boundary cache inputs

This commit is contained in:
Peter Steinberger
2026-04-22 04:08:42 +01:00
parent 24c409035c
commit 115accfc82
2 changed files with 10 additions and 3 deletions

View File

@@ -9,7 +9,14 @@ const tscBin = require.resolve("typescript/bin/tsc");
const TYPE_INPUT_EXTENSIONS = new Set([".ts", ".tsx", ".d.ts", ".js", ".mjs", ".json"]);
const VALID_MODES = new Set(["all", "package-boundary"]);
const ROOT_DTS_INPUTS = ["tsconfig.json", "tsconfig.plugin-sdk.dts.json", "src"];
const PLUGIN_SDK_TYPE_INPUTS = [
"tsconfig.json",
"src/plugin-sdk",
"src/video-generation/dashscope-compatible.ts",
"src/video-generation/types.ts",
"src/types",
];
const ROOT_DTS_INPUTS = ["tsconfig.plugin-sdk.dts.json", ...PLUGIN_SDK_TYPE_INPUTS];
const ROOT_DTS_STAMP = "dist/plugin-sdk/.boundary-dts.stamp";
const ROOT_DTS_REQUIRED_OUTPUTS = [
"dist/plugin-sdk/src/plugin-sdk/error-runtime.d.ts",
@@ -17,7 +24,7 @@ const ROOT_DTS_REQUIRED_OUTPUTS = [
"dist/plugin-sdk/src/plugin-sdk/provider-auth.d.ts",
"dist/plugin-sdk/src/plugin-sdk/video-generation.d.ts",
];
const PACKAGE_DTS_INPUTS = ["tsconfig.json", "packages/plugin-sdk/tsconfig.json", "src"];
const PACKAGE_DTS_INPUTS = ["packages/plugin-sdk/tsconfig.json", ...PLUGIN_SDK_TYPE_INPUTS];
const PACKAGE_DTS_STAMP = "packages/plugin-sdk/dist/.boundary-dts.stamp";
const PACKAGE_DTS_REQUIRED_OUTPUTS = [
"packages/plugin-sdk/dist/src/plugin-sdk/error-runtime.d.ts",