Skip to content

Commit

Permalink
Enable Tailwind CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
morewings committed May 12, 2024
1 parent dd19c9f commit 61e9ceb
Show file tree
Hide file tree
Showing 17 changed files with 510 additions and 295 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:ssr-friendly/recommended',
'plugin:tailwindcss/recommended',
'plugin:storybook/recommended',
'plugin:prettier/recommended',
],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Node.js CI

on:
pull_request:
branches: [ master ]
branches: ["master", "tailwind"]

jobs:
lint-test:
Expand Down
10 changes: 9 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@
"at-rule-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"max-nesting-depth": 3,
"selector-max-compound-selectors": 5
"selector-max-compound-selectors": 5,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"tailwind"
]
}
]
},
"plugins": [
"stylelint-order"
Expand Down
1 change: 0 additions & 1 deletion generate-react-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"withHookTest": true,
"customTemplates": {
"component": "templates/Component/TemplateName.tsx",
"style": "templates/Component/TemplateName.module.css",
"story": "templates/Component/TemplateName.stories.tsx",
"index": "templates/Component/index.ts",
"mdx": "templates/Component/TemplateName.mdx",
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@typescript-eslint/eslint-plugin": "7.0.0",
"@typescript-eslint/parser": "6.21.0",
"@vitejs/plugin-react": "4.2.1",
"@yelo/rollup-node-external": "^1.0.1",
"@yelo/rollup-node-external": "1.0.1",
"alias-hq": "6.2.3",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
Expand All @@ -87,6 +87,7 @@
"eslint-plugin-react-refresh": "0.4.6",
"eslint-plugin-ssr-friendly": "1.3.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-tailwindcss": "3.15.1",
"generate-react-cli": "^8.4.1",
"husky": "9.0.11",
"identity-obj-proxy": "3.0.0",
Expand All @@ -96,7 +97,7 @@
"lint-staged": "15.2.2",
"npm-run-all2": "5.0.0",
"postcss": "8.4.38",
"postcss-preset-env": "^9.5.9",
"postcss-preset-env": "9.5.12",
"prettier": "3.2.5",
"react": "18.3.1",
"react-dom": "18.2.0",
Expand All @@ -105,10 +106,11 @@
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"stylelint-prettier": "5.0.0",
"tailwindcss": "3.4.3",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"vite": "5.2.10",
"vite-plugin-dts": "^3.9.0"
"vite-plugin-dts": "3.9.0"
}
}
Loading

0 comments on commit 61e9ceb

Please sign in to comment.