@shelf/global-renderer 2.1.4 → 2.4.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.
package/README.md CHANGED
@@ -3,15 +3,15 @@
3
3
  ## Install
4
4
 
5
5
  ```
6
- $ yarn add @shelf/global-renderer
6
+ $ pnpm add @shelf/global-renderer
7
7
  ```
8
8
 
9
9
  ## Publish
10
10
 
11
11
  ```sh
12
12
  $ git checkout master
13
- $ yarn version
14
- $ yarn publish
13
+ $ pnpm version
14
+ $ pnpm publish
15
15
  $ git push origin master --tags
16
16
  ```
17
17
 
package/package.json CHANGED
@@ -1,15 +1,10 @@
1
1
  {
2
2
  "name": "@shelf/global-renderer",
3
- "version": "2.1.4",
3
+ "version": "2.4.0",
4
4
  "description": "The package exposes entrypoints with window's function(-s) to render React component",
5
5
  "main": "lib",
6
6
  "type": "module",
7
7
  "types": "lib/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/shelfio/libs-frontend.git",
11
- "directory": "packages/global-renderer"
12
- },
13
8
  "license": "UNLICENSED",
14
9
  "author": {
15
10
  "name": "Yurii Levantovych",
@@ -20,53 +15,78 @@
20
15
  "lib",
21
16
  "CHANGELOG.md"
22
17
  ],
23
- "scripts": {
24
- "build": "rm -rf lib/ && NODE_ENV=production webpack && yarn build:types",
25
- "build:types": "tsc --emitDeclarationOnly --noEmit false",
26
- "coverage": "yarn test --coverage",
27
- "test": "jest",
28
- "type-check": "tsc --noEmit"
29
- },
18
+ "prettier": "@shelf/prettier-config",
30
19
  "dependencies": {
31
- "@shelf/basic-components": "^21.22.0",
32
- "@shelf/bem": "^5.0.0",
33
- "@shelf/color-picker": "^7.0.163",
34
- "@shelf/content-view": "^0.9.5",
35
- "@shelf/datetime": "^2.0.0",
36
- "@shelf/decision-tree-editor-components": "12.1.12",
37
- "@shelf/gem-components": "^17.0.5",
38
- "@shelf/i18n": "13.7.3",
39
- "@shelf/icons": "^11.6.53",
40
- "@shelf/location-selector": "^10.1.109",
41
- "@shelf/ratings-components": "^11.0.163",
42
- "@shelf/rich-text-editor": "^7.0.63",
43
- "@shelf/search-components": "^16.0.157",
44
- "@shelf/sweet-alert": "^1.3.180",
45
- "@shelf/toc": "^1.0.19",
46
- "@shelf/tooltip": "^6.0.5",
47
- "@shelf/wiki-text-sanitize": "^0.18.24",
48
- "react": "^19.0.0",
49
- "react-color": "^2.19.3",
50
- "react-dom": "^19.0.0",
51
- "react-i18next": "15.4.1"
20
+ "@shelf/basic-components": "32.0.5",
21
+ "@shelf/bem": "5.0.0",
22
+ "@shelf/color-picker": "12.0.5",
23
+ "@shelf/colors": "4.0.5",
24
+ "@shelf/content-view": "6.0.5",
25
+ "@shelf/datetime": "2.6.0",
26
+ "@shelf/decision-tree-editor-components": "14.0.5",
27
+ "@shelf/gem-components": "29.0.5",
28
+ "@shelf/i18n": "20.1.1",
29
+ "@shelf/icons": "16.0.5",
30
+ "@shelf/location-selector": "18.0.5",
31
+ "@shelf/ratings-components": "17.0.5",
32
+ "@shelf/rich-text-editor": "13.0.5",
33
+ "@shelf/search-components": "26.0.5",
34
+ "@shelf/sweet-alert": "3.3.113",
35
+ "@shelf/toc": "3.0.5",
36
+ "@shelf/wiki-text-sanitize": "0.26.17",
37
+ "react": "19.2.3",
38
+ "react-color": "2.19.3",
39
+ "react-dom": "19.2.3",
40
+ "react-i18next": "16.5.0"
52
41
  },
53
42
  "devDependencies": {
54
- "@babel/core": "^7.24.6",
55
- "@shelf/babel-config": "^3.0.0",
56
- "@shelf/tsconfig": "^0.1.0",
57
- "@shelf/types": "^58.79.0",
58
- "@shelf/types-ddb": "^29.15.1",
59
- "@testing-library/jest-dom": "^6.4.5",
60
- "@testing-library/react": "^16.0.0",
61
- "@types/jest": "^29.5.12",
62
- "@types/lodash": "^4.17.4",
63
- "@types/react-dom": "19.1.2",
43
+ "@babel/core": "7.28.5",
44
+ "@shelf/babel-config": "3.0.0",
45
+ "@shelf/eslint-config": "5.4.0",
46
+ "@shelf/prettier-config": "1.0.0",
47
+ "@shelf/tsconfig": "0.1.0",
48
+ "@shelf/types": "71.15.1",
49
+ "@shelf/types-ddb": "48.56.3",
50
+ "@swc/core": "1.15.5",
51
+ "@swc/jest": "0.2.39",
52
+ "@testing-library/dom": "10.4.1",
53
+ "@testing-library/jest-dom": "6.9.1",
54
+ "@testing-library/react": "16.3.1",
55
+ "@types/jest": "30.0.0",
56
+ "@types/lodash-es": "4.17.12",
57
+ "@types/node": "^25.0.2",
58
+ "@types/react": "19.2.7",
59
+ "@types/react-dom": "19.2.3",
64
60
  "babel-loader": "10.0.0",
65
- "i18next": "24.2.3",
66
- "lodash": "^4.17.21",
67
- "path-browserify": "^1.0.1",
68
- "styled-components": "^6.1.11",
69
- "webpack": "^5.40.0",
61
+ "eslint": "9.39.2",
62
+ "husky": "9.1.7",
63
+ "i18next": "25.7.3",
64
+ "jest": "30.2.0",
65
+ "jest-environment-jsdom": "30.2.0",
66
+ "lint-staged": "16.2.7",
67
+ "lodash-es": "4.17.21",
68
+ "path-browserify": "1.0.1",
69
+ "prettier": "3.7.4",
70
+ "styled-components": "6.1.19",
71
+ "ts-node": "10.9.2",
72
+ "typescript": "5.9.3",
73
+ "webpack": "5.103.0",
70
74
  "webpack-cli": "6.0.1"
75
+ },
76
+ "engines": {
77
+ "node": ">=22",
78
+ "pnpm": ">=10.17.0"
79
+ },
80
+ "lint-staged": {
81
+ "*.{ts,tsx,jsx}": "eslint --fix"
82
+ },
83
+ "scripts": {
84
+ "build": "rm -rf lib/ && NODE_ENV=production NODE_OPTIONS=--openssl-legacy-provider webpack && pnpm build:types",
85
+ "build:types": "tsc --emitDeclarationOnly --noEmit false",
86
+ "coverage": "pnpm test --coverage",
87
+ "test": "jest",
88
+ "lint": "pnpm lint:ci --fix",
89
+ "lint:ci": "eslint . --ext .ts,.tsx",
90
+ "type-check": "tsc --noEmit"
71
91
  }
72
- }
92
+ }