Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align development with main #110

Merged
merged 10 commits into from
Mar 27, 2024
7 changes: 7 additions & 0 deletions .changeset/eleven-pans-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@deltadao/nautilus": patch
---

Fix error in next build
- Fixes an error with starting compute jobs
- Fixes `tslib` dependency issues
7 changes: 6 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
"@deltadao/nautilus": "1.0.0-beta.2",
"test": "0.0.0"
},
"changesets": ["small-tigers-repeat"]
"changesets": [
"eleven-pans-look",
"famous-pots-deny",
"lucky-drinks-occur",
"small-tigers-repeat"
]
}
5 changes: 1 addition & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-dependencies

# - name: Lint code
# run: npm format && npm lint:fix

- name: Lint code
run: npm run lint
run: npm run format && npm run lint:fix

build:
name: Build
Expand Down
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @deltadao/nautilus

## 1.0.0-next.5

### Patch Changes

- [#108](https://github.com/deltaDAO/nautilus/pull/108) [`3e8b148`](https://github.com/deltaDAO/nautilus/commit/3e8b1484fa5656a0a46fc818ca118dfda32786fc) Thanks [@moritzkirstein](https://github.com/moritzkirstein)! - Fix error in next build
- Fixes an error with starting compute jobs
- Fixes `tslib` dependency issues

## 1.0.0-next.4

### Patch Changes

- [#106](https://github.com/deltaDAO/nautilus/pull/106) [`399cd55`](https://github.com/deltaDAO/nautilus/commit/399cd55ead131534f0165ef01f698553cb26290d) Thanks [@moritzkirstein](https://github.com/moritzkirstein)! - bump ocean.js

## 1.0.0-next.3

### Patch Changes

- [#103](https://github.com/deltaDAO/nautilus/pull/103) [`8f71689`](https://github.com/deltaDAO/nautilus/commit/8f71689b3cd4fa02502e01adddfe309afecdf5d2) Thanks [@moritzkirstein](https://github.com/moritzkirstein)! - next release

## 1.0.0-beta.2

### Patch Changes
Expand Down
6 changes: 5 additions & 1 deletion src/compute/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 7 additions & 3 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@deltadao/nautilus",
"description": "A typescript library enabling automated publish & consume in Ocean Protocol ecosystems",
"version": "1.0.0-beta.2",
"version": "1.0.0-next.5",
"type": "module",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
Expand Down Expand Up @@ -33,15 +33,19 @@
"documents": "./src/**/*.gql.ts",
"generates": {
"./src/@types/subgraph/api.ts": {
"plugins": ["typescript"]
"plugins": [
"typescript"
]
},
"./src/": {
"preset": "near-operation-file",
"presetConfig": {
"baseTypesPath": "@types/subgraph/api.ts",
"extension": ".generated.ts"
},
"plugins": ["typescript-operations"],
"plugins": [
"typescript-operations"
],
"config": {
"omitOperationSuffix": true,
"typesPrefix": "I"
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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",
Expand Down
Loading