Skip to content

Commit 13b3d03

Browse files
committed
chore: Update dependencies and import paths for @unocss/core
1 parent 17f8c95 commit 13b3d03

File tree

4 files changed

+15
-26
lines changed

4 files changed

+15
-26
lines changed

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"version": "0.0.0",
55
"packageManager": "[email protected]",
66
"description": "A Unocss transformer that converts relative paths in 'url(...)' to absolute paths based on the project root, allowing Vite to recognize and handle these assets.",
7+
"author": {
8+
"name": "pzehrel",
9+
"email": "[email protected]"
10+
},
711
"license": "MIT",
812
"homepage": "https://github.com/unocss-community/unocss-transformer-css-url-rebase#readme",
913
"repository": {
@@ -53,21 +57,21 @@
5357
"typecheck": "tsc --noEmit",
5458
"play": "npm -C playground run dev"
5559
},
60+
"peerDependencies": {
61+
"@unocss/core": ">=65"
62+
},
5663
"dependencies": {
5764
"pathe": "^2.0.3"
5865
},
5966
"devDependencies": {
6067
"@antfu/eslint-config": "^4.8.1",
61-
"@babel/types": "^7.26.10",
6268
"@types/node": "^22.13.10",
69+
"@unocss/core": "^66.0.0",
6370
"bumpp": "^10.0.3",
6471
"eslint": "^9.22.0",
65-
"esno": "^4.8.0",
6672
"magic-string": "^0.30.17",
6773
"typescript": "^5.8.2",
6874
"unbuild": "^3.5.0",
69-
"unocss": "^66.0.0",
70-
"vite": "^6.2.1",
7175
"vitest": "^3.0.8"
7276
}
7377
}

pnpm-lock.yaml

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

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { SourceCodeTransformer } from 'unocss'
1+
import type { SourceCodeTransformer } from '@unocss/core'
22
import type { TransformerCssUrlRebaseOptions } from './options'
33
import { withTransformCssUrlRebase } from './transform'
44

src/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { HighlightAnnotation } from '@unocss/core'
12
import type MagicString from 'magic-string'
2-
import type { HighlightAnnotation } from 'unocss/index'
33
import type { TransformerCssUrlRebaseOptions } from './options'
44
import { dirname, isAbsolute, join, normalize } from 'pathe'
55

0 commit comments

Comments
 (0)