diff --git a/README.md b/README.md index e5096a3..155f155 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # @subsquid/cli +[![npm version](https://badge.fury.io/js/@subsquid%2Fcli.svg)](https://badge.fury.io/js/@subsquid%2Fcli) + `sqd(1)` tool for [squid project](https://docs.subsquid.io) management. ## Installation diff --git a/package.json b/package.json index cf815da..bf82ec7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@subsquid/cli", "description": "squid cli tool", - "version": "2.8.3", + "version": "2.8.4", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid-cli.git", "publishConfig": { @@ -70,7 +70,7 @@ "@oclif/core": "^3.19.1", "@oclif/plugin-autocomplete": "^3.0.8", "@subsquid/commands": "^2.3.1", - "@subsquid/manifest": "^0.0.1-beta.13", + "@subsquid/manifest": "^0.0.1-beta.16", "@subsquid/manifest-expr": "^0.0.1", "@types/fast-levenshtein": "^0.0.4", "@types/lodash": "^4.14.202", diff --git a/src/manifest/manifest.ts b/src/manifest/manifest.ts index 8f7479c..c11a3d5 100644 --- a/src/manifest/manifest.ts +++ b/src/manifest/manifest.ts @@ -98,7 +98,7 @@ export function loadManifestFile( let manifest; try { const raw = fs.readFileSync(manifestFullPath).toString(); - manifest = Manifest.parse(raw); + manifest = Manifest.parse(raw, { validation: { allowUnknown: true } }); } catch (e: any) { throw new Error( `The manifest file on ${manifestFullPath} can not be parsed: ${e instanceof Error ? e.message : e}`, diff --git a/yarn.lock b/yarn.lock index 9d5d2d5..c5035b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -943,10 +943,10 @@ resolved "https://registry.yarnpkg.com/@subsquid/manifest-expr/-/manifest-expr-0.0.1.tgz#da8078dcdc8e765b6b82cca1a0db9dbf5bff0297" integrity sha512-QKrgq+BPVX03SPm/kxXr3kDRDFn+ddBAuA9ysvae3PBA0jlj5DUSFxNjIoGZoy+RBwu82t4T0Xt4oTXR8e0OBw== -"@subsquid/manifest@^0.0.1-beta.13": - version "0.0.1-beta.13" - resolved "https://registry.yarnpkg.com/@subsquid/manifest/-/manifest-0.0.1-beta.13.tgz#6cebdf5ae097bfc2673040057e2b850153a21364" - integrity sha512-g/p2NCtuCs+EzDg484qj2Dp5CMUZfzQZbxkk9OsVi8HN12TZts9yk+JUKLzp0frpPDi/A7hCL0w5T/9OQkv3Rg== +"@subsquid/manifest@^0.0.1-beta.16": + version "0.0.1-beta.16" + resolved "https://registry.yarnpkg.com/@subsquid/manifest/-/manifest-0.0.1-beta.16.tgz#7cf1c3895a34f25b84ac466872c9ed40d0367d35" + integrity sha512-Xj3dVOCdOvgLMW0jVyGJ6xBK4xx29UQrfZq0tDrxhJ42Tm6h1itzudAP1BD/mkbDPNz0fe0E6+t1cimw3nEe5w== dependencies: joi "^17.12.0" js-yaml "^4.1.0"