@sap-ux/app-config-writer 0.6.144 → 0.7.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.
|
@@ -22,6 +22,9 @@ const renameMessage = (filePath) => `Renamed '${filePath}' to '${filePath.slice(
|
|
|
22
22
|
async function renameSandbox(fs, basePath, path, logger) {
|
|
23
23
|
const filePath = (0, node_path_1.join)(await (0, project_access_1.getWebappPath)(basePath), path);
|
|
24
24
|
if (fs.exists(filePath)) {
|
|
25
|
+
if (path.endsWith('unitTests.qunit.html')) {
|
|
26
|
+
logger?.warn(`Unit test files will be discovered automatically using the default pattern '/test/**/*Test.{js,ts}'. If your unit test files do not match this pattern, add a 'pattern' property to the QUnit test entry in your UI5 YAML configuration (e.g. pattern: '/test/unit/controller/*.{js,ts}'). For more details see https://github.com/SAP/open-ux-tools/blob/main/packages/preview-middleware/README.md#configuration-option-test`);
|
|
27
|
+
}
|
|
25
28
|
fs.move(filePath, filePath.replace('.html', '_old.html'));
|
|
26
29
|
logger?.info(renameMessage(path));
|
|
27
30
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/app-config-writer",
|
|
3
3
|
"description": "Add or update configuration for SAP Fiori tools application",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"prompts": "2.4.2",
|
|
29
29
|
"semver": "7.7.4",
|
|
30
30
|
"cross-spawn": "7.0.6",
|
|
31
|
-
"@sap-ux/axios-extension": "1.
|
|
32
|
-
"@sap-ux/ui5-application-writer": "1.
|
|
33
|
-
"@sap-ux/btp-utils": "1.
|
|
34
|
-
"@sap-ux/logger": "0.
|
|
35
|
-
"@sap-ux/project-access": "1.
|
|
36
|
-
"@sap-ux/store": "1.
|
|
37
|
-
"@sap-ux/ui5-config": "0.
|
|
31
|
+
"@sap-ux/axios-extension": "1.26.0",
|
|
32
|
+
"@sap-ux/ui5-application-writer": "1.9.0",
|
|
33
|
+
"@sap-ux/btp-utils": "1.2.0",
|
|
34
|
+
"@sap-ux/logger": "0.9.0",
|
|
35
|
+
"@sap-ux/project-access": "1.38.0",
|
|
36
|
+
"@sap-ux/store": "1.6.0",
|
|
37
|
+
"@sap-ux/ui5-config": "0.31.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/ejs": "3.1.5",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@types/cross-spawn": "6.0.6",
|
|
46
46
|
"axios": "1.16.0",
|
|
47
47
|
"nock": "14.0.11",
|
|
48
|
-
"@sap-ux/preview-middleware": "0.
|
|
48
|
+
"@sap-ux/preview-middleware": "0.26.4"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
|
-
"node": ">=
|
|
51
|
+
"node": ">=22.x"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsc --build",
|