Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add pnpm workspace #59

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
chore(app): formatting and readme fix
  • Loading branch information
JH committed Mar 19, 2024
commit d98a9c004d96483559e94b56045d1a09331c0309
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dist
.github
.vscode
.next
lib/lib
lib/lib
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ yarn-error.log*
.vercel

# typescript
*.tsbuildinfo
*.tsbuildinfo
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
link-workspace-packages=false
link-workspace-packages=false
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CMD [ "node", "dist/server.js" ]



# Nextjs
# Next.js
FROM base AS next-deps
WORKDIR /home/node/repo
COPY --from=base-deps /home/node/repo ./
Expand Down
2 changes: 1 addition & 1 deletion examples/express/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom server example with Express, Varnish, and react-esi

This example demonstrates how to set up an [Express](https://expressjs.com/) server using Typescript. Additionally, it introduces caching optimization with a [Varnish](https://varnish-cache.org/intro/) server and the `react-esi` library using `esi:include` tags.
This example demonstrates how to set up an [Express](https://expressjs.com/) server using TypeScript. Additionally, it introduces caching optimization with a [Varnish](https://varnish-cache.org/intro/) server and the `react-esi` library using `esi:include` tags.

The server entry point is `server.tsx` in development and `dist/server.js` in production.

Expand Down
2 changes: 1 addition & 1 deletion examples/next/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_ESI_SECRET=secret
REACT_ESI_SECRET=secret
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@
"react": "^16.7.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.7.0 || ^17.0.0 || ^18.0.0"
}
}
}