@ms-cloudpack/create-express-app 0.1.0 → 0.1.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/CHANGELOG.json +31 -1
- package/CHANGELOG.md +10 -2
- package/lib/createExpressApp.js +2 -2
- package/lib/createExpressApp.js.map +1 -1
- package/lib/tsdoc-metadata.json +11 -0
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@ms-cloudpack/create-express-app",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 28 Sep 2022 08:14:45 GMT",
|
|
6
|
+
"tag": "@ms-cloudpack/create-express-app_v0.1.1",
|
|
7
|
+
"version": "0.1.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "elcraig@microsoft.com",
|
|
12
|
+
"package": "@ms-cloudpack/create-express-app",
|
|
13
|
+
"commit": "084168500b6320d6861a4c7e8f363fea9e4f831e",
|
|
14
|
+
"comment": "Remove unnecessary await"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Tue, 20 Sep 2022 08:13:46 GMT",
|
|
21
|
+
"tag": "@ms-cloudpack/create-express-app_v0.1.0",
|
|
22
|
+
"version": "0.1.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"none": [
|
|
25
|
+
{
|
|
26
|
+
"author": "email not defined",
|
|
27
|
+
"package": "@ms-cloudpack/create-express-app",
|
|
28
|
+
"commit": "f408318df04c9a3e4754975a28c39660abf32687",
|
|
29
|
+
"comment": "Update devDependency @types/express to v4.17.14"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Fri, 20 May 2022 04:26:15 GMT",
|
|
6
36
|
"tag": "@ms-cloudpack/create-express-app_v0.1.0",
|
|
7
37
|
"version": "0.1.0",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @ms-cloudpack/create-express-app
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 28 Sep 2022 08:14:45 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.1.1
|
|
8
|
+
|
|
9
|
+
Wed, 28 Sep 2022 08:14:45 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Remove unnecessary await (elcraig@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.1.0
|
|
8
16
|
|
|
9
|
-
Fri, 20 May 2022 04:
|
|
17
|
+
Fri, 20 May 2022 04:26:15 GMT
|
|
10
18
|
|
|
11
19
|
### Minor changes
|
|
12
20
|
|
package/lib/createExpressApp.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import express from 'express';
|
|
1
|
+
import express, {} from 'express';
|
|
2
2
|
import cors from 'cors';
|
|
3
3
|
import compression from 'compression';
|
|
4
4
|
import getPort from 'get-port';
|
|
@@ -13,7 +13,7 @@ export async function createExpressApp(portRange, setupCallback) {
|
|
|
13
13
|
// Use compression.
|
|
14
14
|
app.use(compression());
|
|
15
15
|
// Call setup callback with the app.
|
|
16
|
-
|
|
16
|
+
setupCallback(app);
|
|
17
17
|
// Listen on port.
|
|
18
18
|
const server = app.listen(port);
|
|
19
19
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExpressApp.js","sourceRoot":"","sources":["../src/createExpressApp.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"createExpressApp.js","sourceRoot":"","sources":["../src/createExpressApp.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAgB,MAAM,SAAS,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,WAAW,MAAM,aAAa,CAAC;AACtC,OAAO,OAAO,MAAM,UAAU,CAAC;AAG/B,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,SAAmB,EACnB,aAAqC;IAKrC,0BAA0B;IAC1B,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC;QACzB,IAAI,EAAE,SAAS;KAChB,CAAC,CAAC;IAEH,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;IAEtB,YAAY;IACZ,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IAEhB,mBAAmB;IACnB,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;IAEvB,oCAAoC;IACpC,aAAa,CAAC,GAAG,CAAC,CAAC;IAEnB,kBAAkB;IAClB,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAEhC,OAAO;QACL,MAAM;QACN,IAAI;KACL,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.31.2"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/create-express-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Helper for creating an express app server, abstracting a common plugin setup.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@ms-cloudpack/eslint-config-base": "*",
|
|
24
24
|
"@types/compression": "1.7.2",
|
|
25
25
|
"@types/cors": "2.8.12",
|
|
26
|
-
"@types/express": "4.17.
|
|
26
|
+
"@types/express": "4.17.14",
|
|
27
27
|
"@types/get-port": "4.2.0"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|