@mmb-digital/design-system-web 0.1.348-alpha.2 → 0.1.348-alpha.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/README.md +7 -6
- package/dist/index.cjs +2 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2089 -2236
- package/dist/index.js +2 -41
- package/dist/index.js.map +1 -1
- package/package.json +160 -153
- package/dist/index.d.cts +0 -2843
package/README.md
CHANGED
|
@@ -5,17 +5,17 @@ Shared UI components and form utilities for NWP, DebtMarket and various Next.js
|
|
|
5
5
|
## Prerequisities:
|
|
6
6
|
|
|
7
7
|
- Node 20.x
|
|
8
|
-
-
|
|
8
|
+
- Yarn 1.x
|
|
9
9
|
|
|
10
10
|
## Workspace Setup
|
|
11
11
|
|
|
12
12
|
Reuse the `.npmrc` file from `nwp/modules/javascript` (separate repository) either by copy-pasting it to `design-system-web`, or by putting it in the user (`~`) directory.
|
|
13
13
|
|
|
14
|
-
Run `
|
|
14
|
+
Run `yarn` to install dependencies.
|
|
15
15
|
|
|
16
16
|
## Running the Design System
|
|
17
17
|
|
|
18
|
-
`
|
|
18
|
+
`yarn sb`
|
|
19
19
|
|
|
20
20
|
## Publishing to npm registry
|
|
21
21
|
|
|
@@ -24,9 +24,10 @@ https://www.npmjs.com/package/@mmb-digital/design-system-web
|
|
|
24
24
|
You must be added to the @mmb-digital organization at npmjs.com (you will need to enable two-factor authentication on your npmjs.com account).
|
|
25
25
|
|
|
26
26
|
1. Manually update `version` in `package.json`
|
|
27
|
-
2. `
|
|
28
|
-
3. `
|
|
29
|
-
4. `npm
|
|
27
|
+
2. `rm -rf dist`
|
|
28
|
+
3. `yarn build`
|
|
29
|
+
4. `npm login`
|
|
30
|
+
5. `npm publish`
|
|
30
31
|
|
|
31
32
|
## Styling rules
|
|
32
33
|
|