@mmb-digital/design-system-web 0.1.348-alpha.0 → 0.1.348-alpha.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 +7 -8
- package/dist/index.cjs +41 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2843 -0
- package/dist/index.d.ts +2236 -2075
- package/dist/index.js +41 -2
- package/dist/index.js.map +1 -1
- package/package.json +153 -157
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
|
+
- pnpm 10.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 `pnpm i` to install dependencies.
|
|
15
15
|
|
|
16
16
|
## Running the Design System
|
|
17
17
|
|
|
18
|
-
`
|
|
18
|
+
`pnpm sb`
|
|
19
19
|
|
|
20
20
|
## Publishing to npm registry
|
|
21
21
|
|
|
@@ -23,11 +23,10 @@ https://www.npmjs.com/package/@mmb-digital/design-system-web
|
|
|
23
23
|
|
|
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
|
-
1.
|
|
27
|
-
2.
|
|
28
|
-
3. `
|
|
29
|
-
4. `
|
|
30
|
-
5. `npm publish --access public`
|
|
26
|
+
1. Manually update `version` in `package.json`
|
|
27
|
+
2. `pnpm build`
|
|
28
|
+
3. `npm login`
|
|
29
|
+
4. `npm publish`
|
|
31
30
|
|
|
32
31
|
## Styling rules
|
|
33
32
|
|