@nijesmik/prettier-config 0.1.1 → 0.1.2

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/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import * as tailwindcss from 'prettier-plugin-tailwindcss';
2
+
1
3
  declare const _default: {
2
4
  arrowParens: "always";
3
5
  bracketSameLine: false;
@@ -10,7 +12,7 @@ declare const _default: {
10
12
  tabWidth: number;
11
13
  trailingComma: "all";
12
14
  useTabs: false;
13
- plugins: string[];
15
+ plugins: (typeof tailwindcss)[];
14
16
  tailwindAttributes: string[];
15
17
  tailwindFunctions: string[];
16
18
  };
package/dist/index.js CHANGED
@@ -1,4 +1,8 @@
1
- // index.ts
1
+ import {
2
+ dist_exports
3
+ } from "./chunk-H6CHEDII.js";
4
+
5
+ // src/index.ts
2
6
  var index_default = {
3
7
  arrowParens: "always",
4
8
  bracketSameLine: false,
@@ -11,7 +15,7 @@ var index_default = {
11
15
  tabWidth: 2,
12
16
  trailingComma: "all",
13
17
  useTabs: false,
14
- plugins: ["prettier-plugin-tailwindcss"],
18
+ plugins: [dist_exports],
15
19
  tailwindAttributes: ["className", "classNames"],
16
20
  tailwindFunctions: ["cn", "tv"]
17
21
  };
@@ -0,0 +1,22 @@
1
+ import * as prettierPluginTailwindcss from 'prettier-plugin-tailwindcss';
2
+
3
+ function _mergeNamespaces(n, m) {
4
+ m.forEach(function (e) {
5
+ e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
6
+ if (k !== 'default' && !(k in n)) {
7
+ var d = Object.getOwnPropertyDescriptor(e, k);
8
+ Object.defineProperty(n, k, d.get ? d : {
9
+ enumerable: true,
10
+ get: function () { return e[k]; }
11
+ });
12
+ }
13
+ });
14
+ });
15
+ return Object.freeze(n);
16
+ }
17
+
18
+ var tailwindcss = /*#__PURE__*/_mergeNamespaces({
19
+ __proto__: null
20
+ }, [prettierPluginTailwindcss]);
21
+
22
+ export { tailwindcss as t };
@@ -0,0 +1 @@
1
+ export * from 'prettier-plugin-tailwindcss';
package/dist/plugin.js ADDED
@@ -0,0 +1,10 @@
1
+ import {
2
+ Aye,
3
+ Uoe,
4
+ _ye
5
+ } from "./chunk-H6CHEDII.js";
6
+ export {
7
+ Uoe as options,
8
+ Aye as parsers,
9
+ _ye as printers
10
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nijesmik/prettier-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,16 +13,14 @@
13
13
  "files": [
14
14
  "dist"
15
15
  ],
16
- "dependencies": {
17
- "prettier-plugin-tailwindcss": "^0.7.2"
18
- },
19
16
  "peerDependencies": {
20
17
  "prettier": "^3.0.0"
21
18
  },
22
19
  "devDependencies": {
23
- "prettier": "^3.7.4"
20
+ "prettier": "^3.7.4",
21
+ "prettier-plugin-tailwindcss": "^0.7.2"
24
22
  },
25
23
  "scripts": {
26
- "build": "tsup index.ts --format esm --dts"
24
+ "build": "tsup"
27
25
  }
28
26
  }