i18n-keyless-node 1.10.6 → 1.11.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-core",
3
3
  "private": false,
4
- "version": "1.10.6",
4
+ "version": "1.11.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "i18n-keyless-node",
3
+ "private": false,
4
+ "version": "1.11.0",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "prepublishOnly": "rm -rf ./dist && tsc --project tsconfig.json && npm pack",
14
+ "test": "echo 'no test for node'",
15
+ "postpublish": "rm -rf ./dist && rm *.tgz"
16
+ },
17
+ "dependencies": {
18
+ "i18n-keyless-core": "latest"
19
+ },
20
+ "devDependencies": {
21
+ "@eslint/js": "^9.9.0",
22
+ "@types/node": "^22.5.5",
23
+ "eslint": "^9.9.0",
24
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
25
+ "eslint-plugin-react-refresh": "^0.4.9"
26
+ }
27
+ }
@@ -1,6 +1,6 @@
1
1
  import { queue, getTranslationCore, } from "i18n-keyless-core";
2
2
  import { api } from "i18n-keyless-core/api";
3
- import packageJson from "../../package.json";
3
+ import packageJson from "./package.json";
4
4
  const store = {
5
5
  translations: {
6
6
  fr: {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-node",
3
3
  "private": false,
4
- "version": "1.10.6",
4
+ "version": "1.11.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
package/dist/package.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "name": "i18n-keyless",
3
- "private": false,
4
- "type": "module",
5
- "version": "1.10.6",
6
- "workspaces": [
7
- "packages/*"
8
- ],
9
- "scripts": {
10
- "build": "npm run build:core && npm run build:react",
11
- "build:core": "npm run build:lib --workspace=i18n-keyless-core",
12
- "build:react": "npm run build:lib --workspace=i18n-keyless-react",
13
- "clean": "npm run clean:core && npm run clean:react",
14
- "clean:core": "rm -rf packages/core/dist",
15
- "clean:react": "rm -rf packages/react/dist",
16
- "test": "npm run test --workspace=i18n-keyless-react",
17
- "test:watch": "npm run test:watch --workspace=i18n-keyless-react",
18
- "test:coverage": "npm run test:coverage --workspace=i18n-keyless-react"
19
- },
20
- "devDependencies": {
21
- "typescript": "^5.5.3",
22
- "typescript-eslint": "^8.0.1"
23
- }
24
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes