chore: add unocss dep

This commit is contained in:
syy11cn 2022-04-02 15:13:30 +08:00 committed by sunyiyang.11
parent 45b9958182
commit edb102a51f
6 changed files with 428 additions and 2 deletions

View File

@ -1,8 +1,9 @@
{
"name": "seats",
"name": "reactesse",
"version": "0.0.0",
"private": true,
"description": "Ze Qi Seats Manager",
"packageManager": "pnpm@6.32.4",
"description": "Template for React TypeScript Vite projects.",
"license": "MIT",
"main": "index.js",
"scripts": {
@ -17,11 +18,14 @@
},
"devDependencies": {
"@antfu/eslint-config": "^0.19.2",
"@iconify-json/carbon": "^1.1.2",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@unocss/reset": "^0.30.10",
"@vitejs/plugin-react": "^1.3.0",
"eslint": "^8.12.0",
"typescript": "^4.6.3",
"unocss": "^0.30.10",
"unplugin-auto-import": "^0.6.9",
"vite": "^2.9.1"
}

View File

@ -2,13 +2,16 @@ lockfileVersion: 5.3
specifiers:
'@antfu/eslint-config': ^0.19.2
'@iconify-json/carbon': ^1.1.2
'@types/react': ^17.0.43
'@types/react-dom': ^17.0.14
'@unocss/reset': ^0.30.10
'@vitejs/plugin-react': ^1.3.0
eslint: ^8.12.0
react: ^18.0.0
react-dom: ^18.0.0
typescript: ^4.6.3
unocss: ^0.30.10
unplugin-auto-import: ^0.6.9
vite: ^2.9.1
@ -18,11 +21,14 @@ dependencies:
devDependencies:
'@antfu/eslint-config': 0.19.2_eslint@8.12.0+typescript@4.6.3
'@iconify-json/carbon': 1.1.2
'@types/react': 17.0.43
'@types/react-dom': 17.0.14
'@unocss/reset': 0.30.10
'@vitejs/plugin-react': 1.3.0
eslint: 8.12.0
typescript: 4.6.3
unocss: 0.30.10
unplugin-auto-import: 0.6.9_vite@2.9.1
vite: 2.9.1
@ -123,6 +129,13 @@ packages:
- typescript
dev: true
/@antfu/install-pkg/0.1.0:
resolution: {integrity: sha512-VaIJd3d1o7irZfK1U0nvBsHMyjkuyMP3HKYVV53z8DKyulkHKmjhhtccXO51WSPeeSHIeoJEoNOKavYpS7jkZw==}
dependencies:
execa: 5.1.1
find-up: 5.0.0
dev: true
/@antfu/utils/0.5.0:
resolution: {integrity: sha512-MrAQ/MrPSxbh1bBrmwJjORfJymw4IqSHFBXqvxaga3ZdDM+/zokYF8DjyJpSjY2QmpmgQrajDUBJOWrYeARfzA==}
dev: true
@ -420,6 +433,29 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
/@iconify-json/carbon/1.1.2:
resolution: {integrity: sha512-kopcVYOmKM1e6u7B8XugmiNV+7lDcK5hJR2XLVpYPfwJSw5M6jGTFe4ZD+SbWfxavOt67ufQtczWKwd9o7gN9Q==}
dependencies:
'@iconify/types': 1.1.0
dev: true
/@iconify/types/1.1.0:
resolution: {integrity: sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==}
dev: true
/@iconify/utils/1.0.32:
resolution: {integrity: sha512-m+rnw7qKHq/XF7DAi4BcFoEAcXBfqqMgQJh8brGEHeqE/RUvgDMjmxsHgWnVpFsG+VmjGyAiI7nwXdliCwEU0Q==}
dependencies:
'@antfu/install-pkg': 0.1.0
'@antfu/utils': 0.5.0
'@iconify/types': 1.1.0
debug: 4.3.4
kolorist: 1.5.1
local-pkg: 0.4.1
transitivePeerDependencies:
- supports-color
dev: true
/@jridgewell/resolve-uri/3.0.5:
resolution: {integrity: sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==}
engines: {node: '>=6.0.0'}
@ -457,6 +493,10 @@ packages:
fastq: 1.13.0
dev: true
/@polka/url/1.0.0-next.21:
resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==}
dev: true
/@rollup/pluginutils/4.2.0:
resolution: {integrity: sha512-2WUyJNRkyH5p487pGnn4tWAsxhEFKN/pT8CMgHshd5H+IXkOnKvKZwsz5ZWz+YCXkleZRAU5kwbfgF8CPfDRqA==}
engines: {node: '>= 8.0.0'}
@ -635,6 +675,125 @@ packages:
eslint-visitor-keys: 3.3.0
dev: true
/@unocss/cli/0.30.10:
resolution: {integrity: sha512-78VQR+JMGblbkhKMG9ErXuKJwMpurtYJXpAEoaQv8JRM1mfD0Xgjb7HAWoUFxU90WeBbECBNhU/odWhgnRwtSw==}
engines: {node: '>=14'}
hasBin: true
dependencies:
'@unocss/config': 0.30.10
'@unocss/core': 0.30.10
'@unocss/preset-uno': 0.30.10
cac: 6.7.12
chokidar: 3.5.3
colorette: 2.0.16
consola: 2.15.3
fast-glob: 3.2.11
pathe: 0.2.0
dev: true
/@unocss/config/0.30.10:
resolution: {integrity: sha512-uetm4C8qiW8h6TDSyDYSWeuNSiGb2YXvvI8B2RtquNVHPELb6svl07Cc8Pyqd49uiS3NSpAMLbaJQyWFNkqYlA==}
engines: {node: '>=14'}
dependencies:
'@unocss/core': 0.30.10
unconfig: 0.3.2
dev: true
/@unocss/core/0.30.10:
resolution: {integrity: sha512-DgakjQ0Zb3Th+RYEuZHWkOv7HQRkeNteb7B0MX/1n+1FqZnydJnk4zpc8Pu+WGp8pN+nGRWyiAHZzHc3Fd0AwA==}
dev: true
/@unocss/inspector/0.30.10:
resolution: {integrity: sha512-nxH7zWx5CZ0zPl+Viei61YO/OcPv1hTY7JumH+kMefnytipnzsOHKyMNdbTh6Q84rqKE+6k2MFDgviL5tX+KQQ==}
dependencies:
gzip-size: 6.0.0
sirv: 2.0.2
dev: true
/@unocss/preset-attributify/0.30.10:
resolution: {integrity: sha512-ArHJYRWqtcJcvFRdPPJBMVJ9tik2U9Gy6sg2ZAkBl16iyoEr+8hYL0LjjuTDoBHKpekMsnlYSTlhQj+MZ3MC5g==}
dependencies:
'@unocss/core': 0.30.10
dev: true
/@unocss/preset-icons/0.30.10:
resolution: {integrity: sha512-vZg5o/dFZIxNE+ewGu6FMDM+MDvGnD9/Yjv7nL0VxszqttW330IwSFes2qCdN16IqPZpklU7wgUgfxKWuPlCDg==}
dependencies:
'@iconify/utils': 1.0.32
'@unocss/core': 0.30.10
transitivePeerDependencies:
- supports-color
dev: true
/@unocss/preset-mini/0.30.10:
resolution: {integrity: sha512-orvmX3IHp1OT/GZEkSL5ll+8Jz/br1g6ay43Dl14ABplxu3d9IgJUX5+C4AUMja63D+5g5Efh7V806ZG++sX7A==}
dependencies:
'@unocss/core': 0.30.10
dev: true
/@unocss/preset-typography/0.30.10:
resolution: {integrity: sha512-wK7hrnsql7tz8gIAzN05CrGrwTi8WL7V2IVQb0eI1hO2JAfZIyURVgT0teJCi7pOO2TdKR4sn6ZgwesJA0nNFA==}
dependencies:
'@unocss/core': 0.30.10
dev: true
/@unocss/preset-uno/0.30.10:
resolution: {integrity: sha512-LhgqTNkHHq3HH9G0Ds8Czlr9iITgVsG1SQ2VMb4j27wGDesJaOnmEtlYbfmW6X/D6//cHo+YRre+Cn2iDy+Rqw==}
dependencies:
'@unocss/core': 0.30.10
'@unocss/preset-mini': 0.30.10
'@unocss/preset-wind': 0.30.10
dev: true
/@unocss/preset-web-fonts/0.30.10:
resolution: {integrity: sha512-JIvzVVtXX//l2fLQLuwcL2JXpAtvcLCS65a8sfTZ9fn/ljJtJuTIE8aOjFVs81dUQUTK3GkEUtrV7YnU7xjxgw==}
dependencies:
'@unocss/core': 0.30.10
axios: 0.26.1
transitivePeerDependencies:
- debug
dev: true
/@unocss/preset-wind/0.30.10:
resolution: {integrity: sha512-T4N7mTrYiRMBv5yY61a0kC9AEblIdANsujwtRP0/IpEpRgtDXbFgEelVXF6bpZZvBLuZeNQKNqBvpPBzX5dgMQ==}
dependencies:
'@unocss/core': 0.30.10
'@unocss/preset-mini': 0.30.10
dev: true
/@unocss/reset/0.30.10:
resolution: {integrity: sha512-1h1iW7BQPyEhD/pB4WW095PUd0yBjNnkAfs41wHCKbKHgYkzWcUAdA2wFp7oTVhLQnidCoONGJF3VDtbf9Z4AA==}
dev: true
/@unocss/scope/0.30.10:
resolution: {integrity: sha512-5+gDlEeVdSx6Te4cv+Ce0s9J/YOvaouBiBmNUVDWPG173toh86ocPIE8w9eDk3F8QrGVXhApnpHFFuhQa5T0ow==}
dev: true
/@unocss/transformer-directives/0.30.10:
resolution: {integrity: sha512-exxWgrPnp3TLHCj2Ew0rPKBQcOj3NYOubkMnsWWbSwAfhWmdLto3fYA9Ka/G22DrR3HBayLPcBHLlVdZxNdk8A==}
dependencies:
'@unocss/core': 0.30.10
css-tree: 2.1.0
dev: true
/@unocss/transformer-variant-group/0.30.10:
resolution: {integrity: sha512-PbwvrHsnRKhLrkSwHnIvlDO++yCY+6tpGd2cn7tZ0vW8Gkr+qSwCJBuT4G280LDPMg7r8kT5uV4cuN62amqYhw==}
dependencies:
'@unocss/core': 0.30.10
dev: true
/@unocss/vite/0.30.10:
resolution: {integrity: sha512-3VSY2h/0HOX/3eQFyULuqRzwB5pYljfvS6Usy6SCu9wpehgrQKBYktOa4/uq80BfTuIq7OI8vQl00g/lIsfWLw==}
dependencies:
'@rollup/pluginutils': 4.2.0
'@unocss/config': 0.30.10
'@unocss/core': 0.30.10
'@unocss/inspector': 0.30.10
'@unocss/scope': 0.30.10
'@unocss/transformer-directives': 0.30.10
magic-string: 0.26.1
dev: true
/@vitejs/plugin-react/1.3.0:
resolution: {integrity: sha512-H+yIupjUE4a+E4oeWUv4xUJIMR0DWBIMUG/DYgvj0J9Vu1rdHAlJ5JdbI+N1KDUD7Ee2fZ1DMPZ/NBg6mXtoCw==}
engines: {node: '>=12.0.0'}
@ -739,6 +898,14 @@ packages:
es-abstract: 1.19.2
dev: true
/axios/0.26.1:
resolution: {integrity: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==}
dependencies:
follow-redirects: 1.14.9
transitivePeerDependencies:
- debug
dev: true
/balanced-match/1.0.2:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
dev: true
@ -785,6 +952,11 @@ packages:
semver: 7.3.5
dev: true
/cac/6.7.12:
resolution: {integrity: sha512-rM7E2ygtMkJqD9c7WnFU6fruFcN3xe4FM5yUmgxhZzIKJk4uHl9U/fhwdajGFQbQuv43FAUo1Fe8gX/oIKDeSA==}
engines: {node: '>=8'}
dev: true
/call-bind/1.0.2:
resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==}
dependencies:
@ -877,10 +1049,18 @@ packages:
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
dev: true
/colorette/2.0.16:
resolution: {integrity: sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==}
dev: true
/concat-map/0.0.1:
resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
dev: true
/consola/2.15.3:
resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==}
dev: true
/convert-source-map/1.8.0:
resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==}
dependencies:
@ -896,6 +1076,14 @@ packages:
which: 2.0.2
dev: true
/css-tree/2.1.0:
resolution: {integrity: sha512-PcysZRzToBbrpoUrZ9qfblRIRf8zbEAkU0AIpQFtgkFK0vSbzOmBCvdSAx2Zg7Xx5wiYJKUKk0NMP7kxevie/A==}
engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'}
dependencies:
mdn-data: 2.0.27
source-map-js: 1.0.2
dev: true
/csstype/3.0.11:
resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==}
dev: true
@ -935,6 +1123,10 @@ packages:
object-keys: 1.1.1
dev: true
/defu/5.0.1:
resolution: {integrity: sha512-EPS1carKg+dkEVy3qNTqIdp2qV7mUP08nIsupfwQpz++slCVRw7qbQyWvSTig+kFPwz2XXp5/kIIkH+CwrJKkQ==}
dev: true
/dir-glob/3.0.1:
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
engines: {node: '>=8'}
@ -983,6 +1175,10 @@ packages:
domhandler: 4.3.1
dev: true
/duplexer/0.1.2:
resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==}
dev: true
/electron-to-chromium/1.4.103:
resolution: {integrity: sha512-c/uKWR1Z/W30Wy/sx3dkZoj4BijbXX85QKWu9jJfjho3LBAXNEGAEW3oWiGb+dotA6C6BzCTxL2/aLes7jlUeg==}
dev: true
@ -1585,6 +1781,21 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/execa/5.1.1:
resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
engines: {node: '>=10'}
dependencies:
cross-spawn: 7.0.3
get-stream: 6.0.1
human-signals: 2.1.0
is-stream: 2.0.1
merge-stream: 2.0.0
npm-run-path: 4.0.1
onetime: 5.1.2
signal-exit: 3.0.7
strip-final-newline: 2.0.0
dev: true
/fast-deep-equal/3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
dev: true
@ -1643,6 +1854,14 @@ packages:
path-exists: 4.0.0
dev: true
/find-up/5.0.0:
resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
engines: {node: '>=10'}
dependencies:
locate-path: 6.0.0
path-exists: 4.0.0
dev: true
/flat-cache/3.0.4:
resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==}
engines: {node: ^10.12.0 || >=12.0.0}
@ -1655,6 +1874,16 @@ packages:
resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==}
dev: true
/follow-redirects/1.14.9:
resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==}
engines: {node: '>=4.0'}
peerDependencies:
debug: '*'
peerDependenciesMeta:
debug:
optional: true
dev: true
/fs.realpath/1.0.0:
resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=}
dev: true
@ -1688,6 +1917,11 @@ packages:
has-symbols: 1.0.3
dev: true
/get-stream/6.0.1:
resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}
engines: {node: '>=10'}
dev: true
/get-symbol-description/1.0.0:
resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==}
engines: {node: '>= 0.4'}
@ -1745,6 +1979,13 @@ packages:
slash: 3.0.0
dev: true
/gzip-size/6.0.0:
resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==}
engines: {node: '>=10'}
dependencies:
duplexer: 0.1.2
dev: true
/has-bigints/1.0.1:
resolution: {integrity: sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==}
dev: true
@ -1791,6 +2032,11 @@ packages:
entities: 3.0.1
dev: true
/human-signals/2.1.0:
resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
engines: {node: '>=10.17.0'}
dev: true
/ignore/5.2.0:
resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==}
engines: {node: '>= 4'}
@ -1946,6 +2192,11 @@ packages:
call-bind: 1.0.2
dev: true
/is-stream/2.0.1:
resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
engines: {node: '>=8'}
dev: true
/is-string/1.0.7:
resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
engines: {node: '>= 0.4'}
@ -1970,6 +2221,11 @@ packages:
resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=}
dev: true
/jiti/1.13.0:
resolution: {integrity: sha512-/n9mNxZj/HDSrincJ6RP+L+yXbpnB8FybySBa+IjIaoH9FIxBbrbRT5XUbe8R7zuVM2AQqNMNDDqz0bzx3znOQ==}
hasBin: true
dev: true
/js-tokens/4.0.0:
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
@ -2029,6 +2285,10 @@ packages:
object.assign: 4.1.2
dev: true
/kolorist/1.5.1:
resolution: {integrity: sha512-lxpCM3HTvquGxKGzHeknB/sUjuVoUElLlfYnXZT73K8geR9jQbroGlSCFBax9/0mpGoD3kzcMLnOlGQPJJNyqQ==}
dev: true
/levn/0.4.1:
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
@ -2061,6 +2321,13 @@ packages:
p-locate: 4.1.0
dev: true
/locate-path/6.0.0:
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
dependencies:
p-locate: 5.0.0
dev: true
/lodash.merge/4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
dev: true
@ -2105,6 +2372,14 @@ packages:
resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==}
dev: true
/mdn-data/2.0.27:
resolution: {integrity: sha512-kwqO0I0jtWr25KcfLm9pia8vLZ8qoAKhWZuZMbneJq3jjBD3gl5nZs8l8Tu3ZBlBAHVQtDur9rdDGyvtfVraHQ==}
dev: true
/merge-stream/2.0.0:
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
dev: true
/merge2/1.4.1:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
@ -2127,6 +2402,11 @@ packages:
picomatch: 2.3.1
dev: true
/mimic-fn/2.1.0:
resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}
engines: {node: '>=6'}
dev: true
/min-indent/1.0.1:
resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}
engines: {node: '>=4'}
@ -2142,6 +2422,11 @@ packages:
resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==}
dev: true
/mrmime/1.0.0:
resolution: {integrity: sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==}
engines: {node: '>=10'}
dev: true
/ms/2.0.0:
resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=}
dev: true
@ -2178,6 +2463,13 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/npm-run-path/4.0.1:
resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}
engines: {node: '>=8'}
dependencies:
path-key: 3.1.1
dev: true
/object-assign/4.1.1:
resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=}
engines: {node: '>=0.10.0'}
@ -2242,6 +2534,13 @@ packages:
wrappy: 1.0.2
dev: true
/onetime/5.1.2:
resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}
engines: {node: '>=6'}
dependencies:
mimic-fn: 2.1.0
dev: true
/optionator/0.9.1:
resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==}
engines: {node: '>= 0.8.0'}
@ -2268,6 +2567,13 @@ packages:
p-try: 2.2.0
dev: true
/p-limit/3.1.0:
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
engines: {node: '>=10'}
dependencies:
yocto-queue: 0.1.0
dev: true
/p-locate/2.0.0:
resolution: {integrity: sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=}
engines: {node: '>=4'}
@ -2282,6 +2588,13 @@ packages:
p-limit: 2.3.0
dev: true
/p-locate/5.0.0:
resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
engines: {node: '>=10'}
dependencies:
p-limit: 3.1.0
dev: true
/p-try/1.0.0:
resolution: {integrity: sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=}
engines: {node: '>=4'}
@ -2349,6 +2662,10 @@ packages:
engines: {node: '>=8'}
dev: true
/pathe/0.2.0:
resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==}
dev: true
/picocolors/1.0.0:
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
dev: true
@ -2565,6 +2882,19 @@ packages:
object-inspect: 1.12.0
dev: true
/signal-exit/3.0.7:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
dev: true
/sirv/2.0.2:
resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==}
engines: {node: '>= 10'}
dependencies:
'@polka/url': 1.0.0-next.21
mrmime: 1.0.0
totalist: 3.0.0
dev: true
/slash/3.0.0:
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'}
@ -2645,6 +2975,11 @@ packages:
engines: {node: '>=4'}
dev: true
/strip-final-newline/2.0.0:
resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
engines: {node: '>=6'}
dev: true
/strip-indent/3.0.0:
resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
engines: {node: '>=8'}
@ -2692,6 +3027,11 @@ packages:
is-number: 7.0.0
dev: true
/totalist/3.0.0:
resolution: {integrity: sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==}
engines: {node: '>=6'}
dev: true
/tsconfig-paths/3.14.1:
resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==}
dependencies:
@ -2752,12 +3092,42 @@ packages:
which-boxed-primitive: 1.0.2
dev: true
/unconfig/0.3.2:
resolution: {integrity: sha512-wkvnZCGGGaIhlggzjA1J7UyuLxWgWroSNNlCXQQ+Y5eq1S2dHgA3LXoDIxnexpo6+Kdjzh+mK7CntU5t3i84Ag==}
dependencies:
'@antfu/utils': 0.5.0
defu: 5.0.1
jiti: 1.13.0
dev: true
/unist-util-stringify-position/2.0.3:
resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==}
dependencies:
'@types/unist': 2.0.6
dev: true
/unocss/0.30.10:
resolution: {integrity: sha512-jyuOOeNuf8IX8LSm87rBzBV01OiRFjAq37OX+fQD+q9GIFBr9gBBoEPGdBIaXDLM2Ctk9pkdCFJNo5vjoTukvQ==}
engines: {node: '>=14'}
dependencies:
'@unocss/cli': 0.30.10
'@unocss/core': 0.30.10
'@unocss/preset-attributify': 0.30.10
'@unocss/preset-icons': 0.30.10
'@unocss/preset-mini': 0.30.10
'@unocss/preset-typography': 0.30.10
'@unocss/preset-uno': 0.30.10
'@unocss/preset-web-fonts': 0.30.10
'@unocss/preset-wind': 0.30.10
'@unocss/reset': 0.30.10
'@unocss/transformer-directives': 0.30.10
'@unocss/transformer-variant-group': 0.30.10
'@unocss/vite': 0.30.10
transitivePeerDependencies:
- debug
- supports-color
dev: true
/unplugin-auto-import/0.6.9_vite@2.9.1:
resolution: {integrity: sha512-IqgT7AoRrNQwNhiF/wDH3sMEDX8SqCYBEgJzwdg5441b5aiC5VwZz0J0wYqkaKu89YkZE9DG6rQ2JpFfZv1iiQ==}
engines: {node: '>=14'}
@ -2909,3 +3279,8 @@ packages:
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
engines: {node: '>= 6'}
dev: true
/yocto-queue/0.1.0:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
dev: true

