Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit e7f79d4

Browse files
committed
Upgrade unocss to 0.33.2
1 parent ee8dad4 commit e7f79d4

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

examples/feature-apps/unocss/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<link rel="stylesheet" href="https://esm.sh/@unocss/reset@0.32.12/tailwind.css">
7+
<link rel="stylesheet" href="https://esm.sh/@unocss/reset@0.33.2/tailwind.css">
88
<style>
99
#root {
1010
position: relative;

lib/@unocss/preset-attributify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Provides Attributify Mode to other presets and rules.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-attributify
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-attributify@0.32.12";
5+
export { default } from "https://esm.sh/@unocss/preset-attributify@0.33.2";

lib/@unocss/preset-icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Use any icon as a class utility.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-icons
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-icons@0.32.12?no-require";
5+
export { default } from "https://esm.sh/@unocss/preset-icons@0.33.2?no-require";

lib/@unocss/preset-mini.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* The minimal but essential rules and variants.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-mini
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-mini@0.32.12";
5+
export { default } from "https://esm.sh/@unocss/preset-mini@0.33.2";

lib/@unocss/preset-typography.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* The typography preset.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-typography
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-typography@0.32.12";
5+
export { default } from "https://esm.sh/@unocss/preset-typography@0.33.2";

lib/@unocss/preset-uno.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* The default preset (right now it's equivalent to @unocss/preset-wind).
33
* https://github.com/unocss/unocss/tree/main/packages/preset-uno
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-uno@0.32.12";
5+
export { default } from "https://esm.sh/@unocss/preset-uno@0.33.2";

lib/@unocss/preset-web-fonts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Web fonts at ease.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-web-fonts
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-web-fonts@0.32.12";
5+
export { default } from "https://esm.sh/@unocss/preset-web-fonts@0.33.2";

lib/@unocss/preset-wind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Tailwind / Windi CSS compact preset.
33
* https://github.com/unocss/unocss/tree/main/packages/preset-wind
44
*/
5-
export { default } from "https://esm.sh/@unocss/preset-wind@0.32.12";
5+
export { default } from "https://esm.sh/@unocss/preset-wind@0.33.2";

server/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { basename, dirname, globToRegExp, join } from "https://deno.land/[email protected]/path/mod.ts";
22
import { JSONC } from "https://deno.land/x/[email protected]/src/jsonc.ts";
3-
import { createGenerator, type UnoGenerator } from "https://esm.sh/@unocss/core@0.32.12";
3+
import { createGenerator, type UnoGenerator } from "https://esm.sh/@unocss/core@0.33.2";
44
import { findFile } from "../lib/fs.ts";
55
import log from "../lib/log.ts";
66
import util from "../lib/util.ts";

server/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { UserConfig as UnoConfig } from "https://esm.sh/@unocss/core@0.32.12";
1+
import type { UserConfig as UnoConfig } from "https://esm.sh/@unocss/core@0.33.2";
22

33
export type AlephConfig = {
44
/** The build options for `build` command. */
@@ -56,7 +56,7 @@ export type JSXConfig = {
5656

5757
export type ModuleLoader = {
5858
test(pathname: string): boolean;
59-
load(pathname: string, env: ModuleLoaderEnv): Promise<ModuleLoaderContent> | ModuleLoaderContent;
59+
load(pathname: string, env: ModuleLoaderEnv): Promise<ModuleLoaderOutput> | ModuleLoaderOutput;
6060
};
6161

6262
export type ModuleLoaderEnv = {
@@ -65,11 +65,11 @@ export type ModuleLoaderEnv = {
6565
ssr?: boolean;
6666
};
6767

68-
export type ModuleLoaderContent = {
68+
export type ModuleLoaderOutput = {
6969
code: string;
7070
inlineCSS?: string;
71-
atomicCSS?: boolean;
7271
lang?: "js" | "jsx" | "ts" | "tsx" | "css";
72+
isTemplateLanguage?: boolean;
7373
map?: string;
7474
};
7575

0 commit comments

Comments
 (0)