-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #301 from kloudlite/release-v1.0.5
Merging release-v1.0.5 to main
- Loading branch information
Showing
1,509 changed files
with
150,201 additions
and
37,664 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ extends: | |
rules: | ||
no-case-declarations: 0 | ||
no-restricted-syntax: 0 | ||
react/no-unescaped-entities: 0 |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"singleQuote": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM node:20.8.1-alpine AS base | ||
RUN apk add g++ make py3-pip | ||
RUN npm i -g pnpm | ||
WORKDIR /app | ||
COPY ./package.json ./package.json | ||
COPY ./pnpm-lock.yaml ./pnpm-lock.yaml | ||
|
||
RUN mkdir -p ./src/generated/plugin | ||
COPY ./src/generated/package.json ./src/generated/pnpm-lock.yaml ./src/generated/ | ||
COPY ./src/generated/plugin/package.json ./src/generated/plugin/pnpm-lock.yaml ./src/generated/plugin/ | ||
|
||
RUN --mount=type=bind,source=package.json,target=package.json \ | ||
--mount=type=bind,source=pnpm-lock.yaml,target=pnpm-lock.yaml \ | ||
--mount=type=cache,target=/root/.local/share/pnpm/store \ | ||
pnpm i --frozen-lockfile | ||
|
||
# lib | ||
COPY ./lib ./lib | ||
|
||
# design system | ||
COPY ./src/design-system/ ./src/design-system/ | ||
WORKDIR /app/src/design-system | ||
RUN pnpm i --frozen-lockfile | ||
RUN pnpm local:release | ||
|
||
# webinar | ||
WORKDIR /app | ||
COPY ./src/apps/webinar ./src/apps/webinar | ||
WORKDIR /app/src/apps/webinar | ||
RUN pnpm i --frozen-lockfile | ||
RUN pnpm build | ||
|
||
FROM node:20.8.1-alpine | ||
WORKDIR /app | ||
COPY --from=base /app/src/apps/webinar/.next ./.next | ||
COPY --from=base /app/src/apps/webinar/public ./public | ||
COPY --from=base /app/src/apps/webinar/package.json ./package.json | ||
COPY --from=base /app/src/apps/webinar/node_modules ./node_modules | ||
|
||
ENTRYPOINT npm run start |
Oops, something went wrong.