View File

@ -3,6 +3,9 @@ import { createRoot } from 'react-dom/client'
import App from './App'
import '@unocss/reset/tailwind.css'
import 'uno.css'
const root = createRoot(document.getElementById('root') as HTMLElement)
root.render(

7
src/styles/main.css Normal file
View File

@ -0,0 +1,7 @@
html,
body,
#app {
height: 100%;
margin: 0;
padding: 0;
}

35
unocss.config.ts Normal file
View File

@ -0,0 +1,35 @@
import {
defineConfig,
presetAttributify,
presetIcons,
presetUno,
presetWebFonts,
// transformerDirectives,
// transformerVariantGroup,
} from 'unocss'
export default defineConfig({
shortcuts: [
['btn', 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
['icon-btn', 'text-[0.9em] inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-teal-600'],
],
presets: [
presetUno(),
presetAttributify(),
presetIcons({
scale: 1.2,
warn: true,
}),
presetWebFonts({
fonts: {
sans: 'DM Sans',
serif: 'DM Serif Display',
mono: 'DM Mono',
},
}),
],
// transformers: [
// transformerDirectives(),
// transformerVariantGroup(),
// ],
})

View File

@ -1,6 +1,7 @@
import { defineConfig } from 'vite'
import AutoImport from 'unplugin-auto-import/vite'
import react from '@vitejs/plugin-react'
import UnoCSS from 'unocss/vite'
export default defineConfig({
resolve: {
@ -11,5 +12,6 @@ export default defineConfig({
plugins: [
AutoImport(),
react(),
UnoCSS(),
],
})