Skip to content

Commit

Permalink
chore(deps): to latest (#5811)
Browse files Browse the repository at this point in the history
* chore(deps): to latest

* chore(deps): to latest

* fix: docker from as casing

* fix: docker from as casing

* fix: deps latest

* fix: deps latest
  • Loading branch information
belgattitude authored Aug 20, 2024
1 parent 5ea479c commit 4a6d75b
Show file tree
Hide file tree
Showing 13 changed files with 165 additions and 385 deletions.
2 changes: 2 additions & 0 deletions .ncurc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ reject:
'@pothos/plugin-prisma',
'@pothos/core',
'@pothos/plugin-errors',
'@typescript-eslint/parser',
'@typescript-eslint/eslint-plugin',
]
11 changes: 5 additions & 6 deletions apps/nextjs-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "nextjs-app",
"version": "3.59.1",
"sideEffects": false,
"private": true,
"type": "module",
"author": {
Expand Down Expand Up @@ -63,10 +62,10 @@
"@fontsource-variable/inter": "5.0.20",
"@headlessui/react": "2.1.2",
"@hookform/resolvers": "3.9.0",
"@httpx/assert": "0.12.3",
"@httpx/dsn-parser": "1.8.0",
"@httpx/exception": "3.0.7",
"@httpx/json-api": "0.5.20",
"@httpx/assert": "0.12.4",
"@httpx/dsn-parser": "1.8.1",
"@httpx/exception": "3.0.8",
"@httpx/json-api": "0.5.21",
"@mui/icons-material": "5.16.7",
"@mui/material": "5.16.7",
"@pothos/core": "3.41.2",
Expand Down Expand Up @@ -156,7 +155,7 @@
"typescript": "5.5.4",
"vite": "5.4.1",
"vite-plugin-magical-svg": "1.3.0",
"vite-tsconfig-paths": "4.3.2",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
}
}
3 changes: 2 additions & 1 deletion apps/vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.6.12",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"build": "tsc && vite build",
"clean": "rimraf ./dist ./tsconfig.tsbuildinfo ./node_modules/.vite",
Expand Down Expand Up @@ -40,7 +41,7 @@
"typescript": "5.5.4",
"vite": "5.4.1",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "4.3.2",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
}
}
10 changes: 6 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG NODE_VERSION=20.14
ARG NODE_VERSION=20.16
ARG ALPINE_VERSION=3.19

#############################################################
# Stage 1 - App extraction / pruning #
#############################################################

FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION} as app-builder
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION} AS app-builder

RUN apk add --no-cache git jq && corepack enable

Expand All @@ -26,7 +26,7 @@ RUN turbo prune --scope=nextjs-app --docker --out-dir=./out/nextjs-app/
# Stage 2 - App installation #
#############################################################

FROM app-builder as app-installer
FROM app-builder AS app-installer

# This will disable runtime env validation
# see ./src/config/server-runtime-env.config.mjs
Expand Down Expand Up @@ -79,7 +79,9 @@ RUN yarn turbo run build --filter=nextjs-app...
# Stage 3 - App runner #
#############################################################

FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION} as app-runner
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION} AS app-runner

ARG NEXTJS_APP_PORT

# Bort PORT / HOSTNAME envs are respected by nextjs start/dev.
ENV HOSTNAME=0.0.0.0
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"check:git-pristine": "./scripts/check-git-pristine.sh",
"clean:global-cache": "rimraf ./.cache",
"clean:turbo": "turbo clean && rimraf --glob '**/.turbo' '**/turbo-*.log'",
"deps:check": "npx npm-check-updates@latest --configFileName ncurc.yml --workspaces --root --mergeConfig",
"deps:update": "npx npm-check-updates@latest --configFileName ncurc.yml -u --workspaces --root --mergeConfig",
"deps:check": "npx npm-check-updates@latest --configFileName .ncurc.yml --workspaces --root --mergeConfig",
"deps:update": "npx npm-check-updates@latest --configFileName .ncurc.yml -u --workspaces --root --mergeConfig",
"g:build": "turbo run build",
"g:changeset": "changeset",
"g:check-dist": "turbo run check-dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"tsup": "8.2.4",
"typescript": "5.5.4",
"vite": "5.4.1",
"vite-tsconfig-paths": "4.3.2",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
},
"peerDependencies": {
Expand Down
17 changes: 12 additions & 5 deletions packages/db-main-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
"version": "2.14.1",
"private": true,
"sideEffects": false,
"main": "./src/index.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"author": {
"name": "Vanvelthem Sébastien",
"url": "https://github.com/belgattitude"
Expand Down Expand Up @@ -49,7 +56,7 @@
"dotenv-flow": "4.1.0",
"dotenv-flow-cli": "1.1.1",
"eslint": "8.57.0",
"execa": "9.3.0",
"execa": "9.3.1",
"graphql": "16.9.0",
"is-port-reachable": "4.0.0",
"keyword-extractor": "0.0.28",
Expand All @@ -63,13 +70,13 @@
"tsx": "4.17.0",
"typescript": "5.5.4",
"vite": "5.4.1",
"vite-tsconfig-paths": "4.3.2",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
},
"peerDependencies": {
"@pothos/plugin-prisma": "^3.41.0",
"@prisma/client": "^4.10.1 || ^5.0.0",
"graphql": "^16.6.0"
"@prisma/client": "^5.0.0",
"graphql": "^16.9.0"
},
"prisma": {
"seed": "tsx ./prisma/seed.ts"
Expand Down
Loading

0 comments on commit 4a6d75b

Please sign in to comment.