chore: update @swc/core to 1.15 and pnpm to 9.15 #1682
Annotations
2 errors and 10 warnings
|
CI (20)
Process completed with exit code 1.
|
|
tests/integration/mix-cjs-mjs/index.test.ts > Run config swc-helpers:
tests/helpers/run.ts#L155
Error: Snapshot `Run config swc-helpers > file content dist/entry-mts.umd.es5.production.js 1` mismatched
- Expected
+ Received
- "var e,t;e=this,t=function(e,t){"use strict";var n,r={},d=function(){if(n)return r;n=1;var e=t._;return r.add=function(e,t){return e+t},r.extend=function(t,n){return e({},t,n)},r}(),o=t._({},d.extend({a:1},{b:2}));e.add=d.add,e.extend=d.extend,e.foo=o},"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@swc/helpers/_/_object_spread")):"function"==typeof define&&define.amd?define(["exports","@swc/helpers/_/_object_spread"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@ice/pkg-tests-mix-cjs-mjs"]={},e.require$$0);
+ "var e,t;e=this,t=function(e,t){"use strict";var r,n={},o=function(){if(r)return n;r=1;var e=t._;return n.add=function(e,t){return e+t},n.extend=function(t,r){return e({},t,r)},n}(),s=t._({},o.extend({a:1},{b:2}));e.add=o.add,e.extend=o.extend,e.foo=s},"object"==typeof exports&&"u">typeof module?t(exports,require("@swc/helpers/_/_object_spread")):"function"==typeof define&&define.amd?define(["exports","@swc/helpers/_/_object_spread"],t):t((e="u">typeof globalThis?globalThis:e||self)["@ice/pkg-tests-mix-cjs-mjs"]={},e.require$$0);
"
❯ tests/helpers/run.ts:155:25
❯ snapshotFolderContent tests/helpers/run.ts:147:3
❯ runSnapshot tests/helpers/run.ts:90:9
❯ tests/helpers/run.ts:109:9
|
|
CI (20):
packages/ice-npm-utils/__tests__/index.test.ts#L168
Caution: `rimraf` also has a named export `sync`. Check if you meant to write `import {sync} from 'rimraf'` instead
|
|
CI (20):
packages/ice-npm-utils/__tests__/index.test.ts#L164
Caution: `rimraf` also has a named export `sync`. Check if you meant to write `import {sync} from 'rimraf'` instead
|
|
CI (20):
packages/ice-npm-utils/__tests__/index.test.ts#L153
Caution: `rimraf` also has a named export `sync`. Check if you meant to write `import {sync} from 'rimraf'` instead
|
|
CI (20):
packages/ice-npm-utils/__tests__/index.test.ts#L148
Caution: `rimraf` also has a named export `sync`. Check if you meant to write `import {sync} from 'rimraf'` instead
|
|
CI (20):
packages/ice-npm-utils/__tests__/index.test.ts#L4
Using exported name 'rimraf' as identifier for default import
|
|
CI (20):
examples/react-multi-components/src/Avatar/index.tsx#L6
An empty interface is equivalent to `{}`
|
|
CI (20):
examples/react-component/src/components/Button/index.tsx#L36
'children' is missing in props validation
|
|
CI (20):
examples/react-component/pages/index.tsx#L4
Component definition is missing display name
|
|
CI (20):
eslint.config.mjs#L8
Replace `⏎······'examples/**/*.{js,jsx,ts,tsx}',⏎······'tests/**/*.{js,jsx,ts,tsx}',⏎······'scripts/**/*.{ts,js}',⏎····` with `'examples/**/*.{js,jsx,ts,tsx}',·'tests/**/*.{js,jsx,ts,tsx}',·'scripts/**/*.{ts,js}'`
|
|
CI (20):
.commitlintrc.js#L1
A `require()` style import is forbidden
|