@asantemedia-org/leybold-design-system 1.0.2 → 1.0.4
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
CHANGED
|
@@ -58,6 +58,34 @@ npm run build
|
|
|
58
58
|
npm run build:npm
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
+
### Publishing to npm
|
|
62
|
+
|
|
63
|
+
Publishing requires an npm access token with publish permissions for the `@asantemedia-org` organization.
|
|
64
|
+
|
|
65
|
+
#### Setup Access Token
|
|
66
|
+
|
|
67
|
+
1. Generate an access token at [npmjs.com](https://www.npmjs.com) → Access Tokens
|
|
68
|
+
2. Configure the token:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm config set //registry.npmjs.org/:_authToken YOUR_ACCESS_TOKEN
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Publish
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npm run build:npm
|
|
78
|
+
npm run publish:npm
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Or to bump version and publish in one step:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npm run build:npm
|
|
85
|
+
npm version patch # or minor/major
|
|
86
|
+
npm publish --access public
|
|
87
|
+
```
|
|
88
|
+
|
|
61
89
|
### Project Structure
|
|
62
90
|
|
|
63
91
|
```
|
|
@@ -127,9 +155,9 @@ The design system follows the Atomic Design methodology:
|
|
|
127
155
|
6. **Templates** - Complete page layouts
|
|
128
156
|
|
|
129
157
|
Each component should include:
|
|
158
|
+
|
|
130
159
|
- Component implementation
|
|
131
160
|
- Storybook stories with different variants
|
|
132
161
|
- Documentation
|
|
133
162
|
- TypeScript types
|
|
134
163
|
- SCSS modules for styling
|
|
135
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asantemedia-org/leybold-design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Design system for Leybold",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -96,7 +96,8 @@
|
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"react": ">=18.2.0",
|
|
99
|
-
"react-dom": ">=18.2.0"
|
|
99
|
+
"react-dom": ">=18.2.0",
|
|
100
|
+
"@asantemedia-org/edwardsvacuum-design-system": ">=1.6.52"
|
|
100
101
|
},
|
|
101
102
|
"publishConfig": {
|
|
102
103
|
"access": "public"
|
|
File without changes
|
|
File without changes
|