Skip to content

Commit be8b508

Browse files
authored
Merge pull request #26 from sonofmagic/dev
Release: 1.2.5
2 parents be0830c + dc7cdef commit be8b508

Some content is hidden

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

53 files changed

+3922
-1195
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,14 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-latest, windows-latest, macos-latest]
14-
node-version: [10.x, 18.x]
15-
part: [a, b]
16-
include:
17-
- os: ubuntu-latest
18-
node-version: 18.x
19-
part: a
20-
- os: ubuntu-latest
21-
node-version: 16.x
22-
part: a
23-
- os: ubuntu-latest
24-
node-version: 14.x
25-
part: a
26-
- os: ubuntu-latest
27-
node-version: 12.x
28-
part: a
14+
node-version: [14.x, 16.x, 18.x]
2915
runs-on: ${{ matrix.os }}
3016
steps:
3117
- uses: actions/checkout@v3
3218
- uses: pnpm/action-setup@v2
33-
with:
34-
version: ^7.27.1
3519
- uses: actions/setup-node@v3
3620
with:
37-
node-version: '16'
21+
node-version: '18'
3822
cache: 'pnpm'
3923

4024
- run: pnpm i

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
registry=http://registry.npmmirror.com/
22
shamefully-hoist=true
33
git-checks=false
4-
hoist-pattern[]=!tailwindcss
4+
hoist-pattern[]=!tailwindcss
5+
auto-install-peers=false

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ A util for mangle tailwindcss
77
- [tailwindcss-mangle-core](#tailwindcss-mangle-core)
88
- [tailwindcss-mangle-shared](#tailwindcss-mangle-shared)
99
- [unplugin-tailwindcss-mangle](#unplugin-tailwindcss-mangle)
10+
- [How to use](#how-to-use)
1011

1112
## tailwindcss-patch
1213

@@ -31,3 +32,7 @@ click [tailwindcss-mangle-shared](./packages/shared) for more details.
3132
`unplugin-tailwindcss-mangle` is a plugin for `webpack` and `vite` to **obfuscate** tailwindcss class.
3233

3334
you can enter [unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mangle) for usage and more details.
35+
36+
## How to use
37+
38+
See [unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mangle)

apps/next-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"prepare": "tw-patch"
1111
},
1212
"dependencies": {
13-
"@types/node": "20.2.5",
14-
"@types/react": "18.2.8",
15-
"@types/react-dom": "18.2.4",
13+
"@types/node": "20.3.1",
14+
"@types/react": "18.2.12",
15+
"@types/react-dom": "18.2.5",
1616
"autoprefixer": "10.4.14",
1717
"eslint": "8.42.0",
18-
"eslint-config-next": "13.4.4",
19-
"next": "13.4.4",
18+
"eslint-config-next": "13.4.5",
19+
"next": "13.4.5",
2020
"postcss": "8.4.24",
2121
"react": "18.2.0",
2222
"react-dom": "18.2.0",

apps/nuxt-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prepare": "tw-patch"
1111
},
1212
"devDependencies": {
13-
"@types/node": "^20.2.5",
13+
"@types/node": "^20.3.1",
1414
"autoprefixer": "^10.4.14",
1515
"nuxt": "^3.5.3",
1616
"postcss": "^8.4.24",

apps/remix-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"devDependencies": {
2020
"@remix-run/dev": "^1.17.0",
2121
"@remix-run/eslint-config": "^1.17.0",
22-
"@types/react": "^18.2.8",
23-
"@types/react-dom": "^18.2.4",
22+
"@types/react": "^18.2.12",
23+
"@types/react-dom": "^18.2.5",
2424
"eslint": "^8.42.0",
2525
"tailwindcss": "^3.3.2",
2626
"tailwindcss-patch": "workspace:*",

apps/vite-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"react-dom": "^18.2.0"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^18.2.8",
18-
"@types/react-dom": "^18.2.4",
17+
"@types/react": "^18.2.12",
18+
"@types/react-dom": "^18.2.5",
1919
"@vitejs/plugin-react": "^4.0.0",
2020
"autoprefixer": "^10.4.14",
2121
"postcss": "^8.4.24",

apps/webpack5-vue3/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"prepare": "tw-patch"
1111
},
1212
"dependencies": {
13-
"core-js": "^3.30.2",
13+
"core-js": "^3.31.0",
1414
"vue": "^3.3.4",
1515
"vue-router": "^4.2.2"
1616
},
1717
"devDependencies": {
18-
"@typescript-eslint/eslint-plugin": "^5.59.9",
19-
"@typescript-eslint/parser": "^5.59.9",
18+
"@typescript-eslint/eslint-plugin": "^5.59.11",
19+
"@typescript-eslint/parser": "^5.59.11",
2020
"@vue/cli-plugin-babel": "~5.0.0",
2121
"@vue/cli-plugin-eslint": "~5.0.0",
2222
"@vue/cli-plugin-router": "~5.0.0",
@@ -31,8 +31,8 @@
3131
"eslint-plugin-promise": "^6.1.1",
3232
"eslint-plugin-vue": "^9.14.1",
3333
"postcss": "^8.4.24",
34-
"sass": "^1.62.1",
35-
"sass-loader": "^13.3.1",
34+
"sass": "^1.63.4",
35+
"sass-loader": "^13.3.2",
3636
"tailwindcss": "^3.3.2",
3737
"tailwindcss-patch": "workspace:*",
3838
"typescript": "~5.1.3",

jest.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ const config: Config = {
55
moduleNameMapper: {
66
'^@/(.*)$': '<rootDir>/src/$1'
77
}
8+
// collectCoverage: true,
9+
// coverageDirectory: 'coverage',
10+
// coverageProvider: 'v8',
11+
// coveragePathIgnorePatterns: ['/node_modules/', '<rootDir>/apps/']
812
}
913

1014
export default config

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tailwindcss-mangle",
3-
"version": "1.2.4",
3+
"version": "1.2.5",
44
"private": true,
55
"workspaces": [
66
"apps/*",
@@ -25,15 +25,16 @@
2525
"@icebreakers/tsconfig": "^0.0.6",
2626
"@tsconfig/recommended": "^1.0.2",
2727
"@types/jest": "^29.5.2",
28-
"@types/node": "^20.2.5",
28+
"@types/node": "^20.3.1",
29+
"@vitest/coverage-v8": "^0.32.0",
2930
"bumpp": "^9.1.1",
3031
"cross-env": "^7.0.3",
3132
"eslint": "^8.42.0",
3233
"eslint-plugin-unicorn": "^47.0.0",
3334
"jest": "^29.5.0",
3435
"only-allow": "^1.1.1",
3536
"prettier": "^2.8.8",
36-
"rollup": "^3.23.1",
37+
"rollup": "^3.25.1",
3738
"tailwindcss-mangle-core": "workspace:*",
3839
"tailwindcss-mangle-shared": "workspace:*",
3940
"tailwindcss-patch": "workspace:*",
@@ -45,7 +46,7 @@
4546
"engines": {
4647
"node": ">=14.0.0"
4748
},
48-
"packageManager": "pnpm@8.5.1",
49+
"packageManager": "pnpm@8.6.2",
4950
"dependencies": {
5051
"vitest": "^0.32.0"
5152
}

0 commit comments

Comments
 (0)