jattac.libs.web.responsive-table 0.2.2 → 0.2.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 +626 -581
- package/dist/UI/ResponsiveTable.d.ts +4 -0
- package/dist/index.js +20 -3
- package/dist/index.js.map +1 -1
- package/gemini/project_memos.md +3 -0
- package/gemini/release_git_steps.md +79 -79
- package/package.json +60 -60
- package/src/Styles/ResponsiveTable.module.css +260 -253
- package/src/UI/ResponsiveTable.tsx +552 -532
- package/gemini/commit_message.txt +0 -1
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
## Release Git Steps
|
|
2
|
-
|
|
3
|
-
This document outlines the sequence of Git commands to perform at the end of every release cycle to ensure the `master` branch is up-to-date, tagged, and all changes are pushed to the remote repository.
|
|
4
|
-
|
|
5
|
-
**Prerequisites:**
|
|
6
|
-
- Ensure all development work for the release is complete and committed to the `develop` branch.
|
|
7
|
-
- Ensure you are on the `develop` branch (`git checkout develop`).
|
|
8
|
-
|
|
9
|
-
**Steps:**
|
|
10
|
-
|
|
11
|
-
1. **Stage all changes (if any uncommitted changes exist on `develop`):**
|
|
12
|
-
```bash
|
|
13
|
-
git add .
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
2. **Commit changes on `develop` (if not already done):**
|
|
17
|
-
```bash
|
|
18
|
-
git commit -m "feat(release): Release vX.Y.Z
|
|
19
|
-
|
|
20
|
-
Summarize the key changes, new features, bug fixes, and any breaking changes
|
|
21
|
-
introduced in this release. This message should provide a high-level overview
|
|
22
|
-
of what's new since the last release.
|
|
23
|
-
|
|
24
|
-
Example:
|
|
25
|
-
- Introduced extensible plugin system with Filter and Infinite Scroll plugins.
|
|
26
|
-
- Refactored animation props into a dedicated object.
|
|
27
|
-
- Added virtualized scrolling for large datasets.
|
|
28
|
-
- Updated dependencies."
|
|
29
|
-
# Or, if you have a multi-line message, use a temporary file:
|
|
30
|
-
# echo "Your detailed commit message" > commit_message.txt
|
|
31
|
-
# git commit -F commit_message.txt
|
|
32
|
-
```
|
|
33
|
-
*(Note: We assume the main feature/bugfix commits are already on `develop`.)*
|
|
34
|
-
|
|
35
|
-
3. **Switch to the `master` branch:**
|
|
36
|
-
```bash
|
|
37
|
-
git checkout master
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
4. **Merge `develop` into `master`:**
|
|
41
|
-
```bash
|
|
42
|
-
git merge develop
|
|
43
|
-
```
|
|
44
|
-
*This will bring all the latest changes from `develop` into `master`.*
|
|
45
|
-
|
|
46
|
-
5. **Get the current version from `package.json`:**
|
|
47
|
-
```bash
|
|
48
|
-
# Manually read the "version" field from package.json
|
|
49
|
-
# Example: "version": "1.0.0"
|
|
50
|
-
# Let's assume the version is X.Y.Z
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
6. **Create a new Git tag for the release:**
|
|
54
|
-
```bash
|
|
55
|
-
git tag vX.Y.Z
|
|
56
|
-
```
|
|
57
|
-
*Replace `X.Y.Z` with the actual version number obtained from `package.json`.*
|
|
58
|
-
|
|
59
|
-
7. **Push the `master` branch and all tags to the remote repository:**
|
|
60
|
-
```bash
|
|
61
|
-
git push origin master --tags
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
8. **Switch back to the `develop` branch:**
|
|
65
|
-
```bash
|
|
66
|
-
git checkout develop
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
9. **Push the `develop` branch to the remote repository (to ensure it's up-to-date after the merge):**
|
|
70
|
-
```bash
|
|
71
|
-
git push origin develop
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
This sequence ensures a clean release process, updating `master`, creating a version tag, and synchronizing both branches with the remote.
|
|
75
|
-
|
|
76
|
-
10. **Delete temporary files:**
|
|
77
|
-
```bash
|
|
78
|
-
del commit_message.txt
|
|
79
|
-
```
|
|
1
|
+
## Release Git Steps
|
|
2
|
+
|
|
3
|
+
This document outlines the sequence of Git commands to perform at the end of every release cycle to ensure the `master` branch is up-to-date, tagged, and all changes are pushed to the remote repository.
|
|
4
|
+
|
|
5
|
+
**Prerequisites:**
|
|
6
|
+
- Ensure all development work for the release is complete and committed to the `develop` branch.
|
|
7
|
+
- Ensure you are on the `develop` branch (`git checkout develop`).
|
|
8
|
+
|
|
9
|
+
**Steps:**
|
|
10
|
+
|
|
11
|
+
1. **Stage all changes (if any uncommitted changes exist on `develop`):**
|
|
12
|
+
```bash
|
|
13
|
+
git add .
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
2. **Commit changes on `develop` (if not already done):**
|
|
17
|
+
```bash
|
|
18
|
+
git commit -m "feat(release): Release vX.Y.Z
|
|
19
|
+
|
|
20
|
+
Summarize the key changes, new features, bug fixes, and any breaking changes
|
|
21
|
+
introduced in this release. This message should provide a high-level overview
|
|
22
|
+
of what's new since the last release.
|
|
23
|
+
|
|
24
|
+
Example:
|
|
25
|
+
- Introduced extensible plugin system with Filter and Infinite Scroll plugins.
|
|
26
|
+
- Refactored animation props into a dedicated object.
|
|
27
|
+
- Added virtualized scrolling for large datasets.
|
|
28
|
+
- Updated dependencies."
|
|
29
|
+
# Or, if you have a multi-line message, use a temporary file:
|
|
30
|
+
# echo "Your detailed commit message" > commit_message.txt
|
|
31
|
+
# git commit -F commit_message.txt
|
|
32
|
+
```
|
|
33
|
+
*(Note: We assume the main feature/bugfix commits are already on `develop`.)*
|
|
34
|
+
|
|
35
|
+
3. **Switch to the `master` branch:**
|
|
36
|
+
```bash
|
|
37
|
+
git checkout master
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
4. **Merge `develop` into `master`:**
|
|
41
|
+
```bash
|
|
42
|
+
git merge develop
|
|
43
|
+
```
|
|
44
|
+
*This will bring all the latest changes from `develop` into `master`.*
|
|
45
|
+
|
|
46
|
+
5. **Get the current version from `package.json`:**
|
|
47
|
+
```bash
|
|
48
|
+
# Manually read the "version" field from package.json
|
|
49
|
+
# Example: "version": "1.0.0"
|
|
50
|
+
# Let's assume the version is X.Y.Z
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
6. **Create a new Git tag for the release:**
|
|
54
|
+
```bash
|
|
55
|
+
git tag vX.Y.Z
|
|
56
|
+
```
|
|
57
|
+
*Replace `X.Y.Z` with the actual version number obtained from `package.json`.*
|
|
58
|
+
|
|
59
|
+
7. **Push the `master` branch and all tags to the remote repository:**
|
|
60
|
+
```bash
|
|
61
|
+
git push origin master --tags
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
8. **Switch back to the `develop` branch:**
|
|
65
|
+
```bash
|
|
66
|
+
git checkout develop
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
9. **Push the `develop` branch to the remote repository (to ensure it's up-to-date after the merge):**
|
|
70
|
+
```bash
|
|
71
|
+
git push origin develop
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
This sequence ensures a clean release process, updating `master`, creating a version tag, and synchronizing both branches with the remote.
|
|
75
|
+
|
|
76
|
+
10. **Delete temporary files:**
|
|
77
|
+
```bash
|
|
78
|
+
del commit_message.txt
|
|
79
|
+
```
|
|
80
80
|
*Ensure to delete any temporary files created during the release process.*
|
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jattac.libs.web.responsive-table",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.es.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "rollup -c",
|
|
10
|
-
"lint": "eslint './{src,app}/**/*.{ts,tsx}'",
|
|
11
|
-
"size": "size-limit",
|
|
12
|
-
"prepare": "npm run build"
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"react",
|
|
16
|
-
"typescript"
|
|
17
|
-
],
|
|
18
|
-
"author": "Nyingi Maina",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"peerDependencies": {
|
|
21
|
-
"react": ">=18.2.0",
|
|
22
|
-
"react-dom": ">=18.2.0",
|
|
23
|
-
"typescript": ">=3.7.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
27
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
28
|
-
"@rollup/plugin-typescript": "^11.1.5",
|
|
29
|
-
"@size-limit/preset-small-lib": "^10.0.1",
|
|
30
|
-
"@testing-library/react": "^14.0.0",
|
|
31
|
-
"@types/react": "^18.2.33",
|
|
32
|
-
"@types/react-dom": "^18.2.14",
|
|
33
|
-
"@types/react-window": "^1.8.8",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
35
|
-
"@typescript-eslint/parser": "^6.9.1",
|
|
36
|
-
"eslint": "^8.52.0",
|
|
37
|
-
"eslint-config-prettier": "^9.0.0",
|
|
38
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
39
|
-
"eslint-plugin-react": "^7.33.2",
|
|
40
|
-
"identity-obj-proxy": "^3.0.0",
|
|
41
|
-
"npm": "^10.2.2",
|
|
42
|
-
"postcss": "^8.4.31",
|
|
43
|
-
"prettier": "^3.0.3",
|
|
44
|
-
"react": "^18.2.0",
|
|
45
|
-
"react-dom": "^18.2.0",
|
|
46
|
-
"rollup": "^4.2.0",
|
|
47
|
-
"rollup-plugin-copy": "^3.5.0",
|
|
48
|
-
"rollup-plugin-delete": "^2.0.0",
|
|
49
|
-
"rollup-plugin-generate-package-json": "^3.2.0",
|
|
50
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
51
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
52
|
-
"size-limit": "^10.0.1",
|
|
53
|
-
"typescript": "^5.2.2"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
57
|
-
"react-window": "^1.8.11",
|
|
58
|
-
"tslib": "^2.6.2"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "jattac.libs.web.responsive-table",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.es.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "rollup -c",
|
|
10
|
+
"lint": "eslint './{src,app}/**/*.{ts,tsx}'",
|
|
11
|
+
"size": "size-limit",
|
|
12
|
+
"prepare": "npm run build"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"react",
|
|
16
|
+
"typescript"
|
|
17
|
+
],
|
|
18
|
+
"author": "Nyingi Maina",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"react": ">=18.2.0",
|
|
22
|
+
"react-dom": ">=18.2.0",
|
|
23
|
+
"typescript": ">=3.7.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
27
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
28
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
29
|
+
"@size-limit/preset-small-lib": "^10.0.1",
|
|
30
|
+
"@testing-library/react": "^14.0.0",
|
|
31
|
+
"@types/react": "^18.2.33",
|
|
32
|
+
"@types/react-dom": "^18.2.14",
|
|
33
|
+
"@types/react-window": "^1.8.8",
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
35
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
36
|
+
"eslint": "^8.52.0",
|
|
37
|
+
"eslint-config-prettier": "^9.0.0",
|
|
38
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
39
|
+
"eslint-plugin-react": "^7.33.2",
|
|
40
|
+
"identity-obj-proxy": "^3.0.0",
|
|
41
|
+
"npm": "^10.2.2",
|
|
42
|
+
"postcss": "^8.4.31",
|
|
43
|
+
"prettier": "^3.0.3",
|
|
44
|
+
"react": "^18.2.0",
|
|
45
|
+
"react-dom": "^18.2.0",
|
|
46
|
+
"rollup": "^4.2.0",
|
|
47
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
48
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
49
|
+
"rollup-plugin-generate-package-json": "^3.2.0",
|
|
50
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
51
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
52
|
+
"size-limit": "^10.0.1",
|
|
53
|
+
"typescript": "^5.2.2"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
57
|
+
"react-window": "^1.8.11",
|
|
58
|
+
"tslib": "^2.6.2"
|
|
59
|
+
}
|
|
60
|
+
}
|