Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: up deps #11

Merged
merged 8 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
dist
*.log
.vscode
.eslintcache
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# unocss-preset-animatecss [![npm](https://img.shields.io/npm/v/unocss-preset-animatecss)](https://npmjs.com/package/unocss-preset-animatecss)


>🚧 This is an **experimental project** aimed at exploring the process of converting a **static CSS file** into a dynamic **[UnoCSS](https://github.com/unocss/unocss)** preset.



## Features
- 🔥 Animate.css Preset for UnoCSS

Expand Down Expand Up @@ -42,7 +39,6 @@ export default defineConfig({

```


## Rules

- animate__animated
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { antfu } from '@antfu/eslint-config'

export default antfu()
49 changes: 31 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "unocss-preset-animatecss",
"type": "module",
"version": "0.0.2",
"packageManager": "pnpm@8.7.0",
"packageManager": "pnpm@9.15.0",
"description": "UnoCSS preset for animate.css",
"author": "chizukicn <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -56,29 +56,42 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest",
"test:update": "vitest --update"
"test:update": "vitest --update",
"up:deps": "taze",
"prepare": "npx simple-git-hooks"
},
"dependencies": {
"postcss": "^8.4.29",
"postcss": "^8.4.49",
"postcss-js": "^4.0.1"
},
"devDependencies": {
"@antfu/eslint-config": "^0.41.0",
"@babel/types": "^7.22.11",
"@types/fs-extra": "^11.0.1",
"@types/node": "^20.5.9",
"@types/postcss-js": "^4.0.1",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@antfu/eslint-config": "^3.12.0",
"@babel/types": "^7.26.3",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.17.10",
"@types/postcss-js": "^4.0.4",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"animate.css": "^4.1.1",
"bumpp": "^9.2.0",
"dedent": "^1.5.1",
"eslint": "^8.48.0",
"fs-extra": "^11.1.1",
"prettier": "^3.0.3",
"typescript": "5.1.6",
"unbuild": "^2.0.0",
"bumpp": "^9.9.1",
"dedent": "^1.5.3",
"eslint": "^9.17.0",
"fs-extra": "^11.2.0",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"simple-git-hooks": "^2.11.1",
"taze": "^0.18.0",
"typescript": "5.7.2",
"unbuild": "^3.0.1",
"unocss": "latest",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vite": "^5.4.11",
"vitest": "^2.1.8"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts}": [
"npx eslint --fix --cache"
]
}
}
6 changes: 3 additions & 3 deletions playground/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ createApp({
setup() {
return () => (
<div class="bg-secondary duration-300 flex h-full w-full items-center justify-center">
<div class="bg-white text-pink-3 text-4xl animate__zoomInUp animate__animated animate__delay-0.5s" >
UnPreset Animate.CSS
</div>
<div class="bg-white text-pink-3 text-4xl animate__zoomInUp animate__animated animate__delay-0.5s">
UnPreset Animate.CSS
</div>
</div>
)
},
Expand Down
4 changes: 2 additions & 2 deletions playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { defineConfig } from 'vite'

import jsx from '@vitejs/plugin-vue-jsx'

import uno from 'unocss/vite'

import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig(() => ({
base: '/',
Expand Down
Loading
Loading