@lqbach/prettier-config 0.6.0 โ 0.7.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 +20 -0
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.0](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.6.1...prettier-config-v0.7.0) (2024-12-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes ๐
|
|
7
|
+
|
|
8
|
+
* add `composite=true` to tsconfig files ([#15](https://github.com/lqbach/eslint-prettier-config/issues/15)) ([965d40e](https://github.com/lqbach/eslint-prettier-config/commit/965d40eac4ac5c1071c421aadd5e54c6c2e634be))
|
|
9
|
+
* remove composite true setting ([e604a78](https://github.com/lqbach/eslint-prettier-config/commit/e604a78fe24f417fcc4c82d678ebc4be7fd8e1d5))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores ๐งน
|
|
13
|
+
|
|
14
|
+
* upgrade prettier in subpackages ([3e60af5](https://github.com/lqbach/eslint-prettier-config/commit/3e60af54a2d7e79cfc1b9c6ee3901db88d9161b3))
|
|
15
|
+
|
|
16
|
+
## [0.6.1](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.6.0...prettier-config-v0.6.1) (2024-10-02)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Chores ๐งน
|
|
20
|
+
|
|
21
|
+
* **prettier-config:** Synchronize ESLint Prettier Configuration versions
|
|
22
|
+
|
|
3
23
|
## [0.6.0](https://github.com/lqbach/eslint-prettier-config/compare/prettier-config-v0.5.0...prettier-config-v0.6.0) (2024-08-26)
|
|
4
24
|
|
|
5
25
|
|
package/dist/index.cjs
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
default: () => config
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
function config(params) {
|
|
27
27
|
const tailwind = params?.tailwind;
|
|
28
28
|
const plugins = [...tailwind ? ["prettier-plugin-tailwindcss"] : []];
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { Config } from 'prettier';
|
|
|
2
2
|
import { PluginOptions } from 'prettier-plugin-tailwindcss';
|
|
3
3
|
|
|
4
4
|
interface PrettierConfigParams {
|
|
5
|
-
tailwind?:
|
|
5
|
+
tailwind?: boolean | PluginOptions;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
declare function config(params?: PrettierConfigParams): Config;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Config } from 'prettier';
|
|
|
2
2
|
import { PluginOptions } from 'prettier-plugin-tailwindcss';
|
|
3
3
|
|
|
4
4
|
interface PrettierConfigParams {
|
|
5
|
-
tailwind?:
|
|
5
|
+
tailwind?: boolean | PluginOptions;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
declare function config(params?: PrettierConfigParams): Config;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lqbach/prettier-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "lqbach's Personal Prettier Config",
|
|
7
7
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"prettier": "^3.
|
|
21
|
+
"prettier": "^3.4.0",
|
|
22
22
|
"prettier-plugin-tailwindcss": "^0.6.6"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
package/src/types.ts
CHANGED