Skip to content

Commit 9889d1b

Browse files
committed
[fix] PNPM patch installation
[optimize] update Upstream packages
1 parent 33a7989 commit 9889d1b

7 files changed

Lines changed: 559 additions & 629 deletions

File tree

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Keep patch/hash-sensitive files stable across OSes
2+
*.patch text eol=lf

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module.exports = {
9191
{
9292
"scripts": {
9393
"install": "shadcn-helper install",
94-
"dev": "next dev",
94+
"dev": "next dev --webpack",
9595
"build": "next build --webpack",
9696
"start": "next start"
9797
},

‎app/globals.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,9 @@
128128
@apply bg-background text-foreground;
129129
}
130130
}
131+
132+
/*
133+
* ShadcnX CLI sets up the source rule for Tailwind CSS to include Git ignored components.
134+
* Don't modify this rule if you are not a Tailwind CSS expert.
135+
*/
136+
@source "../components/ui/**/*.{js,jsx,ts,tsx,mdx,vue,svelte}";

‎package.json‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"install": "shadcn-helper install",
88
"test": "lint-staged && git add .",
99
"registry:build": "shadcn build",
10-
"dev": "next dev",
10+
"dev": "next dev --webpack",
1111
"build": "npm run registry:build && next build --webpack",
1212
"start": "next start"
1313
},
@@ -16,34 +16,34 @@
1616
"clsx": "^2.1.1",
1717
"edkit": "^1.2.7",
1818
"lodash.debounce": "^4.0.8",
19-
"lucide-react": "^1.21.0",
19+
"lucide-react": "^1.23.0",
2020
"mobx": "^6.16.1",
21-
"mobx-i18n": "^0.7.2",
21+
"mobx-i18n": "^0.7.5",
2222
"mobx-react": "^9.2.2",
2323
"mobx-react-helper": "^0.5.1",
2424
"mobx-restful": "^2.1.4",
25-
"next": "^16.2.9",
26-
"radix-ui": "^1.6.0",
25+
"next": "^16.2.10",
26+
"radix-ui": "^1.6.1",
2727
"react": "^19.2.7",
2828
"react-dom": "^19.2.7",
2929
"tailwind-merge": "^3.6.0",
3030
"tw-animate-css": "^1.4.0",
31-
"web-utility": "^4.6.6"
31+
"web-utility": "^4.7.2"
3232
},
3333
"devDependencies": {
34-
"@biomejs/biome": "^2.5.1",
34+
"@biomejs/biome": "^2.5.2",
3535
"@octokit/openapi-types": "^27.0.0",
36-
"@tailwindcss/postcss": "^4.3.1",
36+
"@tailwindcss/postcss": "^4.3.2",
3737
"@types/lodash.debounce": "^4.0.9",
3838
"@types/node": "^24.13.2",
3939
"@types/react": "^19.2.17",
4040
"@types/react-dom": "^19.2.3",
4141
"husky": "^9.1.7",
4242
"lint-staged": "^17.0.8",
4343
"mobx-github": "^0.6.2",
44-
"shadcn": "^4.11.0",
45-
"shadcn-helper": "^0.5.6",
46-
"tailwindcss": "^4.3.1",
44+
"shadcn": "^4.13.0",
45+
"shadcn-helper": "^0.5.9",
46+
"tailwindcss": "^4.3.2",
4747
"typescript": "~5.9.3"
4848
},
4949
"lint-staged": {
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
11
diff --git a/dist/build/swc/options.js b/dist/build/swc/options.js
2-
index 8da2935..8e04947 100644
2+
index 8da2935285177960b5ae8b89070979d720ad15af..6ef9ed8f5594a750a57a8058d052824ae5a33000 100644
33
--- a/dist/build/swc/options.js
44
+++ b/dist/build/swc/options.js
5-
@@ -57,7 +57,7 @@ function getParserOptions({ filename, jsConfig, ...rest }) {
5+
@@ -57,7 +57,8 @@ function getParserOptions({ filename, jsConfig, ...rest }) {
66
...rest,
77
syntax: hasTsSyntax ? 'typescript' : 'ecmascript',
88
dynamicImport: true,
99
- decorators: enableDecorators,
10+
+ // Always parse decorators so TC39 syntax works without experimentalDecorators.
1011
+ decorators: true,
1112
// Exclude regular TypeScript files from React transformation to prevent e.g. generic parameters and angle-bracket type assertion from being interpreted as JSX tags.
1213
[hasTsSyntax ? 'tsx' : 'jsx']: !isTSFile,
1314
importAssertions: true
14-
@@ -102,6 +102,7 @@ function getBaseSWCOptions({ filename, jest, development, hasReactRefresh, globa
15+
@@ -102,6 +103,7 @@ function getBaseSWCOptions({ filename, jest, development, hasReactRefresh, globa
1516
} : {},
1617
legacyDecorator: enableDecorators,
1718
decoratorMetadata: emitDecoratorMetadata,
18-
+ decoratorVersion: "2022-03",
19+
+ decoratorVersion: '2022-03',
1920
useDefineForClassFields: useDefineForClassFields,
2021
react: {
2122
importSource: (jsConfig == null ? void 0 : (_jsConfig_compilerOptions4 = jsConfig.compilerOptions) == null ? void 0 : _jsConfig_compilerOptions4.jsxImportSource) ?? ((compilerOptions == null ? void 0 : compilerOptions.emotion) && !isReactServerLayer ? '@emotion/react' : 'react'),
2223
diff --git a/dist/esm/build/swc/options.js b/dist/esm/build/swc/options.js
23-
index 6d5922e..fb9b44a 100644
24+
index 6d5922e81ec99e3f89028bcad957492994b02d77..d25cf9575771d1fccc301e36545f3387101da3ef 100644
2425
--- a/dist/esm/build/swc/options.js
2526
+++ b/dist/esm/build/swc/options.js
26-
@@ -26,7 +26,7 @@ export function getParserOptions({ filename, jsConfig, ...rest }) {
27+
@@ -26,7 +26,8 @@ export function getParserOptions({ filename, jsConfig, ...rest }) {
2728
...rest,
2829
syntax: hasTsSyntax ? 'typescript' : 'ecmascript',
2930
dynamicImport: true,
3031
- decorators: enableDecorators,
32+
+ // Always parse decorators so TC39 syntax works without experimentalDecorators.
3133
+ decorators: true,
3234
// Exclude regular TypeScript files from React transformation to prevent e.g. generic parameters and angle-bracket type assertion from being interpreted as JSX tags.
3335
[hasTsSyntax ? 'tsx' : 'jsx']: !isTSFile,
3436
importAssertions: true
35-
@@ -71,6 +71,7 @@ function getBaseSWCOptions({ filename, jest, development, hasReactRefresh, globa
37+
@@ -71,6 +72,7 @@ function getBaseSWCOptions({ filename, jest, development, hasReactRefresh, globa
3638
} : {},
3739
legacyDecorator: enableDecorators,
3840
decoratorMetadata: emitDecoratorMetadata,
39-
+ decoratorVersion: "2022-03",
41+
+ decoratorVersion: '2022-03',
4042
useDefineForClassFields: useDefineForClassFields,
4143
react: {
4244
importSource: (jsConfig == null ? void 0 : (_jsConfig_compilerOptions4 = jsConfig.compilerOptions) == null ? void 0 : _jsConfig_compilerOptions4.jsxImportSource) ?? ((compilerOptions == null ? void 0 : compilerOptions.emotion) && !isReactServerLayer ? '@emotion/react' : 'react'),

0 commit comments

Comments
 (0)