@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 CHANGED
@@ -18,58 +18,33 @@ $ yarn start
18
18
  $ npm run build
19
19
  ```
20
20
 
21
- # Release to production.
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
- This will increase the package version number in `package.json`, refresh the dist files and tags the resulting state with a commit tag.
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
- ```bash
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
- # Publish a local state to npm registry.
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
- ```bash
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
- Afterwards the package can be referenced by the version string `0.1.11-<yourChoice>.0` in your consuming
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
- ```json
64
- ...
65
- "dependencies": {
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
- **Pay Attention the patch part of the version is increased by one.**
46
+ Projekt unlinken:
74
47
 
75
- (see also [puppetmaster](https://npm-registry.intra.pinuts.de/-/web/detail/@pinuts/hbs-uikit)
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