@cap-js/ord 1.4.0 → 1.4.1
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/lib/build.js +1 -2
- package/package.json +4 -4
package/lib/build.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const cds = require("@sap/cds");
|
|
2
|
-
const cds_dk = require("@sap/cds-dk");
|
|
3
2
|
const path = require("path");
|
|
4
3
|
const _ = require("lodash");
|
|
5
4
|
const { ord, getMetadata } = require("./index");
|
|
@@ -7,7 +6,7 @@ const cliProgress = require("cli-progress");
|
|
|
7
6
|
const { BUILD_DEFAULT_PATH, ORD_SERVICE_NAME, ORD_DOCUMENT_FILE_NAME } = require("./constants");
|
|
8
7
|
const { isMCPPluginInPackageJson } = require("./mcpAdapter");
|
|
9
8
|
|
|
10
|
-
module.exports = class OrdBuildPlugin extends
|
|
9
|
+
module.exports = class OrdBuildPlugin extends cds.build.Plugin {
|
|
11
10
|
static taskDefaults = { src: cds.env.folders.srv };
|
|
12
11
|
|
|
13
12
|
init() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cap-js/ord",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "CAP Plugin for generating ORD document.",
|
|
5
5
|
"repository": "cap-js/ord",
|
|
6
6
|
"author": "SAP SE (https://www.sap.com)",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"jest": "^30.0.0",
|
|
33
33
|
"prettier": "3.7.4",
|
|
34
34
|
"supertest": "^7.0.0",
|
|
35
|
-
"@cap-js/sqlite": "^2"
|
|
35
|
+
"@cap-js/sqlite": "^2",
|
|
36
|
+
"@sap/cds-dk": ">=8.9.5"
|
|
36
37
|
},
|
|
37
38
|
"peerDependencies": {
|
|
38
|
-
"@sap/cds": ">=8.9.4"
|
|
39
|
-
"@sap/cds-dk": ">=8.9.5"
|
|
39
|
+
"@sap/cds": ">=8.9.4"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@cap-js/asyncapi": "^1.0.3",
|