@commerce7/admin-ui 1.12.43 → 2.0.0-beta.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.
- package/lib/build.js +1 -1
- package/package.json +18 -5
- package/tsconfig.json +25 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commerce7/admin-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"description": "Commerce7 Admin UI Component Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Commerce7"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"update-packages": "npm update --save"
|
|
17
17
|
},
|
|
18
18
|
"lint-staged": {
|
|
19
|
-
"*.js": [
|
|
19
|
+
"*.{js,jsx,ts,tsx}": [
|
|
20
20
|
"eslint",
|
|
21
21
|
"prettier --write"
|
|
22
22
|
]
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"@babel/plugin-transform-object-assign": "^7.25.9",
|
|
31
31
|
"@babel/preset-env": "^7.26.9",
|
|
32
32
|
"@babel/preset-react": "^7.26.3",
|
|
33
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
33
34
|
"@commerce7/eslint-config": "^1.1.6",
|
|
34
35
|
"@storybook/addon-a11y": "^8.6.12",
|
|
35
36
|
"@storybook/addon-actions": "^8.0.8",
|
|
@@ -37,15 +38,23 @@
|
|
|
37
38
|
"@storybook/addon-links": "^8.6.12",
|
|
38
39
|
"@storybook/addon-mdx-gfm": "^8.6.12",
|
|
39
40
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
41
|
+
"@storybook/preset-typescript": "^3.0.0",
|
|
40
42
|
"@storybook/react": "^8.0.8",
|
|
41
43
|
"@storybook/react-webpack5": "^8.6.12",
|
|
42
44
|
"@storybook/theming": "^8.3.6",
|
|
45
|
+
"@types/node": "^22.15.3",
|
|
46
|
+
"@types/react": "^19.1.2",
|
|
47
|
+
"@types/react-dom": "^19.1.3",
|
|
48
|
+
"@types/styled-components": "^5.1.34",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
50
|
+
"@typescript-eslint/parser": "^8.31.1",
|
|
43
51
|
"babel-loader": "^10.0.0",
|
|
44
52
|
"clean-webpack-plugin": "^4.0.0",
|
|
45
53
|
"css-loader": "^7.1.2",
|
|
46
54
|
"eslint": "^8.57.1",
|
|
47
55
|
"eslint-config-airbnb": "^19.0.4",
|
|
48
56
|
"eslint-config-prettier": "^10.1.2",
|
|
57
|
+
"eslint-import-resolver-typescript": "^4.3.4",
|
|
49
58
|
"eslint-import-resolver-webpack": "^0.13.10",
|
|
50
59
|
"eslint-plugin-import": "^2.31.0",
|
|
51
60
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -60,8 +69,10 @@
|
|
|
60
69
|
"react-dom": "^18.3.1",
|
|
61
70
|
"storybook": "^8.6.12",
|
|
62
71
|
"style-loader": "^4.0.0",
|
|
72
|
+
"ts-loader": "^9.5.2",
|
|
73
|
+
"typescript": "^5.8.3",
|
|
63
74
|
"webpack": "^5.99.7",
|
|
64
|
-
"webpack-cli": "^
|
|
75
|
+
"webpack-cli": "^6.0.1",
|
|
65
76
|
"webpack-node-externals": "^3.0.0"
|
|
66
77
|
},
|
|
67
78
|
"dependencies": {
|
|
@@ -74,12 +85,14 @@
|
|
|
74
85
|
"react-datetime": "^3.3.1",
|
|
75
86
|
"react-focus-lock": "^2.13.6",
|
|
76
87
|
"recharts": "^2.15.3",
|
|
77
|
-
"styled-components": "^
|
|
88
|
+
"styled-components": "^6.1.17",
|
|
78
89
|
"styled-normalize": "^8.1.1"
|
|
79
90
|
},
|
|
80
91
|
"peerDependencies": {
|
|
81
92
|
"react": "^18.1.0-0",
|
|
82
|
-
"react-dom": "^18.1.0-0"
|
|
93
|
+
"react-dom": "^18.1.0-0",
|
|
94
|
+
"styled-components": "^6.1.17",
|
|
95
|
+
"styled-normalize": "^8.1.1"
|
|
83
96
|
},
|
|
84
97
|
"directories": {
|
|
85
98
|
"lib": "lib"
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"lib": ["es6", "dom"],
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"jsx": "react",
|
|
8
|
+
"allowJs": true,
|
|
9
|
+
"checkJs": false,
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"esModuleInterop": true,
|
|
13
|
+
"skipLibCheck": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"baseUrl": "src",
|
|
16
|
+
"paths": {
|
|
17
|
+
"*": ["*"]
|
|
18
|
+
},
|
|
19
|
+
"outDir": "./lib",
|
|
20
|
+
"rootDir": "src",
|
|
21
|
+
"allowSyntheticDefaultImports": true
|
|
22
|
+
},
|
|
23
|
+
"include": ["src"],
|
|
24
|
+
"exclude": ["node_modules", "lib"]
|
|
25
|
+
}
|