react-session.manager.sk 2.1.8 → 2.2.1
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 +0 -61
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,64 +30,3 @@ npm install react-session.manager.sk
|
|
|
30
30
|
<App />
|
|
31
31
|
</SessionManagerProvider>
|
|
32
32
|
```
|
|
33
|
-
|
|
34
|
-
## Testing using another project
|
|
35
|
-
|
|
36
|
-
### Linking react and react-dom
|
|
37
|
-
|
|
38
|
-
Link react and react-dom to the project you want to test with.
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
cd node_modules/react
|
|
42
|
-
npm link
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
cd node_modules/react-dom
|
|
47
|
-
npm link
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Run the following in package root directory
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
npm link react react-dom
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Development & Release
|
|
57
|
-
|
|
58
|
-
### Making Releases
|
|
59
|
-
|
|
60
|
-
This project uses automated releases via GitHub Actions. To create a new release:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
# Patch release
|
|
64
|
-
npm run release:patch
|
|
65
|
-
|
|
66
|
-
# Minor release
|
|
67
|
-
npm run release:minor
|
|
68
|
-
|
|
69
|
-
# Major release
|
|
70
|
-
npm run release:major
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
**Option 3: Manual version management**
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
# Update version and create git tag
|
|
77
|
-
npm version patch # or minor/major
|
|
78
|
-
git push --follow-tags
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### Release Process
|
|
82
|
-
|
|
83
|
-
1. The script/command updates `package.json` version
|
|
84
|
-
2. Creates a git tag (e.g., `v2.0.8`)
|
|
85
|
-
3. Pushes the tag to GitHub
|
|
86
|
-
4. GitHub Actions automatically:
|
|
87
|
-
- Builds the project
|
|
88
|
-
- Creates a GitHub release
|
|
89
|
-
- Publishes to npm
|
|
90
|
-
|
|
91
|
-
### Changelog
|
|
92
|
-
|
|
93
|
-
All changes are documented in [CHANGELOG.md](./CHANGELOG.md). Please update it before making releases.
|