Commit Graph

34 Commits

Author SHA1 Message Date
Nicola Krumschmidt
b500c32072 Fix extension config importing on Windows (#10242)
Fixes #10239
2021-12-02 16:39:57 -05:00
rijkvanzanten
9bf033c18d v9.1.2 2021-11-25 12:36:24 -05:00
rijkvanzanten
5d3a630fe6 v9.1.1 2021-11-24 21:09:22 -05:00
rijkvanzanten
7a1c534b36 v9.1.0 2021-11-24 17:56:26 -05:00
John Huffsmith
37dc1d44b1 Adding sourceMap flag to extension cli to enable debugging (#9932) 2021-11-22 16:48:03 +00:00
renovate[bot]
241dc13c65 Update NPM dependencies (non-major) (#9968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 10:05:40 -05:00
rijkvanzanten
ba72d2cfd0 v9.0.1 2021-11-11 16:45:31 -05:00
rijkvanzanten
c95add08ef v9.0.0 2021-11-04 22:03:10 -04:00
rijkvanzanten
37cf80e0fe v9.0.0-rc.101 2021-11-03 19:29:41 -04:00
Nicola Krumschmidt
3d0e086c55 Rework hook registration (#8027)
* Rework hook registration

* Remove event and action fields from hook payloads

* Move "error" action to "request.error" filter

* Emit meta and context objects in filters and actions

* Run filters sequentially

* Update hook templates

* Fix CLI hook test

* Also emit `<collection>.items.crud` when emitting `items.crud`.

* Update hook docs

Co-authored-by: Oreilles <oreilles.github@nitoref.io>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-03 17:18:56 -04:00
rijkvanzanten
7e1034d9d4 v9.0.0-rc.100 2021-10-29 14:40:05 -04:00
rijkvanzanten
7c88f03884 v9.0.0-rc.99 2021-10-21 19:52:37 -04:00
rijkvanzanten
0dd0e1b1c1 v9.0.0-rc.98 2021-10-15 20:13:07 -04:00
rijkvanzanten
392d8bd1df v9.0.0-rc.97 2021-10-14 21:47:50 -04:00
renovate[bot]
2429d30917 Update dependency typescript to v4.4.4 (#8749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:51:36 -04:00
Nicola Krumschmidt
6a06aa42a0 Use Composition API in extension templates (#8721)
This also includes a few other cleanups.
2021-10-12 09:22:49 -04:00
rijkvanzanten
435cc0cc67 v9.0.0-rc.96 2021-10-07 18:39:54 -04:00
Nicola Krumschmidt
ec3832d337 Make directus:extension.hidden optional (#8593)
This field will be used in conjunction with pack extensions
to be able to hide extensions that are only usable as part of a pack.
There is no need to make the field required, though.
2021-10-06 17:52:57 +02:00
renovate[bot]
06a52d10e6 Update dependency @rollup/plugin-commonjs to v21 (#8494)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 12:44:49 -04:00
Nicola Krumschmidt
46f00d6202 Drop support for display handler functions in favor of functional components and make the routes module config required (#8475)
* Make routes in ModuleConfig required

* Make Panel options nullable

* Clean up InterfaceConfig and LayoutConfig types

* Remove DisplayHandlerFunction and rename handler to component

* Use template interpolation when registering extensions
2021-10-01 11:52:57 -04:00
rijkvanzanten
afe7b15990 v9.0.0-rc.95 2021-09-27 18:58:22 -04:00
rijkvanzanten
7e41860cbf v9.0.0-rc.94 2021-09-22 15:53:24 -04:00
Dieter Luypaert
aadb699e11 Add extensions-sdk watch build option (#7856) 2021-09-17 17:24:10 +02:00
rijkvanzanten
61a368523b v9.0.0-rc.93 2021-09-16 18:09:55 -04:00
Nicola Krumschmidt
1ff2fa0110 Add return type to useFilterFields (#8062) 2021-09-15 18:15:02 -04:00
Nitwel
ce8401b940 Move some compositons, utils and types to shared (#8059)
* move composables, types and utils to shared

* move composables, utils and types to shared

* expose utils and composables in extensionsSDK

* fix missing dependencies

* Sort index.ts exports

* Do the thing

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-15 16:41:08 -04:00
renovate[bot]
8063dda2c7 Update dependency typescript to v4.4.3 (#7973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 18:30:56 -04:00
rijkvanzanten
a6e88183e9 v9.0.0-rc.92 2021-09-02 21:53:23 -04:00
Nicola Krumschmidt
ef8f81aaf4 Disable attribute inheritance for all layout components (#7749)
* Disable attribute inheritance for all layout components

This prevents vue from polluting the DOM with unused state props.

* Disable attribute inheritance in layout templates
2021-09-01 09:02:50 -04:00
Nicola Krumschmidt
a137a44e24 Update layout templates to new layouts system (#7726) 2021-08-31 12:41:50 -04:00
Nicola Krumschmidt
f99b97720e Rework layout extension component management (#7489)
* Rework layout extension component management

* Move cards layout to new system

* Move calendar layout to new system

* Move map layout to new system

* Use new useLayout everywhere

* Remove useLayoutState composable
2021-08-31 10:55:46 -04:00
Nicola Krumschmidt
ffded1a050 Expose package.json from shared and extensions-sdk (#7713) 2021-08-31 10:04:03 -04:00
Nicola Krumschmidt
2a82927423 Add support for typescript extensions to extension-sdk (#6881)
* Add support for scaffolding typescript extensions to extensions-sdk

* Add support for building typescript extensions to extensions-sdk

* Fix type issues in extension templates

* Expose types of extensions-sdk

* Add language option to create-directus-extension
2021-08-30 10:57:43 -04:00
Nicola Krumschmidt
d2ca0d094c Rename extension-sdk to extensions-sdk (#7282)
While it is never nice to rename an already published package,
this allows us to reserve the "@directus/extension-" prefix for official extensions.
2021-08-27 13:48:19 -04:00