@sap-ux/adp-tooling 1.0.30 → 1.0.32

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.
@@ -183,6 +183,15 @@ export class AdpPreview {
183
183
  else if (req.path === '/Component-preload.js') {
184
184
  res.status(404).send();
185
185
  }
186
+ else if (req.path.startsWith('/i18n/') && req.path.endsWith('.properties')) {
187
+ // Without this branch, the generic file-exists check below would 302 to
188
+ // the ADP's local i18n.properties whenever one exists, shadowing the
189
+ // base app's complete bundle. Explicitly pass i18n .properties requests
190
+ // through so the base app's bundle is served instead. Covers the default
191
+ // bundle, locale variants, and per-page bundles
192
+ // (/i18n/ListReport/<entity>/i18n.properties). See changeset for details.
193
+ next();
194
+ }
186
195
  else {
187
196
  // check if the requested file exists in the file system (replace .js with .* for typescript)
188
197
  const files = await this.project.byGlob(req.path.replace('.js', '.*'));
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "bugs": {
11
11
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aadp-tooling"
12
12
  },
13
- "version": "1.0.30",
13
+ "version": "1.0.32",
14
14
  "license": "Apache-2.0",
15
15
  "author": "@SAP/ux-tools-team",
16
16
  "main": "dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "@sap-ux/axios-extension": "2.0.7",
41
41
  "@sap-ux/btp-utils": "2.0.5",
42
42
  "@sap-ux/i18n": "1.0.2",
43
- "@sap-ux/inquirer-common": "1.0.21",
43
+ "@sap-ux/inquirer-common": "1.0.22",
44
44
  "@sap-ux/logger": "1.0.3",
45
45
  "@sap-ux/nodejs-utils": "1.0.7",
46
46
  "@sap-ux/odata-service-writer": "1.0.12",