@fxhxyz/prettier-config 1.0.4 → 1.0.6

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/.prettierrc.cjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var config = require('@fxhxyz/prettier-config');
6
4
 
7
5
  /** @type {import("prettier").Config} */
@@ -9,4 +7,4 @@ var _prettierrc = {
9
7
  ...config
10
8
  };
11
9
 
12
- exports.default = _prettierrc;
10
+ module.exports = _prettierrc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fxhxyz/prettier-config",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "description": "My professional prettier config",
6
6
  "main": "./.prettierrc.json",
@@ -22,6 +22,13 @@
22
22
  ".gitignore",
23
23
  ".npmignore"
24
24
  ],
25
+ "exports": {
26
+ ".": {
27
+ "require": "./.prettierrc.cjs",
28
+ "import": "./.prettierrc.js",
29
+ "default": "./.prettierrc.js"
30
+ }
31
+ },
25
32
  "scripts": {
26
33
  "format": "prettier --write .",
27
34
  "build": "rollup -c"
package/rollup.config.js CHANGED
@@ -6,7 +6,6 @@ export default config = {
6
6
  {
7
7
  file: `./.prettierrc.cjs`,
8
8
  format: 'cjs',
9
- exports: 'named',
10
9
  sourcemap: false,
11
10
  },
12
11
  {