cabloy 5.1.181 → 5.1.183
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/.cabloy-version +1 -1
- package/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/test/{{resourceName}}.test.ts_ +7 -6
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-ssr/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-ssr/src/lib/beanSsrSiteBase.ts +3 -1
- package/vona/src/suite-vendor/a-cabloy/package.json +1 -1
package/.cabloy-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.1.
|
|
1
|
+
5.1.183
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.183
|
|
4
|
+
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
- Update the Stripe sandbox runbook documentation.
|
|
8
|
+
- Update the SSR site base configuration.
|
|
9
|
+
|
|
10
|
+
## 5.1.182
|
|
11
|
+
|
|
12
|
+
### Improvements
|
|
13
|
+
|
|
14
|
+
- Update the `{{resourceName}}.test.ts_` test template.
|
|
15
|
+
|
|
3
16
|
## 5.1.181
|
|
4
17
|
|
|
5
18
|
### Improvements
|
package/package.json
CHANGED
|
@@ -25,13 +25,14 @@ describe('<%=argv.resourceName%>.test.ts', { concurrency: false }, () => {
|
|
|
25
25
|
'<%=argv.moduleInfo.relativeName%>::<%=argv.resourceNameCapitalize%>Controller',
|
|
26
26
|
);
|
|
27
27
|
|
|
28
|
+
const moduleApiPath = app.util.combineApiPath('<%=argv.moduleActionPathRaw%>', '', true, true);
|
|
28
29
|
const expectedSummaries = {
|
|
29
|
-
create: ['post',
|
|
30
|
-
select: ['get',
|
|
31
|
-
view: ['get',
|
|
32
|
-
update: ['patch',
|
|
33
|
-
delete: ['delete',
|
|
34
|
-
deleteBulk: ['post',
|
|
30
|
+
create: ['post', moduleApiPath, 'Create <%=argv.resourceNameCapitalize%>'],
|
|
31
|
+
select: ['get', moduleApiPath, 'Query <%=argv.resourceNameCapitalize%> List'],
|
|
32
|
+
view: ['get', `${moduleApiPath}/{id}`, 'View <%=argv.resourceNameCapitalize%>'],
|
|
33
|
+
update: ['patch', `${moduleApiPath}/{id}`, 'Update <%=argv.resourceNameCapitalize%>'],
|
|
34
|
+
delete: ['delete', `${moduleApiPath}/{id}`, 'Delete <%=argv.resourceNameCapitalize%>'],
|
|
35
|
+
deleteBulk: ['post', `${moduleApiPath}/bulk/delete`, 'Bulk Delete <%=argv.resourceNameCapitalize%>'],
|
|
35
36
|
} as const;
|
|
36
37
|
for (const [action, [method, path, summary]] of Object.entries(expectedSummaries)) {
|
|
37
38
|
const apiJson = await app.bean.openapi.generateJsonOfControllerAction(
|
|
@@ -185,7 +185,9 @@ export class BeanSsrSiteBase<
|
|
|
185
185
|
const onionOptions = this.$onionOptions as IDecoratorSsrSiteOptions;
|
|
186
186
|
const SSR_WITH_VONA = 'true';
|
|
187
187
|
const META_MODE: ZovaMetaMode =
|
|
188
|
-
|
|
188
|
+
this.app.meta.env.META_MODE === 'dev' || this.app.meta.env.DEMONSTRATION_ENABLED === 'true'
|
|
189
|
+
? 'development'
|
|
190
|
+
: 'production';
|
|
189
191
|
const baseUrl = `${this.app.util.protocol}://${this.app.util.host}`;
|
|
190
192
|
this._siteOptions = deepExtend(
|
|
191
193
|
{
|