@frsource/prettier-config 1.0.0 → 1.1.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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @frsource/prettier-config
2
+
3
+ Prettier configuration files used across the FRSOURCE organization.
package/index.d.mts ADDED
@@ -0,0 +1,2 @@
1
+ declare const _default: import("prettier").Config;
2
+ export default _default;
package/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ /** @type {import("prettier").Config} */
1
2
  export default {
2
3
  singleQuote: true,
3
4
  semi: true,
package/package.json CHANGED
@@ -1,19 +1,18 @@
1
1
  {
2
2
  "name": "@frsource/prettier-config",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "main": "index.mjs",
5
+ "types": "index.d.mts",
5
6
  "type": "module",
6
- "dependencies": {
7
- "@typescript-eslint/eslint-plugin": "6.11.0",
8
- "@typescript-eslint/parser": "6.11.0",
9
- "eslint-config-prettier": "9.1.0"
10
- },
11
7
  "devDependencies": {
8
+ "prettier": "^3.2.5",
12
9
  "release-it": "^17.2.0",
13
- "@frsource/release-it-config": "1.0.0"
10
+ "typescript": "^5.4.5",
11
+ "@frsource/release-it-config": "1.2.0",
12
+ "@frsource/eslint-config": "1.1.0"
14
13
  },
15
14
  "peerDependencies": {
16
- "eslint": ">= 9"
15
+ "eslint": ">= 3"
17
16
  },
18
17
  "homepage": "https://github.com/FRSOURCE/toolkit/",
19
18
  "repository": {
@@ -35,6 +34,11 @@
35
34
  "prettier config"
36
35
  ],
37
36
  "scripts": {
38
- "release": "release-it"
37
+ "build": "tsc index.mjs --declaration --emitDeclarationOnly --allowJs --moduleResolution bundler --target esnext",
38
+ "release": "release-it",
39
+ "eslint": "eslint .",
40
+ "prettier": "prettier . --check",
41
+ "lint": "pnpm eslint && pnpm prettier",
42
+ "fix": "pnpm eslint --fix && prettier . --write"
39
43
  }
40
44
  }