testeranto 0.79.4 → 0.79.5

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,7 +1,7 @@
1
1
  {
2
2
  "name": "testeranto",
3
3
  "description": "teeny tiny tightly-typed typescript tests",
4
- "version": "0.79.4",
4
+ "version": "0.79.5",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.mts",
7
7
  "module": "dist/module/index.js",
@@ -94,11 +94,11 @@ new MongoClient(`mongodb://${process.env.MONGO_HOST || "127.0.0.1"}:27017`)
94
94
  const roomsModel = ChatChannel.discriminator("Room", RoomSchema);
95
95
 
96
96
  app.get("/TaskManFrontend.js", (req, res) => {
97
- res.sendFile(`${process.cwd()}/dist/prebuild/TaskManFrontEnd.js`);
97
+ res.sendFile(`${process.cwd()}/TaskManFrontEnd.js`);
98
98
  });
99
99
 
100
100
  app.get("/TaskManFrontEnd.css", (req, res) => {
101
- res.sendFile(`${process.cwd()}/dist/prebuild/TaskManFrontEnd.css`);
101
+ res.sendFile(`${process.cwd()}/TaskManFrontEnd.css`);
102
102
  });
103
103
 
104
104
  // app.get(`/preMergeCheck`, async (req, res) => {
@@ -1,23 +0,0 @@
1
- FROM node:latest
2
- RUN mkdir -p /usr/src/app
3
- WORKDIR /usr/src/app
4
- COPY package.json /usr/src/app
5
- RUN yarn install
6
- COPY ./src/ /usr/src/app/src
7
- COPY prebuild.sh /usr/src/app
8
- COPY postBuild.sh /usr/src/app
9
-
10
-
11
- RUN yarn build
12
-
13
- RUN cp ./dist/prebuild/TaskManBackEnd.mjs /usr/src/app/TaskManBackEnd.mjs
14
- RUN cp ./dist/prebuild/TaskManFrontEnd.js /usr/src/app/TaskManFrontEnd.mjs
15
- RUN cp ./dist/prebuild/TaskManFrontEnd.css /usr/src/app/TaskManFrontEnd.css
16
-
17
- # RUN ts-node-esm ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs
18
-
19
- EXPOSE 3000
20
- EXPOSE 27017
21
- ENV MONGO_HOST=host.docker.internal
22
- # CMD ['yarn', 'testeranto-testrun', '&', 'yarn', 'testeranto-taskman']
23
- CMD ["node", "./TaskManBackEnd.mjs"]