Skip to content

Commit 9188524

Browse files
committed
chore: fix snap
1 parent 76c1f5c commit 9188524

File tree

7 files changed

+17
-6
lines changed

7 files changed

+17
-6
lines changed

packages/init/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
"dependencies": {
4141
"@weapp-tailwindcss/logger": "workspace:*",
4242
"@weapp-tailwindcss/shared": "workspace:*",
43-
"npm-registry-fetch": "^18.0.2"
43+
"fs-extra": "^11.2.0",
44+
"npm-registry-fetch": "^18.0.2",
45+
"pathe": "^2.0.1"
4446
}
4547
}

packages/init/test/__snapshots__/init.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports[`init > common > pkgJson 1`] = `
66
"autoprefixer": "^10.4.20",
77
"postcss": "^8.4.49",
88
"tailwindcss": "^3.4.17",
9-
"weapp-tailwindcss": "^3.8.0-alpha.1",
9+
"weapp-tailwindcss": "^3.8.0-alpha.2",
1010
},
1111
"scripts": {
1212
"postinstall": "weapp-tw patch",
@@ -48,7 +48,7 @@ exports[`init > esm > pkgJson 1`] = `
4848
"autoprefixer": "^10.4.20",
4949
"postcss": "^8.4.49",
5050
"tailwindcss": "^3.4.17",
51-
"weapp-tailwindcss": "^3.8.0-alpha.1",
51+
"weapp-tailwindcss": "^3.8.0-alpha.2",
5252
},
5353
"scripts": {
5454
"postinstall": "weapp-tw patch",

packages/init/test/fixtures/init/common/package.test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"tailwindcss": "^3.4.17",
77
"postcss": "^8.4.49",
88
"autoprefixer": "^10.4.20",
9-
"weapp-tailwindcss": "^3.8.0-alpha.1"
9+
"weapp-tailwindcss": "^3.8.0-alpha.2"
1010
}
1111
}

packages/init/test/fixtures/init/esm/package.test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"tailwindcss": "^3.4.17",
88
"postcss": "^8.4.49",
99
"autoprefixer": "^10.4.20",
10-
"weapp-tailwindcss": "^3.8.0-alpha.1"
10+
"weapp-tailwindcss": "^3.8.0-alpha.2"
1111
}
1212
}

packages/postcss/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"types": "./dist/index.d.ts"
6060
},
6161
"dependencies": {
62+
"@csstools/postcss-is-pseudo-class": "^5.0.1",
6263
"@weapp-core/escape": "~3.0.2",
6364
"@weapp-tailwindcss/shared": "workspace:*",
6465
"postcss": "~8.4.49",

packages/postcss/src/plugins/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { AcceptedPlugin } from 'postcss'
22
import type { IStyleHandlerOptions } from '../types'
3-
// @ts-ignore
43
import postcssIsPseudoClass from '@csstools/postcss-is-pseudo-class'
54
import postcssRem2rpx from 'postcss-rem-to-responsive-pixel'
65
import { createContext } from './ctx'

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)