Skip to content

Commit

Permalink
fix: Community rules & incorrect out of date (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
benscobie authored Dec 20, 2024
1 parent bd3d7b5 commit 1797104
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ COPY --from=builder --chmod=777 --chown=node:node /app/ui/public ./ui/public

# Copy standalone server
COPY --from=builder --chmod=777 --chown=node:node /app/server/dist ./server
COPY --from=builder --chmod=777 --chown=node:node /app/server/package.json ./server/package.json
COPY --from=builder --chmod=777 --chown=node:node /app/server/node_modules ./server/node_modules

COPY docker/supervisord.conf /etc/supervisord.conf
Expand Down
2 changes: 1 addition & 1 deletion docker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ logfile=/dev/null
pidfile=/dev/null

[program:server]
command=node /opt/app/server/main.js
command=npm run --prefix /opt/app/server start:release
autorestart=true
startretries=100
stdout_logfile=/dev/fd/1
Expand Down
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@
}
],
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"prepareCmd": "yarn --cwd server version ${nextRelease.version} && yarn --cwd ui version ${nextRelease.version}"
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"server/package.json",
"ui/package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version}"
Expand Down
2 changes: 2 additions & 0 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@maintainerr/server",
"version": "2.3.1",
"private": true,
"exports": {
"./*": "./src/*.ts"
Expand All @@ -11,6 +12,7 @@
"dev": "nest start --watch",
"build": "nest build",
"start": "node dist/main",
"start:release": "node main",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"format": "prettier --write --ignore-path .gitignore .",
"format:check": "prettier --check --ignore-path .gitignore .",
Expand Down
2 changes: 1 addition & 1 deletion ui/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
1 change: 1 addition & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@maintainerr/ui",
"version": "2.3.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 1797104

Please sign in to comment.