create-pb-tririga-react-app 1.0.0 → 1.0.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/README.md +28 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# create-pb-tririga-react-app
|
|
2
|
+
|
|
3
|
+
A CLI tool to scaffold modern IBM TRIRIGA UX applications using React, TypeScript, and Vite.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
You don't need to install this package locally. You can run it directly using `npx`:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx create-pb-tririga-react-app my-tririga-app
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
- **Framework**: React 18 + TypeScript
|
|
16
|
+
- **Build Tool**: Vite (Fast HMR & Bundling)
|
|
17
|
+
- **UI Library**: Carbon Design System (IBM Standard)
|
|
18
|
+
- **Routing**: HashRouter (Compatible with TRIRIGA context paths)
|
|
19
|
+
- **Deployment**: Ready-to-use scripts for `tri-deploy`
|
|
20
|
+
|
|
21
|
+
## Getting Started with your new app
|
|
22
|
+
|
|
23
|
+
Once created:
|
|
24
|
+
|
|
25
|
+
1. `cd my-tririga-app`
|
|
26
|
+
2. `npm install`
|
|
27
|
+
3. Update configuration files (see `README.md`)
|
|
28
|
+
4. `npm run build:deploy`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pb-tririga-react-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Scaffold a TRIRIGA React app with Vite and TypeScript",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"index.js",
|
|
11
|
-
"template"
|
|
11
|
+
"template",
|
|
12
|
+
"README.md"
|
|
12
13
|
],
|
|
13
14
|
"keywords": ["tririga", "react", "vite", "scaffold"],
|
|
14
15
|
"author": "Your Name",
|