Commit Graph

268 Commits

Author SHA1 Message Date
Rijk van Zanten
46d5a8ddde Temporarily remove the on-PR blackbox tests (#20208)
* Temporarily remove the on-PR blackbox tests

* Fix formatting, rename file
2023-10-26 16:44:56 -04:00
Pascal Jufer
f29b5a167a Enable npm provenance (#20182) 2023-10-25 13:13:46 -04:00
Pascal Jufer
61b7432950 Use fixed tag for prereleases (#20180) 2023-10-25 11:21:07 +02:00
Pascal Jufer
4fa20578f5 Optimize MSSQL test setup (#19979) 2023-10-10 13:27:36 +02:00
Pascal Jufer
b6f7dcaa0b Consider OS release for pnpm cache in GH workflows (#19973) 2023-10-10 10:27:50 +02:00
Rijk van Zanten
e1c8eaa82a Update pull_request_template.md 2023-10-09 18:26:31 -04:00
Rijk van Zanten
8dc68730ff Update name of milestone 2023-10-05 11:59:35 -04:00
Pascal Jufer
1ec1f98431 Bye-bye, Jest (#19886)
* Bye-bye, Jest

* Clean-up non-null assertions for PORT

* Test all vendors

* Consistent file names

* Try with MSSQL 2022

* Revert "Try with MSSQL 2022"

This reverts commit da807c6ec8.

* Try to run on Windows for better MSSQL perf

* Worth a try (hopefully runs MSSQL faster this way)

* Start docker services via bash

* Quick attempt with local installation of MSSQL

* Test with MSSQL 2019

* Back to ubuntu-latest for other tests

* Add typecheck cmd

* Revert "Test all vendors"

This reverts commit d6fbdd76c9.

* Use TS for Vitest config file

* Simplify vendors typecasting

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-10-04 14:53:36 -04:00
Rijk van Zanten
e5a775f769 Update pull_request_template.md 2023-10-02 13:31:18 -04:00
Rijk van Zanten
a238e0dc25 Update pull_request_template.md 2023-10-02 13:26:16 -04:00
Rijk van Zanten
aab269ba7c Run formatter 2023-09-29 09:41:49 -04:00
Rijk van Zanten
d8d1d3a60a Update pull_request_template.md 2023-09-29 09:25:46 -04:00
Rijk van Zanten
05f8e9b95c Update pull_request_template.md 2023-09-29 09:25:25 -04:00
Brainslug
0deadb9062 Improve stale github action (#19551)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-08-29 18:23:26 +02:00
Pascal Jufer
96bb544c56 Support for prereleases in release workflow (#19510)
* Make release workflow compatible for prereleases

* Support prereleases in release-notes-generator

* Update readme

* Create metal-dodos-return.md

* Update .changeset/metal-dodos-return.md

* Override version of main package

* Rework & enable usage with changesets's prerelease mode

* Fix conditional DIRECTUS_PRERELEASE_ID output

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Add hint to beforeExit event

* Add basic test for getInfo

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-08-25 16:48:50 +02:00
ian
66a5e60fbe Enable more checks for branch (#19514) 2023-08-23 20:24:29 +02:00
Pascal Jufer
921ac972d0 Enable checks for next branch (#19511) 2023-08-23 13:22:36 -04:00
Rijk van Zanten
930550b546 Update config.yml 2023-08-10 10:57:10 -04:00
Rijk van Zanten
0fb1438b42 Create tiny_tweak.yml 2023-08-10 10:56:21 -04:00
Connor
92621429ee Linting and Formatting Upgrade (#18892)
* add docs to eslint

* update prettier ignore

* fix vitepress linting

* eslint ignore fixes

* prettier run

* update prettier ignore

* fix formatting

* enable linting of markdown files

* revert format command change

* fix irregular whitespace

* update dictionary

* (Changelog) Create four-boxes-shake.md

* Rework ESLint / Prettier setup

- Disable js/ts/vue files for Prettier to ensure linting/formatting is
  only happening via ESLint
- Rework formatting of code blocks in md files
  - Disable formatting of code blocks in md files under '/docs' by Prettier
  - Instead use "eslint-plugin-markdown" to format & __lint__ js*/ts*/vue such code blocks
  - Replace unmaintained "eslint-plugin-md" plugin by official "eslint-plugin-markdown" plugin
  - I'll check whether we can use this to format other code blocks
    (json, html, ...) as well
- Restructure, clean-up and apply some fixes to the ESLint config
  (Note: Not ready for flat config yet since not supported by
  vscode-eslint)
- Enable cache for ESLint / Prettier in scripts
- Clean-up ignore file
  - Explicit folder declaration (.../)
  - Don't ignore all 'extensions' folders in ESLint (only
    '/api/extensions/')
  - Enable formatting in '/.github' folder

* Fix all formatting issues with Prettier

* Update md files under /docs/.typedocs

* Fix lint issues in vue/js files

* ESLint / Prettier config revision v2

Enable Prettier for md code blocks, but only as warnings since it can
get into the way with Vitepress md extensions like '[!code ...]'
comments

* Remove prettier-ignore comments

* Make spellchecker happy

* Remove changeset

* Revert lint setup for code blocks

There are many cases in the docs where linting / formatting of code
blocks doesn't make
sense:
- Code block is only an excerpt - linter fails
- Code block contains special comments (e.g. markdown extensions) which
  needs to remain at the same place - formatting would break it
- ...

* Apply lint issues / formatting from temp lint setup

* Run formatter

* Fix merge failure

* Simplify & modernize ESLint / Prettier setup

No longer run Prettier via ESLint. Nowadays, this is the recommended
setup. There's no real need to run it this way, it's just an additional
layer.

Add VS Code settings to make the work with the new setup easier.

* Remove unused eslint disable directives

* Make editorconfig more useful

* Fix formatting issues reported by editorconfig

* Format files with Prettier

* Enable formatting of source translations file

* Format source translations file

* Remove unnecessary console error

* Remove unnecessary line

* Only ignore md files under .changeset

* Add CI reporter for Prettier

* Fail job on wrongly formatted files

* Fix format

* Test Prettier action on changed/added file

* Use simple CI format check for now & no cache

* Revert "Test Prettier action on changed/added file"

This reverts commit 4f7d8826ad.

* Introduce code blocks check for docs

* Fix code block issues

* Ignore auto-generated packages dir

* Fix comment position

* Also lint `/app/.storybook`

* Reformat modified files

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-29 11:54:01 +02:00
Pascal Jufer
82aff75443 Fix "Assign Next Release Milestone" workflow for PR's from forks (#19009)
* Make "Assign Next Release Milestone" workflow work on external PR's

* Reduce external factors, replacing actions by gh api calls
2023-06-27 11:49:41 -04:00
Rijk van Zanten
cd1b1ec70d Delete CODEOWNERS 2023-06-22 18:56:28 -04:00
Rijk van Zanten
d089b31a91 Update pull_request_template.md 2023-06-12 09:30:54 -04:00
ian
4249bc7734 Fix existing milestone error (#18828) 2023-06-06 15:46:46 -04:00
ian
79a915301e Automatically assign next release milestone (#18827)
* Automatically assign next release milestone

* Automatically create milestone

* Rename workflow job

* Update to latest version
2023-06-06 15:31:19 -04:00
Rijk van Zanten
d6c0d31b39 Add auto-closer for stale issues (#18780)
* Add auto-closer for stale issues

* Tweak name

* Tweak language
2023-05-30 16:23:43 -04:00
ian
101ec6649d Specify oracledb version for blackbox tests (#18720) 2023-05-25 17:02:15 +08:00
Rijk van Zanten
8401cd5a8e Delete linear-auto.yml 2023-05-24 14:08:35 -04:00
Rijk van Zanten
3603b34c9a Delete slash-commands.yaml 2023-05-24 14:08:23 -04:00
Rijk van Zanten
86527cde84 Delete linear-dispatch.yaml 2023-05-24 14:08:13 -04:00
ian
eb82110b7e Update gh-action-linear to fix workflow failure (#18699) 2023-05-23 12:19:26 +02:00
Pascal Jufer
10043da973 Update CODEOWNERS (#18665) 2023-05-19 17:30:18 -04:00
Pascal Jufer
2e647d80e6 Patch Tuesday 🐸 (#18643)
* Update `directus-monorepo` deps

* Update `@directus/api` deps

* Update `@directus/app` deps

* Update `@directus/composables` deps

* Update `create-directus-extension` deps

* Update `@directus/exceptions` deps

* Update `@directus/data` deps

* Update `@directus/data-driver-postgres` deps

* Update `@directus/extensions-sdk` deps

* Update `@directus/pressure` deps

* Update `@directus/random` deps

* Update `@directus/release-notes-generator` deps

* Update `@directus/storage` deps

* Update `@directus/storage-driver-azure` deps

* Update `@directus/storage-driver-cloudinary` deps

* Update `@directus/storage-driver-gcs` deps

* Update `@directus/storage-driver-local` deps

* Update `@directus/storage-driver-s3` deps

* Update `@directus/types` deps

* Update `@directus/update-check` deps

* Update `@directus/utils` deps

* Update `docs` deps

* Update `tests-blackbox` deps

* Bump pnpm to 8.5.1

* Bump build-push-action in release workflow to v4

* Assign new spy instances before each test

See https://github.com/vitest-dev/vitest/pull/3386

* Create clean-needles-nail.md

* Remove leftover 'beforeAll' imports

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-05-19 10:48:21 -04:00
Rijk van Zanten
138f8a7931 Rename draft-requests.yml to feature-requests.yml 2023-05-10 12:04:33 -04:00
Rijk van Zanten
06a765045b Rename feature-requests.yml to draft-requests.yml 2023-05-08 16:25:45 -04:00
Rijk van Zanten
58cdc7c8da Update discussion/issue links (#18520)
* Issue template links

* Update link in nav sidebar

* Create metal-chairs-push.md
2023-05-08 16:08:41 -04:00
Rijk van Zanten
2bc226d16f Change license to BSL-1.1 (#18330)
* Change license to BSL1.1

* Mark major version

* Fix formatting

* Remove duplicate heading

* Update formatting

* Copy paste error

* Update license

* Update license

* Format covenants

* Update readme.md

* Update licenses for packages

* Update readme.md

* Update contributors.yml

OG... but to be clear, rijkvanzanten is the one who really built all of this ❤️

* Tweak license in openapi

* Update packages/specs/src/openapi.yaml

* Add MIT license headers

* Use v10 in examples

* Update additional examples

* Update generate-extensions-entrypoint.test.ts

* Update tests to use latest v9 and v10 versions

* use lowercase for naming consistency

* change casing for api license

* Update migrations doc

* Update dictionary

* Consistent ordering of license field in app/package.json

* Use major version in specs again (but as string)

So it's valid for all v10 versions

* Consolidate readme's

---------

Co-authored-by: Ben Haynes <ben@directus.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-04-26 14:10:42 -04:00
Rijk van Zanten
d4769a1df1 Update docs-suggestions.yml 2023-04-17 11:29:23 -04:00
Rijk van Zanten
549195ed08 Create docs-suggestions.yml (#18218) 2023-04-17 11:28:32 -04:00
Rijk van Zanten
5d3fc18c53 Update bug_report.yml 2023-04-14 09:43:58 -04:00
Rijk van Zanten
4692a0026e Update bug_report.yml 2023-04-14 09:43:46 -04:00
Pascal Jufer
cfe5227798 Clarify SMTP configs (client / server) (#18152) 2023-04-12 12:36:12 +00:00
Pascal Jufer
15b91dee34 Blackbox tests restructuring (#18122)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 18:28:37 +02:00
rijkvanzanten
cc25205494 Gh itself doesn't use title case 2023-04-11 10:18:14 -04:00
rijkvanzanten
6987b5a195 Update labels 2023-04-11 10:16:05 -04:00
Pascal Jufer
f7c2f14181 Check if there are any missing contributors (#18099) 2023-04-07 07:58:47 -04:00
ian
6bf5327614 Remove double bracket from CLA message (#18086) 2023-04-06 16:58:39 +02:00
Rijk van Zanten
535edd7d7e Update cla.yml 2023-04-05 17:42:21 -04:00
Rijk van Zanten
7db025b95c Create CODEOWNERS 2023-04-05 17:37:42 -04:00
Rijk van Zanten
1505a2cc8c Update pull_request_template.md (#18075) 2023-04-05 17:34:52 -04:00