Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Node.js 20.11.0
- name: Set Node.js 22
uses: actions/setup-node@v3
with:
node-version: 20.11.0
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Setup Pages
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Set Node.js 20.11.0
- name: Set Node.js 22
uses: actions/setup-node@v3
with:
node-version: 20.11.0
node-version: 22

- name: Install Dependencies
run: npm ci
Expand All @@ -45,10 +45,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Set Node.js 20.11.0
- name: Set Node.js 22
uses: actions/setup-node@v3
with:
node-version: 20.11.0
node-version: 22

- name: Install Dependencies
run: npm ci
Expand Down Expand Up @@ -76,10 +76,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Set Node.js 20.11.0
- name: Set Node.js 22
uses: actions/setup-node@v3
with:
node-version: 20.11.0
node-version: 22

- name: Download build artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -121,10 +121,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Set Node.js 20.11.0
- name: Set Node.js 22
uses: actions/setup-node@v3
with:
node-version: 20.11.0
node-version: 22

- name: Download build artifacts
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=20.10.0
ARG NODE_VERSION=22
FROM node:${NODE_VERSION}-alpine as base

WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zhttp/docs",
"private": true,
"version": "0.0.0",
"version": "1.0.6-chore-node-and-ts-update.0",
"scripts": {
"fill-code-snippets": "npx embedme ./pages/**/*.*",
"prebuild": "npm run fill-code-snippets",
Expand Down
71 changes: 56 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zhttp/monorepo",
"version": "1.0.6-docs-website.0",
"version": "1.0.6-chore-node-and-ts-update.0",
"private": true,
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.0",
"ts-node": "^10.9.2",
"typescript": "^4.4.4"
"typescript": "^5.4.5"
},
"engines": {
"node": "^20.10.x",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zhttp/core",
"version": "1.0.6-docs-website.0",
"version": "1.0.6-chore-node-and-ts-update.0",
"description": "A minimal, strongly typed HTTP library with Zod validation",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^6.3.1",
"@zhttp/errors": "1.0.6-docs-website.0",
"@zhttp/errors": "1.0.6-chore-node-and-ts-update.0",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
Expand All @@ -47,7 +47,7 @@
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.11.0",
"@types/node": "^20.12.11",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.7",
Expand All @@ -58,7 +58,7 @@
"typescript": "^4.4.4"
},
"peerDependencies": {
"@zhttp/errors": "1.0.6-docs-website.0",
"@zhttp/errors": "1.0.6-chore-node-and-ts-update.0",
"zod": "^3.22.4"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/app.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('app', () => {

// server.start()

const helloRes = await supertest(server.expressInstance).get('/hello?name=Evert') as any
const helloRes = await (supertest(server.expressInstance).get('/hello?name=Evert') as any)

expect(helloRes.status).to.be.equal(200)
expect(helloRes.body).to.deep.eq(apiResponse('Hello Evert!'))
Expand Down
4 changes: 2 additions & 2 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zhttp/errors",
"version": "1.0.6-docs-website.0",
"version": "1.0.6-chore-node-and-ts-update.0",
"description": "Error library extending @zhttp/core",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/node": "^20.12.11",
"ts-node": "^10.9.2",
"typescript": "^4.4.4"
},
Expand Down