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 CHANGED
@@ -1 +1 @@
1
- 5.1.181
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cabloy",
3
- "version": "5.1.181",
3
+ "version": "5.1.183",
4
4
  "gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
5
5
  "description": "A Node.js fullstack framework",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-cli",
3
- "version": "1.1.152",
3
+ "version": "1.1.153",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "vona cli",
6
6
  "keywords": [
@@ -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', '<%=argv.moduleActionPathRaw%>', 'Create <%=argv.resourceNameCapitalize%>'],
30
- select: ['get', '<%=argv.moduleActionPathRaw%>', 'Query <%=argv.resourceNameCapitalize%> List'],
31
- view: ['get', '<%=argv.moduleActionPathRaw%>/{id}', 'View <%=argv.resourceNameCapitalize%>'],
32
- update: ['patch', '<%=argv.moduleActionPathRaw%>/{id}', 'Update <%=argv.resourceNameCapitalize%>'],
33
- delete: ['delete', '<%=argv.moduleActionPathRaw%>/{id}', 'Delete <%=argv.resourceNameCapitalize%>'],
34
- deleteBulk: ['post', '<%=argv.moduleActionPathRaw%>/bulk/delete', 'Bulk Delete <%=argv.resourceNameCapitalize%>'],
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(
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
- "version": "1.1.150",
3
+ "version": "1.1.151",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "vona cli-set-api",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-module-a-ssr",
3
- "version": "5.1.31",
3
+ "version": "5.1.32",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "",
6
6
  "keywords": [
@@ -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
- process.env.META_MODE === 'dev' ? 'development' : 'production';
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
  {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-suite-a-cabloy",
3
- "version": "5.1.55",
3
+ "version": "5.1.56",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "",
6
6
  "author": "",