@kyh/prettier-config 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @kyh/prettier-config
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - bump to latest
package/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { fileURLToPath } from "url";
2
2
 
3
- /** @typedef {import("prettier").Config} PrettierConfig */
3
+ /** @typedef {import("prettier").Config} PrettierConfig */
4
4
  /** @typedef {import("prettier-plugin-tailwindcss").PluginOptions} TailwindConfig */
5
- /** @typedef {import("@ianvs/prettier-plugin-sort-imports").PluginConfig} SortImportsConfig */
5
+ /** @typedef {import("@ianvs/prettier-plugin-sort-imports").PluginConfig} SortImportsConfig */
6
6
 
7
7
  /** @type { PrettierConfig | SortImportsConfig | TailwindConfig } */
8
8
  const config = {
@@ -11,8 +11,9 @@ const config = {
11
11
  "prettier-plugin-tailwindcss",
12
12
  ],
13
13
  tailwindConfig: fileURLToPath(
14
- new URL("../../tooling/tailwind/index.ts", import.meta.url),
14
+ new URL("../../packages/tailwind/src/index.ts", import.meta.url),
15
15
  ),
16
+ tailwindFunctions: ["cn", "cva"],
16
17
  importOrder: [
17
18
  "<TYPES>",
18
19
  "^(react/(.*)$)|^(react$)|^(react-native(.*)$)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyh/prettier-config",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@ianvs/prettier-plugin-sort-imports": "^4.1.1",
13
13
  "prettier": "^3.1.1",
14
- "prettier-plugin-tailwindcss": "^0.5.9"
14
+ "prettier-plugin-tailwindcss": "^0.5.10"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@kyh/tsconfig": "*",
@@ -1,6 +0,0 @@
1
-
2
- > @acme/prettier-config@0.1.0 format /Users/kyh/Documents/Projects/t3-template/tooling/prettier
3
- > prettier --check . --ignore-path ../../.gitignore "--write" "--cache" "--cache-location" "node_modules/.cache/.prettiercache"
4
-
5
- Checking formatting...
6
- All matched files use Prettier code style!