-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding @dust-tt/types empty package Remove readme file Clean up adjust name + tsconfig moduleResolution Moving KeyType for POC Add dts-cli Fix front end github workflow Adjust Docker build information for front Adjust Dockerfile location Testing new settings npm install types npm install Fix types copy Start command Clean up Fix format Remove demo page Cleaner build method Deploy front edge adjusted Fix _DOCKERFILE_PATH Displaying initial pwd print args Fix deploy Testing front and connectors deployment on edges Add dts-cli to front/package-lock.json dependencies Fix types/package-lock.json Revert to connectors/package*.json from main Harmonize Dockerfile and package-*.json Build and lint types in build-and-lint-connectors Adjust github workflow deploy-connectors-edge Fix deploy-connectors-edge Testing docker build for alerting/temporal without the deploy steps Add build only Github workflow for alerting/temporal Trigger workflow from branch Adjust docker file path for alerting/temporal Adjust all workflows Fix connectors deployment Add PostContentFragment io-ts Format types npm format front> npm run format Clean up after self review types> add npm run lint to the CI build and lint workflow npm run format Downgrading typescript version for types/ fix front/package conflict * Fix front workflow --------- Co-authored-by: ARIC LASRY <[email protected]>
- Loading branch information
Showing
35 changed files
with
9,234 additions
and
65 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Build & Lint (types) | ||
|
||
on: | ||
push: | ||
paths: | ||
- types/** | ||
- .github/workflows/build-and-lint-types.yml | ||
|
||
jobs: | ||
check-eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.15.0 | ||
cache: "npm" | ||
cache-dependency-path: ./types/package-lock.json | ||
- working-directory: types | ||
run: npm install && npm run lint && npm run build | ||
|
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,14 +1,20 @@ | ||
FROM node:18.15.0 as front | ||
|
||
WORKDIR /types | ||
COPY /types/package*.json ./ | ||
COPY /types/ . | ||
RUN npm ci | ||
|
||
WORKDIR /app | ||
|
||
COPY package*.json ./ | ||
COPY /front/package*.json ./ | ||
RUN npm ci | ||
|
||
COPY . . | ||
COPY /front . | ||
|
||
# fake database URIs are needed because Sequelize will throw if the `url` parameter | ||
# is undefined, and `next build` imports the `models.ts` file while "Collecting page data" | ||
RUN FRONT_DATABASE_URI="sqlite:foo.sqlite" XP1_DATABASE_URI="sqlite:bar.sqlite" npm run build | ||
|
||
|
||
CMD ["npm", "--silent", "run", "start"] | ||
CMD ["npm", "--silent", "run", "start"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.