Skip to content

Commit

Permalink
chore: release v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ileostar committed Oct 27, 2024
0 parents commit aa16fad
Show file tree
Hide file tree
Showing 10 changed files with 4,184 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Logs
logs
.pnpm-debug.log*

# Coverage directory used by tools like istanbul
coverage
*.lcov

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# generate output
dist

# vscode
.vscode/*
!.vscode/settings.json
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 LeoStar <https://github.com/ileostar>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# @ileostar/tailwind-config

The Tailwind CSS configuration for LeoStar's projects.

## Usage

```bash
pnpm add @ileostar/tailwind-config
```

```ts
// tailwind.config.ts
import sharedConfig from '@ileostar/tailwind-config'
import type { Config } from 'tailwindcss'

const config: Config = {
darkMode: 'class',
content: ['./src/**/*.{ts,tsx}'],
presets: [sharedConfig],
// ...
}
export default config
```

## License

[MIT](./LICENSE) License © 2024 [ileostar](https://github.com/ileostar)
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @ts-nocheck
import antfu from '@antfu/eslint-config'

/** @type {import('eslint-flat-config-utils').FlatConfig[]} */
export default antfu()
48 changes: 48 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "@ileostar/tailwind-config",
"version": "0.0.1",
"description": "The Tailwind CSS configuration for LeoStar's projects",
"license": "MIT",
"author": "ileostar <hi@ileostar.top> (https://github.com/ileostar)",
"homepage": "https://github.com/ileostar",
"repository": {
"type": "git",
"url": "git+https://github.com/ileostar/tailwind-config.git"
},
"bugs": {
"url": "https://github.com/ileostar/tailwind-config/issues"
},
"main": "tailwind.config.ts",
"files": [
"src"
],
"keywords": [
"tailwind-config"
],
"scripts": {
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint --fix .",
"type-check": "tsc --noEmit",
"release": "bumpp --commit --push --tag && npm publish"
},
"dependencies": {
"@tailwindcss/typography": "^0.5.13",
"tailwindcss-animate": "^1.0.7"
},
"peerDependencies": {
"tailwindcss": "3.x"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"bumpp": "^9.7.1",
"eslint": "^9.13.0",
"tailwindcss": "^3.4.4"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{cjs,mjs,js,jsx,cts,mts,ts,tsx,json}": "eslint --fix",
"**/*": "prettier --write --ignore-unknown"
}
}
Loading

0 comments on commit aa16fad

Please sign in to comment.