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 outputpull/734/head
parent
79bd967fb5
commit
b50c5c04ce
|
@ -91,7 +91,6 @@ jobs:
|
||||||
- name: Start LocalStack (S3)
|
- name: Start LocalStack (S3)
|
||||||
uses: localstack/setup-localstack@v0.2.3
|
uses: localstack/setup-localstack@v0.2.3
|
||||||
with:
|
with:
|
||||||
services: s3
|
|
||||||
install-awslocal: true
|
install-awslocal: true
|
||||||
- name: Create S3 bucket for tests (host LocalStack)
|
- name: Create S3 bucket for tests (host LocalStack)
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -4484,12 +4484,12 @@ async function loadProvider(providerName, buildParameters) {
|
||||||
try {
|
try {
|
||||||
// Map provider names to their module paths for built-in providers
|
// Map provider names to their module paths for built-in providers
|
||||||
const providerModuleMap = {
|
const providerModuleMap = {
|
||||||
'aws': './aws',
|
aws: './aws',
|
||||||
'k8s': './k8s',
|
k8s: './k8s',
|
||||||
'test': './test',
|
test: './test',
|
||||||
'local-docker': './docker',
|
'local-docker': './docker',
|
||||||
'local-system': './local',
|
'local-system': './local',
|
||||||
'local': './local'
|
local: './local',
|
||||||
};
|
};
|
||||||
const modulePath = providerModuleMap[providerName] || providerName;
|
const modulePath = providerModuleMap[providerName] || providerName;
|
||||||
importedModule = await Promise.resolve().then(() => __importStar(require(modulePath)));
|
importedModule = await Promise.resolve().then(() => __importStar(require(modulePath)));
|
||||||
|
@ -4516,7 +4516,7 @@ async function loadProvider(providerName, buildParameters) {
|
||||||
];
|
];
|
||||||
for (const method of requiredMethods) {
|
for (const method of requiredMethods) {
|
||||||
if (typeof instance[method] !== 'function') {
|
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}`);
|
cloud_runner_logger_1.default.log(`Successfully loaded provider: ${providerName}`);
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue