Skip to content

Commit 9f59298

Browse files
committed
feat: update versions
ci: update ci action version build: update docker base image versions docs: update readme + license copyright feat: update dependencies
1 parent 39fa4a3 commit 9f59298

File tree

7 files changed

+939
-905
lines changed

7 files changed

+939
-905
lines changed

package-lock.json

Lines changed: 860 additions & 845 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
3636
"author": "Nico Wagner",
3737
"license": "ISC",
3838
"devDependencies": {
39-
"@types/inquirer": "^9.0.3",
40-
"@types/node": "^18.16.2",
41-
"@typescript-eslint/eslint-plugin": "^6.4.1",
42-
"@typescript-eslint/parser": "^6.4.1",
43-
"eslint": "^8.47.0",
44-
"eslint-plugin-prettier": "^5.0.0",
45-
"prettier": "^3.0.2",
46-
"ts-node": "^10.9.1",
39+
"@types/inquirer": "^9.0.7",
40+
"@types/node": "^20.11.19",
41+
"@typescript-eslint/eslint-plugin": "^7.0.2",
42+
"@typescript-eslint/parser": "^7.0.2",
43+
"eslint": "^8.56.0",
44+
"eslint-plugin-prettier": "^5.1.3",
45+
"prettier": "^3.2.5",
46+
"ts-node": "^10.9.2",
4747
"ts-node-dev": "^2.0.0",
48-
"type-fest": "^4.2.0",
49-
"typescript": "^5.1.6"
48+
"type-fest": "^4.10.2",
49+
"typescript": "^5.3.3"
5050
},
5151
"bin": {
5252
"create-typescript-new-project-scaffolding": "./dist/index.js",
@@ -58,8 +58,8 @@
5858
"static"
5959
],
6060
"dependencies": {
61-
"inquirer": "^9.2.10",
62-
"npm-check-updates": "^16.12.3"
61+
"inquirer": "^9.2.15",
62+
"npm-check-updates": "^16.14.15"
6363
},
6464
"type": "module"
6565
}

src/lib/answerHandlers/buildPackageJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export default class BuildPackageJson {
233233
private additional() {
234234
if (this.answers['project-type'] === 'npm-package') {
235235
this.json.files = ['dist', 'typings'];
236-
this.json.typing = 'types/index.d.ts';
236+
this.json.typings = 'types/index.d.ts';
237237
}
238238
}
239239

static/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine3.18 AS builder
1+
FROM node:20-alpine3.19 AS builder
22

33
WORKDIR /build
44

@@ -18,7 +18,7 @@ RUN npm ci --omit=dev --audit=false --fund=false
1818

1919
######################################################################
2020

21-
FROM node:18-alpine3.18
21+
FROM node:20-alpine3.19
2222

2323
WORKDIR /app
2424

static/tsconfig.json

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,34 @@
11
{
2-
"compilerOptions": {
3-
"target": "es6",
4-
"module": "CommonJS",
5-
"lib": ["dom", "es6", "es2017", "esnext.asynciterable"],
6-
"sourceMap": false,
7-
"outDir": "./dist",
8-
"moduleResolution": "node",
9-
10-
"removeComments": true,
11-
"noImplicitAny": true,
12-
"strictNullChecks": true,
13-
"strictFunctionTypes": true,
14-
"noImplicitThis": true,
15-
"noUnusedLocals": true,
16-
"noUnusedParameters": true,
17-
"noImplicitReturns": true,
18-
"noFallthroughCasesInSwitch": true,
19-
"allowSyntheticDefaultImports": false,
20-
"emitDecoratorMetadata": true,
21-
"experimentalDecorators": true
22-
},
23-
"exclude": ["node_modules"],
24-
"include": ["./src/**/*.tsx", "./src/**/*.ts"]
2+
"compilerOptions": {
3+
"target": "es6",
4+
"module": "CommonJS",
5+
"lib": [
6+
"dom",
7+
"es6",
8+
"es2017",
9+
"esnext.asynciterable"
10+
],
11+
"sourceMap": false,
12+
"outDir": "./dist",
13+
"moduleResolution": "node",
14+
"removeComments": true,
15+
"noImplicitAny": true,
16+
"strictNullChecks": true,
17+
"strictFunctionTypes": true,
18+
"noImplicitThis": true,
19+
"noUnusedLocals": true,
20+
"noUnusedParameters": true,
21+
"noImplicitReturns": true,
22+
"noFallthroughCasesInSwitch": true,
23+
"allowSyntheticDefaultImports": false,
24+
"emitDecoratorMetadata": true,
25+
"experimentalDecorators": true
26+
},
27+
"exclude": [
28+
"node_modules"
29+
],
30+
"include": [
31+
"./src/**/*.tsx",
32+
"./src/**/*.ts"
33+
]
2534
}

static/tsconfig_npm_module.json

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
11
{
2-
"compilerOptions": {
3-
"target": "es6",
4-
"module": "CommonJS",
5-
"lib": ["dom", "es6", "es2017", "esnext.asynciterable"],
6-
"sourceMap": false,
7-
"outDir": "./dist",
8-
"moduleResolution": "node",
2+
"compilerOptions": {
3+
"target": "es6",
4+
"module": "CommonJS",
5+
"lib": [
6+
"dom",
7+
"es6",
8+
"es2017",
9+
"esnext.asynciterable"
10+
],
11+
"sourceMap": false,
12+
"outDir": "./dist",
13+
"moduleResolution": "node",
914
"declaration": true,
1015
"declarationDir": "typings",
1116
"removeComments": true,
12-
"noImplicitAny": true,
13-
"strictNullChecks": true,
14-
"strictFunctionTypes": true,
15-
"noImplicitThis": true,
16-
"noUnusedLocals": true,
17-
"noUnusedParameters": true,
18-
"noImplicitReturns": true,
19-
"noFallthroughCasesInSwitch": true,
20-
"allowSyntheticDefaultImports": false,
21-
"emitDecoratorMetadata": true,
22-
"experimentalDecorators": true
23-
},
24-
"exclude": ["node_modules"],
25-
"include": ["./src/**/*.tsx", "./src/**/*.ts"]
17+
"noImplicitAny": true,
18+
"strictNullChecks": true,
19+
"strictFunctionTypes": true,
20+
"noImplicitThis": true,
21+
"noUnusedLocals": true,
22+
"noUnusedParameters": true,
23+
"noImplicitReturns": true,
24+
"noFallthroughCasesInSwitch": true,
25+
"allowSyntheticDefaultImports": false,
26+
"emitDecoratorMetadata": true,
27+
"experimentalDecorators": true
28+
},
29+
"exclude": [
30+
"node_modules"
31+
],
32+
"include": [
33+
"./src/**/*.tsx",
34+
"./src/**/*.ts"
35+
]
2636
}

0 commit comments

Comments
 (0)