build: Update built artifacts after linting fixes

- Rebuild dist/ with latest changes
- Include updated provider loader in built bundle
- Ensure all changes are reflected in compiled output
pull/734/head
Frostebite 2025-09-11 18:01:27 +01:00
parent 79bd967fb5
commit b50c5c04ce
3 changed files with 6 additions and 7 deletions

View File

@ -91,7 +91,6 @@ jobs:
- name: Start LocalStack (S3)
uses: localstack/setup-localstack@v0.2.3
with:
services: s3
install-awslocal: true
- name: Create S3 bucket for tests (host LocalStack)
run: |

10
dist/index.js generated vendored
View File

@ -4484,12 +4484,12 @@ async function loadProvider(providerName, buildParameters) {
try {
// Map provider names to their module paths for built-in providers
const providerModuleMap = {
'aws': './aws',
'k8s': './k8s',
'test': './test',
aws: './aws',
k8s: './k8s',
test: './test',
'local-docker': './docker',
'local-system': './local',
'local': './local'
local: './local',
};
const modulePath = providerModuleMap[providerName] || providerName;
importedModule = await Promise.resolve().then(() => __importStar(require(modulePath)));
@ -4516,7 +4516,7 @@ async function loadProvider(providerName, buildParameters) {
];
for (const method of requiredMethods) {
if (typeof instance[method] !== 'function') {
throw new Error(`Provider package '${providerName}' does not implement ProviderInterface. Missing method '${method}'.`);
throw new TypeError(`Provider package '${providerName}' does not implement ProviderInterface. Missing method '${method}'.`);
}
}
cloud_runner_logger_1.default.log(`Successfully loaded provider: ${providerName}`);

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long