Merge pull request #25 from hypercerts-org/feat/geojson_support_metadata #17
Annotations
3 errors and 1 warning
Semantic Release:
src/utils/formatter.ts#L114
Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }[]' is not assignable to type '({ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; })[]'.
|
Semantic Release:
src/utils/formatter.ts#L114
Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }[]' is not assignable to type '({ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; })[]'.
|
Semantic Release
ExecaError: Command failed with exit code 1: npm publish /home/runner/work/hypercerts-sdk/hypercerts-sdk --userconfig /tmp/128fd66916bb1c3a589080485540edc0/.npmrc --tag develop --registry 'https://registry.npmjs.org/'
src/index.ts → dist/esm, dist/cjs...
created dist/esm, dist/cjs in 365ms
src/index.ts → dist/index.d.ts...
src/utils/formatter.ts(114,5): error TS2322: Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }[]' is not assignable to type '({ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; })[]'.
Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }' is not assignable to type '{ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; }'.
Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }' is missing the following properties from type '{ trait_type: string; type: string; src: string; name: string; }': type, src, name
[!] (plugin dts) RollupError: Failed to compile. Check the logs above.
src/utils/formatter.ts
at error (/home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:353:30)
at Object.error (/home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1721:20)
at Object.error (/home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:25627:42)
at generateDtsFromTs (file:///home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1834:30)
at Object.transform (file:///home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1843:38)
at /home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1914:40
npm error code 1
npm error path /home/runner/work/hypercerts-sdk/hypercerts-sdk
npm error command failed
npm error command sh -c pnpm build
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-01-26T21_51_53_080Z-debug-0.log
> @hypercerts-org/[email protected] prepack
> pnpm build
> @hypercerts-org/[email protected] prebuild /home/runner/work/hypercerts-sdk/hypercerts-sdk
> pnpm clean
> @hypercerts-org/[email protected] clean /home/runner/work/hypercerts-sdk/hypercerts-sdk
> rm -rf ./dist
> @hypercerts-org/[email protected] build /home/runner/work/hypercerts-sdk/hypercerts-sdk
> pnpm types:json && pnpm codegen:api && rollup -c
> @hypercerts-org/[email protected] types:json /home/runner/work/hypercerts-sdk/hypercerts-sdk
> pnpm json2ts -i './src/resources/schema/' -o 'src/types' --cwd './src/resources/schema'
> @hypercerts-org/[email protected] codegen:api /home/runner/work/hypercerts-sdk/hypercerts-sdk
> npx orval --input ./lib/hypercerts-api/src/__generated__/swagger.json --output ./src/__generated__/api.ts
🍻 Start orval v6.31.0 - A swagger client generator for typescript
⚠️ ResolverError: Error opening file "/home/runner/work/hypercerts-sdk/hypercerts-sdk/lib/hypercerts-api/src/__generated__/swagger.json"
ENOENT: no such file or directory, open '/home/runner/work/hypercerts-sdk/hypercerts-sdk/lib/hypercerts-api/src/__generated__/swagger.json'
🛑 Error: ENOENT: no such file or directory, open '/home/runner/work/hypercerts-sdk/hypercerts-sdk/lib/hypercerts-api/src/__generated__/swagger.json'
\u2009ELIFECYCLE\u2009 Command failed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading