Compare commits

..

9 Commits

Author SHA1 Message Date
Ali BARIN
43cd8859bc Release v0.1.4 2022-10-08 14:38:27 +02:00
Ali BARIN
37548e6c39 chore: upgrade cli version with 0.1.4 in Dockerfiles 2022-10-08 14:37:55 +02:00
Ali BARIN
47930eca10 fix(backend): make getInterval optional 2022-10-08 14:36:38 +02:00
Ali BARIN
1b405728c4 Release v0.1.3 2022-10-08 13:03:31 +02:00
Ali BARIN
5d7bf38d13 chore: upgrade vers in Dockerfiles 2022-10-08 13:03:31 +02:00
Ali BARIN
2c2c1e8d89 chore: add 0.1.2 version in Dockerfiles 2022-10-08 12:57:27 +02:00
Ali BARIN
7f7ec6c115 docs: remove unnecessary text in READMEs 2022-10-08 12:56:29 +02:00
Ali BARIN
c9061b24a0 chore(backend): remove dist folder before building 2022-10-08 12:38:41 +02:00
Ali BARIN
a3dc7d2cde Release v0.1.1 2022-10-08 12:34:50 +02:00
12 changed files with 15 additions and 36 deletions

View File

@@ -2,4 +2,4 @@
FROM node:16 FROM node:16
WORKDIR /automatisch WORKDIR /automatisch
RUN yarn global add @automatisch/cli RUN yarn global add @automatisch/cli@0.1.4

View File

@@ -9,7 +9,7 @@ RUN mkdir -p /automatisch/storage
RUN touch /automatisch/storage/.env RUN touch /automatisch/storage/.env
RUN echo "ENCRYPTION_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env RUN echo "ENCRYPTION_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env
RUN echo "APP_SECRET_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env RUN echo "APP_SECRET_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env
RUN yarn global add @automatisch/cli RUN yarn global add @automatisch/cli@0.1.4
EXPOSE 3000 EXPOSE 3000
CMD sh /automatisch/wait-for-postgres.sh automatisch start --env-file=/automatisch/storage/.env CMD sh /automatisch/wait-for-postgres.sh automatisch start --env-file=/automatisch/storage/.env

View File

@@ -2,7 +2,7 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "0.1.1", "version": "0.1.4",
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"command": { "command": {

View File

@@ -2,11 +2,3 @@
The open source Zapier alternative. Build workflow automation without spending The open source Zapier alternative. Build workflow automation without spending
time and money. time and money.
## Usage
```
const backend = require('backend');
// TODO: DEMONSTRATE API
```

View File

@@ -1,6 +1,6 @@
{ {
"name": "@automatisch/backend", "name": "@automatisch/backend",
"version": "0.1.1", "version": "0.1.4",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "The open source Zapier alternative. Build workflow automation without spending time and money.", "description": "The open source Zapier alternative. Build workflow automation without spending time and money.",
"scripts": { "scripts": {
@@ -18,10 +18,11 @@
"db:rollback": "knex migrate:rollback", "db:rollback": "knex migrate:rollback",
"db:migrate": "knex migrate:latest", "db:migrate": "knex migrate:latest",
"copy-statics": "copyfiles src/**/*.{graphql,json,svg} dist", "copy-statics": "copyfiles src/**/*.{graphql,json,svg} dist",
"prepack": "yarn build" "prepack": "yarn build",
"prebuild": "rm -rf ./dist"
}, },
"dependencies": { "dependencies": {
"@automatisch/web": "^0.1.1", "@automatisch/web": "^0.1.4",
"@bull-board/express": "^3.10.1", "@bull-board/express": "^3.10.1",
"@gitbeaker/node": "^35.6.0", "@gitbeaker/node": "^35.6.0",
"@graphql-tools/graphql-file-loader": "^7.3.4", "@graphql-tools/graphql-file-loader": "^7.3.4",
@@ -99,7 +100,7 @@
"url": "https://github.com/automatisch/automatisch/issues" "url": "https://github.com/automatisch/automatisch/issues"
}, },
"devDependencies": { "devDependencies": {
"@automatisch/types": "^0.1.1", "@automatisch/types": "^0.1.4",
"@types/bcrypt": "^5.0.0", "@types/bcrypt": "^5.0.0",
"@types/bull": "^3.15.8", "@types/bull": "^3.15.8",
"@types/cors": "^2.8.12", "@types/cors": "^2.8.12",

View File

@@ -33,7 +33,7 @@ const updateFlowStatus = async (
const triggerStep = await flow.getTriggerStep(); const triggerStep = await flow.getTriggerStep();
const trigger = await triggerStep.getTrigger(); const trigger = await triggerStep.getTrigger();
const interval = trigger?.getInterval(triggerStep.parameters); const interval = trigger.getInterval?.(triggerStep.parameters);
const repeatOptions = { const repeatOptions = {
cron: interval || EVERY_15_MINUTES_CRON, cron: interval || EVERY_15_MINUTES_CRON,
}; };

View File

@@ -2,9 +2,3 @@
The open source Zapier alternative. Build workflow automation without spending The open source Zapier alternative. Build workflow automation without spending
time and money. time and money.
## Usage
```
// TODO: DEMONSTRATE API
```

View File

@@ -1,6 +1,6 @@
{ {
"name": "@automatisch/cli", "name": "@automatisch/cli",
"version": "0.1.1", "version": "0.1.4",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "The open source Zapier alternative. Build workflow automation without spending time and money.", "description": "The open source Zapier alternative. Build workflow automation without spending time and money.",
"contributors": [ "contributors": [
@@ -33,7 +33,7 @@
"version": "oclif readme && git add README.md" "version": "oclif readme && git add README.md"
}, },
"dependencies": { "dependencies": {
"@automatisch/backend": "^0.1.1", "@automatisch/backend": "^0.1.4",
"@oclif/core": "^1", "@oclif/core": "^1",
"@oclif/plugin-help": "^5", "@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.0.1", "@oclif/plugin-plugins": "^2.0.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@automatisch/docs", "name": "@automatisch/docs",
"version": "0.1.1", "version": "0.1.4",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "The open source Zapier alternative. Build workflow automation without spending time and money.", "description": "The open source Zapier alternative. Build workflow automation without spending time and money.",
"private": true, "private": true,

View File

@@ -2,11 +2,3 @@
The open source Zapier alternative. Build workflow automation without spending The open source Zapier alternative. Build workflow automation without spending
time and money. time and money.
## Usage
```
const types = require('@automatisch/types');
// TODO: DEMONSTRATE API
```

View File

@@ -1,6 +1,6 @@
{ {
"name": "@automatisch/types", "name": "@automatisch/types",
"version": "0.1.1", "version": "0.1.4",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "Type definitions for automatisch", "description": "Type definitions for automatisch",
"homepage": "https://github.com/automatisch/automatisch", "homepage": "https://github.com/automatisch/automatisch",

View File

@@ -1,11 +1,11 @@
{ {
"name": "@automatisch/web", "name": "@automatisch/web",
"version": "0.1.1", "version": "0.1.4",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "The open source Zapier alternative. Build workflow automation without spending time and money.", "description": "The open source Zapier alternative. Build workflow automation without spending time and money.",
"dependencies": { "dependencies": {
"@apollo/client": "^3.6.9", "@apollo/client": "^3.6.9",
"@automatisch/types": "^0.1.1", "@automatisch/types": "^0.1.4",
"@emotion/react": "^11.4.1", "@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0", "@emotion/styled": "^11.3.0",
"@hookform/resolvers": "^2.8.8", "@hookform/resolvers": "^2.8.8",