@intlayer/dictionaries-entry 1.0.0 → 1.0.1

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.
@@ -8,21 +8,17 @@ var __export = (target, all) => {
8
8
  __defProp(target, name, { get: all[name], enumerable: true });
9
9
  };
10
10
  var __copyProps = (to, from, except, desc) => {
11
- if ((from && typeof from === "object") || typeof from === "function") {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
12
  for (let key of __getOwnPropNames(from))
13
13
  if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, {
15
- get: () => from[key],
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable,
17
- });
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
15
  }
19
16
  return to;
20
17
  };
21
- var __toCommonJS = (mod) =>
22
- __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
19
  var src_exports = {};
24
20
  __export(src_exports, {
25
- default: () => src_default,
21
+ default: () => src_default
26
22
  });
27
23
  module.exports = __toCommonJS(src_exports);
28
24
  var import_module = require("module");
@@ -30,14 +26,9 @@ var import_path = require("path");
30
26
  var import_config = require("@intlayer/config");
31
27
  const import_meta = {};
32
28
  const isESModule = typeof import_meta.url === "string";
33
- const requireFunction = isESModule
34
- ? (0, import_module.createRequire)(import_meta.url)
35
- : require;
29
+ const requireFunction = isESModule ? (0, import_module.createRequire)(import_meta.url) : require;
36
30
  const { content } = (0, import_config.getConfiguration)();
37
- const dictionariesPath = (0, import_path.join)(
38
- content.mainDir,
39
- "dictionaries.cjs"
40
- );
31
+ const dictionariesPath = (0, import_path.join)(content.mainDir, "dictionaries.cjs");
41
32
  const dictionaries = requireFunction(dictionariesPath);
42
33
  var src_default = dictionaries;
43
- //# sourceMappingURL=index.cjs.map
34
+ //# sourceMappingURL=index.cjs.map
@@ -7,5 +7,7 @@ const { content } = getConfiguration();
7
7
  const dictionariesPath = join(content.mainDir, "dictionaries.cjs");
8
8
  const dictionaries = requireFunction(dictionariesPath);
9
9
  var src_default = dictionaries;
10
- export { src_default as default };
11
- //# sourceMappingURL=index.mjs.map
10
+ export {
11
+ src_default as default
12
+ };
13
+ //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/dictionaries-entry",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "IntLayer - Dictionaries Entry. This package only returns the dictionary entry path. For bundle configuration, this packages should be replaced by using an alias.",
6
6
  "keywords": [
@@ -12,7 +12,7 @@
12
12
  "homepage": "https://github.com/aypineau/intlayer",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/aypineau/intlayer"
15
+ "url": "git+https://github.com/aypineau/intlayer.git"
16
16
  },
17
17
  "license": "MIT",
18
18
  "author": {
@@ -42,22 +42,19 @@
42
42
  "./package.json"
43
43
  ],
44
44
  "dependencies": {
45
- "@intlayer/config": "^1.0.0"
45
+ "@intlayer/config": "^1.0.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^20.11.30",
49
49
  "rimraf": "5.0.5",
50
50
  "tsup": "^8.0.2",
51
51
  "typescript": "^5.4.3",
52
- "@utils/eslint-config": "^1.0.0",
53
- "@utils/ts-config": "^1.0.0"
52
+ "@utils/eslint-config": "^1.0.1",
53
+ "@utils/ts-config": "^1.0.1"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=14.18"
57
57
  },
58
- "publishConfig": {
59
- "access": "public"
60
- },
61
58
  "bug": {
62
59
  "url": "https://github.com/aypineau/intlayer/issues"
63
60
  },