Skip to content

Commit 1fd997f

Browse files
committed
chore: inline immer
1 parent db40efb commit 1fd997f

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"birpc": "catalog:deps",
6161
"cac": "catalog:deps",
6262
"h3": "catalog:deps",
63-
"immer": "catalog:deps",
63+
"immer": "catalog:inlined",
6464
"launch-editor": "catalog:deps",
6565
"mlly": "catalog:deps",
6666
"obug": "catalog:deps",

packages/kit/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,18 @@
4444
"dependencies": {
4545
"@vitejs/devtools-rpc": "workspace:*",
4646
"birpc": "catalog:deps",
47-
"immer": "catalog:deps"
47+
"ohash": "catalog:deps"
4848
},
4949
"devDependencies": {
5050
"human-id": "catalog:inlined",
51+
"immer": "catalog:inlined",
5152
"tsdown": "catalog:build",
5253
"ua-parser-modern": "catalog:frontend",
5354
"vite": "catalog:build"
5455
},
5556
"inlinedDependencies": {
56-
"ohash": "2.0.11",
5757
"ua-parser-modern": "0.1.1",
58-
"human-id": "4.1.3"
58+
"human-id": "4.1.3",
59+
"immer": "11.1.4"
5960
}
6061
}

packages/kit/tsdown.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ export default defineConfig({
1818
deps: {
1919
onlyBundle: [
2020
'human-id',
21-
'ohash',
21+
'immer',
2222
'ua-parser-modern',
2323
],
2424
},
25+
hash: false,
2526
})

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ catalogs:
4040
envinfo: ^7.21.0
4141
get-port-please: ^3.2.0
4242
h3: ^1.15.6
43-
immer: ^11.1.4
4443
launch-editor: ^2.13.1
4544
mlly: ^1.8.1
4645
mrmime: ^2.0.1
@@ -134,6 +133,7 @@ catalogs:
134133
'@antfu/utils': ^9.3.0
135134
'@clack/prompts': ^1.1.0
136135
human-id: ^4.1.3
136+
immer: ^11.1.4
137137
stream-json: ^1.9.1
138138
playground:
139139
unplugin-vue-router: ^0.19.2

tsconfig.base.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
"@vitejs/devtools-kit/utils/nanoid": [
4040
"./packages/kit/src/utils/nanoid.ts"
4141
],
42+
"@vitejs/devtools-kit/utils/human-id": [
43+
"./packages/kit/src/utils/human-id.ts"
44+
],
4245
"@vitejs/devtools-kit/utils/shared-state": [
4346
"./packages/kit/src/utils/shared-state.ts"
4447
],

0 commit comments

Comments
 (0)