diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c152c3a205..b8cee52696 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Check for skippable jobs id: skip_check - # Switch back to fkirc/skip-duplicate-actions@master once https://github.com/fkirc/skip-duplicate-actions/pull/159 has been merged + # Switch back to fkirc/skip-duplicate-actions@master once https://github.com/fkirc/skip-duplicate-actions/pull/159 has been merged uses: paescuj/skip-duplicate-actions@path-filters # Don't skip any jobs if the pre-check should fail for any reason # (setting this on step-level makes sure the pre-check will still be marked as 'passed', diff --git a/api/README.md b/api/README.md index fa4856f7d1..18ed4cde7e 100644 --- a/api/README.md +++ b/api/README.md @@ -33,7 +33,7 @@ Learn more at... ## Installing -Directus requires NodeJS 10+. Create a new project with our simple CLI tool: +Directus requires NodeJS 10+. Create a new project with our simple CLI tool: ``` npm init directus-project my-project diff --git a/api/src/database/migrations/20210506A-rename-interfaces.ts b/api/src/database/migrations/20210506A-rename-interfaces.ts index 691479e172..098c400101 100644 --- a/api/src/database/migrations/20210506A-rename-interfaces.ts +++ b/api/src/database/migrations/20210506A-rename-interfaces.ts @@ -31,7 +31,7 @@ const changes: [string, string, Record?][] = [ ['toggle', 'boolean'], ['translations', 'translations'], ['tree-view', 'list-o2m-tree-view'], - ['user', 'select-dropdown-m2o', { template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}' }], + ['user', 'select-dropdown-m2o', { template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}' }], ['wysiwyg', 'input-rich-text-html'], // System: diff --git a/app/src/stores/presets.ts b/app/src/stores/presets.ts index c3a19793fe..cc950a67c9 100644 --- a/app/src/stores/presets.ts +++ b/app/src/stores/presets.ts @@ -30,7 +30,7 @@ const systemDefaults: Record> = { cards: { icon: 'insert_drive_file', title: '{{ title }}', - subtitle: '{{ type }} • {{ filesize }}', + subtitle: '{{ type }} • {{ filesize }}', size: 4, imageFit: 'crop', }, diff --git a/docker/Dockerfile b/docker/Dockerfile index e8d3ee5a8f..d3ccd191ff 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,7 +25,7 @@ ARG REPOSITORY=directus/directus LABEL directus.version="${VERSION}" # Default environment variables -# (see https://docs.directus.io/reference/environment-variables/) +# (see https://docs.directus.io/reference/environment-variables/) ENV \ DB_CLIENT="sqlite3" \ DB_FILENAME="/directus/database/database.sqlite" \ diff --git a/docs/extensions/endpoints.md b/docs/extensions/endpoints.md index e5f7028dd9..ed426ad36f 100644 --- a/docs/extensions/endpoints.md +++ b/docs/extensions/endpoints.md @@ -49,11 +49,11 @@ The register function receives the two parameters `router` and `context`. `route `context` is an object with the following properties: - `services` — All API internal services. -- `exceptions` — API exception objects that can be used to throw "proper" errors. +- `exceptions` — API exception objects that can be used to throw "proper" errors. - `database` — Knex instance that is connected to the current database. - `getSchema` — Async function that reads the full available schema for use in services -- `env` — Parsed environment variables. -- `logger` — [Pino](https://github.com/pinojs/pino) instance. +- `env` — Parsed environment variables. +- `logger` — [Pino](https://github.com/pinojs/pino) instance. - `emitter` — [Event emitter](https://github.com/directus/directus/blob/main/api/src/emitter.ts) instance that can be used to trigger custom events for other extensions.