create-pb-tririga-react-app 1.0.1 → 1.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/index.js CHANGED
@@ -49,6 +49,4 @@ pkgJson.name = projectName;
49
49
  fs.writeFileSync(pkgJsonPath, JSON.stringify(pkgJson, null, 2));
50
50
 
51
51
  console.log(`Success! Created ${projectName}.`);
52
- console.log(`cd ${projectName}`);
53
- console.log(`npm install`);
54
- console.log(`npm run dev`);
52
+ console.log(`See Readme.md in the project folder for instructions on how to get started.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pb-tririga-react-app",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Scaffold a TRIRIGA React app with Vite and TypeScript",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -5,18 +5,18 @@ This is a template for building IBM TRIRIGA UX applications using React, TypeScr
5
5
  ## Getting Started
6
6
 
7
7
  1. **Install Dependencies**
8
- ```bash
8
+ ```
9
9
  npm install
10
10
  ```
11
11
 
12
12
  2. **Configure Environment**
13
13
  Copy `.env.example` to `.env` and update the values for your local development and deployment settings.
14
- ```bash
14
+ ```
15
15
  cp .env.example .env
16
16
  ```
17
17
 
18
18
  3. **Run Locally**
19
- ```bash
19
+ ```
20
20
  npm run dev
21
21
  ```
22
22
  Open [http://localhost:5173](http://localhost:5173) (or the port shown in terminal).
@@ -26,7 +26,7 @@ This is a template for building IBM TRIRIGA UX applications using React, TypeScr
26
26
  To deploy to a TRIRIGA environment:
27
27
 
28
28
  1. **Install Depoyment Tool** (If not already installed globally)
29
- ```bash
29
+ ```
30
30
  npm install -g @tririga/tri-deploy
31
31
  ```
32
32
  *Note: If you prefer not to install globally, you can add `@tririga/tri-deploy` to your devDependencies.*
@@ -36,7 +36,7 @@ To deploy to a TRIRIGA environment:
36
36
 
37
37
  3. **Run Deployment**
38
38
  The view name will be taken from the `name` field in `package.json`.
39
- ```bash
39
+ ```
40
40
  npm run build:deploy
41
41
  ```
42
42