Skip to content

Commit 42deca7

Browse files
Merge pull request #13 from squeeble-ink/bugfix/resolve-develop-build
Fixed build issue and svg issue
2 parents 2fc5842 + 7dc78f9 commit 42deca7

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.yarn/install-state.gz

-4.19 KB
Binary file not shown.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"type": "module",
77
"packageManager": "yarn@4.1.1",
88
"scripts": {
9-
"dev": "nodemon ./index.js",
10-
"start": "node ./index.js",
11-
"prod": "cross-env NODE_ENV=production node ./index.js"
9+
"dev": "nodemon ./source/index.js",
10+
"start": "node ./source/index.js",
11+
"prod": "cross-env NODE_ENV=production node ./source/index.js"
1212
},
1313
"repository": {
1414
"type": "git",

source/routes/stackExchange.route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ router.get('/', async (req, res) => {
5353
missingInfo = [
5454
'seSite is required!',
5555
'Example:',
56-
'&seSite=stackoverflow',
56+
'&seSite=stackoverflow',
5757
]
5858
return res.send(
5959
SVG(

stack-readme-dev.dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM node:lts-bookworm-slim
22
WORKDIR /base
33
ARG api_key
4-
COPY ./routes/ /base/routes/
5-
COPY ./index.js /base/
4+
COPY ./source/ /base/source/
5+
COPY ./.pnp.cjs /base/
6+
COPY ./.pnp.loader.mjs /base/
67
COPY ./.gitignore /base/
78
COPY ./.prettierrc /base/
89
COPY ./package.json /base/

stack-readme-prd.dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM node:lts-bookworm-slim
22
WORKDIR /base
33
ARG api_key
4-
COPY ./routes/ /base/routes/
5-
COPY ./index.js /base/
4+
COPY ./source/ /base/source/
5+
COPY ./.pnp.cjs /base/
6+
COPY ./.pnp.loader.mjs /base/
67
COPY ./.gitignore /base/
78
COPY ./.prettierrc /base/
89
COPY ./package.json /base/

0 commit comments

Comments
 (0)