@forsakringskassan/prettier-config-svelte 3.2.0 → 3.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
@@ -20,16 +20,16 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
- default: () => index_default2
23
+ default: () => index_default
24
24
  });
25
25
  module.exports = __toCommonJS(index_exports);
26
26
 
27
- // ../prettier-config/dist/index.mjs
28
- var import_node_url = require("node:url");
29
- var import_meta = {};
27
+ // ../prettier-config/src/resolve-module-path.cjs.ts
30
28
  function resolveModulePath(id) {
31
- return (0, import_node_url.fileURLToPath)(import_meta.resolve(id));
29
+ return require.resolve(id);
32
30
  }
31
+
32
+ // ../prettier-config/src/index.ts
33
33
  var config = {
34
34
  plugins: [resolveModulePath("prettier-plugin-packagejson")],
35
35
  singleQuote: false,
@@ -69,15 +69,15 @@ var config = {
69
69
  }
70
70
  ]
71
71
  };
72
- var index_default = config;
72
+ var src_default = config;
73
73
 
74
74
  // src/index.ts
75
75
  var config2 = {
76
- ...index_default,
77
- plugins: [...index_default.plugins, "prettier-plugin-svelte"],
76
+ ...src_default,
77
+ plugins: [...src_default.plugins, "prettier-plugin-svelte"],
78
78
  overrides: [
79
- ...index_default.overrides,
79
+ ...src_default.overrides,
80
80
  { files: "*.svelte", options: { parser: "svelte" } }
81
81
  ]
82
82
  };
83
- var index_default2 = config2;
83
+ var index_default = config2;
package/dist/index.mjs CHANGED
@@ -1,8 +1,10 @@
1
- // ../prettier-config/dist/index.mjs
1
+ // ../prettier-config/src/resolve-module-path.esm.ts
2
2
  import { fileURLToPath } from "node:url";
3
3
  function resolveModulePath(id) {
4
4
  return fileURLToPath(import.meta.resolve(id));
5
5
  }
6
+
7
+ // ../prettier-config/src/index.ts
6
8
  var config = {
7
9
  plugins: [resolveModulePath("prettier-plugin-packagejson")],
8
10
  singleQuote: false,
@@ -42,18 +44,18 @@ var config = {
42
44
  }
43
45
  ]
44
46
  };
45
- var index_default = config;
47
+ var src_default = config;
46
48
 
47
49
  // src/index.ts
48
50
  var config2 = {
49
- ...index_default,
50
- plugins: [...index_default.plugins, "prettier-plugin-svelte"],
51
+ ...src_default,
52
+ plugins: [...src_default.plugins, "prettier-plugin-svelte"],
51
53
  overrides: [
52
- ...index_default.overrides,
54
+ ...src_default.overrides,
53
55
  { files: "*.svelte", options: { parser: "svelte" } }
54
56
  ]
55
57
  };
56
- var index_default2 = config2;
58
+ var index_default = config2;
57
59
  export {
58
- index_default2 as default
60
+ index_default as default
59
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/prettier-config-svelte",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "FK Prettier Svelte Config",
5
5
  "keywords": [
6
6
  "prettier"
@@ -40,5 +40,5 @@
40
40
  "node": ">= 20.6.0",
41
41
  "npm": ">= 9"
42
42
  },
43
- "gitHead": "b9e01190641722c28411a3e4df1d0807cc95a03e"
43
+ "gitHead": "8053663ba46f6dc1bc9a82ff0f9ae91408b81fac"
44
44
  }