Skip to content

Commit

Permalink
chore: tui added
Browse files Browse the repository at this point in the history
  • Loading branch information
henrynoowah committed Jan 24, 2025
1 parent ccd021d commit 119e318
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"description": "",
"license": "MIT",
"scripts": {
"build": "npm run build:tailwind & tsup --clean",
"build": "pnpm build:tailwind & tsup --clean",
"lint": "eslint src/**/*.tsx --max-warnings 0",
"dev": "concurrently \"npm run watch:tailwind --watch\" \"tsup --watch\"",
"watch:tailwind": "npx tailwind -i ./src/global.css -o ./dist/index.css --watch",
"build:tailwind": "npx tailwind -i ./src/global.css -o ./dist/index.css",
"dev": "concurrently \"pnpm run watch:tailwind --watch\" \"tsup --watch\"",
"watch:tailwind": "pnpm tailwindcss -i ./src/global.css -o ./dist/index.css --watch",
"build:tailwind": "pnpm tailwindcss -i ./src/global.css -o ./dist/index.css",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"type-check": "tsc --noEmit"
},
"main": "./dist/index.js",
Expand All @@ -32,7 +33,9 @@
},
"./styles.css": "./dist/index.css",
"./types": {
"import": "./dist/types.d.ts"
"import": "./dist/types.d.ts",
"require": "./dist/types.d.ts",
"default": "./dist/types.d.ts"
}
},
"files": [
Expand Down
5 changes: 5 additions & 0 deletions packages/ui/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
plugins: {
"@tailwindcss/postcss": {},
}
}
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"tasks": {
"build": {
"inputs": ["$TURBO_DEFAULT$", ".env*"],
Expand Down

0 comments on commit 119e318

Please sign in to comment.