Skip to content

Commit

Permalink
Enable Tailwind CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
morewings committed Jun 27, 2024
1 parent d8586b3 commit 500334d
Show file tree
Hide file tree
Showing 16 changed files with 272 additions and 85 deletions.
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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
v20
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
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"eslint-plugin-react-refresh": "0.4.7",
"eslint-plugin-ssr-friendly": "1.3.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-tailwindcss": "3.17.0",
"generate-react-cli": "8.4.6",
"husky": "9.0.11",
"identity-obj-proxy": "3.0.0",
Expand All @@ -110,6 +111,7 @@
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"stylelint-prettier": "5.0.0",
"tailwindcss": "3.4.3",
"ts-jest": "29.1.4",
"ts-node": "10.9.2",
"typescript": "5.4.5",
Expand Down
Loading

0 comments on commit 500334d

Please sign in to comment.