@commencis/prettier-config 2.2.0 → 3.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @commencis/prettier-config
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [BreakingChange]: Introducing v3 - With cleaner dependencies and structure. Check readme files for implementations. ([#414](https://github.com/Commencis/js-toolkit/pull/414))
8
+
3
9
  ## 2.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1,33 +1,13 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
1
 
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- default: () => index_default
24
- });
25
- module.exports = __toCommonJS(index_exports);
26
- var prettierConfig = {
27
- printWidth: 80,
28
- tabWidth: 2,
29
- semi: true,
30
- singleQuote: true,
31
- trailingComma: "es5"
2
+ //#region src/index.ts
3
+ const prettierConfig = {
4
+ printWidth: 80,
5
+ tabWidth: 2,
6
+ semi: true,
7
+ singleQuote: true,
8
+ trailingComma: "es5"
32
9
  };
33
- var index_default = prettierConfig;
10
+ var src_default = prettierConfig;
11
+
12
+ //#endregion
13
+ module.exports = src_default;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { Config } from 'prettier';
1
+ import { Config } from "prettier";
2
2
 
3
+ //#region src/index.d.ts
3
4
  declare const prettierConfig: Config;
4
-
5
- export { prettierConfig as default };
5
+ export = prettierConfig;
@@ -0,0 +1,6 @@
1
+ import { Config } from "prettier";
2
+
3
+ //#region src/index.d.ts
4
+ declare const prettierConfig: Config;
5
+ //#endregion
6
+ export { prettierConfig as default };
package/dist/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ //#region src/index.ts
2
+ const prettierConfig = {
3
+ printWidth: 80,
4
+ tabWidth: 2,
5
+ semi: true,
6
+ singleQuote: true,
7
+ trailingComma: "es5"
8
+ };
9
+ var src_default = prettierConfig;
10
+
11
+ //#endregion
12
+ export { src_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commencis/prettier-config",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
4
4
  "description": "Commencis Prettier config",
5
5
  "author": "Commencis WEB Team",
6
6
  "license": "Apache-2.0",
@@ -30,16 +30,14 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@commencis/ts-config": "1.0.0",
33
- "prettier": "3.7.4",
34
- "tsup": "8.5.1",
35
- "typescript": "5.9.3"
33
+ "prettier": "3.7.4"
36
34
  },
37
35
  "peerDependencies": {
38
36
  "prettier": ">=3.7"
39
37
  },
40
38
  "scripts": {
41
- "dev": "tsup --watch",
42
- "build": "tsup",
39
+ "dev": "tsdown --watch",
40
+ "build": "tsdown",
43
41
  "lint:types": "tsc --noEmit"
44
42
  }
45
43
  }
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { Config } from 'prettier';
2
-
3
- declare const prettierConfig: Config;
4
-
5
- export { prettierConfig as default };
package/dist/index.js DELETED
@@ -1,12 +0,0 @@
1
- // src/index.ts
2
- var prettierConfig = {
3
- printWidth: 80,
4
- tabWidth: 2,
5
- semi: true,
6
- singleQuote: true,
7
- trailingComma: "es5"
8
- };
9
- var index_default = prettierConfig;
10
- export {
11
- index_default as default
12
- };