Commit Graph

463 Commits

Author SHA1 Message Date
Pascal Jufer
1a39b4bc6d lint-staged: Reintroduce Prettier for md files (#5382) 2021-04-30 08:44:47 -04:00
rijkvanzanten
99fcf12e73 Fix linter workflow 2021-04-29 16:24:31 -04:00
rijkvanzanten
9b3814545d Speed up on-commit eslint fix 2021-04-29 16:18:40 -04:00
Pascal Jufer
40eba791fa Fix & enhance linting (#5312)
* Enhance eslint config

* Config with sensible settings for typescript and vue,
  including comments
* Differentiate between js/ts files
* Lint .eslintrc.js itself
* Update lint-related packages
  Note: This is required to solve the following error:
    Error: Failed to load plugin 'prettier-vue' declared in '.eslintrc.js#overrides[1]': Cannot find module '@vue/compiler-sfc'

* Only check related files on "npm run lint:stylelint"

* Otherwise stylelint will fail (e.g. on *.d.ts files)
* Also ingore some directories

* Continue on error when linting (show output of both)

* Update package.json

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-29 12:01:17 -04:00
dependabot[bot]
e336f4421d Bump @types/node from 14.14.37 to 15.0.1 (#5352)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.37 to 15.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 09:57:07 -04:00
dependabot[bot]
0bb930adb8 Bump eslint-plugin-prettier from 3.3.1 to 3.4.0 (#5318) 2021-04-28 09:22:30 -04:00
dependabot[bot]
f1214150e3 Bump simple-git-hooks from 2.3.1 to 2.4.1 (#5316) 2021-04-28 09:18:56 -04:00
dependabot[bot]
0e7c1989ed Bump stylelint-config-standard from 21.0.0 to 22.0.0 (#5284)
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 21.0.0 to 22.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/21.0.0...22.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 10:16:50 -04:00
dependabot[bot]
f0e9e4ad5b Bump eslint-config-prettier from 8.1.0 to 8.3.0 (#5283)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.1.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.1.0...v8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 10:16:06 -04:00
rijkvanzanten
88d66b41e1 Rename e2e-tests->tests 2021-04-16 16:53:28 -04:00
Jakob
9df7b91564 Improve e2e test watch mode (#5053)
* Improve e2e test watch mode

- run setup only once
- disable teardown

* Add container cleanup for watch mode

* Don't rely on inline exec code

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-14 17:54:26 -04:00
rijkvanzanten
ee4251fc77 Add exact to lerna publish
Fixes #4598
2021-04-12 13:34:48 -04:00
Rijk van Zanten
c7476cedbd End-to-end test setup (#4833)
* First start on test setup

* Setup e2e runner framework

* Use prepublishOnly for docs build

* Setup docker-based e2e test runner

* Spacing

* Setup db-getter + config

* Build image in Dockerode, pull images if needed

* Fix waiting for DB, run test for each running instance

* Get tests running per vendor

* Temp remove oracle

* Close awaiting connections in between
2021-04-05 15:11:02 -04:00
WoLfulus
3c1204b928 SDK 2.0 (#4510)
* add new sdk

* update version

* fixes and sdk documentation

* typing updates, documentation

* added missing endpoints

* targeting minified version for unpkg

* removed unused types file

* fixed non minified versions

* fix sdk exports

* fix the fix

* Remove old sdk

* Remove old sdk docs

* Install types for Jest, add npm test

* Rely on npm exclusively

* Remove examples folder

* Move typescript down

* Update sdk.md

* added auto refresh and requested changes

added more http test calls
fixed typing issue in customized types

* remove unused endpoint

* updated docs

* added singletons, fixed typing issues, added password handlers

* rename graphql function and fixed system endpoint

* Remove unused imports, fix build

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
2021-03-30 18:23:23 -04:00
rijkvanzanten
a12c433249 Add missing stylelint dependencies 2021-03-26 16:18:23 -04:00
rijkvanzanten
2d59412209 Update knex 2021-03-25 15:30:05 -04:00
Rijk van Zanten
c310afa846 Rely on npm Workspaces for module resolving (#4656)
* Move devDeps to API

* Move app to npm workspaces

* Tweaks / add lockfiles

* Add locks, fix devdeps across packages

* Move eslint config rootlevel

* Use eslint fix for vue files instead of vue-cli-service

* Add global prettier format option

* Create lockfiles for all packages

* Replace husky with simple-git-hooks
2021-03-24 16:01:49 -04:00
Rijk van Zanten
1d9ffc2d7f Tweak asset metadata on upload (#4317)
* Update sharp

* Only read image metadata after upload

Preserves animated gifs and other files

Fixes #4297

* Rotate thumbnails based on exif data

Ref #4206
2021-02-26 17:18:17 -05:00
rijkvanzanten
64b012bccc Revert "Link devDependencies"
This reverts commit 63ec4b8e60.
2021-02-24 19:03:26 -05:00
rijkvanzanten
63ec4b8e60 Link devDependencies 2021-02-24 18:27:01 -05:00
rijkvanzanten
6c96cc7eed Bump versions 2021-02-23 17:13:39 -05:00
rijkvanzanten
0fcada652f New lockfile version 2021-02-19 17:18:39 -05:00
Rijk van Zanten
35830a5dfe Move Flydrive home and implement Azure (#4110)
* Add new packages

* Update docs

* Update linked packages

* Setup file pointers

* Don't require getStream to be async

* List credits

* Load azure in storage

* Fix typo in docs

* Fix another typo

* Remove not about raising an issue
2021-02-16 18:33:50 -05:00
Rijk van Zanten
df22a58c6a Update in-app docs (#3989)
* Fix root redirect

* Fix html in headings

* Add graphql syntax mode

* Install markdown-it + plugins

* Fix file copying on mac

* Replace md rendering engine

* Fix wrong links in guides

* Scroll to top on every route change

* Update in-app links

* Fix home redirect

* Fix deep-linking paths

* Add to reference

* Fix nested group scoping

* Fix open path reference
2021-02-09 18:31:25 -05:00
WoLfulus
d3986577e2 Adds gatsby integration package (#3730)
* Adds gatsby integration package for v9

* added credentials authentication and update readme

* corrected package.json

* Remove workarounds

* Link gatsby-source-directus locally

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-08 12:35:49 -05:00
rijkvanzanten
f01685bcc9 Add imageToken option to markdown interface 2021-01-19 12:27:08 -05:00
rijkvanzanten
2aeafb2bce Finish markdown interface v3 2021-01-14 19:34:16 -05:00
WoLfulus
7f3e095a1f Enable base and admin routes when developing a Directus app 2020-12-17 11:42:50 -03:00
Nicola Krumschmidt
53aa4e6191 Refactor rollup config of format-title
This includes using the official rollup plugins where possible, using
dedicated builds for node and browsers and minifying production builds.
2020-12-09 16:11:27 +01:00
rijkvanzanten
c556d01c5c Install vue-cli-plugin-yaml 2020-12-08 10:17:25 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
Igor Savin
87db93f88d Replace TSlint with ESLint TS plugin.
Unify Prettier configuration
Add linting Lerna job
2020-12-08 01:22:52 +02:00
rijkvanzanten
30b4463057 Update docs 2020-12-01 16:46:15 -05:00
rijkvanzanten
ada43e6b5c Update release script 2020-11-18 20:45:57 -05:00
rijkvanzanten
d44f99331c Fix links to next repo 2020-11-18 20:34:14 -05:00
rijkvanzanten
4a3e45b4c1 Move app build dependencies to root
Fixes #1000
2020-11-16 12:29:31 -05:00
rijkvanzanten
1379ae138b Locally link sdk 2020-11-15 22:29:05 -05:00
rijkvanzanten
456d46f474 Get tests to 100% 2020-11-15 22:27:07 -05:00
rijkvanzanten
d633b56629 Add missing tests for auth 2020-11-15 21:04:37 -05:00
rijkvanzanten
89293a3db7 Merge branch 'main' into sdk 2020-11-15 20:03:52 -05:00
rijkvanzanten
94378091de Allow running CLI from root with correct env file 2020-11-13 17:30:53 -05:00
rijkvanzanten
8057081ce6 Re-fix @types/express-session situation
Fixes #991
2020-11-13 10:11:23 -05:00
rijkvanzanten
3654da7fa9 Work around breaking change in @types/express-sesssion
Fixes #927
2020-11-11 09:41:25 -05:00
rijkvanzanten
528112314d Remove outdated tests, fix imports 2020-11-09 12:29:01 -05:00
rijkvanzanten
07dd583060 Fix package resolution
Ref #882
2020-11-05 10:33:39 -05:00
rijkvanzanten
d625be139f Start on tests 2020-10-24 13:40:27 +02:00
rijkvanzanten
b96dbc4a21 Update setup script 2020-10-16 15:34:02 -04:00
rijkvanzanten
7f306cca03 Move title formatter into monorepo 2020-10-14 12:15:25 -04:00
rijkvanzanten
272a2090ac Add setup command 2020-10-08 10:18:16 -04:00
rijkvanzanten
e9f136bbb0 Add nav structure to docs folder 2020-10-07 21:57:22 -04:00