@tsed/cli 4.6.3 → 4.6.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/lib/cjs/commands/init/InitCmd.js +2 -1
- package/lib/cjs/commands/init/InitCmd.js.map +1 -1
- package/lib/esm/commands/init/InitCmd.js +2 -1
- package/lib/esm/commands/init/InitCmd.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/templates/init/Dockerfile.hbs +8 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"source": "./src/index.ts",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"node": ">=14"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@tsed/cli-core": "4.6.
|
|
66
|
+
"@tsed/cli-core": "4.6.4",
|
|
67
67
|
"@tsed/core": ">=7.14.2",
|
|
68
68
|
"@tsed/di": ">=7.14.2",
|
|
69
69
|
"@tsed/logger": ">=6.2.1",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"tslib": "2.3.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@tsed/eslint": "4.6.
|
|
84
|
-
"@tsed/jest-config": "4.6.
|
|
85
|
-
"@tsed/typescript": "4.6.
|
|
83
|
+
"@tsed/eslint": "4.6.4",
|
|
84
|
+
"@tsed/jest-config": "4.6.4",
|
|
85
|
+
"@tsed/typescript": "4.6.4",
|
|
86
86
|
"@types/change-case": "^2.3.1",
|
|
87
87
|
"cross-env": "7.0.3",
|
|
88
88
|
"eslint": "8.22.0",
|
|
@@ -19,16 +19,19 @@ ARG NODE_VERSION=16.13.1
|
|
|
19
19
|
FROM node:${NODE_VERSION}-alpine as build
|
|
20
20
|
WORKDIR /opt
|
|
21
21
|
|
|
22
|
-
COPY package.json {{#if yarn}}yarn.lock{{/if}}{{#if npm}}package-lock.json{{/if}}{{#if pnpm}}pnpm-lock.yaml{{/if}} tsconfig.json tsconfig.compile.json .barrelsby.json ./
|
|
22
|
+
COPY package.json {{#if yarn}}yarn.lock{{/if}}{{#if yarn_berry}}yarn.lock{{/if}}{{#if npm}}package-lock.json{{/if}}{{#if pnpm}}pnpm-lock.yaml{{/if}} tsconfig.json tsconfig.compile.json .barrelsby.json ./
|
|
23
23
|
|
|
24
24
|
{{#if yarn}}
|
|
25
|
-
RUN yarn install --pure-lockfile{{/if}}{{#if
|
|
25
|
+
RUN yarn install --pure-lockfile{{/if}}{{#if yarn}}
|
|
26
|
+
RUN yarn install --immutable{{/if}}{{#if npm}}
|
|
26
27
|
RUN npm install{{/if}}{{#if pnpm}}
|
|
27
28
|
RUN pnpm install{{/if}}
|
|
28
29
|
|
|
29
30
|
COPY ./src ./src
|
|
30
31
|
|
|
31
32
|
{{#if yarn}}
|
|
33
|
+
RUN yarn build{{/if}}
|
|
34
|
+
{{#if yarn_berry}}
|
|
32
35
|
RUN yarn build{{/if}}{{#if npm}}
|
|
33
36
|
RUN npm run build{{/if}}{{#if pnpm}}
|
|
34
37
|
RUN pnpm run build{{/if}}
|
|
@@ -42,7 +45,9 @@ RUN npm install -g pm2
|
|
|
42
45
|
|
|
43
46
|
COPY --from=build /opt .
|
|
44
47
|
|
|
45
|
-
|
|
48
|
+
{{#if yarn}}
|
|
49
|
+
RUN yarn install --pure-lockfile --production{{/if}}
|
|
50
|
+
|
|
46
51
|
{{#if prisma}}
|
|
47
52
|
COPY ./prisma ./prisma{{/if}}{{#or swagger oidc}}
|
|
48
53
|
COPY ./views ./views{{/or}}
|