Commit Graph

65 Commits

Author SHA1 Message Date
Rijk van Zanten
11e34662df Delete bug_report.md 2021-06-26 12:01:01 -04:00
Nicola Krumschmidt
051df415df Fix extensions (#6377)
* Add support for npm extensions

* Allow extensions to import vue from the main app

* Bundle app extensions on server startup

* Fix return type of useLayoutState

* Add shared package

* Add extension-sdk package

* Add type declaration files to allow deep import of shared package

* Add extension loading to shared

* Refactor extension loading to use shared package

* Remove app bundle newline replacement

* Fix extension loading in development

* Rename extension entrypoints

* Update extension build instructions

* Remove vite auto-replacement workaround

* Update package-lock.json

* Remove newline from generated extension entrypoint

* Update package-lock.json

* Build shared package as cjs and esm

* Move useLayoutState composable to shared

* Reverse vite base env check

* Share useLayoutState composable through extension-sdk

* Update layout docs

* Update package versions

* Small cleanup

* Fix layout docs

* Fix imports

* Add nickrum to codeowners

* Fix typo

* Add 'em to vite config too

* Fix email

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-23 12:43:06 -04:00
Nicola Krumschmidt
965bcde4ee Enforce latest node and npm version in dev (#6414)
* Enforce latest node and npm version in dev

* Update CI workflows to Node 16
2021-06-22 11:22:37 -04:00
rijkvanzanten
53eee85b1b I'll leave this here for later 2021-06-21 18:14:05 -04:00
rijkvanzanten
2e82b5004a Guess it's a private beta!
Revert "Try out new issue form template"

This reverts commit 06c7456688.
2021-06-21 18:13:14 -04:00
rijkvanzanten
06c7456688 Try out new issue form template 2021-06-21 18:10:47 -04:00
renovate[bot]
78e830f795 chore(deps): update node.js to v16 (#6336)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 11:27:34 -04:00
Rijk van Zanten
73012baddc Delete dependabot.yml 2021-06-16 15:58:08 -04:00
Pascal Jufer
ae65918d1e Optimize Docker image for Directus (#6081) 2021-06-04 12:47:38 -04:00
Tien Tran
b90e182db2 Reduce the image layers by combining RUN statements; and fix permission issue #6023 (#6044) 2021-06-03 17:35:42 -04:00
Rijk van Zanten
367d958fb3 Update e2e-tests.yml
Only run e2e on main branch latest commit
2021-06-03 12:42:08 -04:00
Pascal Jufer
a1ff311a66 Clean-up docker image (#5877)
* Update Docker image to execute as a non-root user (#5801)

* Move scripts to /usr/local/bin and change mode directly in Git

* Sync versions with api/package.json, remove yargs as it is already
installed globally

* No need for multi-stage image - move installation of Directus to actual
image

* Move WORKDIR instruction after USER instruction so we don't need to RUN
chmod

* Don't cache apk packages

* Add some comments and move EXPOSE and SHELL to bottom

Co-authored-by: Tien Tran <76130324+t7tran@users.noreply.github.com>
2021-06-02 10:15:07 -04:00
Ben Haynes
56ad3c04dd Remove patreon from funding options 2021-05-31 11:23:28 -04:00
Ben Haynes
c0182d7b14 Add Troubleshooting Steps 2021-05-24 12:57:50 -04:00
rijkvanzanten
63555239dd Auto-cancel previous runs on the same branch 2021-05-14 14:06:58 -04:00
Rijk van Zanten
6fd6bf9150 Create CODEOWNERS 2021-05-14 10:58:45 -04:00
rijkvanzanten
99fcf12e73 Fix linter workflow 2021-04-29 16:24:31 -04:00
rijkvanzanten
3c0e41e881 Add linter workflow in actions 2021-04-29 16:08:14 -04:00
Rijk van Zanten
05df21dd9b Update dependabot.yml
@paescuj Apparently this is needed to have it actually update `package.json` as well! Only updating the lock file in the root doesn't do us any good 🙂 

Still hoping it'll support npm 7's workspaces 👀 but we'll have to wait and see
2021-04-27 10:10:53 -04:00
Pascal Jufer
b2ad7a726f Enable dependabot to keep track of package updates (#5272) 2021-04-27 10:02:20 -04:00
Jakob
f5250143c7 Setup CI for e2e tests (#5035) 2021-04-13 17:03:45 -04:00
WoLfulus
43f4e63179 enable latest (#4705) 2021-03-27 16:17:55 -04:00
Nicola Krumschmidt
08293b8570 Update Knex to version 0.95.0 (#4374)
* Update Knex to version 0.95.0

* Fix formatting in schema dialects

* Fix Knex imports

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-03 19:37:44 -05:00
Rijk van Zanten
ae137abb47 Update bug_report.md 2021-02-22 10:48:42 -05:00
Nicola Krumschmidt
fe479784af Unpin sqlite3 and update to version 5.0.2 (#4175) 2021-02-19 11:08:36 -05:00
Rijk van Zanten
51b547e4b5 Delete website-docs-deploy.yml 2021-02-05 19:03:16 -05:00
Rijk van Zanten
4fe04539bb Update bug_report.md 2021-02-04 17:48:12 -05:00
WoLfulus
048a4b15a4 Pin sqlite3 version in Docker and update other dependencies 2021-01-19 08:21:35 -03:00
WoLfulus
1de4a87d56 Update makefile 2021-01-14 13:12:42 -03:00
WoLfulus
024ee4db60 Remove out of place example, add retries for npm install build step 2021-01-14 13:07:13 -03:00
rijkvanzanten
a563fe81e7 Merge branch 'main' into build-packages 2020-12-16 16:28:14 -05:00
Rijk van Zanten
84d776cee0 Update config.yml 2020-12-10 10:36:19 -05:00
Rijk van Zanten
a8ceeb40e0 Create config.yml 2020-12-10 10:35:53 -05:00
Rijk van Zanten
93fc95ccce Update issue templates 2020-12-10 10:21:35 -05:00
WoLfulus
46990d3874 Fix bootstrap command 2020-12-09 00:40:55 -03:00
WoLfulus
f43bf3c784 Adds bootstrap command to docker 2020-12-08 00:24:38 -03:00
Rijk van Zanten
52d4890b19 Update website-docs-deploy.yml 2020-12-04 15:41:03 -05:00
Rijk van Zanten
8123e1fa9b Create website-docs-deploy.yml 2020-12-04 15:39:31 -05:00
Rijk van Zanten
5a7e11e600 Rename FUNDING.yaml to FUNDING.yml 2020-11-23 10:46:26 -05:00
Rijk van Zanten
3267a3a959 Create FUNDING.yaml 2020-11-23 10:45:44 -05:00
rijkvanzanten
e5da969c69 Wait before building images 2020-11-20 15:25:17 -05:00
rijkvanzanten
d44f99331c Fix links to next repo 2020-11-18 20:34:14 -05:00
WoLfulus
c38507d32e Add port remove volumes 2020-11-03 18:05:06 -03:00
WoLfulus
6912983bc5 Added wait for database server on bootstrap 2020-11-03 17:54:01 -03:00
WoLfulus
060baf1986 Fix workflow trigger 2020-10-05 21:16:29 -03:00
WoLfulus
e7f0e669ec Add workflow for creating release on tag 2020-10-05 20:28:56 -03:00
rijkvanzanten
23458b5b9f Last port change, promise 2020-10-02 16:26:40 -04:00
rijkvanzanten
1524c3e398 Change default port to 8805 2020-10-02 14:56:39 -04:00
WoLfulus
5d6269ab5b Fix registry address for DockerHub 2020-10-02 14:12:56 -03:00
WoLfulus
102b5b2a65 Fix database install log leaking 2020-10-02 12:22:31 -03:00