forked from activepieces/activepieces
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c5c639
commit 82b634b
Showing
318 changed files
with
45,761 additions
and
43,342 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
node_modules/ | ||
.angular |
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,42 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": ["**/*"], | ||
"plugins": ["@nrwl/nx"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@nrwl/nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [ | ||
{ | ||
"sourceTag": "*", | ||
"onlyDependOnLibsWithTags": ["*"] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nrwl/nx/typescript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nrwl/nx/javascript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": {} | ||
} | ||
] | ||
} |
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,44 +1 @@ | ||
name: Release frontend | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
|
||
jobs: | ||
Release-Frontend: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set RELEASE env var from package.json | ||
run: echo RELEASE=$(node --print "require('./packages/frontend/package.json').version") >> $GITHUB_ENV | ||
|
||
- name: Fail if tag already exists | ||
run: "! docker manifest inspect activepieces/frontend:${{ env.RELEASE }}" | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./frontend.Dockerfile | ||
platforms: | | ||
linux/amd64 | ||
linux/arm64 | ||
push: true | ||
tags: | | ||
activepieces/frontend:${{ env.RELEASE }} | ||
activepieces/frontend:latest |
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 was deleted.
Oops, something went wrong.
0
packages/frontend/.npmrc → .npmrc
100755 → 100644
File renamed without changes.
Empty file.
Empty file.
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,8 @@ | ||
{ | ||
"recommendations": [ | ||
"nrwl.angular-console", | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"firsttris.vscode-jest-runner" | ||
] | ||
} |
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 @@ | ||
FROM node:18.13.0-bullseye | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
locales \ | ||
locales-all \ | ||
libcap-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Set the locale | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
RUN npm i -g --unsafe-perm \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] | ||
|
||
COPY packages/backend/src/assets/default.cf /usr/local/etc/isolate |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM node:18.13.0-bullseye | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
locales \ | ||
locales-all \ | ||
libcap-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Set the locale | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
RUN npm i -g --unsafe-perm \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] | ||
|
||
COPY packages/backend/src/assets/default.cf /usr/local/etc/isolate | ||
|
||
WORKDIR /usr/src/app | ||
COPY . . | ||
|
||
EXPOSE 3000 | ||
|
||
ENTRYPOINT ["node", "dist/packages/backend/main.js"] |
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,69 @@ | ||
version: '3.0' | ||
|
||
services: | ||
backend: | ||
image: activepieces/backend-base:0.0.7 | ||
environment: | ||
AP_JWT_SECRET: super-secret | ||
AP_POSTGRES_HOST: postgres | ||
AP_REDIS_HOST: redis | ||
privileged: true | ||
ports: | ||
- "3000:3000" | ||
- "9229:9229" | ||
networks: | ||
- activepieces_dev | ||
volumes: | ||
- ./:/usr/src/app | ||
working_dir: /usr/src/app | ||
entrypoint: | ||
- npx | ||
- nx | ||
- serve | ||
- backend | ||
depends_on: | ||
- postgres | ||
- redis | ||
|
||
frontend: | ||
image: node:18.13.0-bullseye | ||
ports: | ||
- "4200:4200" | ||
- "9222:9222" | ||
networks: | ||
- activepieces_dev | ||
volumes: | ||
- ./:/usr/src/app | ||
working_dir: /usr/src/app | ||
entrypoint: | ||
- npx | ||
- nx | ||
- serve | ||
- frontend | ||
depends_on: | ||
- backend | ||
|
||
postgres: | ||
image: postgres:14.4 | ||
environment: | ||
POSTGRES_DB: activepieces | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: A79Vm5D4p2VQHOp2gd5 | ||
volumes: | ||
- postgres_data_dev:/var/lib/postgresql/data | ||
networks: | ||
- activepieces_dev | ||
|
||
redis: | ||
image: redis:7.0.7 | ||
volumes: | ||
- redis_data_dev:/data | ||
networks: | ||
- activepieces_dev | ||
|
||
volumes: | ||
postgres_data_dev: | ||
redis_data_dev: | ||
|
||
networks: | ||
activepieces_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 was deleted.
Oops, something went wrong.
Oops, something went wrong.