Skip to content

Commit c943700

Browse files
authored
Merge pull request #31 from sonofmagic/dev
Release: 1.2.7
2 parents 98f8a44 + 4b56bdb commit c943700

File tree

41 files changed

+5767
-3419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+5767
-3419
lines changed

.vscode/launch.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
// 使用 IntelliSense 了解相关属性。
3+
// 悬停以查看现有属性的描述。
4+
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"command": "yarn patch",
9+
"name": "do tailwindcss-patch",
10+
"request": "launch",
11+
"type": "node-terminal",
12+
"cwd": "${workspaceFolder}/packages/tailwindcss-patch"
13+
},
14+
{
15+
"command": "npm run build",
16+
"name": "Debug nuxt-app",
17+
"request": "launch",
18+
"type": "node-terminal",
19+
"cwd": "${workspaceFolder}/apps/nuxt-app"
20+
},
21+
{
22+
"command": "npm run build",
23+
"name": "Debug next-app",
24+
"request": "launch",
25+
"type": "node-terminal",
26+
"cwd": "${workspaceFolder}/apps/next-app"
27+
}
28+
]
29+
}

apps/next-app/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
"prepare": "tw-patch"
1111
},
1212
"dependencies": {
13-
"@types/node": "20.3.1",
14-
"@types/react": "18.2.12",
15-
"@types/react-dom": "18.2.5",
13+
"@types/node": "20.4.2",
14+
"@types/react": "18.2.15",
15+
"@types/react-dom": "18.2.7",
1616
"autoprefixer": "10.4.14",
17-
"eslint": "8.43.0",
18-
"eslint-config-next": "13.4.6",
19-
"next": "13.4.6",
20-
"postcss": "8.4.24",
17+
"eslint": "8.45.0",
18+
"eslint-config-next": "13.4.10",
19+
"next": "13.4.10",
20+
"postcss": "8.4.26",
2121
"react": "18.2.0",
2222
"react-dom": "18.2.0",
23-
"tailwindcss": "3.3.2",
24-
"typescript": "5.1.3"
23+
"tailwindcss": "3.3.3",
24+
"typescript": "5.1.6"
2525
},
2626
"devDependencies": {
2727
"tailwindcss-patch": "workspace:*",

apps/next-app/pages/index.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Image from 'next/image'
2-
import { Inter } from 'next/font/google'
2+
// import { Inter } from 'next/font/google'
33

4-
const inter = Inter({ subsets: ['latin'] })
4+
// const inter = Inter({ subsets: ['latin'] })
55

66
export default function Home() {
77
return (
@@ -34,10 +34,10 @@ export default function Home() {
3434
target="_blank"
3535
rel="noopener noreferrer"
3636
>
37-
<h2 className={`${inter.className} mb-3 text-2xl font-semibold`}>
37+
<h2 className={` mb-3 text-2xl font-semibold`}>
3838
Docs <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-&gt;</span>
3939
</h2>
40-
<p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Find in-depth information about Next.js features and API.</p>
40+
<p className={` m-0 max-w-[30ch] text-sm opacity-50`}>Find in-depth information about Next.js features and API.</p>
4141
</a>
4242

4343
<a
@@ -46,10 +46,10 @@ export default function Home() {
4646
target="_blank"
4747
rel="noopener noreferrer"
4848
>
49-
<h2 className={`${inter.className} mb-3 text-2xl font-semibold`}>
49+
<h2 className={` mb-3 text-2xl font-semibold`}>
5050
Learn <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-&gt;</span>
5151
</h2>
52-
<p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Learn about Next.js in an interactive course with&nbsp;quizzes!</p>
52+
<p className={` m-0 max-w-[30ch] text-sm opacity-50`}>Learn about Next.js in an interactive course with&nbsp;quizzes!</p>
5353
</a>
5454

5555
<a
@@ -58,10 +58,10 @@ export default function Home() {
5858
target="_blank"
5959
rel="noopener noreferrer"
6060
>
61-
<h2 className={`${inter.className} mb-3 text-2xl font-semibold`}>
61+
<h2 className={` mb-3 text-2xl font-semibold`}>
6262
Templates <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-&gt;</span>
6363
</h2>
64-
<p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Discover and deploy boilerplate example Next.js&nbsp;projects.</p>
64+
<p className={` m-0 max-w-[30ch] text-sm opacity-50`}>Discover and deploy boilerplate example Next.js&nbsp;projects.</p>
6565
</a>
6666

6767
<a
@@ -70,10 +70,10 @@ export default function Home() {
7070
target="_blank"
7171
rel="noopener noreferrer"
7272
>
73-
<h2 className={`${inter.className} mb-3 text-2xl font-semibold`}>
73+
<h2 className={` mb-3 text-2xl font-semibold`}>
7474
Deploy <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">-&gt;</span>
7575
</h2>
76-
<p className={`${inter.className} m-0 max-w-[30ch] text-sm opacity-50`}>Instantly deploy your Next.js site to a shareable URL with Vercel.</p>
76+
<p className={` m-0 max-w-[30ch] text-sm opacity-50`}>Instantly deploy your Next.js site to a shareable URL with Vercel.</p>
7777
</a>
7878
</div>
7979
</main>

apps/nuxt-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"prepare": "tw-patch"
1111
},
1212
"devDependencies": {
13-
"@types/node": "^20.3.1",
13+
"@types/node": "^20.4.2",
1414
"autoprefixer": "^10.4.14",
15-
"nuxt": "^3.5.3",
16-
"postcss": "^8.4.24",
17-
"tailwindcss": "^3.3.2",
15+
"nuxt": "^3.6.3",
16+
"postcss": "^8.4.26",
17+
"tailwindcss": "^3.3.3",
1818
"tailwindcss-patch": "workspace:*",
1919
"unplugin-tailwindcss-mangle": "workspace:*"
2020
}

apps/remix-app/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
"prepare": "tw-patch"
1010
},
1111
"dependencies": {
12-
"@remix-run/node": "^1.17.1",
13-
"@remix-run/react": "^1.17.1",
14-
"@remix-run/serve": "^1.17.1",
15-
"isbot": "^3.6.8",
12+
"@remix-run/node": "^1.18.1",
13+
"@remix-run/react": "^1.18.1",
14+
"@remix-run/serve": "^1.18.1",
15+
"isbot": "^3.6.12",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0"
1818
},
1919
"devDependencies": {
20-
"@remix-run/dev": "^1.17.1",
21-
"@remix-run/eslint-config": "^1.17.1",
22-
"@types/react": "^18.2.12",
23-
"@types/react-dom": "^18.2.5",
24-
"eslint": "^8.43.0",
25-
"tailwindcss": "^3.3.2",
20+
"@remix-run/dev": "^1.18.1",
21+
"@remix-run/eslint-config": "^1.18.1",
22+
"@types/react": "^18.2.15",
23+
"@types/react-dom": "^18.2.7",
24+
"eslint": "^8.45.0",
25+
"tailwindcss": "^3.3.3",
2626
"tailwindcss-patch": "workspace:*",
27-
"typescript": "^5.1.3",
27+
"typescript": "^5.1.6",
2828
"unplugin-tailwindcss-mangle": "workspace:*"
2929
},
3030
"engines": {

apps/solid-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"license": "MIT",
1414
"devDependencies": {
1515
"autoprefixer": "^10.4.14",
16-
"postcss": "^8.4.24",
17-
"tailwindcss": "^3.3.2",
16+
"postcss": "^8.4.26",
17+
"tailwindcss": "^3.3.3",
1818
"tailwindcss-patch": "workspace:*",
19-
"typescript": "^5.1.3",
19+
"typescript": "^5.1.6",
2020
"unplugin-tailwindcss-mangle": "workspace:*",
21-
"vite": "^4.3.9",
21+
"vite": "^4.4.4",
2222
"vite-plugin-solid": "^2.5.0"
2323
},
2424
"dependencies": {
25-
"solid-js": "^1.7.6"
25+
"solid-js": "^1.7.8"
2626
}
2727
}

apps/vite-lit/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"prepare": "tw-patch"
1919
},
2020
"dependencies": {
21-
"lit": "^2.7.5"
21+
"lit": "^2.7.6"
2222
},
2323
"devDependencies": {
2424
"autoprefixer": "^10.4.14",
25-
"postcss": "^8.4.24",
26-
"tailwindcss": "^3.3.2",
25+
"postcss": "^8.4.26",
26+
"tailwindcss": "^3.3.3",
2727
"tailwindcss-patch": "workspace:*",
28-
"typescript": "^5.1.3",
28+
"typescript": "^5.1.6",
2929
"unplugin-tailwindcss-mangle": "workspace:*",
30-
"vite": "^4.3.9"
30+
"vite": "^4.4.4"
3131
}
3232
}

apps/vite-react/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"react-dom": "^18.2.0"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^18.2.12",
18-
"@types/react-dom": "^18.2.5",
19-
"@vitejs/plugin-react": "^4.0.0",
17+
"@types/react": "^18.2.15",
18+
"@types/react-dom": "^18.2.7",
19+
"@vitejs/plugin-react": "^4.0.3",
2020
"autoprefixer": "^10.4.14",
21-
"postcss": "^8.4.24",
22-
"tailwindcss": "^3.3.2",
21+
"postcss": "^8.4.26",
22+
"tailwindcss": "^3.3.3",
2323
"tailwindcss-patch": "workspace:*",
24-
"typescript": "^5.1.3",
24+
"typescript": "^5.1.6",
2525
"unplugin-tailwindcss-mangle": "workspace:*",
26-
"vite": "^4.3.9"
26+
"vite": "^4.4.4"
2727
}
2828
}

apps/vite-svelte/package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@
77
"dev": "vite",
88
"build": "vite build",
99
"preview": "vite preview",
10-
"check": "svelte-check --tsconfig ./tsconfig.json"
10+
"check": "svelte-check --tsconfig ./tsconfig.json",
11+
"prepare": "tw-patch"
1112
},
1213
"devDependencies": {
13-
"@sveltejs/vite-plugin-svelte": "^2.4.1",
14-
"@tsconfig/svelte": "^4.0.1",
14+
"@sveltejs/vite-plugin-svelte": "^2.4.2",
15+
"@tsconfig/svelte": "^5.0.0",
1516
"autoprefixer": "^10.4.14",
16-
"postcss": "^8.4.24",
17-
"svelte": "^3.59.1",
18-
"svelte-check": "^3.4.3",
19-
"tailwindcss": "^3.3.2",
17+
"postcss": "^8.4.26",
18+
"svelte": "^4.0.5",
19+
"svelte-check": "^3.4.6",
20+
"tailwindcss": "^3.3.3",
2021
"tailwindcss-patch": "workspace:*",
21-
"tslib": "^2.5.3",
22-
"typescript": "^5.1.3",
22+
"tslib": "^2.6.0",
23+
"typescript": "^5.1.6",
2324
"unplugin-tailwindcss-mangle": "workspace:*",
24-
"vite": "^4.3.9"
25+
"vite": "^4.4.4"
2526
}
26-
}
27+
}

