@pinuts/bsr-uikit-relaunch 0.2.64 → 0.2.66
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 +16 -41
- package/dist/index.js +1 -1
- package/dist/shared/InfoModal/InfoModal.js +3 -1
- package/dist/styles/_form.scss +77 -65
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,58 +18,33 @@ $ yarn start
|
|
|
18
18
|
$ npm run build
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
#
|
|
21
|
+
# Entwicklung
|
|
22
|
+
Zum Entwickeln kann der aktuelle Stand mit yarn link in ein anderes Projekt eingbunden werden.
|
|
23
|
+
Beispiel für das Linken der UI-Kit
|
|
22
24
|
|
|
23
|
-
```bash
|
|
24
|
-
$ npm version [major | minor | patch | ... ]
|
|
25
|
-
```
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
For more arguments see [npm version](https://docs.npmjs.com/cli/version).
|
|
26
|
+
In den ui-kit: yarn link ausführen
|
|
29
27
|
|
|
30
|
-
E.g.:
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
$ npm version patch
|
|
34
|
-
$ git push && git push --tags
|
|
35
|
-
```
|
|
29
|
+
In den um-component: yarn watch ausführen, damit alle Änderungen, die in den ui-kit gemacht werden, live im SD2 angezeigt werden
|
|
36
30
|
|
|
37
|
-
|
|
31
|
+
Sollte yarn watch in den ui-kit nicht laufen, kann das an einer unpassenden Node-Version liegen. Dafür kann der nvm (node-version-manager) installiert werden, mit dem problemlos zwischen Node-Versionen gewechselt werden kann. Aktuell funktioniert node-14.
|
|
38
32
|
|
|
39
|
-
Generate a valid version string with a string tag of your choice.
|
|
40
33
|
|
|
41
|
-
```bash
|
|
42
|
-
npm run --silent getSuccessorVersion <yourChoice>
|
|
43
|
-
> 0.1.11-<yourChoice>.0
|
|
44
|
-
```
|
|
45
|
-
The returned string e.g.: `0.1.11-<yourChoice>.0` is a valid never published version string.
|
|
46
|
-
Now you can update and publish your package with the returned version string:
|
|
47
34
|
|
|
48
|
-
|
|
49
|
-
npm version 0.1.11-<yourChoice>.0
|
|
50
|
-
npm publish --tag=dev
|
|
51
|
-
```
|
|
35
|
+
Im React App Ordner des Ziel-Projekts: yarn link @pinuts/ui-kit ausführen
|
|
52
36
|
|
|
53
|
-
|
|
54
|
-
node package.
|
|
37
|
+
Sollten die Menu-Änderungen nicht direkt sichtbar sein, kann das daran liegen, dass webpack ein gecachtes Bundle verwendet. Dafür einmal den .cache Ordner in app/node_nodules/.cache löschen und die App neu starten.
|
|
55
38
|
|
|
56
|
-
# Release feature branch to branch.
|
|
57
39
|
|
|
58
|
-
For release of your branch. Just push your git branch to the remote repository.
|
|
59
|
-
If your branch `<branch>` has the version `1.2.3`,
|
|
60
|
-
the resulting package version will be `1.2.4-<branch>.0`.
|
|
61
|
-
Which can be referenced in your consumer package like:
|
|
62
40
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
"@pinuts/hbs-uikit": "1.2.4-<branch>.0",
|
|
68
|
-
...
|
|
69
|
-
},
|
|
70
|
-
...
|
|
71
|
-
```
|
|
41
|
+
Bekommt man lokal einen react/jsx-runtime Fehler, ist ein Trick, react/jsx-runtime in die ui-kit in die Peer Dependencies in der package.json zu schreiben:
|
|
42
|
+
!!! ABER VORSICHT: das darf NICHT gepusht werden !!!!
|
|
43
|
+
"react/jsx-runtime": "^18.2.0"
|
|
44
|
+
|
|
72
45
|
|
|
73
|
-
|
|
46
|
+
Projekt unlinken:
|
|
74
47
|
|
|
75
|
-
|
|
48
|
+
Im App-Ordner des Ziel-Projektes : yarn unlink @pinuts/ui-kit
|
|
49
|
+
node-modules löschen
|
|
50
|
+
node-modules mit "yarn install" neu installieren
|