Commit graph

28 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ 9ee292cd17
ci: Start supporting node.js 18 (#4518)
* ci: start supporting node.js 18

Node.js 18 becomes the active LTS on 2022-10-25, as Node.js 16 goes into maintenance mode.
https://github.com/nodejs/Release#release-schedule

* continue using node 16 for production images

* node 16 for debian and base images as well for now
2022-11-07 15:51:57 +01:00
कारतोफ्फेलस्क्रिप्ट™ a6cd95b9f3
ci: fix nightly builds (#4322) 2022-10-12 10:08:57 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0b6a9585d4
fix(cli): add git to all docker images (#4189) 2022-09-26 12:43:36 +02:00
Alex Grozav 27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061)
* feat: Added vite.js dependencies.

* chore: Removed tests folder to follow same structure as design-system

* chore: Removed unused testing config.

* chore: Created vite.js index.html

* refactor: Updated scss structure and imports.

* refactor: Updated workflow building.

* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.

* feat: Got a working build using Vite. Need to fix issues next.

* fix: Progress! Getting process.env error.

* fix: Changed process.env to import.meta.env.

* fix: Fixed circular imports that used require(). Fixed monaco editor.

* chore: Removed commented code.

* chore: Cleaned up package.json

* feat: Made necessary changes to replace base path in css files.

* feat: Serve CSS files for `editor-ui` Vite migration (#4069)

 Serve CSS files for Vite migration

* chore: Fixed package-lock.json.

* fix: Fixed build after centralized tsconfig update.

* fix: Removed lodash-es replacement.

* fix: Commented out vitest test command.

* style: Fixed linting issues.

* fix: Added lodash-es hotfix back.

* chore: Updated package-lock.json

* refactor: Renamed all n8n scss variables to no longer be defined as private.

* feat(editor): add application-wide el-button replacement.

* fix(editor): Fix import in page alert after merge.

* chore(editor): update package-lock.json.

* fix: Case sensitive lodash-es replacement for vue-agile.

* fix: add alias for lodash-es camelcase import.

* fix: add patch-package support for fixing quill

* feat: add patch-package on postinstall

* fix: update quill patch path.

* refactor: rename quill patch

* fix: update quill version.

* fix: update quill patch

* fix: fix linting rules after installing eslint in design-system

* fix: update date picker button to have primary color

* test: update callout component snapshots

* fix(editor): fix linting issues in editor after enabling eslint

* fix(cli): add /assets/* to auth ignore endpoints in server

* chore: update package-lock.json

* chore: update package-lock.json

* fix(editor): fix linting issues

* feat: add vite-legacy support

* fix: update workflow package interface imports to type imports.

* chore: update package-lock.json

* fix(editor) fix importing translations other than english

* fix(editor): remove test command until vitest is added

* fix: increase memory allocation for vite build

* fix: add patch-package patches to n8n-custom docker build

* fix: add performance and load time improvements

* fix: add proper typing to setNodeType

* chore: update package-lock.json

* style: use generic type for reduce in setNodeType

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00
कारतोफ्फेलस्क्रिप्ट™ 651d788ddb
fix: revert CI checks to ensure that the package-lock.json file is up to date (#4135)
* Revert "ci: fail the build if `package-lock.json` is out of sync (#4101)"

This reverts commit b2807cecb3.

* Update package-lock.json
2022-09-19 11:07:28 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9267e8fb12
fix(typescript): Use consistent typescript configs - N8N-4552 (#4049)
fix(typescript): Use consistent typescript configs

make all packages inherit tsconfig from the root tsconfig
skips building tests. reformat all tsconfigs with prettier.
2022-09-09 18:00:18 +02:00
कारतोफ्फेलस्क्रिप्ट™ 346ebee584
fix(docker): Make the docker images backward compatible (#3987) 2022-08-31 19:34:30 +02:00
कारतोफ्फेलस्क्रिप्ट™ 398adb23e8
feat(docker): reduce the size of alpine docker images (#3973)
* reduce redundant code between the two alpine Dockerfiles
* reduce the docker image build times
* reduce the `n8n` image size from 1.17GB to 462MB
* reduce the `n8n-custom` image size from 671MB to 460MB
* reduce the size of npm tree by making all typing packages devDependencies

Partially resolves this ticket: N8N-3252
2022-08-31 15:25:52 +02:00
Iván Ovejero 11617616cd
refactor: Format root-level files (#3858)
*  Create `format.mjs` script

* 👕 Add lint exception

*  Add root formatting to `format` command

* 🎨 Fix glob in `.prettierignore`

* 🚚 Improve naming

* 🎨 Format root-level files

*  Simplify check

*  Add period to extension

*  Locate config

*  Add `ignore` arg

* 🚚 Move `config` and `ignore` after check
2022-08-19 15:34:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ c1451d2688
build: Prevent non-hoisted dependencies from breaking docker images (#3852) 2022-08-08 18:37:08 +02:00
Alex Grozav a9fa830bd7
build: Migrate from lerna to turborepo (#3796)
* feat: Added turborepo setup.

* feat: Updated nodes and credentials loading.

* feat: Removed remaining lerna references.

* fix: Updated npm run bootstrap command.

* feat: Added CI step for installing latest npm.

* chore: Removed lerna config.

* feat: Added gulp to global ci packages.

* fix: Set node as moduleResolution target in workflow. Fixed CI.

* fix: Added turborepo installation to the n8n-custom docker image.

* fix: Updated copied docker files for n8n-custom.

* fix: Added git as dependency in n8n-custom dockerfile.

* fix: Changed npm install command in n8n-custom.

* 📦 Update `package-lock.json`

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Jan Oberhauser ace49ef535 build: Use package-lock.json file with custom build 2022-07-29 15:14:33 +02:00
Jan Oberhauser 061e36e8ab build: Fix docker custom build 2022-05-21 09:42:12 +02:00
Jan Oberhauser c45ab96559 🐳 Update Node.js versions of Docker images to 16 2022-03-04 14:46:00 +01:00
Jan Oberhauser f1b9bb914c Roll back for now to Node.js v14 2022-02-06 11:01:09 +01:00
Iván Ovejero fc550ecbcb
Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

*  Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Jan Oberhauser 9b405707e2 🐛 Fix docker custom build 2021-11-27 10:44:14 +01:00
Mutasem Aldmour 91bafb4860
Commit package lock (#2470) 2021-11-25 18:12:38 +01:00
Max Mayr c6fec12bec
🐛 Fix permission issue with custom images (#2355) 2021-11-13 11:06:16 +01:00
Mutasem Aldmour 5bd8f7c93e
Implement design system (#2050)
* split up main, sass imports, import new nds

* migrate most buttons

* update sizes based on feedback

* update copy buttons

* update executions list

* fix issues

* force message box buttons

* update warning color

* update more buttons

* wrap message box buttons

* update last component

* lint fixes

* add build report step

* breakout imports

* set package.json

* fix notification bug

* clean up imports

* use build directories directly

* update imports

* remove xl size

* update number inputs

* fix input width

* update line height, fix icon bug

* fix up editor

* fix spacing between buttons

* Reset line height

* revert changes to this

* revert changes

* clean up button sizes

* change to outline

* update select height

* update tooltip

* remove build report step

* clean up impl

* remove regenerator runtime

* add design system repo

* apply editorconfig

* apply editor config prettier

* lint issue

* switch to tabs

* switch to single space

* update eslintrc

* remove git modules

* update sass package

* support dart sass

* add build

* update dependency

* update contributing.md

* set repo

* update versions

* add tslint step

* update spacing to spaces, add dev step

* add test step

* add test step

* update browser lint rc

* remove .github

* delete .gitignore

* set comment for icons

* remove preview link

* update button interface

* update types

* set types

* clean up intro

* update intro

* remove assets

* move into preview

* remove headline comment

* reduce theme build

* loading executions

* match deps versions

* match deps versions

* fix lint issues

* fix lint issues

* update callback

* disable codacy for docs.css

* fix storybook issues

* add design system to docker image

* update spacing around delete sort button

* set line height to stop juggling headline

* update sizes

* clean up vars

* fix scss issues

* update button vars

* add shade color

* fix button without click

* fix buttons bug

* fix bug with executions list

* clean up theme

* update link styling

* fix typo

* run prettier

* 🎨 code format

* 🎨 code format

* 🔥 remove empty files

*  N8n 2284 new inputs (#2075)

* implement inputs

* prettier fixes

* revert unnessary change

* move input components and tooltip

* remove form elements

* move select

* update input placements

* update sizes

* update credentails

* clean up select size

* fix caret issue

* update inputs

* clean up select

* fix tags dropdown border

* clean up tags input

* fix workflow name bug

* clean up select here

* add sizes template

* fix option caret

* fix input sizes

* update date input size

* remove tags input override

* update prop

* update input size

* center run data inputs

* update disabled colors

* update execution header

* update scrollbar

* update text area spacing

* fix items in header

* update run data tooltip

* remove popover

* update prefix positions

* add filterable demo

* address design issues

* fix input issues, flip boolean input to text

* update input sufffix colors

* remove override

* speed up switch, fix toggle spacing issue

* update icon

* remove icon classes

* clean up inputs

* clean up inputs with icons

* update input spacing again

* update suffix position

* build

* Add support for xlarge inputs

* fix input issues

* fix input issue

* update listeners

* update number inputs for settings

* update append/prepend spacing

* clean up inputs, set expression input as text

* fix type errors

* fix workflow number input

* fix tags dropdown bug

* fix bugs

* fix menu item bug

* remove font weight from link element

* remove default

* fix select option

* fix contrast issues

* allow overflow x for multi selects

* fix icon

* update options select

* fix issue that resolves expression to null

* update how actions are centered

* fix up selects

* update selects to support limiting size

* update option styles

*  Apply suggestions BHesseldieck

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>

* 🎨 code format

Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

*  Revert "🔥 remove empty files"

This reverts commit e91ace4e52.

*  Remove private from n8n-design-system package

* 🎨 Change to spaces to stay consistent with editorconfig & others
package files

*  Fix year in license

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-29 13:36:17 +02:00
Jan 3667b0dd01
Add Git node (#1820)
*  Add Git-Node

* 👕 Fix lint issue

* 🎨 add git icon

*  Fix indentation in package.json files

*  Add support for pushTags

*  Add support for addConfig, fetch, listConfig and status

*  Add support for clone

*  Remove not needed code

*  Add proper continueOnFail support & alphabetize options

* 🐛 Remove console.log

*  Improve Git Node

*  Improve Git Node

* 🐳 Add git to Docker images

*  Auto create folder if not exists and clarify addConfig mode

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-06-05 15:43:54 -05:00
Jan Oberhauser 10a377a599 🐳 Update Node.js versions of Docker images to 14 2021-02-06 17:52:56 +01:00
Jan Oberhauser 6ffab9860c Remove not needed file 2021-02-04 10:52:35 +01:00
Jan Oberhauser 19e2eeadcd 🐳 Add fonts to alpine based docker images 2020-11-18 21:24:51 +01:00
Jan Oberhauser b4b65bb906 🐳 Build Raspberry Pi Docker image correctly 2020-07-05 19:22:25 +02:00
Jan Oberhauser 95068aa132 🐳 Expose port in dockerfile 2020-06-30 16:55:17 +02:00
Jan Oberhauser ff62470c73 🐳 Improve docker script for custom image 2020-05-27 13:57:39 +02:00
Jan Oberhauser 24081d697b 🐳 Add Dockerfile to create image with local code 2020-05-15 09:31:55 +02:00