retold-harness 1.0.8 → 1.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/Dockerfile_LUXURYCode
CHANGED
package/docker_scripts/Entry.sh
CHANGED
|
@@ -14,6 +14,11 @@ export HOME=/home/coder
|
|
|
14
14
|
bash -i <(echo "npm install pm2 -g")
|
|
15
15
|
# Install the dependencies for node
|
|
16
16
|
bash -i <(echo "npm install")
|
|
17
|
+
# Rebuild native addons for the container platform (the volume mount
|
|
18
|
+
# brings in the host's node_modules which may have Mac/Windows binaries).
|
|
19
|
+
# NOTE: This overwrites the host's better-sqlite3 binary with a Linux build.
|
|
20
|
+
# After stopping Docker, run `npm rebuild better-sqlite3` on the host to restore.
|
|
21
|
+
bash -i <(echo "npm rebuild better-sqlite3")
|
|
17
22
|
# Now run the harness API within the pm2 process manager
|
|
18
23
|
bash -i <(echo "pm2 start /home/coder/retold-harness/source/Retold-Harness.js")
|
|
19
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "retold-harness",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Restful API harness. Serves on 8086.",
|
|
5
5
|
"main": "source/Retold-Harness.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node source/Retold-Harness.js",
|
|
11
11
|
"harness": "node source/Retold-Harness.js",
|
|
12
|
-
"test": "npx
|
|
13
|
-
"tests": "npx
|
|
14
|
-
"coverage": "npx
|
|
12
|
+
"test": "npx quack test",
|
|
13
|
+
"tests": "npx quack test -g",
|
|
14
|
+
"coverage": "npx quack coverage",
|
|
15
15
|
"build": "npx quack build",
|
|
16
16
|
"build-model": "cd source && npx stricture -i model/ddl/BookStore.ddl",
|
|
17
17
|
"docker-dev-build": "docker build ./ -f Dockerfile_LUXURYCode -t retold-harness-image:local",
|
|
@@ -33,13 +33,11 @@
|
|
|
33
33
|
"homepage": "https://github.com/stevenvelozo/retold-harness#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"meadow-connection-sqlite": "^1.0.11",
|
|
36
|
-
"retold-data-service": "^2.0.
|
|
36
|
+
"retold-data-service": "^2.0.12"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"quackage": "^1.0.50",
|
|
42
|
-
"stricture": "^1.0.38",
|
|
39
|
+
"quackage": "^1.0.58",
|
|
40
|
+
"stricture": "^3.0.1",
|
|
43
41
|
"supertest": "^6.3.3"
|
|
44
42
|
},
|
|
45
43
|
"mocha": {
|
|
File without changes
|