@jtl-software/cloud-app-template-frontend-react 0.0.2 → 0.0.3
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/CHANGELOG.md +6 -0
- package/README.md +19 -0
- package/package.json +37 -2
- package/_package.json +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @jtl/cloud-app-template-frontend-react
|
|
2
2
|
|
|
3
|
+
## 0.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#9](https://github.com/jtl-software/cloud-apps-cli/pull/9) [`5697636`](https://github.com/jtl-software/cloud-apps-cli/commit/5697636be8f917639539f72fbffb9165a2de01b1) Thanks [@tobilen](https://github.com/tobilen)! - Add required meta information, merge \_package.json and add readme for templates
|
|
8
|
+
|
|
3
9
|
## 0.0.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# React Frontend Template
|
|
2
|
+
|
|
3
|
+
React 19 + Vite + Tailwind CSS + JTL Platform UI
|
|
4
|
+
|
|
5
|
+
## App modes
|
|
6
|
+
|
|
7
|
+
| Route | Manifest field | Context |
|
|
8
|
+
|-------|---------------|---------|
|
|
9
|
+
| `/` | — | Welcome page |
|
|
10
|
+
| `/setup` | `lifecycle.setupUrl` | App installation |
|
|
11
|
+
| `/erp` | `capabilities.erp.menuItems[].url` | Main ERP view |
|
|
12
|
+
| `/pane` | `capabilities.erp.pane[].url` | Sidebar panel |
|
|
13
|
+
| `/hub` | `capabilities.hub.appLauncher.redirectUrl` | Hub launcher |
|
|
14
|
+
|
|
15
|
+
## Scripts
|
|
16
|
+
|
|
17
|
+
- `npm run dev` — Vite dev server on port 3004
|
|
18
|
+
- `npm run build` — production build
|
|
19
|
+
- `npm run test` — Vitest
|
package/package.json
CHANGED
|
@@ -1,8 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jtl-software/cloud-app-template-frontend-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"access": "public"
|
|
6
7
|
},
|
|
7
|
-
"description": "React + Vite + Tailwind frontend template for JTL Platform cloud apps"
|
|
8
|
+
"description": "React + Vite + Tailwind frontend template for JTL Platform cloud apps",
|
|
9
|
+
"cloudAppTemplate": {
|
|
10
|
+
"type": "frontend",
|
|
11
|
+
"label": "React",
|
|
12
|
+
"hint": "Vite + Tailwind + JTL UI"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"dev": "vite",
|
|
16
|
+
"build": "tsc -b && vite build",
|
|
17
|
+
"lint": "eslint .",
|
|
18
|
+
"preview": "vite preview",
|
|
19
|
+
"test": "vitest run"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@jtl-software/cloud-apps-core": "latest",
|
|
23
|
+
"@jtl-software/platform-ui-react": "latest",
|
|
24
|
+
"react": "^19.0.0",
|
|
25
|
+
"react-dom": "^19.0.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@eslint/js": "^9.21.0",
|
|
29
|
+
"@tailwindcss/vite": "^4.2.2",
|
|
30
|
+
"@types/react": "^19.0.10",
|
|
31
|
+
"@types/react-dom": "^19.0.4",
|
|
32
|
+
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
33
|
+
"eslint": "^9.21.0",
|
|
34
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
35
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
36
|
+
"globals": "^15.15.0",
|
|
37
|
+
"tailwindcss": "^4.2.2",
|
|
38
|
+
"typescript": "~5.7.2",
|
|
39
|
+
"typescript-eslint": "^8.24.1",
|
|
40
|
+
"vite": "^6.2.0",
|
|
41
|
+
"vitest": "^2.1.8"
|
|
42
|
+
}
|
|
8
43
|
}
|
package/_package.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{APP_NAME}}-frontend",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "vite",
|
|
8
|
-
"build": "tsc -b && vite build",
|
|
9
|
-
"lint": "eslint .",
|
|
10
|
-
"preview": "vite preview",
|
|
11
|
-
"test": "vitest run"
|
|
12
|
-
},
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@jtl-software/cloud-apps-core": "latest",
|
|
15
|
-
"@jtl-software/platform-ui-react": "latest",
|
|
16
|
-
"react": "^19.0.0",
|
|
17
|
-
"react-dom": "^19.0.0"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@eslint/js": "^9.21.0",
|
|
21
|
-
"@tailwindcss/vite": "^4.2.2",
|
|
22
|
-
"@types/react": "^19.0.10",
|
|
23
|
-
"@types/react-dom": "^19.0.4",
|
|
24
|
-
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
25
|
-
"eslint": "^9.21.0",
|
|
26
|
-
"eslint-plugin-react-hooks": "^5.1.0",
|
|
27
|
-
"eslint-plugin-react-refresh": "^0.4.19",
|
|
28
|
-
"globals": "^15.15.0",
|
|
29
|
-
"tailwindcss": "^4.2.2",
|
|
30
|
-
"typescript": "~5.7.2",
|
|
31
|
-
"typescript-eslint": "^8.24.1",
|
|
32
|
-
"vite": "^6.2.0",
|
|
33
|
-
"vitest": "^2.1.8"
|
|
34
|
-
}
|
|
35
|
-
}
|