diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9bd84c8637e384d30a8c05d5b96e00d58e9176c0..d28c9da0ec6eca625ef3e5b69a5ae54d6b296d8f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ default: - corepack enable - corepack prepare pnpm@10.0.0 --activate - pnpm config set store-dir .pnpm-store - - pnpm install + - pnpm install --frozen-lockfile build: extends: .npm_based_job @@ -37,6 +37,7 @@ build: artifacts: paths: - hiveio-metamask-snap-*.tgz + - snapper*.log.json when: always expire_in: 1 week diff --git a/package.json b/package.json index 21e6a7d76f3a5f062a985b07180cd12725afe50d..34bb595f7997deb632ec984b62af44e5662ec765 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hiveio/metamask-snap", - "version": "1.0.0", + "version": "1.0.1", "description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet", "main": "./dist/bundle.js", "files": [ diff --git a/scripts/snapper.sh b/scripts/snapper.sh index 7bf4fafc168d27a55113c28a523105d8c54bfac2..46700d01b290df8d0960cd008ee2b9a330e744aa 100755 --- a/scripts/snapper.sh +++ b/scripts/snapper.sh @@ -12,6 +12,6 @@ pnpm exec snapper -p "${SNAP_PATH}" --output "${LOG_FILE}" # Display simplified human-readable report and exit with error code if any issues found if [ -f "${LOG_FILE}" ]; then - jq -r '.ESLinting[] | "\(.position.filePath):\(.position.lineNum):\n\(.type): \(.description)\n"' "${LOG_FILE}" + jq -r 'to_entries[] | .value[] | "\(.position.filePath):\(.position.lineNum):\n\(.type): \(.description)\n"' "${LOG_FILE}" exit 1 fi; diff --git a/snap.config.ts b/snap.config.ts index 6cfbf72199c49e94aaf0868c6c807cbfe160e8bf..2894d235bedb5ef1a67adb5d556caaf2b74ef77d 100644 --- a/snap.config.ts +++ b/snap.config.ts @@ -7,9 +7,6 @@ const config: SnapConfig = { server: { port: 8080 }, - experimental: { - wasm: true - }, customizeWebpackConfig: webpackConfig => { webpackConfig.module = webpackConfig.module ?? {}; webpackConfig.module.rules = webpackConfig.module.rules ?? []; diff --git a/snap.manifest.json b/snap.manifest.json index 3739c3e254108c3f30c10d31e105b8c51bb4a428..386329211fdd1705c36d0b28b21290f3a74e47f3 100644 --- a/snap.manifest.json +++ b/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "1.0.0", + "version": "1.0.1", "description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet", "proposedName": "Hive Wallet", "repository": { @@ -7,7 +7,7 @@ "url": "git+https://gitlab.syncad.com/hive/metamask-snap.git" }, "source": { - "shasum": "cJhQWny3lmSgum2PkEdzz3al8F/+3pZds+IG+feH620=", + "shasum": "FzpJXdDNOVkP9aESauH9YuVQCd0PdhJDR8AXmBblk2E=", "location": { "npm": { "filePath": "dist/bundle.js",