diff --git a/.changeset/eleven-pans-look.md b/.changeset/eleven-pans-look.md new file mode 100644 index 0000000..d715a39 --- /dev/null +++ b/.changeset/eleven-pans-look.md @@ -0,0 +1,7 @@ +--- +"@deltadao/nautilus": patch +--- + +Fix error in next build +- Fixes an error with starting compute jobs +- Fixes `tslib` dependency issues diff --git a/src/compute/index.ts b/src/compute/index.ts index 19043fb..7f9645b 100644 --- a/src/compute/index.ts +++ b/src/compute/index.ts @@ -64,7 +64,11 @@ export async function compute(computeConfig: ComputeConfig) { ) const assetIdentifiers = [datasetConfig, algorithmConfig] - for (const dataset of additionalDatasetsConfig) assetIdentifiers.push(dataset) + + // add additional datasets to identifiers, if they are set + if (additionalDatasetsConfig) + for (const dataset of additionalDatasetsConfig) + assetIdentifiers.push(dataset) try { // 1. Get all assets and access details from DIDs diff --git a/tsconfig.base.json b/tsconfig.base.json index befdb50..f7eb9fe 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -17,7 +17,7 @@ // Incremental builds // NOTE: Enabling incremental builds speeds up `tsc`. // Keep in mind though that it does not reliably bust the cache when the `tsconfig.json` file changes. - "incremental": true, + // "incremental": true, // Type checking // TODO: strict is preferred. Needs some code refactoring. @@ -42,7 +42,7 @@ // "allowSyntheticDefaultImports": false, "forceConsistentCasingInFileNames": true, // "verbatimModuleSyntax": true, // TODO: should be enabled, but requires some refactoring. - "importHelpers": true, // This is only used for build validation. Since we do not have `tslib` installed, this will fail if we accidentally make use of anything that'd require injection of helpers. + // "importHelpers": true , // TODO: this can be turned on for build validation. Since we do not have `tslib` installed, this will fail if we accidentally make use of anything that'd require injection of helpers. // Language and environment // "moduleResolution": "NodeNext",