Skip to content

Commit

Permalink
chore: fix snap
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Jan 10, 2025
1 parent 76c1f5c commit 9188524
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
4 changes: 3 additions & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"dependencies": {
"@weapp-tailwindcss/logger": "workspace:*",
"@weapp-tailwindcss/shared": "workspace:*",
"npm-registry-fetch": "^18.0.2"
"fs-extra": "^11.2.0",
"npm-registry-fetch": "^18.0.2",
"pathe": "^2.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/init/test/__snapshots__/init.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`init > common > pkgJson 1`] = `
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"weapp-tailwindcss": "^3.8.0-alpha.1",
"weapp-tailwindcss": "^3.8.0-alpha.2",
},
"scripts": {
"postinstall": "weapp-tw patch",
Expand Down Expand Up @@ -48,7 +48,7 @@ exports[`init > esm > pkgJson 1`] = `
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"weapp-tailwindcss": "^3.8.0-alpha.1",
"weapp-tailwindcss": "^3.8.0-alpha.2",
},
"scripts": {
"postinstall": "weapp-tw patch",
Expand Down
2 changes: 1 addition & 1 deletion packages/init/test/fixtures/init/common/package.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"tailwindcss": "^3.4.17",
"postcss": "^8.4.49",
"autoprefixer": "^10.4.20",
"weapp-tailwindcss": "^3.8.0-alpha.1"
"weapp-tailwindcss": "^3.8.0-alpha.2"
}
}
2 changes: 1 addition & 1 deletion packages/init/test/fixtures/init/esm/package.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"tailwindcss": "^3.4.17",
"postcss": "^8.4.49",
"autoprefixer": "^10.4.20",
"weapp-tailwindcss": "^3.8.0-alpha.1"
"weapp-tailwindcss": "^3.8.0-alpha.2"
}
}
1 change: 1 addition & 0 deletions packages/postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"types": "./dist/index.d.ts"
},
"dependencies": {
"@csstools/postcss-is-pseudo-class": "^5.0.1",
"@weapp-core/escape": "~3.0.2",
"@weapp-tailwindcss/shared": "workspace:*",
"postcss": "~8.4.49",
Expand Down
1 change: 0 additions & 1 deletion packages/postcss/src/plugins/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { AcceptedPlugin } from 'postcss'
import type { IStyleHandlerOptions } from '../types'
// @ts-ignore
import postcssIsPseudoClass from '@csstools/postcss-is-pseudo-class'
import postcssRem2rpx from 'postcss-rem-to-responsive-pixel'
import { createContext } from './ctx'
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9188524

Please sign in to comment.