orcs-design-system 3.4.0 → 3.4.2
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 +14 -13
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -66,6 +66,8 @@ npm version patch
|
|
|
66
66
|
|
|
67
67
|
This will bump version patch number and make a commit to current branch.
|
|
68
68
|
|
|
69
|
+
**Note:** When publishing to public npm, the version is automatically deprecated with a migration message directing users to GitHub Packages. This ensures all users see the deprecation warning when installing.
|
|
70
|
+
|
|
69
71
|
### Deploying to GitHub Pages
|
|
70
72
|
|
|
71
73
|
ORCS automatically deploys to GitHub Pages when a new version is published and merged to master. To manually deploy:
|
|
@@ -78,13 +80,13 @@ npm run deploy-storybook
|
|
|
78
80
|
|
|
79
81
|
### GitHub Packages (Recommended)
|
|
80
82
|
|
|
81
|
-
For internal repositories, use the GitHub Packages version `@
|
|
83
|
+
For internal repositories, use the GitHub Packages version `@orchestrated-io/orcs-design-system`. This package is published in parallel with the public version and uses your existing GitHub authentication.
|
|
82
84
|
|
|
83
85
|
**Setup:**
|
|
84
86
|
|
|
85
87
|
1. Add `.npmrc` to your repository root with the following content:
|
|
86
88
|
```ini
|
|
87
|
-
@
|
|
89
|
+
@orchestrated-io:registry=https://npm.pkg.github.com
|
|
88
90
|
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
|
|
89
91
|
```
|
|
90
92
|
|
|
@@ -92,7 +94,7 @@ For internal repositories, use the GitHub Packages version `@teamform/orcs-desig
|
|
|
92
94
|
```json
|
|
93
95
|
{
|
|
94
96
|
"dependencies": {
|
|
95
|
-
"orcs-design-system": "npm:@
|
|
97
|
+
"orcs-design-system": "npm:@orchestrated-io/orcs-design-system@^3.4.1"
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
```
|
|
@@ -101,23 +103,22 @@ For internal repositories, use the GitHub Packages version `@teamform/orcs-desig
|
|
|
101
103
|
|
|
102
104
|
**Note:** In GitHub Actions, `GITHUB_TOKEN` is automatically available. For local development, set `GITHUB_TOKEN` as an environment variable with a Personal Access Token (with `read:packages` permission).
|
|
103
105
|
|
|
106
|
+
**Why use an alias?** By using `npm:@orchestrated-io/orcs-design-system`, you can keep your existing imports unchanged. You'll continue importing as `orcs-design-system` instead of having to update all files to use `@orchestrated-io/orcs-design-system`.
|
|
107
|
+
|
|
104
108
|
Your imports remain the same:
|
|
105
109
|
```javascript
|
|
106
110
|
import { Box } from 'orcs-design-system';
|
|
107
111
|
```
|
|
108
112
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
> **⚠️ Deprecated**: The public npm package (`orcs-design-system`) is deprecated and will be removed by January 2026 at the latest. Please migrate to the GitHub Packages version (`@teamform/orcs-design-system`) as soon as possible.
|
|
113
|
+
For detailed setup instructions, see [DOWNSTREAM_SETUP.md](./DOWNSTREAM_SETUP.md).
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
```
|
|
116
|
-
npm i orcs-design-system
|
|
117
|
-
npm i styled-components
|
|
118
|
-
```
|
|
115
|
+
### Public Package (Deprecated)
|
|
119
116
|
|
|
120
|
-
|
|
117
|
+
> **⚠️ DEPRECATED**: The public npm package (`orcs-design-system`) is deprecated and being retired. The public npm version will be removed.
|
|
118
|
+
>
|
|
119
|
+
> **All versions are marked as deprecated on npm** - users will see a deprecation warning when installing.
|
|
120
|
+
>
|
|
121
|
+
> **For internal users:** See [DOWNSTREAM_SETUP.md](./DOWNSTREAM_SETUP.md) for migration to GitHub Packages.
|
|
121
122
|
|
|
122
123
|
### Using components
|
|
123
124
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orcs-design-system",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20.0.0"
|
|
6
6
|
},
|
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
"orcs"
|
|
16
16
|
],
|
|
17
17
|
"homepage": "https://styleguide.orchestrated.io",
|
|
18
|
-
"
|
|
19
|
-
"license": "SEE LICENSE IN LICENCE"
|
|
20
|
-
},
|
|
18
|
+
"license": "SEE LICENSE IN LICENCE",
|
|
21
19
|
"module": "es/index.js",
|
|
22
20
|
"main": "es/index.js",
|
|
23
21
|
"repository": {
|
|
24
22
|
"type": "git",
|
|
25
23
|
"url": "https://github.com/orchestrated-io/orcs-design-system.git"
|
|
26
24
|
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/orchestrated-io/orcs-design-system/issues"
|
|
27
|
+
},
|
|
27
28
|
"sideEffects": false,
|
|
28
29
|
"private": false,
|
|
29
30
|
"scripts": {
|
|
@@ -182,6 +183,7 @@
|
|
|
182
183
|
},
|
|
183
184
|
"webpack-dev-server": "5.2.2",
|
|
184
185
|
"js-yaml": ">=4.1.1",
|
|
186
|
+
"glob": ">=11.1.0",
|
|
185
187
|
"material-react-table": {
|
|
186
188
|
"@mui/material": "^7.3.5",
|
|
187
189
|
"@mui/icons-material": "^7.3.5"
|