@dexteel/mesf-core 4.15.0 → 4.16.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.
|
@@ -1,24 +1,67 @@
|
|
|
1
|
+
name: Release Please
|
|
2
|
+
|
|
1
3
|
on:
|
|
2
4
|
push:
|
|
3
5
|
branches:
|
|
4
6
|
- master
|
|
5
7
|
|
|
6
|
-
permissions:
|
|
7
|
-
contents: write
|
|
8
|
-
pull-requests: write
|
|
9
|
-
|
|
10
|
-
name: release-please
|
|
11
|
-
|
|
12
8
|
jobs:
|
|
13
9
|
release-please:
|
|
14
10
|
runs-on: ubuntu-latest
|
|
15
11
|
steps:
|
|
16
12
|
- uses: googleapis/release-please-action@v4
|
|
13
|
+
id: release
|
|
14
|
+
with:
|
|
15
|
+
command: manifest
|
|
16
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
17
|
+
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
20
|
+
|
|
21
|
+
- name: Setup Node.js
|
|
22
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
23
|
+
uses: actions/setup-node@v4
|
|
24
|
+
with:
|
|
25
|
+
node-version: 'lts/hydrogen' # Adjust this to your Node.js version
|
|
26
|
+
|
|
27
|
+
- name: Update Node.js package versions
|
|
28
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
29
|
+
run: |
|
|
30
|
+
version="${{ steps.release.outputs.version }}"
|
|
31
|
+
find . -name "package.json" -type f -print0 | while IFS= read -r -d '' file; do
|
|
32
|
+
jq ".version = \"${version}\"" "$file" > temp.json && mv temp.json "$file"
|
|
33
|
+
done
|
|
34
|
+
|
|
35
|
+
- name: Delete and regenerate package-lock.json
|
|
36
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
37
|
+
run: |
|
|
38
|
+
find . -name "package-lock.json" -type f -delete
|
|
39
|
+
npm install --package-lock-only
|
|
40
|
+
|
|
41
|
+
- name: Update CHANGELOG.md
|
|
42
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
43
|
+
run: |
|
|
44
|
+
version="${{ steps.release.outputs.version }}"
|
|
45
|
+
date=$(date +"%Y-%m-%d")
|
|
46
|
+
echo -e "# Changelog\n\n## [${version}] - ${date}\n\n${{ steps.release.outputs.changelog }}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
|
|
47
|
+
|
|
48
|
+
- name: Commit changes
|
|
49
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
50
|
+
run: |
|
|
51
|
+
git config --local user.email "action@github.com"
|
|
52
|
+
git config --local user.name "GitHub Action"
|
|
53
|
+
git add .
|
|
54
|
+
git commit -m "chore: update versions and CHANGELOG for ${{ steps.release.outputs.version }}" || echo "No changes to commit"
|
|
55
|
+
git push
|
|
56
|
+
|
|
57
|
+
- name: Create Release
|
|
58
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
59
|
+
uses: actions/create-release@v1
|
|
60
|
+
env:
|
|
61
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
17
62
|
with:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# for more options
|
|
24
|
-
release-type: simple
|
|
63
|
+
tag_name: ${{ steps.release.outputs.tag_name }}
|
|
64
|
+
release_name: Release ${{ steps.release.outputs.version }}
|
|
65
|
+
body: ${{ steps.release.outputs.changelog }}
|
|
66
|
+
draft: false
|
|
67
|
+
prerelease: false
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,54 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [4.16.1] - 2024-07-08
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Changelog
|
|
8
|
+
|
|
9
|
+
## [4.16.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.16.0...@dexteel/mesf-core-v4.16.1) (2024-07-08)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* fire action in gh ([8af76ad](https://github.com/dexteel/mesf-core-frontend/commit/8af76adee23e4572cdfd5fe1d606afe2667bcd20))
|
|
15
|
+
* **Shift Navigator:** use router optionally ([395ed7d](https://github.com/dexteel/mesf-core-frontend/commit/395ed7d93188c3794679df0d55a81e85d3798b50))
|
|
16
|
+
|
|
17
|
+
## [4.16.0] - 2024-07-08
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
1
21
|
# Changelog
|
|
2
22
|
|
|
3
23
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
24
|
|
|
25
|
+
## [4.16.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.15.0...@dexteel/mesf-core-v4.16.0) (2024-07-08)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* add new button to navigate to current date ([b4e8577](https://github.com/dexteel/mesf-core-frontend/commit/b4e8577f3a463291551f3b57db5e20437e18f993))
|
|
31
|
+
* **devops:** auto change package.json after release ([ad69516](https://github.com/dexteel/mesf-core-frontend/commit/ad695164dcd91335169d98644b99b2482687b4c6))
|
|
32
|
+
* Implement TimeService and timezone from server ([8861ab6](https://github.com/dexteel/mesf-core-frontend/commit/8861ab619c10426e85b4671819bfb74b303a4f8f))
|
|
33
|
+
* **Shift Navigator:** Add shift navigator to mesf core ([ead49a0](https://github.com/dexteel/mesf-core-frontend/commit/ead49a03fa2cd16bf823fde00a4355c8987a02ea))
|
|
34
|
+
* **Time Zones:** expose timezone from TimeService ([a3ca37c](https://github.com/dexteel/mesf-core-frontend/commit/a3ca37c12f7cadf5357de9eeba30caa59d6071a4))
|
|
35
|
+
* **TimeService:** add moment instance to mesf ([11bff49](https://github.com/dexteel/mesf-core-frontend/commit/11bff49a59ba714fa3d6a7541203df549122d6be))
|
|
36
|
+
* **TreePickerControl:** Add ability to display asset/drawings relationship and enable the selection of multiple nodes ([1cec643](https://github.com/dexteel/mesf-core-frontend/commit/1cec643d17959cd776691c927738dbe2d8023b83))
|
|
37
|
+
* Use Shift Navigator ([a24b84e](https://github.com/dexteel/mesf-core-frontend/commit/a24b84ee97a9e2f7e2507b276891dc599880080e))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **Assets Tree:** Fix bug when assets have parent assets with IsActive as false ([b27651e](https://github.com/dexteel/mesf-core-frontend/commit/b27651e6b6777b140fd0b0738408bfcc3fc42f14))
|
|
43
|
+
* **Assets:** Remove unused comment ([f6b6aea](https://github.com/dexteel/mesf-core-frontend/commit/f6b6aea2c65ae21274be9b5853eda995523c82f0))
|
|
44
|
+
* **devops:** change from main to master in gh actions ([5d58452](https://github.com/dexteel/mesf-core-frontend/commit/5d584522a2902d04be1784896abcb88bd4f8a2df))
|
|
45
|
+
* getIhPath ([0afb5e6](https://github.com/dexteel/mesf-core-frontend/commit/0afb5e6fd9df71cb8e1de43c1c08bb610cefe3ff))
|
|
46
|
+
* **Router:** fix Routes ([33e95f0](https://github.com/dexteel/mesf-core-frontend/commit/33e95f08b719f73ee0385dbf2c82829276e7aa06))
|
|
47
|
+
* **TimeService:** Add some try catches and handle utc datetime strings ([b073cd1](https://github.com/dexteel/mesf-core-frontend/commit/b073cd1e1fc3dcceed7a2155ab1a33e21e962805))
|
|
48
|
+
* **Trending:** Inputs of table fixed. Debounce added to inputs. Scales now allow negative numbers ([5eb394e](https://github.com/dexteel/mesf-core-frontend/commit/5eb394e903b51502ee2ce90f738a6ec5b8a081e3))
|
|
49
|
+
* **trending:** Load view bug when you add and remove a view tag ([eb8a155](https://github.com/dexteel/mesf-core-frontend/commit/eb8a1553cad19fa9be106716f8958728fc1507dc))
|
|
50
|
+
* **trending:** Load view bug when you add and remove a view tag ([0b3eb95](https://github.com/dexteel/mesf-core-frontend/commit/0b3eb952e006f8ea5942bb0aa17d0913f75c0ff8))
|
|
51
|
+
|
|
5
52
|
## [4.15.0](https://github.com/dexteel/mesf-core-frontend/compare/v4.14.0...v4.15.0) (2024-07-08)
|
|
6
53
|
|
|
7
54
|
|
package/dist/index.esm.js
CHANGED
|
@@ -7753,7 +7753,9 @@ var ShiftDayNavigatorControl = function (props) {
|
|
|
7753
7753
|
window.history.replaceState(null, "", "/".concat(paths[1]) + "/".concat(shiftId));
|
|
7754
7754
|
};
|
|
7755
7755
|
if (shiftInfo !== null && shiftInfo.CurrentShiftId !== null) {
|
|
7756
|
-
|
|
7756
|
+
if (props.useRouter) {
|
|
7757
|
+
updateHistory(shiftInfo.CurrentShiftId.toString());
|
|
7758
|
+
}
|
|
7757
7759
|
}
|
|
7758
7760
|
useEffect(function () {
|
|
7759
7761
|
if (firstRender.current) {
|
|
@@ -11622,7 +11624,7 @@ var MESFMainRouter = function () {
|
|
|
11622
11624
|
React__default.createElement(Route, { path: "/account", element: React__default.createElement(Account, null) }),
|
|
11623
11625
|
React__default.createElement(Route, { path: "/trendings", element: React__default.createElement(index, null) }),
|
|
11624
11626
|
React__default.createElement(Route, { path: "/home", element: React__default.createElement(Home, null) })),
|
|
11625
|
-
CustomRoutes));
|
|
11627
|
+
React__default.createElement(CustomRoutes, null)));
|
|
11626
11628
|
};
|
|
11627
11629
|
|
|
11628
11630
|
var MESFMainContainer = function () { return (React__default.createElement("div", { id: "mainSection", className: "container-fluid container-fluid-main" },
|