Skip to content

Commit 11033e9

Browse files
authored
fix: no import es-toolkit (#1217)
1 parent 54d048e commit 11033e9

File tree

38 files changed

+3731
-3452
lines changed

38 files changed

+3731
-3452
lines changed

.github/workflows/pr.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,17 @@ jobs:
6969
node-version: ${{ matrix.node }}
7070
- run: pnpm build
7171
- run: pnpm test:examples -- --environment ${{ matrix.environment }}
72+
test-e2e:
73+
runs-on: ubuntu-latest
74+
strategy:
75+
matrix:
76+
node: [22]
77+
environment: [node]
78+
name: test e2e usingNode ${{ matrix.node }}
79+
steps:
80+
- uses: actions/checkout@v4
81+
- uses: ./.github/actions/setup
82+
with:
83+
node-version: ${{ matrix.node }}
84+
- run: pnpm build
85+
- run: pnpm test:e2e

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@
8787
"build:emit": "pnpm clean && pnpm tsc --noCheck --project tsconfig.build.json && chmod +x ./build/generator/cli/generate.js",
8888
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/generator/cli/generate.js",
8989
"clean": "tsc --build --clean && rm -rf build",
90-
"test:unit": "vitest --exclude tests/examples",
90+
"test:unit": "vitest --exclude tests/examples --exclude tests/e2e",
9191
"test:examples": "vitest --config vitest.examples.config.ts --dir tests/examples",
92+
"test:e2e": "vitest --dir tests/e2e",
9293
"test": "vitest",
9394
"test:web": "vitest --environment jsdom",
9495
"test:types": "vitest --typecheck --dir src --testNamePattern .*.test-d.ts",
@@ -152,6 +153,7 @@
152153
"eslint-plugin-tsdoc": "^0.3.0",
153154
"eslint-typescript": "^1.1.0",
154155
"execa": "^9.4.1",
156+
"fs-jetpack": "^5.1.0",
155157
"get-port": "^7.1.0",
156158
"globby": "^14.0.2",
157159
"graphql": "^16.9.0",

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extensions/SchemaErrors/tests/fixture/graffle/modules/Global.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type * as Data from './Data.js'
22
import type * as MethodsDocument from './MethodsDocument.js'
33
import type * as MethodsRoot from './MethodsRoot.js'
44
import type * as MethodsSelect from './MethodsSelect.js'
5-
import type * as $Scalar from './Scalar.js'
65
import type { Schema } from './Schema.js'
76

87
declare global {

0 commit comments

Comments
 (0)