Skip to content

Commit f4c0895

Browse files
committed
chore(deps): upgrade
1 parent ea12123 commit f4c0895

File tree

11 files changed

+722
-831
lines changed

11 files changed

+722
-831
lines changed

apps/next-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@types/react": "18.2.15",
1515
"@types/react-dom": "18.2.7",
1616
"autoprefixer": "10.4.14",
17-
"eslint": "8.44.0",
17+
"eslint": "8.45.0",
1818
"eslint-config-next": "13.4.10",
1919
"next": "13.4.10",
2020
"postcss": "8.4.26",

apps/nuxt-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@types/node": "^20.4.2",
1414
"autoprefixer": "^10.4.14",
15-
"nuxt": "^3.6.2",
15+
"nuxt": "^3.6.3",
1616
"postcss": "^8.4.26",
1717
"tailwindcss": "^3.3.3",
1818
"tailwindcss-patch": "workspace:*",

apps/remix-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@remix-run/eslint-config": "^1.18.1",
2222
"@types/react": "^18.2.15",
2323
"@types/react-dom": "^18.2.7",
24-
"eslint": "^8.44.0",
24+
"eslint": "^8.45.0",
2525
"tailwindcss": "^3.3.3",
2626
"tailwindcss-patch": "workspace:*",
2727
"typescript": "^5.1.6",

apps/vite-vue/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"typescript": "^5.1.6",
2222
"unplugin-tailwindcss-mangle": "workspace:*",
2323
"vite": "^4.4.4",
24-
"vue-tsc": "^1.8.4"
24+
"vue-tsc": "^1.8.5"
2525
}
2626
}

apps/webpack5-vue3/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"vue-router": "^4.2.4"
1616
},
1717
"devDependencies": {
18-
"@typescript-eslint/eslint-plugin": "^6.0.0",
19-
"@typescript-eslint/parser": "^6.0.0",
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,7 +25,7 @@
2525
"@vue/eslint-config-standard": "^8.0.1",
2626
"@vue/eslint-config-typescript": "^11.0.3",
2727
"autoprefixer": "^10.4.14",
28-
"eslint": "^8.44.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",

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"@vitest/coverage-v8": "^0.33.0",
3030
"bumpp": "^9.1.1",
3131
"cross-env": "^7.0.3",
32-
"eslint": "^8.44.0",
33-
"eslint-plugin-unicorn": "^47.0.0",
32+
"eslint": "^8.45.0",
33+
"eslint-plugin-unicorn": "^48.0.0",
3434
"jest": "^29.6.1",
3535
"only-allow": "^1.1.1",
3636
"prettier": "^3.0.0",
37-
"rollup": "^3.26.2",
37+
"rollup": "^3.26.3",
3838
"tailwindcss-mangle-core": "workspace:*",
3939
"tailwindcss-mangle-shared": "workspace:*",
4040
"tailwindcss-patch": "workspace:*",

packages/core/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
"build": "cross-env NODE_ENV=production rollup -c",
1414
"dev:tsc": "tsc -p tsconfig.json --sourceMap",
1515
"build:tsc": "tsc -p tsconfig.json",
16-
"_test": "yarn build && jest",
1716
"jest:u": "jest -u",
1817
"test:dev": "yarn build && vitest",
19-
"test": "yarn build && jest && vitest run",
18+
"test": "jest && vitest run",
2019
"coverage": "vitest run --coverage"
2120
},
2221
"keywords": [
@@ -49,4 +48,4 @@
4948
"type": "git",
5049
"url": "git+https://github.com/sonofmagic/tailwindcss-mangle.git"
5150
}
52-
}
51+
}

packages/core/test/index.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { getCss, getTestCase } from './utils'
22

33
describe('common usage', () => {
4-
it('hello-world', () => {
5-
expect(getCss(getTestCase('hello-world.html'))).toMatchSnapshot()
4+
it('hello-world', async () => {
5+
expect(await getCss(getTestCase('hello-world.html'))).toMatchSnapshot()
66
})
77

8-
it('hello-world with js', () => {
9-
expect(getCss([getTestCase('hello-world.html'), getTestCase('hello-world.js')])).toMatchSnapshot()
8+
it('hello-world with js', async () => {
9+
expect(await getCss([getTestCase('hello-world.html'), getTestCase('hello-world.js')])).toMatchSnapshot()
1010
})
1111
})

packages/core/test/utils/index.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ export function getTestCase(caseName: string) {
88
}
99
// @tailwind base;
1010
// @tailwind components;
11-
export function getCss(raw: string | string[]) {
11+
export async function getCss(raw: string | string[]) {
1212
if (typeof raw === 'string') {
1313
raw = [raw]
1414
}
15-
return postcss([
15+
const res = await postcss([
1616
tailwindcss({
1717
content: raw.map((x) => {
1818
return {
1919
raw: x
2020
}
2121
})
2222
})
23-
]).process('@tailwind utilities;').css
23+
]).process('@tailwind utilities;')
24+
return res.css
2425
}

packages/unplugin-tailwindcss-mangle/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"tailwindcss-mangle-core": "workspace:^",
7575
"tailwindcss-mangle-shared": "workspace:^",
7676
"tailwindcss-patch": "workspace:^",
77-
"unplugin": "^1.3.2"
77+
"unplugin": "^1.4.0"
7878
},
7979
"publishConfig": {
8080
"access": "public",
@@ -91,7 +91,7 @@
9191
"tailwindcss": "^3.3.3",
9292
"tslib": "^2.6.0",
9393
"vite": "^4.4.4",
94-
"webpack": "^5.88.1",
94+
"webpack": "^5.88.2",
9595
"webpack-build-utils": "^0.0.4"
9696
},
9797
"homepage": "https://github.com/sonofmagic/tailwindcss-mangle",

0 commit comments

Comments
 (0)