@esmate/prettier 0.0.2 → 0.0.3

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/README.md CHANGED
@@ -1,23 +1 @@
1
- # Rslib project
2
-
3
- ## Setup
4
-
5
- Install the dependencies:
6
-
7
- ```bash
8
- pnpm install
9
- ```
10
-
11
- ## Get started
12
-
13
- Build the library:
14
-
15
- ```bash
16
- pnpm build
17
- ```
18
-
19
- Build the library in watch mode:
20
-
21
- ```bash
22
- pnpm dev
23
- ```
1
+ # @esmate/prettier
package/dist/index.d.ts CHANGED
@@ -3,18 +3,18 @@ import type { AstroOptions } from "./plugins/astro";
3
3
  import type { SvelteOptions } from "./plugins/svelte";
4
4
  import type { TailwindOptions } from "./plugins/tailwind";
5
5
  interface Options {
6
- /**
7
- * Enable Astro support.
8
- *
9
- * http://npm.im/prettier-plugin-astro
10
- */
11
- astro?: boolean | AstroOptions;
12
6
  /**
13
7
  * Ignores files from formatting.
14
8
  *
15
9
  * So you don't have to use .prettierignore file.
16
10
  */
17
11
  ignores?: string[];
12
+ /**
13
+ * Enable Astro support.
14
+ *
15
+ * http://npm.im/prettier-plugin-astro
16
+ */
17
+ astro?: boolean | AstroOptions;
18
18
  /**
19
19
  * Enable Svelte support.
20
20
  *
@@ -28,5 +28,5 @@ interface Options {
28
28
  */
29
29
  tailwind?: boolean | TailwindOptions;
30
30
  }
31
- export declare function defineConfig(options?: Options, config?: Config): Config;
31
+ export declare function defineConfig(options: Options, config?: Config): Config;
32
32
  export {};
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@esmate/prettier",
3
3
  "type": "module",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/viendinhcom/esmate.git"
9
+ },
6
10
  "exports": {
7
11
  ".": {
8
12
  "types": "./dist/index.d.ts",
@@ -13,16 +17,6 @@
13
17
  "files": [
14
18
  "dist"
15
19
  ],
16
- "scripts": {
17
- "build": "rslib build",
18
- "watch": "rslib build --watch",
19
- "prepack": "rslib build",
20
- "lint": "eslint",
21
- "lint:fix": "eslint --fix"
22
- },
23
- "peerDependencies": {
24
- "prettier": "^3.5.3"
25
- },
26
20
  "dependencies": {
27
21
  "make-synchronized": "^0.7.2",
28
22
  "prettier-plugin-astro": "^0.14.1",
@@ -32,9 +26,17 @@
32
26
  "devDependencies": {
33
27
  "@rslib/core": "^0.7.1",
34
28
  "@types/node": "^22.8.1",
29
+ "eslint": "^9.27.0",
30
+ "prettier": "^3.5.3",
35
31
  "typescript": "^5.8.3"
36
32
  },
37
33
  "publishConfig": {
38
34
  "access": "public"
35
+ },
36
+ "scripts": {
37
+ "build": "rslib build",
38
+ "dev": "rslib build --watch",
39
+ "fix": "prettier --write . && eslint --fix .",
40
+ "check": "tsc && prettier --check . && eslint ."
39
41
  }
40
- }
42
+ }