From 978558eeb2f4f441f05ec39f7d7c91714b8dd262 Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:29:10 +0200 Subject: [PATCH 1/4] Add system.introspect method --- application/api/system/introspect.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 application/api/system/introspect.js diff --git a/application/api/system/introspect.js b/application/api/system/introspect.js new file mode 100644 index 0000000..d055e57 --- /dev/null +++ b/application/api/system/introspect.js @@ -0,0 +1,4 @@ +({ + access: 'public', + method: application.introspect, +}); From f7d9bab17f8126e1c3605d865c6fce37f567473c Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Fri, 19 Jan 2024 15:52:55 +0200 Subject: [PATCH 2/4] Update impress --- package-lock.json | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index df449e1..06e1b93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "impress": "^3.0.11" + "impress": "^3.0.13" }, "devDependencies": { "@flydotio/dockerfile": "^0.4.10", @@ -25,6 +25,9 @@ "lint-staged": "^14.0.1", "prettier": "3.0.3", "typescript": "^5.2.2" + }, + "engines": { + "node": "18 || 20" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 89a3e45..4c7306a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "license": "MIT", "dependencies": { - "impress": "^3.0.11" + "impress": "^3.0.13" }, "devDependencies": { "@flydotio/dockerfile": "^0.4.10", From 7c76d0fe3b76fd78e16d29c20562fc28caa5e1eb Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Fri, 19 Jan 2024 17:28:23 +0200 Subject: [PATCH 3/4] Add one more example --- application/api/example/data.js | 9 +++++++++ package.json | 1 + 2 files changed, 10 insertions(+) create mode 100644 application/api/example/data.js diff --git a/application/api/example/data.js b/application/api/example/data.js new file mode 100644 index 0000000..3f6208c --- /dev/null +++ b/application/api/example/data.js @@ -0,0 +1,9 @@ +({ + access: 'public', + + method: async () => { + return 'Hello world'; + }, + + returns: 'string', +}); diff --git a/package.json b/package.json index 4c7306a..11a5602 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "node": "18 || 20" }, "scripts": { + "dev": "node server.js", "start": "node server.js", "test": "MODE=test node server.js", "eslint:check": "eslint .", From e67f65d2f0384eec49cf099818fa2d8a13adde15 Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:59:01 +0200 Subject: [PATCH 4/4] Remove npm script update --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 11a5602..4c7306a 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "node": "18 || 20" }, "scripts": { - "dev": "node server.js", "start": "node server.js", "test": "MODE=test node server.js", "eslint:check": "eslint .",