apps/vite-vanilla/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
},
1212
"devDependencies": {
1313
"autoprefixer": "^10.4.14",
14-
"postcss": "^8.4.24",
15-
"tailwindcss": "^3.3.2",
14+
"postcss": "^8.4.26",
15+
"tailwindcss": "^3.3.3",
1616
"tailwindcss-patch": "workspace:*",
17-
"typescript": "^5.1.3",
17+
"typescript": "^5.1.6",
1818
"unplugin-tailwindcss-mangle": "workspace:*",
19-
"vite": "^4.3.9"
19+
"vite": "^4.4.4"
2020
}
2121
}

apps/vite-vue/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"devDependencies": {
1616
"@vitejs/plugin-vue": "^4.2.3",
1717
"autoprefixer": "^10.4.14",
18-
"postcss": "^8.4.24",
19-
"tailwindcss": "^3.3.2",
18+
"postcss": "^8.4.26",
19+
"tailwindcss": "^3.3.3",
2020
"tailwindcss-patch": "workspace:*",
21-
"typescript": "^5.1.3",
21+
"typescript": "^5.1.6",
2222
"unplugin-tailwindcss-mangle": "workspace:*",
23-
"vite": "^4.3.9",
24-
"vue-tsc": "^1.8.0"
23+
"vite": "^4.4.4",
24+
"vue-tsc": "^1.8.5"
2525
}
2626
}

