@timbic/prettier-config 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -5
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -3,14 +3,14 @@ import { BuiltInParserName, LiteralUnion, Plugin } from "prettier";
3
3
  /**
4
4
  * For use in `prettier.config.js`, `prettier.config.ts`, `prettier.config.mjs`, `prettier.config.mts`
5
5
  */
6
- interface Config extends Partial<Options> {
6
+ export interface Config extends Partial<Options> {
7
7
  overrides?: Array<{
8
8
  files: string | string[];
9
9
  excludeFiles?: string | string[];
10
10
  options?: Options;
11
11
  }>;
12
12
  }
13
- interface Options {
13
+ export interface Options {
14
14
  /**
15
15
  * @see https://prettier.io/docs/options#print-width
16
16
  * Specify the line length that the printer will wrap on.
@@ -249,6 +249,5 @@ interface Options {
249
249
  * }
250
250
  * ```
251
251
  */
252
- declare function withTimbic(options?: Config): Config;
253
- //#endregion
254
- export { Config, Options, withTimbic as default };
252
+ export default function withTimbic(options?: Config): Config;
253
+ //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timbic/prettier-config",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "private": false,
6
6
  "description": "Timbic's prettier configuration",
7
7
  "author": "Timur Bikmuhametov <tim.bic22@gmail.com>",
@@ -31,12 +31,12 @@
31
31
  "devDependencies": {
32
32
  "@timbic/eslint-config": "1.2.0",
33
33
  "@types/node": "26.4.1",
34
- "bumpp": "12.2.2",
34
+ "bumpp": "12.3.0",
35
35
  "eslint": "10.9.1",
36
36
  "husky": "9.1.7",
37
37
  "lint-staged": "17.4.1",
38
38
  "prettier": "3.9.6",
39
- "tsdown": "0.22.14",
39
+ "tsdown": "0.23.0",
40
40
  "typescript": "6.0.3"
41
41
  },
42
42
  "lint-staged": {