Skip to content

Commit

Permalink
Merge pull request #125 from 2wheeh/feature/issue-124/add-packages-fo…
Browse files Browse the repository at this point in the history
…r-tailwindcss-usablity

[#124] Add packages for tailwindcss usablity
  • Loading branch information
2wheeh authored Jan 24, 2024
2 parents fa47ebd + 277c5b1 commit 6141ef0
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ui/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100
"printWidth": 100,
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindFunctions": ["clsx"]
}
3 changes: 2 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"devDependencies": {
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3"
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.11"
}
}
1 change: 1 addition & 0 deletions ui/packages/mr-c.app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@mrc/common-components": "workspace:*",
"@mrc/common-utils": "workspace:*",
"clsx": "^2.1.0",
"next": "^14.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
60 changes: 60 additions & 0 deletions ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2290,6 +2290,7 @@ __metadata:
"@typescript-eslint/eslint-plugin": ^6.7.3
"@typescript-eslint/parser": ^6.7.3
autoprefixer: ^10.4.16
clsx: ^2.1.0
eslint: ^8.51.0
eslint-config-next: ^13.5.5
jest: ^29.7.0
Expand Down Expand Up @@ -6298,6 +6299,13 @@ __metadata:
languageName: node
linkType: hard

"clsx@npm:^2.1.0":
version: 2.1.0
resolution: "clsx@npm:2.1.0"
checksum: 43fefc29b6b49c9476fbce4f8b1cc75c27b67747738e598e6651dd40d63692135dc60b18fa1c5b78a2a9ba8ae6fd2055a068924b94e20b42039bd53b78b98e1d
languageName: node
linkType: hard

"co@npm:^4.6.0":
version: 4.6.0
resolution: "co@npm:4.6.0"
Expand Down Expand Up @@ -10867,6 +10875,7 @@ __metadata:
husky: ^8.0.0
lint-staged: ^14.0.1
prettier: ^3.0.3
prettier-plugin-tailwindcss: ^0.5.11
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -11797,6 +11806,57 @@ __metadata:
languageName: node
linkType: hard

"prettier-plugin-tailwindcss@npm:^0.5.11":
version: 0.5.11
resolution: "prettier-plugin-tailwindcss@npm:0.5.11"
peerDependencies:
"@ianvs/prettier-plugin-sort-imports": "*"
"@prettier/plugin-pug": "*"
"@shopify/prettier-plugin-liquid": "*"
"@trivago/prettier-plugin-sort-imports": "*"
prettier: ^3.0
prettier-plugin-astro: "*"
prettier-plugin-css-order: "*"
prettier-plugin-import-sort: "*"
prettier-plugin-jsdoc: "*"
prettier-plugin-marko: "*"
prettier-plugin-organize-attributes: "*"
prettier-plugin-organize-imports: "*"
prettier-plugin-style-order: "*"
prettier-plugin-svelte: "*"
peerDependenciesMeta:
"@ianvs/prettier-plugin-sort-imports":
optional: true
"@prettier/plugin-pug":
optional: true
"@shopify/prettier-plugin-liquid":
optional: true
"@trivago/prettier-plugin-sort-imports":
optional: true
prettier-plugin-astro:
optional: true
prettier-plugin-css-order:
optional: true
prettier-plugin-import-sort:
optional: true
prettier-plugin-jsdoc:
optional: true
prettier-plugin-marko:
optional: true
prettier-plugin-organize-attributes:
optional: true
prettier-plugin-organize-imports:
optional: true
prettier-plugin-style-order:
optional: true
prettier-plugin-svelte:
optional: true
prettier-plugin-twig-melody:
optional: true
checksum: 450646db10dbcec76fe6be7bfc85e2e3c6bd1a6c9026637fc9c7f9a0882d8adf6b6fb589be6d24e6a4868772d44b55278a3a39760aa9feee2cf281db9215c0f6
languageName: node
linkType: hard

"prettier@npm:^2.8.0":
version: 2.8.8
resolution: "prettier@npm:2.8.8"
Expand Down

0 comments on commit 6141ef0

Please sign in to comment.