@sap/cds 6.2.1 → 6.2.2
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/CHANGELOG.md +6 -0
- package/lib/env/cds-requires.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
- The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
5
5
|
- This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## Version 6.2.2 - 2022-10-13
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Fix environment variable `OLD_MTX`, allowing `cds build` to create artifacts for classic `@sap/cds-mtx` library
|
|
12
|
+
|
|
7
13
|
## Version 6.2.1 - 2022-10-05
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/lib/env/cds-requires.js
CHANGED
|
@@ -246,7 +246,7 @@ require = (id) => { // eslint-disable-line no-global-assign
|
|
|
246
246
|
|
|
247
247
|
// REVISIT: we should have a real modular plugin technique for cds.env
|
|
248
248
|
// eslint-disable-next-line cds/no-missing-dependencies
|
|
249
|
-
const _mtxs = require('@sap/cds-mtxs/lib/env-requires') || {
|
|
249
|
+
const _mtxs = !process.env.OLD_MTX && require('@sap/cds-mtxs/lib/env-requires') || {
|
|
250
250
|
"toggles": {
|
|
251
251
|
model: "@sap/cds/srv/mtx"
|
|
252
252
|
},
|