@lqbach/prettier-config 0.3.2 โ†’ 0.3.4

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.4](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.3.3...prettier-config-v0.3.4) (2023-11-28)
4
+
5
+
6
+ ### Bug Fixes ๐Ÿ›
7
+
8
+ * add types in declaration file and tweaked react config ([1bc30e4](https://github.com/lqbach/eslint-prettier-config/commit/1bc30e4f2735546a6eab2f37651a70b469e9f658))
9
+
10
+ ## [0.3.3](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.3.2...prettier-config-v0.3.3) (2023-11-22)
11
+
12
+
13
+ ### Chores ๐Ÿงน
14
+
15
+ * **prettier-config:** Synchronize ESLint Prettier Configuration versions
16
+
3
17
  ## [0.3.2](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.3.1...prettier-config-v0.3.2) (2023-11-22)
4
18
 
5
19
 
@@ -0,0 +1,5 @@
1
+ import { Config } from 'prettier';
2
+
3
+ declare function config(): Config;
4
+
5
+ export { config as default };
@@ -0,0 +1,5 @@
1
+ import { Config } from 'prettier';
2
+
3
+ declare function config(): Config;
4
+
5
+ export { config as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lqbach/prettier-config",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
5
5
  "private": false,
6
6
  "description": "lqbach's Personal Prettier Config",
7
7
  "license": "MIT",
@@ -10,8 +10,14 @@
10
10
  "url": "git+https://github.com/lqbach/eslint-prettier-config.git",
11
11
  "directory": "packages/prettier-config"
12
12
  },
13
+ "exports": {
14
+ ".": {
15
+ "import": "./dist/index.js"
16
+ }
17
+ },
13
18
  "main": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
14
20
  "scripts": {
15
- "build": "tsup src/index.ts --format esm,cjs --clean"
21
+ "build": "tsup src/index.ts --format esm,cjs --clean --dts"
16
22
  }
17
23
  }
package/tsconfig.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "es2022",
4
- "module": "commonjs",
4
+ "module": "es2022",
5
5
  "moduleResolution": "node",
6
6
  "declaration": true,
7
7
  "strict": true,
8
- "incremental": true,
9
8
  "esModuleInterop": true,
10
9
  "skipLibCheck": true,
11
10
  "forceConsistentCasingInFileNames": true,
12
- "outDir": "./dist",
13
- "composite": true
14
- }
11
+ "outDir": "./dist"
12
+ },
13
+ "include": ["**/*.ts"]
15
14
  }