i18n-keyless-core 1.1.2 → 1.1.5

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +1 -1
  2. package/package.json +4 -6
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import type React from "react";
2
2
  export type PrimaryLang = "fr" | "en";
3
3
  export type Lang = "fr" | "en" | "nl" | "it" | "de" | "es" | "pl" | "pt" | "ro" | "sv" | "tr" | "ja" | "cn" | "ru" | "ko" | "ar";
4
4
  export type Translations = Record<string, string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-core",
3
3
  "private": false,
4
- "version": "1.1.2",
4
+ "version": "1.1.5",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -10,15 +10,13 @@
10
10
  "dist"
11
11
  ],
12
12
  "scripts": {
13
- "build:lib": "tsc --project tsconfig.json && npm pack",
14
- "prepublishOnly": "npm run build:lib"
13
+ "prepublishOnly": "rm -rf ./dist && tsc --project tsconfig.json && npm pack",
14
+ "publish": "npm publish --access public"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^22.5.5",
18
18
  "@types/p-queue": "^3.1.0",
19
19
  "@types/react": "^19.0.8",
20
- "@types/react-dom": "^19.0.3",
21
- "typescript": "^5.5.3",
22
- "typescript-eslint": "^8.0.1"
20
+ "@types/react-dom": "^19.0.3"
23
21
  }
24
22
  }