@tsed/cli 4.1.0 → 4.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli",
|
|
3
|
-
"version": "4.1
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"source": "./src/index.ts",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"node": ">=14"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@tsed/cli-core": "4.1
|
|
62
|
+
"@tsed/cli-core": "4.2.1",
|
|
63
63
|
"@tsed/core": ">=7.0.0",
|
|
64
64
|
"@tsed/di": ">=7.0.0",
|
|
65
65
|
"@tsed/logger": ">=6.2.1",
|
|
@@ -22,10 +22,17 @@ WORKDIR /opt
|
|
|
22
22
|
COPY package.json yarn.lock tsconfig.json tsconfig.compile.json .barrelsby.json ./
|
|
23
23
|
|
|
24
24
|
RUN yarn install --pure-lockfile
|
|
25
|
+
{{#if yarn}}
|
|
26
|
+
RUN yarn install --pure-lockfile{{/if}}{{#if npm}}
|
|
27
|
+
RUN npm install{{/if}}{{#if pnpm}}
|
|
28
|
+
RUN pnpm install{{/if}}
|
|
25
29
|
|
|
26
30
|
COPY ./src ./src
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
{{#if yarn}}
|
|
33
|
+
RUN yarn build{{/if}}{{#if npm}}
|
|
34
|
+
RUN npm run build{{/if}}{{#if pnpm}}
|
|
35
|
+
RUN pnpm run build{{/if}}
|
|
29
36
|
|
|
30
37
|
FROM node:${NODE_VERSION}-alpine as runtime
|
|
31
38
|
ENV WORKDIR /opt
|