@genesislcap/blank-app-seed 5.22.0 → 5.22.2-prerelease.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/.genx/package.json +1 -1
- package/.genx/versions.json +3 -3
- package/.github/workflows/release.yaml +96 -0
- package/.releaserc +1 -1
- package/CHANGELOG.md +21 -62
- package/bdd-tests/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/bdd-tests/gradle.properties +1 -0
- package/client-tmp/web-components/README.md +0 -40
- package/client-tmp/web-components/package.json +0 -2
- package/client-tmp/web-components/tsconfig.json +0 -16
- package/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/package.json +1 -1
- package/server/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/server/gradle.properties +2 -0
- package/.github/workflows/release.yml +0 -50
package/.genx/package.json
CHANGED
package/.genx/versions.json
CHANGED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main, prerelease]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
environment: deploy
|
|
12
|
+
concurrency:
|
|
13
|
+
group: publish-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: false
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
id-token: write
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
token: ${{secrets.GH_USER_TOKEN}}
|
|
22
|
+
|
|
23
|
+
- name: Set up Node
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: 20
|
|
27
|
+
registry-url: https://registry.npmjs.org
|
|
28
|
+
|
|
29
|
+
- name: Upgrade npm for trusted publishing
|
|
30
|
+
run: npm install -g npm@^11.5.1
|
|
31
|
+
|
|
32
|
+
- name: Release
|
|
33
|
+
env:
|
|
34
|
+
GH_TOKEN: ${{secrets.GH_USER_TOKEN}}
|
|
35
|
+
run: |
|
|
36
|
+
touch /tmp/dist-tag # create a blank file, so it's always there even if we don't do a release
|
|
37
|
+
npm install
|
|
38
|
+
npm run release
|
|
39
|
+
|
|
40
|
+
- name: Set dist tag
|
|
41
|
+
id: dist-tag
|
|
42
|
+
run: |
|
|
43
|
+
NAME=$(node -p "require('./package.json').name")
|
|
44
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
45
|
+
|
|
46
|
+
TAG=$(cat /tmp/dist-tag)
|
|
47
|
+
if [ -z "$TAG" ]; then
|
|
48
|
+
# No release happened this run. Derive the tag the current
|
|
49
|
+
# package.json version would have released under, so a
|
|
50
|
+
# previous run's failed publish can still be retried below.
|
|
51
|
+
#
|
|
52
|
+
# NOTE: this assumes the version's prerelease identifier and the
|
|
53
|
+
# semantic-release channel are the same string. That only holds
|
|
54
|
+
# because .releaserc's "prerelease" branch has no explicit
|
|
55
|
+
# "channel", so semantic-release defaults both the preid and the
|
|
56
|
+
# channel to the branch name. If that branch config ever sets an
|
|
57
|
+
# explicit "channel" or a differing "prerelease" identifier, this
|
|
58
|
+
# derivation will diverge from the real channel and this retry
|
|
59
|
+
# path will publish under the wrong dist-tag.
|
|
60
|
+
case "$VERSION" in
|
|
61
|
+
*-*) TAG="${VERSION#*-}"; TAG="${TAG%%.*}" ;;
|
|
62
|
+
*) TAG="latest" ;;
|
|
63
|
+
esac
|
|
64
|
+
fi
|
|
65
|
+
|
|
66
|
+
# Key the publish decision off the registry rather than off
|
|
67
|
+
# whether *this* run produced a release, so a flaky publish
|
|
68
|
+
# after semantic-release has already committed/tagged is
|
|
69
|
+
# retried on the next run instead of silently skipped.
|
|
70
|
+
# (stderr is captured separately so a stray npm notice on stderr
|
|
71
|
+
# can't masquerade as a real version and suppress the E404 check.)
|
|
72
|
+
if OUT=$(npm view "$NAME@$VERSION" version 2>/tmp/npm-view-err); then
|
|
73
|
+
[ -n "$OUT" ] && NEEDS_PUBLISH=false || NEEDS_PUBLISH=true
|
|
74
|
+
else
|
|
75
|
+
ERR=$(cat /tmp/npm-view-err)
|
|
76
|
+
case "$ERR" in
|
|
77
|
+
*E404*) NEEDS_PUBLISH=true ;;
|
|
78
|
+
*)
|
|
79
|
+
echo "::error::npm view failed unexpectedly: $ERR"
|
|
80
|
+
exit 1
|
|
81
|
+
;;
|
|
82
|
+
esac
|
|
83
|
+
fi
|
|
84
|
+
|
|
85
|
+
echo "TAG=$TAG" >> "$GITHUB_OUTPUT"
|
|
86
|
+
echo "NEEDS_PUBLISH=$NEEDS_PUBLISH" >> "$GITHUB_OUTPUT"
|
|
87
|
+
|
|
88
|
+
- name: Generate .npmignore
|
|
89
|
+
run: cp .gitignore .npmignore && echo '!.gitignore' >> .npmignore && cat .npmignore
|
|
90
|
+
|
|
91
|
+
- name: NPM pack dry-run
|
|
92
|
+
run: npm pack --dry-run
|
|
93
|
+
|
|
94
|
+
- name: Publish
|
|
95
|
+
if: steps.dist-tag.outputs.NEEDS_PUBLISH == 'true'
|
|
96
|
+
run: npm publish --tag "${{ steps.dist-tag.outputs.TAG }}"
|
package/.releaserc
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,86 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [5.22.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
### Features
|
|
7
|
-
|
|
8
|
-
* bump versions.UI to 15.4.1 for the Button appearance type fix GENC-1473 (#611) 001f51d
|
|
9
|
-
|
|
10
|
-
## [5.21.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.21.0...v5.21.1) (2026-07-27)
|
|
3
|
+
## [5.22.2-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.1...v5.22.2-prerelease.1) (2026-08-14)
|
|
11
4
|
|
|
12
5
|
|
|
13
6
|
### Bug Fixes
|
|
14
7
|
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
* address release workflow review comments 67ce8c3
|
|
9
|
+
* address second round of release workflow review comments 4a1c5f5
|
|
10
|
+
* backport main to prerelease [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#599) 841793f
|
|
11
|
+
* backport main to prerelease [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#616) 545eb21
|
|
12
|
+
* Bump BDD framework (bddVersion) from 3.5.30 to 3.5.73 GENC-0 (#609) 4b8bb58
|
|
13
|
+
* default dist-tag to latest when semantic-release channel is null ce5a216
|
|
14
|
+
* merge main into prerelease GENC-1362 (#589) c7eed71
|
|
15
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 0ea031d
|
|
16
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2b31d47
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
* **react:** migrate template routing to foundation-react-utils/router primitives [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#607) 1d8f13e
|
|
18
|
+
## [5.17.3-prerelease.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.3-prerelease.2...v5.17.3-prerelease.3) (2026-08-12)
|
|
24
19
|
|
|
25
20
|
|
|
26
21
|
### Bug Fixes
|
|
27
22
|
|
|
28
|
-
*
|
|
29
|
-
*
|
|
23
|
+
* address release workflow review comments 67ce8c3
|
|
24
|
+
* address second round of release workflow review comments 4a1c5f5
|
|
25
|
+
* default dist-tag to latest when semantic-release channel is null ce5a216
|
|
30
26
|
|
|
31
|
-
## [5.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### Features
|
|
35
|
-
|
|
36
|
-
* generate typed event DETAILS via event-type-codegen GENC-0 236a8f0
|
|
37
|
-
* generate typed event DETAILS via event-type-codegen GENC-0 (#606) 3a36492
|
|
38
|
-
|
|
39
|
-
## [5.19.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.19.1...v5.19.2) (2026-07-21)
|
|
27
|
+
## [5.17.3-prerelease.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.3-prerelease.1...v5.17.3-prerelease.2) (2026-07-27)
|
|
40
28
|
|
|
41
29
|
|
|
42
30
|
### Bug Fixes
|
|
43
31
|
|
|
44
|
-
*
|
|
45
|
-
* replace foundation-login with foundation-auth dependency GENC-0 (#604) 4964197
|
|
46
|
-
|
|
47
|
-
## [5.19.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.19.0...v5.19.1) (2026-07-21)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Bug Fixes
|
|
51
|
-
|
|
52
|
-
* update FUI version GENC-0 62a99e6
|
|
53
|
-
* update FUI version GENC-0 (#603) ccc1cb0
|
|
54
|
-
|
|
55
|
-
## [5.19.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.18.0...v5.19.0) (2026-07-10)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Features
|
|
59
|
-
|
|
60
|
-
* adopt FUI modal theme API for theme selection GENC-0 (#602) 8ee122a
|
|
61
|
-
* apply UX default theme to the seed default GENC-0 e6e68de
|
|
62
|
-
* migrate theming to the FUI modal theme API ([FUI-2575](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/2575)) GENC-0 60fd54a
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### Bug Fixes
|
|
66
|
-
|
|
67
|
-
* align modal theming with FUI review-fixes PR 2384 GENC-0 f326bca
|
|
68
|
-
|
|
69
|
-
## [5.18.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.3...v5.18.0) (2026-07-08)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Features
|
|
73
|
-
|
|
74
|
-
* update FUI version GENC-0 6a22eb7
|
|
75
|
-
* update FUI version GENC-0 (#601) bf73353
|
|
32
|
+
* Bump BDD framework (bddVersion) from 3.5.30 to 3.5.73 GENC-0 (#609) 4b8bb58
|
|
76
33
|
|
|
77
|
-
## [5.17.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.2...v5.17.3) (2026-07-07)
|
|
34
|
+
## [5.17.3-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.2...v5.17.3-prerelease.1) (2026-07-07)
|
|
78
35
|
|
|
79
36
|
|
|
80
37
|
### Bug Fixes
|
|
81
38
|
|
|
82
|
-
*
|
|
83
|
-
*
|
|
39
|
+
* backport main to prerelease [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#599) 841793f
|
|
40
|
+
* merge main into prerelease GENC-1362 (#589) c7eed71
|
|
41
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 0ea031d
|
|
42
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2b31d47
|
|
84
43
|
|
|
85
44
|
## [5.17.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.1...v5.17.2) (2026-07-03)
|
|
86
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -58,43 +58,3 @@ the header shows the light/dark toggle (`src/layouts/default.ts`).
|
|
|
58
58
|
The toggle appears automatically when the theme declares more than one mode (set `showModeToggle` in the theme file to
|
|
59
59
|
override this). Clicking it cycles through the declared modes, and the selected mode is remembered across reloads.
|
|
60
60
|
|
|
61
|
-
## Custom Elements IntelliSense
|
|
62
|
-
|
|
63
|
-
Using any modern editor, you'll receive IntelliSense help while writing TypeScript code while working in the repo. However, you'll also likely be writing a lot of html markup inside of "html\`\`" blocks.
|
|
64
|
-
By default you'll not get any IntelliSense provided in that scenario, but you can enable this while working in the monorepo by leveraging the open source [custom elements lsp](https://www.npmjs.com/package/@genesiscommunitysuccess/custom-elements-lsp) that Genesis provides. This comes pre-configured when you create a seed with `genx`.
|
|
65
|
-
|
|
66
|
-
### VSCode
|
|
67
|
-
|
|
68
|
-
VSCode has full support for the plugin, and is the recommended IDE to use if you're new working with the web code. To enable the LSP you'll need to follow the following steps.
|
|
69
|
-
|
|
70
|
-
1. You need a `.vscode/settings.json` file from the place that you launch your IDE. This has been added to the root of your project automatically, but you'll need to create it in a different place if you want to launch your editor from a different directory. The contents should contain a `typescript.tsdk` key which points to your local typescript install.
|
|
71
|
-
> This is the same file you'll edit if you want to set a specific workspace config. In that case you can have the `typescript.tsdk` key defined, as well as any other config you would like.
|
|
72
|
-
|
|
73
|
-
2. Launch VSCode on the root directory of the project (so in the folder structure you'll have `.vscode` directory from step 1 at the root). You can do this via the GUI or if you've installed VSCode on your path you can navigate to the root and run `code .`.
|
|
74
|
-
|
|
75
|
-
3. Ensuring you have a typescript file open, open the command palette (Ctrl/Cmd + Shift + P) and search for `TypeScript: Select Typescript Version...`
|
|
76
|
-

|
|
77
|
-
> If you don't see this option then ensure you have a `.ts` file open.
|
|
78
|
-
> If you don't see this option, it may be because you need to set VSCode to trust the workspace (so it picks up the config from step 1) when asked.
|
|
79
|
-
|
|
80
|
-
4. Select the workspace version, which should have the path matching the path set in the value of step 1.
|
|
81
|
-

|
|
82
|
-
> If you don't see this option then ensure that you've opened the project in VSCode that has the `.vscode` directory from step 1 at the root.
|
|
83
|
-
|
|
84
|
-
5. That should be it! Please note that you'll not see any diagnostics information after the LSP had loaded until you interact and change the file.
|
|
85
|
-
|
|
86
|
-
### JetBrains
|
|
87
|
-
|
|
88
|
-
This section applies to JetBrains IDEs such as IntelliJ and Webstorm, though the location of the settings menus might slightly differ between versions.
|
|
89
|
-
|
|
90
|
-
**IMPORTANT**: Currently JetBrains does not leverage the TypeScript server for full IntelliSense in their IDEs so our plugin can only offer limited functionality. You should receive full diagnostics support from the plugin, but only limited definition coverage, and no help with autocompletion. Currently we are in discussion with JetBrains to come to a solution about this.
|
|
91
|
-
|
|
92
|
-
1. Launch the IDE.
|
|
93
|
-
|
|
94
|
-
2. Open the preferences menu option from the settings.
|
|
95
|
-

|
|
96
|
-
|
|
97
|
-
3. Navigate to the `Typescript` settings in the `Languages & Frameworks` settings, and ensure that the typescript option is set to the `node_modules/typescript` of your _local_ project, as shown in the image. This may be the default already, in which case you don't need to do anything. You'll also want to enable at least the three options which are enabled in the image below.
|
|
98
|
-

|
|
99
|
-
|
|
100
|
-
4. That should be it! Please note that you'll not see any diagnostics information after the LSP had loaded until you interact and change the file.
|
|
@@ -76,8 +76,6 @@
|
|
|
76
76
|
},
|
|
77
77
|
"prettier": "@genesislcap/prettier-config",
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
|
|
80
|
-
"@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
|
|
81
79
|
"@genesislcap/design-system-configurator": "{{versions.UI}}",
|
|
82
80
|
"@genesislcap/eslint-config": "{{versions.UI}}",
|
|
83
81
|
"@genesislcap/foundation-testing": "{{versions.UI}}",
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"plugins": [
|
|
4
|
-
{
|
|
5
|
-
"name": "@genesiscommunitysuccess/custom-elements-lsp",
|
|
6
|
-
"srcRouteFromTSServer": "../../..",
|
|
7
|
-
"designSystemPrefix": "rapid",
|
|
8
|
-
"parser": {
|
|
9
|
-
"fastEnable": true,
|
|
10
|
-
"timeout": 2000,
|
|
11
|
-
"dependencies": [
|
|
12
|
-
"node_modules/**/custom-elements.json",
|
|
13
|
-
"!**/@custom-elements-manifest/**/*"
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
"plugins": ["@genesiscommunitysuccess/cep-fast-plugin"]
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
3
|
"declarationDir": "./dist/dts",
|
|
20
4
|
"outDir": "./dist/esm",
|
|
21
5
|
"rootDir": ".",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/server/gradle.properties
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches: [main, prerelease]
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
environment: deploy
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v4
|
|
14
|
-
with:
|
|
15
|
-
token: ${{secrets.GH_USER_TOKEN}}
|
|
16
|
-
|
|
17
|
-
- name: Set up Node
|
|
18
|
-
uses: actions/setup-node@v4
|
|
19
|
-
with:
|
|
20
|
-
node-version: 22
|
|
21
|
-
|
|
22
|
-
- name: Release
|
|
23
|
-
env:
|
|
24
|
-
GH_TOKEN: ${{secrets.GH_USER_TOKEN}}
|
|
25
|
-
run: |
|
|
26
|
-
touch /tmp/dist-tag # create a blank file, so it's always there even if we don't do a release
|
|
27
|
-
npm install
|
|
28
|
-
npm run release
|
|
29
|
-
|
|
30
|
-
- name: Set dist tag
|
|
31
|
-
id: dist-tag
|
|
32
|
-
run: |
|
|
33
|
-
{
|
|
34
|
-
echo 'DIST_TAG<<EOF'
|
|
35
|
-
cat /tmp/dist-tag
|
|
36
|
-
echo EOF
|
|
37
|
-
} >> "$GITHUB_OUTPUT"
|
|
38
|
-
|
|
39
|
-
- name: Generate .npmignore
|
|
40
|
-
run: cp .gitignore .npmignore && echo '!.gitignore' >> .npmignore && cat .npmignore
|
|
41
|
-
|
|
42
|
-
- name: NPM pack dry-run
|
|
43
|
-
run: npm pack -dry
|
|
44
|
-
|
|
45
|
-
- name: Publish
|
|
46
|
-
uses: JS-DevTools/npm-publish@v3
|
|
47
|
-
with:
|
|
48
|
-
token: ${{secrets.NPM_TOKEN}}
|
|
49
|
-
tag: ${{ steps.dist-tag.outputs.DIST_TAG }}
|
|
50
|
-
|