@alcedocore/cli 0.0.1-rc.2 → 0.0.1-rc.4
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/package.json
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
FROM node:24-slim
|
|
1
|
+
FROM node:24-slim AS builder
|
|
2
2
|
|
|
3
3
|
WORKDIR /app
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# Copy the rest of the files
|
|
6
|
+
COPY . .
|
|
6
7
|
RUN npm ci
|
|
7
8
|
|
|
9
|
+
# Build the TypeScript project
|
|
10
|
+
RUN npm run build
|
|
11
|
+
|
|
12
|
+
# Expose the port your app runs on
|
|
8
13
|
EXPOSE 8080
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
# Run the compiled JavaScript file
|
|
16
|
+
CMD ["node", "server.js"]
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "test-node",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "A plugin for
|
|
4
|
+
"description": "A plugin for AlcedoCore.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "npx tsx server.ts"
|
|
7
|
+
"dev": "npx tsx server.ts",
|
|
8
|
+
"build": "tsc"
|
|
8
9
|
},
|
|
9
10
|
"keywords": [],
|
|
10
11
|
"author": "",
|
|
@@ -14,6 +15,9 @@
|
|
|
14
15
|
"typescript": "^7.0.2"
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
|
-
"@alcedocore/sdk": "^0.0.1-rc.0"
|
|
18
|
+
"@alcedocore/sdk": "^0.0.1-rc.0",
|
|
19
|
+
"@types/express": "^5.0.6",
|
|
20
|
+
"@types/node": "^26.4.1",
|
|
21
|
+
"express": "^5.2.1"
|
|
18
22
|
}
|
|
19
23
|
}
|