Skip to content

Commit

Permalink
Merge branch 'main' into transform-cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
zzc6332 committed May 21, 2024
2 parents a565020 + 32ceb86 commit b004ea6
Show file tree
Hide file tree
Showing 55 changed files with 73 additions and 56 deletions.
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.60.2",
"version": "0.60.3",
"scripts": {
"bench": "node run.mjs"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "docs",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"scripts": {
"docs:dev": "vitepress dev",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue-cli4/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"scripts": {
"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue-cli5/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion interactive/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "interactive",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"scripts": {
"build": "nuxi prepare && esno scripts/prepare.ts && nuxi generate",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/monorepo",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"packageManager": "pnpm@9.1.1",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/astro",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "UnoCSS integration for Astro",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/autocomplete/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/autocomplete",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Autocomplete utils for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/cli",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "CLI for UnoCSS",
"author": {
"name": "Johann Schopplich",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/config",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Config loader for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/core",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "The instant on-demand Atomic CSS engine.",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/eslint-config",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "ESLint config for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/eslint-plugin",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "ESLint plugin for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/extractor-arbitrary-variants/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/extractor-arbitrary-variants",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Extractor arbitrary variants for utilities",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/extractor-mdc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/extractor-mdc",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "UnoCSS extractor for MDC",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/extractor-pug/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/extractor-pug",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "UnoCSS extractor for Pug",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/extractor-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/extractor-svelte",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "UnoCSS extractor for Svelte",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/inspector/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/inspector",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "The inspector UI for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/nuxt",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Nuxt module for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/postcss",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "PostCSS plugin for UnoCSS",
"author": "sibbng <sibbngheid@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-attributify/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-attributify",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Attributify preset for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-icons",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Pure CSS Icons for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-legacy-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unocss/preset-legacy-compat",
"version": "0.60.2",
"version": "0.60.3",
"description": "Collections of legacy compatibility utilities.",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-mini/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-mini",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "The minimal preset for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-rem-to-px/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-rem-to-px",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Convert all rem to px in utils",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-tagify/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-tagify",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Tagify preset for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-typography/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-typography",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Typography preset for UnoCSS",
"author": "Jeff Yang",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-uno/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-uno",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "The default preset for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-web-fonts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-web-fonts",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Web Fonts support for Uno CSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-wind/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/preset-wind",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Tailwind / Windi CSS compact preset for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/reset/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/reset",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Collection of CSS resetting",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/rule-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/rule-utils",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Utilities for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/runtime",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "CSS-in-JS Runtime for UnoCSS",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// @vitest-environment jsdom

import { afterEach, describe, expect, it } from 'vitest'
/// <reference types="vitest/globals" />
import initUnocssRuntime from '@unocss/runtime'
import presetUno from '@unocss/preset-uno'

Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"sourceMap": true,
"esModuleInterop": true
},
"include": ["**/*.ts", "**/*.d.ts", "**/*.tsx", "**/*.vue"]
"include": ["**/*.ts", "**/*.d.ts", "**/*.tsx", "**/*.vue", "../../vitest.config.ts", "../../vitest.workspace.ts"]
}
18 changes: 18 additions & 0 deletions packages/runtime/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig } from 'vitest/config'
import { alias } from '../../alias'

export default defineConfig({
optimizeDeps: {
entries: [],
},
resolve: {
alias,
},
test: {
testTimeout: 30_000,
name: 'runtime:dom',
globals: true,
environment: 'jsdom',
include: ['test-dom/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
},
})
2 changes: 1 addition & 1 deletion packages/scope/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/scope",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Placeholder for UnoCSS scope import",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/shared-common",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"dependencies": {
"@unocss/core": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/shared-docs",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"dependencies": {
"@unocss/autocomplete": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/shared-integration",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"private": true,
"dependencies": {
"@unocss/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-scoped/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/svelte-scoped",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Use UnoCSS in a modular fashion with styles being stored only in the Svelte component they are used in: Vite plugin for apps, Svelte preprocessor for component libraries",
"author": "Jacob Bowdoin",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/transformer-attributify-jsx-babel/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/transformer-attributify-jsx-babel",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Support valueless attributify in JSX/TSX.",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/transformer-attributify-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/transformer-attributify-jsx",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Support valueless attributify in JSX/TSX.",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/transformer-compile-class/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unocss/transformer-compile-class",
"type": "module",
"version": "0.60.2",
"version": "0.60.3",
"description": "Compile group of classes into one class",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
Loading

0 comments on commit b004ea6

Please sign in to comment.