@javalce/prettier-config 2.2.0 → 2.2.2

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.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},u=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of l(e))!o.call(t,i)&&i!==r&&a(t,i,{get:()=>e[i],enumerable:!(n=s(e,i))||n.enumerable});return t};var g=t=>u(a({},"__esModule",{value:!0}),t);var m={};p(m,{default:()=>f});module.exports=g(m);var f={printWidth:100,tabWidth:2,useTabs:!1,endOfLine:"lf",trailingComma:"all",semi:!0,singleQuote:!0,jsxSingleQuote:!0,bracketSpacing:!0,arrowParens:"always",plugins:["prettier-plugin-packagejson"]};
1
+ var e={printWidth:100,tabWidth:2,useTabs:!1,endOfLine:`lf`,trailingComma:`all`,semi:!0,singleQuote:!0,jsxSingleQuote:!0,bracketSpacing:!0,arrowParens:`always`,plugins:[`prettier-plugin-packagejson`]};module.exports=e;
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
+ //#region src/index.d.ts
1
2
  declare const _default: {
2
- printWidth: number;
3
- tabWidth: number;
4
- useTabs: false;
5
- endOfLine: "lf";
6
- trailingComma: "all";
7
- semi: true;
8
- singleQuote: true;
9
- jsxSingleQuote: true;
10
- bracketSpacing: true;
11
- arrowParens: "always";
12
- plugins: string[];
3
+ printWidth: number;
4
+ tabWidth: number;
5
+ useTabs: false;
6
+ endOfLine: "lf";
7
+ trailingComma: "all";
8
+ semi: true;
9
+ singleQuote: true;
10
+ jsxSingleQuote: true;
11
+ bracketSpacing: true;
12
+ arrowParens: "always";
13
+ plugins: string[];
13
14
  };
14
-
15
- export = _default;
15
+ export = _default;
@@ -0,0 +1,16 @@
1
+ //#region src/index.d.ts
2
+ declare const _default: {
3
+ printWidth: number;
4
+ tabWidth: number;
5
+ useTabs: false;
6
+ endOfLine: "lf";
7
+ trailingComma: "all";
8
+ semi: true;
9
+ singleQuote: true;
10
+ jsxSingleQuote: true;
11
+ bracketSpacing: true;
12
+ arrowParens: "always";
13
+ plugins: string[];
14
+ };
15
+ //#endregion
16
+ export { _default as default };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ var e={printWidth:100,tabWidth:2,useTabs:!1,endOfLine:`lf`,trailingComma:`all`,semi:!0,singleQuote:!0,jsxSingleQuote:!0,bracketSpacing:!0,arrowParens:`always`,plugins:[`prettier-plugin-packagejson`]};export{e as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@javalce/prettier-config",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Javier's Prettier configuration",
5
5
  "keywords": [
6
6
  "prettier"
@@ -20,8 +20,8 @@
20
20
  "./package.json": "./package.json",
21
21
  ".": {
22
22
  "import": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/index.js"
23
+ "types": "./dist/index.d.mts",
24
+ "default": "./dist/index.mjs"
25
25
  },
26
26
  "require": {
27
27
  "types": "./dist/index.d.cts",
@@ -36,19 +36,20 @@
36
36
  "*": "prettier -w --ignore-unknown"
37
37
  },
38
38
  "dependencies": {
39
- "prettier-plugin-packagejson": "^2.5.14"
39
+ "prettier-plugin-packagejson": "^2.5.20"
40
40
  },
41
41
  "devDependencies": {
42
- "@arethetypeswrong/cli": "^0.18.1",
43
- "@commitlint/cli": "^19.8.1",
44
- "@commitlint/config-conventional": "^19.8.1",
45
- "bumpp": "^10.1.1",
42
+ "@arethetypeswrong/cli": "^0.18.2",
43
+ "@commitlint/cli": "^20.3.1",
44
+ "@commitlint/config-conventional": "^20.3.1",
45
+ "@types/node": "^22.19.5",
46
+ "bumpp": "^10.3.2",
46
47
  "conventional-changelog-cli": "^5.0.0",
47
48
  "husky": "^9.1.7",
48
- "lint-staged": "^16.1.0",
49
- "prettier": "^3.5.3",
50
- "tsup": "^8.5.0",
51
- "typescript": "^5.8.3"
49
+ "lint-staged": "^16.2.7",
50
+ "prettier": "^3.7.4",
51
+ "tsdown": "^0.19.0",
52
+ "typescript": "^5.9.3"
52
53
  },
53
54
  "peerDependencies": {
54
55
  "prettier": ">=3.0.0 <4"
@@ -62,7 +63,7 @@
62
63
  "access": "public"
63
64
  },
64
65
  "scripts": {
65
- "build": "tsup",
66
+ "build": "tsdown",
66
67
  "changelog": "conventional-changelog -i CHANGELOG.md -s -t v -p angular && git add CHANGELOG.md",
67
68
  "check-exports": "attw --pack .",
68
69
  "format": "prettier --write .",
package/dist/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- printWidth: number;
3
- tabWidth: number;
4
- useTabs: false;
5
- endOfLine: "lf";
6
- trailingComma: "all";
7
- semi: true;
8
- singleQuote: true;
9
- jsxSingleQuote: true;
10
- bracketSpacing: true;
11
- arrowParens: "always";
12
- plugins: string[];
13
- };
14
-
15
- export { _default as default };
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- var i={printWidth:100,tabWidth:2,useTabs:!1,endOfLine:"lf",trailingComma:"all",semi:!0,singleQuote:!0,jsxSingleQuote:!0,bracketSpacing:!0,arrowParens:"always",plugins:["prettier-plugin-packagejson"]};export{i as default};