@1adybug/prettier 0.0.18 → 0.0.20
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 +4 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Options as RemoveBracesOptions } from "@1adybug/prettier-plugin-remove-braces";
|
|
2
|
+
import { PluginConfig, Options as SortImportsOptions } from "@1adybug/prettier-plugin-sort-imports";
|
|
2
3
|
import { Plugin } from "prettier";
|
|
4
|
+
export interface Options extends RemoveBracesOptions, SortImportsOptions {
|
|
5
|
+
}
|
|
3
6
|
export declare const config: PluginConfig;
|
|
4
7
|
export declare const plugin: Plugin<any>;
|
|
5
8
|
export default plugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1adybug/prettier",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "推荐的 Prettier 配置",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prettier",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
40
40
|
"tsconfig-paths": "^4.2.0",
|
|
41
|
-
"@1adybug/prettier-plugin-
|
|
42
|
-
"@1adybug/prettier-plugin-
|
|
43
|
-
"@1adybug/prettier-plugin-sort-imports": "0.0.
|
|
41
|
+
"@1adybug/prettier-plugin-remove-braces": "0.0.8",
|
|
42
|
+
"@1adybug/prettier-plugin-block-padding": "0.0.15",
|
|
43
|
+
"@1adybug/prettier-plugin-sort-imports": "0.0.26"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@rslib/core": "^0.18.2",
|