-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): upgrade React v17 --> v18 (#1542)
* refactor: remove matomo init from index.html * build(frontend): add @hotosm/ui for matomo component, remove unused deps * build: update node version for debug/prod frontend 18 --> 20 * docs: update npm package.json scripts for dev * build: add shoelace peerdep, upgrade hotosm/ui to latest beta * build: add option to override hotosm/ui during development * build: update dependencies to work with react 18 * test: remove trial tests for button component * fix: update deprecations react --> v18, redux --> v5
- Loading branch information
1 parent
7522348
commit 2ef801c
Showing
22 changed files
with
6,958 additions
and
5,952 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM docker.io/node:18-slim | ||
FROM docker.io/node:20-slim | ||
WORKDIR /app | ||
COPY ./package.json ./pnpm-lock.yaml ./ | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
RUN pnpm install | ||
ENV NODE_ENV development | ||
ENTRYPOINT ["npm", "run", "start:live"] | ||
ENTRYPOINT ["pnpm", "run", "dev"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.