apps/webpack5-vue3/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"prepare": "tw-patch"
1111
},
1212
"dependencies": {
13-
"core-js": "^3.31.0",
13+
"core-js": "^3.31.1",
1414
"vue": "^3.3.4",
15-
"vue-router": "^4.2.2"
15+
"vue-router": "^4.2.4"
1616
},
1717
"devDependencies": {
18-
"@typescript-eslint/eslint-plugin": "^5.59.11",
19-
"@typescript-eslint/parser": "^5.59.11",
18+
"@typescript-eslint/eslint-plugin": "^6.1.0",
19+
"@typescript-eslint/parser": "^6.1.0",
2020
"@vue/cli-plugin-babel": "~5.0.0",
2121
"@vue/cli-plugin-eslint": "~5.0.0",
2222
"@vue/cli-plugin-router": "~5.0.0",
@@ -25,17 +25,17 @@
2525
"@vue/eslint-config-standard": "^8.0.1",
2626
"@vue/eslint-config-typescript": "^11.0.3",
2727
"autoprefixer": "^10.4.14",
28-
"eslint": "^8.43.0",
28+
"eslint": "^8.45.0",
2929
"eslint-plugin-import": "^2.27.5",
3030
"eslint-plugin-node": "^11.1.0",
3131
"eslint-plugin-promise": "^6.1.1",
32-
"eslint-plugin-vue": "^9.14.1",
33-
"postcss": "^8.4.24",
34-
"sass": "^1.63.4",
32+
"eslint-plugin-vue": "^9.15.1",
33+
"postcss": "^8.4.26",
34+
"sass": "^1.63.6",
3535
"sass-loader": "^13.3.2",
36-
"tailwindcss": "^3.3.2",
36+
"tailwindcss": "^3.3.3",
3737
"tailwindcss-patch": "workspace:*",
38-
"typescript": "~5.1.3",
38+
"typescript": "~5.1.6",
3939
"unplugin-tailwindcss-mangle": "workspace:*"
4040
}
4141
}

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tailwindcss-mangle",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"private": true,
55
"workspaces": [
66
"apps/*",
@@ -24,30 +24,30 @@
2424
"@icebreakers/rollup": "^0.4.0",
2525
"@icebreakers/tsconfig": "^0.0.7",
2626
"@tsconfig/recommended": "^1.0.2",
27-
"@types/jest": "^29.5.2",
28-
"@types/node": "^20.3.1",
29-
"@vitest/coverage-v8": "^0.32.2",
27+
"@types/jest": "^29.5.3",
28+
"@types/node": "^20.4.2",
29+
"@vitest/coverage-v8": "^0.33.0",
3030
"bumpp": "^9.1.1",
3131
"cross-env": "^7.0.3",
32-
"eslint": "^8.43.0",
33-
"eslint-plugin-unicorn": "^47.0.0",
34-
"jest": "^29.5.0",
32+
"eslint": "^8.45.0",
33+
"eslint-plugin-unicorn": "^48.0.0",
34+
"jest": "^29.6.1",
3535
"only-allow": "^1.1.1",
36-
"prettier": "^2.8.8",
37-
"rollup": "^3.25.1",
36+
"prettier": "^3.0.0",
37+
"rollup": "^3.26.3",
3838
"tailwindcss-mangle-core": "workspace:*",
3939
"tailwindcss-mangle-shared": "workspace:*",
4040
"tailwindcss-patch": "workspace:*",
41-
"ts-jest": "^29.1.0",
41+
"ts-jest": "^29.1.1",
4242
"ts-node": "^10.9.1",
43-
"typescript": "^5.1.3",
43+
"typescript": "^5.1.6",
4444
"unplugin-tailwindcss-mangle": "workspace:*"
4545
},
4646
"engines": {
4747
"node": ">=14.0.0"
4848
},
49-
"packageManager": "pnpm@8.6.2",
49+
"packageManager": "pnpm@8.6.3",
5050
"dependencies": {
51-
"vitest": "^0.32.2"
51+
"vitest": "^0.33.0"
5252
}
5353
}

0 commit comments

Comments
 (0)