@abinnovision/prettier-config 2.1.3 → 2.1.4

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.4](https://github.com/abinnovision/js-commons/compare/prettier-config-v2.1.3...prettier-config-v2.1.4) (2025-11-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * migrate eslint configs to use defineConfig ([#541](https://github.com/abinnovision/js-commons/issues/541)) ([eb24dca](https://github.com/abinnovision/js-commons/commit/eb24dca423b594711b727da84f4c4026f781c9e4))
9
+
3
10
  ## [2.1.3](https://github.com/abinnovision/js-commons/compare/prettier-config-v2.1.2...prettier-config-v2.1.3) (2024-10-16)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,15 +1,20 @@
1
1
  {
2
2
  "name": "@abinnovision/prettier-config",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
+ "publishConfig": {
5
+ "npm": true,
6
+ "ghpr": true,
7
+ "npmAccess": "public"
8
+ },
4
9
  "type": "module",
5
10
  "repository": {
6
11
  "url": "https://github.com/abinnovision/js-commons"
7
12
  },
8
13
  "license": "Apache-2.0",
9
14
  "author": {
10
- "name": "AB INNOVISION GmbH",
11
- "email": "info@abinnovision.com",
12
- "url": "https://abinnovision.com/"
15
+ "name": "abi group GmbH",
16
+ "email": "info@abigroup.io",
17
+ "url": "https://abigroup.io/"
13
18
  },
14
19
  "main": "./dist/index.js",
15
20
  "types": "./dist/index.d.ts",
@@ -38,13 +43,12 @@
38
43
  },
39
44
  "prettier": "./dist/index.js",
40
45
  "devDependencies": {
41
- "@types/node": "^22.7.5",
46
+ "@types/node": "^22.12.0",
42
47
  "@types/prettier": "^3.0.0",
43
- "eslint": "^9.12.0",
44
- "globals": "^15.11.0",
45
- "prettier": "^3.3.3",
46
- "tsup": "^8.3.0",
47
- "typescript": "^5.6.3"
48
+ "eslint": "^9.39.1",
49
+ "prettier": "^3.4.2",
50
+ "tsup": "^8.3.6",
51
+ "typescript": "^5.9.3"
48
52
  },
49
53
  "peerDependencies": {
50
54
  "prettier": "^2.4.0 || ^3.0.0"
@@ -1,39 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
- // If the importer is in node compatibility mode or this is not an ESM
19
- // file that has been converted to a CommonJS file using a Babel-
20
- // compatible transform (i.e. "__esModule" has not been set), then set
21
- // "default" to the CommonJS "module.exports" for node compatibility.
22
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
23
- mod
24
- ));
25
-
26
- // src/bin/sync-editorconfig.ts
27
- var fs = __toESM(require("fs/promises"), 1);
28
- var path = __toESM(require("path"), 1);
29
- var process = __toESM(require("process"), 1);
30
- var DISABLE_ENV_VAR = "DISABLE_SYNC_EDITORCONFIG";
31
- (async function() {
32
- if ([true, "true"].includes(process.env[DISABLE_ENV_VAR] ?? false)) {
33
- return;
34
- }
35
- await fs.copyFile(
36
- path.resolve(__dirname, "../../assets/.editorconfig"),
37
- path.resolve(process.cwd(), ".editorconfig")
38
- );
39
- })();
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { Config } from 'prettier';
2
-
3
- declare const config: Config;
4
-
5
- export { config as default };
package/dist/index.js DELETED
@@ -1,35 +0,0 @@
1
- // src/index.ts
2
- var config = {
3
- printWidth: 80,
4
- useTabs: true,
5
- tabWidth: 2,
6
- semi: true,
7
- trailingComma: "all",
8
- bracketSpacing: true,
9
- arrowParens: "always",
10
- endOfLine: "lf",
11
- overrides: [
12
- {
13
- files: ["pnpm-lock.yaml"],
14
- options: {
15
- requirePragma: true
16
- }
17
- },
18
- {
19
- /**
20
- * Use spaces for Markdown files instead of tabs.
21
- *
22
- * This is because Markdown files rendered with tabs in GitHub use pretty
23
- * large indentation, which is not ideal.
24
- */
25
- files: ["*.md"],
26
- options: {
27
- useTabs: false
28
- }
29
- }
30
- ]
31
- };
32
- var src_default = config;
33
- export {
34
- src_default as default
35
- };