trimble-terra 1.1.39 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +8 -5
package/README.md CHANGED
@@ -5,7 +5,7 @@ A React component library for Trimble MXP2 web experiences. Built with React 19,
5
5
  [![Storybook](https://img.shields.io/badge/Storybook-Live-ff4785?logo=storybook&logoColor=white)](https://trimble-mxp-terra.netlify.app/)
6
6
  [![npm version](https://img.shields.io/npm/v/trimble-terra)](https://www.npmjs.com/package/trimble-terra)
7
7
 
8
- > **Branch strategy:** The `react19` branch is the active development branch (v1.x) targeting Next.js projects. The `main` branch contains the legacy Gatsby-compatible code (v0.x) and is deprecated — do not publish from `main`.
8
+ > **Branch strategy:** The `main` branch is the active development branch (v1.x) targeting Next.js projects. The `react18` branch contains the legacy Gatsby-compatible code (v0.x) and is deprecated — do not publish from `react18`.
9
9
 
10
10
 
11
11
 
@@ -116,7 +116,7 @@ Releases are automated via GitHub Actions. Pushing a version tag triggers the pu
116
116
 
117
117
  ### Release workflow
118
118
 
119
- 1. **Make sure you're on the `react19` branch** with all changes committed and pushed.
119
+ 1. **Make sure you're on the `main` branch** with all changes committed and pushed.
120
120
 
121
121
  2. **Bump the version** in `package.json`:
122
122
 
@@ -136,7 +136,7 @@ Releases are automated via GitHub Actions. Pushing a version tag triggers the pu
136
136
  3. **Push the commit and tag:**
137
137
 
138
138
  ```bash
139
- git push origin react19 --follow-tags
139
+ git push origin main --follow-tags
140
140
  ```
141
141
 
142
142
  4. The GitHub Actions `publish.yml` workflow will:
@@ -153,7 +153,7 @@ Releases are automated via GitHub Actions. Pushing a version tag triggers the pu
153
153
 
154
154
  ### CI
155
155
 
156
- Every push and pull request to `react19` runs the CI workflow (lint, format check, build) on Node 20 and 22.
156
+ Every push and pull request to `main` runs the CI workflow (lint, format check, build) on Node 20 and 22.
157
157
 
158
158
  ## Technical Audit — Known Issues
159
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimble-terra",
3
- "version": "1.1.39",
3
+ "version": "1.2.0",
4
4
  "description": "Trimble Terra — React component library for Trimble MXP2 web experiences",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -76,11 +76,14 @@
76
76
  "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\"",
77
77
  "test": "playwright test",
78
78
  "test:update-snapshots": "playwright test --update-snapshots",
79
- "release": "git checkout main && git pull && npm version patch && git push --follow-tags",
79
+ "release": "npm run release:patch",
80
+ "release:patch": "git checkout main && git pull && npm version patch && git push --follow-tags",
81
+ "release:minor": "git checkout main && git pull && npm version minor && git push --follow-tags",
82
+ "release:major": "git checkout main && git pull && npm version major && git push --follow-tags",
80
83
  "release:prerelease": "git pull && npm version prerelease --preid=%npm_config_preid% && git push --follow-tags"
81
84
  },
82
85
  "peerDependencies": {
83
- "@trimble-creative-strategy/trimble-mxp-icons": "^1.1.3",
86
+ "@trimble-creative-strategy/trimble-mxp-icons": "^1.1.6",
84
87
  "image-focus": "^1.2.1",
85
88
  "react": "^19.1.1",
86
89
  "react-dom": "^19.1.1",
@@ -94,13 +97,13 @@
94
97
  "devDependencies": {
95
98
  "@chromatic-com/storybook": "^5.0.1",
96
99
  "@eslint/js": "^9.39.2",
97
- "@trimble-oss/moduswebcomponents": "^1.10.0",
98
- "@trimble-oss/moduswebcomponents-react": "^1.10.0-react19",
99
100
  "@playwright/test": "^1.58.2",
100
101
  "@storybook/addon-docs": "^10.2.9",
101
102
  "@storybook/addon-links": "^10.2.9",
102
103
  "@storybook/addon-styling-webpack": "^3.0.0",
103
104
  "@storybook/react-vite": "^10.2.9",
105
+ "@trimble-oss/moduswebcomponents": "^1.10.0",
106
+ "@trimble-oss/moduswebcomponents-react": "^1.10.0-react19",
104
107
  "@types/node": "^25.2.3",
105
108
  "@types/react": "^19.2.14",
106
109
  "@types/react-dom": "^19.2.3",