@genesislcap/blank-app-seed 3.4.1 → 3.5.0
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/prompts/server.js +9 -0
- package/.genx/prompts.js +4 -3
- package/.genx/versions.json +2 -2
- package/.github/CODEOWNERS +1 -1
- package/CHANGELOG.md +14 -0
- package/README.md +1 -0
- package/client/index.html +1 -1
- package/client/src/routes/config.ts +1 -1
- package/client/test/e2e/flows/001-protected.e2e.ts +1 -1
- package/package.json +1 -1
package/.genx/package.json
CHANGED
package/.genx/prompts/server.js
CHANGED
|
@@ -5,11 +5,19 @@ const parsecsv = parseJSONArgument('csv', []);
|
|
|
5
5
|
|
|
6
6
|
module.exports = async (inquirer, prevAns = {}) => {
|
|
7
7
|
const {
|
|
8
|
+
description = prevAns.description,
|
|
8
9
|
groupId = prevAns.groupId,
|
|
9
10
|
applicationVersion = prevAns.applicationVersion,
|
|
10
11
|
enableDeployPlugin = prevAns.enableDeployPlugin,
|
|
11
12
|
csv = prevAns.csv,
|
|
12
13
|
} = await inquirer.prompt([
|
|
14
|
+
{
|
|
15
|
+
name: 'description',
|
|
16
|
+
type: 'input',
|
|
17
|
+
message: 'Project Description',
|
|
18
|
+
when: !prevAns.description,
|
|
19
|
+
default:'\n'
|
|
20
|
+
},
|
|
13
21
|
{
|
|
14
22
|
name: 'groupId',
|
|
15
23
|
type: 'input',
|
|
@@ -42,6 +50,7 @@ module.exports = async (inquirer, prevAns = {}) => {
|
|
|
42
50
|
]);
|
|
43
51
|
|
|
44
52
|
return {
|
|
53
|
+
description,
|
|
45
54
|
groupId,
|
|
46
55
|
applicationVersion,
|
|
47
56
|
enableDeployPlugin,
|
package/.genx/prompts.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
const apiPrompts = require('./prompts/api');
|
|
2
2
|
const genesisServerPrompts = require('./prompts/server');
|
|
3
3
|
const uiPrompts = require('./prompts/ui');
|
|
4
|
-
const {description, license, name, version} = require('./package.json');
|
|
4
|
+
const {description: packageDescription, license, name, version} = require('./package.json');
|
|
5
5
|
|
|
6
6
|
module.exports = async (inquirer, prevAns = {}) => {
|
|
7
7
|
console.log(`
|
|
8
8
|
Thanks for choosing this seed:
|
|
9
9
|
Name: ${name}
|
|
10
|
-
Description: ${
|
|
10
|
+
Description: ${packageDescription}
|
|
11
11
|
Version: ${version}
|
|
12
12
|
License: ${license}`);
|
|
13
13
|
|
|
14
14
|
const {apiHost, enableSSO} = await apiPrompts(inquirer, prevAns)
|
|
15
|
-
const {groupId, applicationVersion, enableDeployPlugin, csv} = await genesisServerPrompts(inquirer, prevAns);
|
|
15
|
+
const {description, groupId, applicationVersion, enableDeployPlugin, csv} = await genesisServerPrompts(inquirer, prevAns);
|
|
16
16
|
const {routes, ui} = await uiPrompts(inquirer, prevAns);
|
|
17
17
|
|
|
18
18
|
return {
|
|
19
19
|
apiHost,
|
|
20
20
|
routes,
|
|
21
21
|
enableSSO,
|
|
22
|
+
description,
|
|
22
23
|
groupId,
|
|
23
24
|
applicationVersion,
|
|
24
25
|
enableDeployPlugin,
|
package/.genx/versions.json
CHANGED
package/.github/CODEOWNERS
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# for reference see https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#example-of-a-codeowners-file
|
|
2
2
|
|
|
3
|
-
* @cistov @derekdon @MrBrunoWolff @skawian @kievitsp @jacinpoz @khouari1 @rafaelnferreira
|
|
3
|
+
* @cistov @derekdon @MrBrunoWolff @skawian @kievitsp @jacinpoz @khouari1 @rafaelnferreira @matteematt
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.5.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.4.2...v3.5.0) (2024-04-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* added project description to README. (GENC-356) (#191) b5fd5df
|
|
9
|
+
|
|
10
|
+
## [3.4.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.4.1...v3.4.2) (2024-04-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* default HTML page title to app name GENC-375 (#197) 5134fd4
|
|
16
|
+
|
|
3
17
|
## [3.4.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.4.0...v3.4.1) (2024-04-29)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
package/client/index.html
CHANGED
|
@@ -9,7 +9,7 @@ https://handlebarsjs.com/
|
|
|
9
9
|
}}
|
|
10
10
|
<head>
|
|
11
11
|
<meta charset="utf-8"/>
|
|
12
|
-
<title
|
|
12
|
+
<title>{{capitalCase appName}}</title>
|
|
13
13
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
14
14
|
{{#if enableSSO}}
|
|
15
15
|
<script src="/initSSO.js"></script>
|
|
@@ -39,7 +39,7 @@ export class MainRouterConfig extends FoundationRouterConfiguration<LoginSetting
|
|
|
39
39
|
|
|
40
40
|
async configure() {
|
|
41
41
|
this.configureAnalytics();
|
|
42
|
-
this.title = '
|
|
42
|
+
this.title = '{{capitalCase appName}}';
|
|
43
43
|
this.defaultLayout = defaultLayout;
|
|
44
44
|
|
|
45
45
|
const authPath = 'login';
|
|
@@ -2,5 +2,5 @@ import { expect } from '@genesislcap/foundation-testing/e2e';
|
|
|
2
2
|
import { test } from '../fixture';
|
|
3
3
|
|
|
4
4
|
test('expected page title', async ({ protectedPage, page }) => {
|
|
5
|
-
await expect(page).toHaveTitle(/
|
|
5
|
+
await expect(page).toHaveTitle(/Testapp - Login - Login/);
|
|
6
6
|
});
|