@ui5/server 3.0.0-rc.0 → 3.0.0-rc.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/.reuse/dep5 CHANGED
@@ -25,7 +25,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
25
25
  parties the right to use of access any SAP External Product, through API Calls.
26
26
 
27
27
  Files: *
28
- Copyright: 2018-2022 SAP SE or an SAP affiliate company and UI5 Tooling contributors
28
+ Copyright: 2018-2023 SAP SE or an SAP affiliate company and UI5 Tooling contributors
29
29
  License: Apache-2.0
30
30
 
31
31
  Files: lib/middleware/serveIndex/*
@@ -36,5 +36,5 @@ Copyright: 2010 Sencha Inc.
36
36
  License: MIT
37
37
 
38
38
  Files: lib/middleware/testRunner/*
39
- Copyright: 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
39
+ Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
40
40
  License: Apache-2.0
package/CHANGELOG.md CHANGED
@@ -2,7 +2,10 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v3.0.0-rc.0...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v3.0.0-rc.1...HEAD).
6
+
7
+ <a name="v3.0.0-rc.1"></a>
8
+ ## [v3.0.0-rc.1] - 2023-01-23
6
9
 
7
10
  <a name="v3.0.0-rc.0"></a>
8
11
  ## [v3.0.0-rc.0] - 2022-12-23
@@ -327,6 +330,7 @@ Only Node.js v10 or higher is supported.
327
330
  <a name="v0.0.1"></a>
328
331
  ## v0.0.1 - 2018-06-06
329
332
 
333
+ [v3.0.0-rc.1]: https://github.com/SAP/ui5-server/compare/v3.0.0-rc.0...v3.0.0-rc.1
330
334
  [v3.0.0-rc.0]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.4...v3.0.0-rc.0
331
335
  [v3.0.0-beta.4]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.3...v3.0.0-beta.4
332
336
  [v3.0.0-beta.3]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.2...v3.0.0-beta.3
package/LICENSE.txt CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2018-2021 SAP SE or an SAP affiliate company and UI5 Tooling contributors
189
+ Copyright 2018-2023 SAP SE or an SAP affiliate company and UI5 Tooling contributors
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -10,7 +10,9 @@
10
10
  [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-server/badge.svg)](https://coveralls.io/github/SAP/ui5-server)
11
11
 
12
12
  ## Documentation
13
- Can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/pages/Server/)
13
+ UI5 Server documentation can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/v3/pages/Server/)
14
+
15
+ The UI5 Server API Reference can be found here: [`@ui5/server`](https://sap.github.io/ui5-tooling/v3/api/module-@ui5_server.html)
14
16
 
15
17
  ## Contributing
16
18
  Please check our [Contribution Guidelines](https://github.com/SAP/ui5-tooling/blob/main/CONTRIBUTING.md).
@@ -108,6 +108,7 @@ class MiddlewareUtil {
108
108
  * @property {Function} getNamespace Get the project namespace
109
109
  * @property {Function} getRootReader Get the project rootReader
110
110
  * @property {Function} getReader Get the project reader
111
+ * @property {Function} getSourcePath Get the local File System path of the project's source directory
111
112
  * @property {Function} getCustomConfiguration Get the project Custom Configuration
112
113
  * @property {Function} isFrameworkProject Check whether the project is a UI5-Framework project
113
114
  */
@@ -225,7 +226,8 @@ class MiddlewareUtil {
225
226
  const baseProjectInterface = {};
226
227
  bindFunctions(project, baseProjectInterface, [
227
228
  "getType", "getName", "getVersion", "getNamespace",
228
- "getRootReader", "getReader", "getCustomConfiguration", "isFrameworkProject"
229
+ "getRootReader", "getReader", "getSourcePath",
230
+ "getCustomConfiguration", "isFrameworkProject"
229
231
  ]);
230
232
  return baseProjectInterface;
231
233
  };
@@ -49,7 +49,7 @@ function createResourceInfo(resource) {
49
49
  const isDir = stat.isDirectory();
50
50
  return {
51
51
  path: resource.getPath() + (isDir ? "/" : ""),
52
- name: resource._name + (isDir ? "/" : ""),
52
+ name: resource.getName() + (isDir ? "/" : ""),
53
53
  isDir: isDir,
54
54
  mimetype: isDir ? "" : getMimeType(resource),
55
55
  lastModified: new Date(stat.mtime).toLocaleString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/server",
3
- "version": "3.0.0-rc.0",
3
+ "version": "3.0.0-rc.1",
4
4
  "description": "UI5 Tooling - Server",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -35,7 +35,6 @@
35
35
  "unit": "rimraf test/tmp && ava",
36
36
  "unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial",
37
37
  "unit-watch": "npm run unit -- --watch",
38
- "unit-nyan": "npm run unit -- --tap | tnyan",
39
38
  "unit-xunit": "rimraf test/tmp && ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\" --tap | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml",
40
39
  "unit-inspect": "cross-env UI5_LOG_LVL=verbose ava debug --break",
41
40
  "coverage": "rimraf test/tmp && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
@@ -115,9 +114,9 @@
115
114
  "url": "git@github.com:SAP/ui5-server.git"
116
115
  },
117
116
  "dependencies": {
118
- "@ui5/builder": "^3.0.0-rc.0",
119
- "@ui5/fs": "^3.0.0-rc.0",
120
- "@ui5/logger": "^3.0.1-rc.0",
117
+ "@ui5/builder": "^3.0.0-rc.2",
118
+ "@ui5/fs": "^3.0.0-rc.3",
119
+ "@ui5/logger": "^3.0.1-rc.1",
121
120
  "body-parser": "^1.20.1",
122
121
  "compression": "^1.7.4",
123
122
  "cors": "^2.8.5",
@@ -137,24 +136,23 @@
137
136
  },
138
137
  "devDependencies": {
139
138
  "@istanbuljs/esm-loader-hook": "^0.2.0",
140
- "@ui5/project": "^3.0.0-beta.5",
141
- "ava": "^5.1.0",
139
+ "@ui5/project": "^3.0.0-rc.3",
140
+ "ava": "^5.1.1",
142
141
  "chokidar-cli": "^3.0.0",
143
142
  "cross-env": "^7.0.3",
144
143
  "depcheck": "^1.4.3",
145
- "docdash": "^2.0.0",
146
- "eslint": "^8.30.0",
144
+ "docdash": "^2.0.1",
145
+ "eslint": "^8.32.0",
147
146
  "eslint-config-google": "^0.14.0",
148
- "eslint-plugin-ava": "^13.2.0",
149
- "eslint-plugin-jsdoc": "^39.6.4",
147
+ "eslint-plugin-ava": "^14.0.0",
148
+ "eslint-plugin-jsdoc": "^39.6.7",
150
149
  "esmock": "^2.1.0",
151
150
  "jsdoc": "^3.6.11",
152
151
  "nyc": "^15.1.0",
153
152
  "open-cli": "^7.1.0",
154
- "rimraf": "^3.0.2",
153
+ "rimraf": "^4.1.1",
155
154
  "sinon": "^15.0.1",
156
155
  "supertest": "^6.3.3",
157
- "tap-nyan": "^1.1.0",
158
156
  "tap-xunit": "^2.4.1"
159
157
  }
160
158
  }