@lqbach/prettier-config 0.3.3 → 0.4.0

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.4.0](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.3.4...prettier-config-v0.4.0) (2023-12-04)
4
+
5
+
6
+ ### Features 🚀
7
+
8
+ * add README to `eslint-config` package ([#11](https://github.com/lqbach/eslint-prettier-config/issues/11)) ([8bcf82d](https://github.com/lqbach/eslint-prettier-config/commit/8bcf82dd94ceeb5f42e5807b46a682586e41b937))
9
+
10
+ ## [0.3.4](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.3.3...prettier-config-v0.3.4) (2023-11-28)
11
+
12
+
13
+ ### Bug Fixes 🐛
14
+
15
+ * add types in declaration file and tweaked react config ([1bc30e4](https://github.com/lqbach/eslint-prettier-config/commit/1bc30e4f2735546a6eab2f37651a70b469e9f658))
16
+
3
17
  ## [0.3.3](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.3.2...prettier-config-v0.3.3) (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.3",
4
+ "version": "0.4.0",
5
5
  "private": false,
6
6
  "description": "lqbach's Personal Prettier Config",
7
7
  "license": "MIT",
@@ -10,8 +10,17 @@
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",
20
+ "peerDependencies": {
21
+ "prettier": "^3.1.0"
22
+ },
14
23
  "scripts": {
15
- "build": "tsup src/index.ts --format esm,cjs --clean"
24
+ "build": "tsup src/index.ts --format esm,cjs --clean --dts"
16
25
  }
17
26
  }
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
  }