Commit Graph

503 Commits

Author SHA1 Message Date
rijkvanzanten
2a60a0fd88 Revert "v9.0.0-rc.84"
This reverts commit a4945a64fd.
2021-07-15 10:29:18 -04:00
Matteo Gazzoni
25fa4f12bc add updateByQuery to js sdk (#6824)
* add updateByQuery to js sdk

https://github.com/directus/directus/discussions/6822

* Update items.ts
2021-07-15 10:11:02 -04:00
renovate[bot]
47ce605690 update dependency rollup to v2.53.2 (#6812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 09:15:29 -04:00
Saad Irfan ⚡️
643d7d7977 feat: global installation and update check (#6795)
* Add global installation option

* Add update check for global install
2021-07-14 23:02:30 +00:00
rijkvanzanten
a4945a64fd v9.0.0-rc.84 2021-07-14 17:26:35 -04:00
rijkvanzanten
628b4efc29 Revert "v9.0.0-rc.84"
This reverts commit 18e62086f7.
2021-07-14 17:25:52 -04:00
rijkvanzanten
18e62086f7 v9.0.0-rc.84 2021-07-14 16:57:41 -04:00
rijkvanzanten
f6807767e4 Handle monorepos in extension discovery 2021-07-14 16:53:28 -04:00
Rijk van Zanten
5af7b4fe1e Catch and show errors in execa calls (#6791) 2021-07-14 17:23:47 +02:00
renovate[bot]
0c203b2722 update vue monorepo to v3.1.4 (#6612)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-13 10:11:32 -04:00
renovate[bot]
c8dd6e1527 update dependency gatsby-source-filesystem to v3.9.0 (#6711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 15:07:36 +02:00
Nicola Krumschmidt
4986962523 Add readme files to shared and extension-sdk (#6719) 2021-07-12 14:59:28 +02:00
renovate[bot]
0965ee4c37 update dependency @types/marked-terminal to v3.1.2 (#6724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 10:08:06 +02:00
renovate[bot]
4a94a98948 update dependency @types/figlet to v1.5.4 (#6726)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 10:07:03 +02:00
Nicola Krumschmidt
1989760ccc Allow extension-sdk to bundle API extensions as well (#6735)
This also converts the API extension templates to ESM syntax.
2021-07-11 10:01:18 +02:00
Pascal Jufer
c599c076c0 Support invite_url in SDK invite method (#6742)
Fixes #6731
2021-07-11 09:52:20 +02:00
renovate[bot]
d1a2bfb7f9 update dependency ts-node to v10.1.0 (#6744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 09:02:17 +02:00
renovate[bot]
246b4a3917 update dependency rollup to v2.53.1 (#6710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 07:01:07 +00:00
Nicola Krumschmidt
1436340163 Rename ensure-extensions-dirs.ts to align with function name (#6737) 2021-07-09 15:23:04 +00:00
Nicola Krumschmidt
b7a50c5012 Optimize extension-sdk CLI types (#6718)
* Add extension type guards

* Rename validate-extension-package util

* Optimize extension-sdk CLI types
2021-07-09 12:32:07 +02:00
Nicola Krumschmidt
f64ad3335c Configure build command based on extension manifest (#6706)
* Add simple logger to extension-sdk CLI

* Configure build command based on extension manifest

The configuration can be overwritten by command line options.
Adds a "force" option to ignore if there is no package.json in the cwd.
2021-07-07 19:26:50 +00:00
Nicola Krumschmidt
ff393eab3b Add create command to extension-sdk CLI (#6590)
* Add create command to extension-sdk CLI

* Extract extension package.json key name to shared

* Check package.json before building extensions

* Add source field to package.json

* Pin extension-sdk verson in scaffolded package

* Change options color to magenta
2021-07-07 12:34:51 +00:00
Nicola Krumschmidt
38f7d911f6 Fix requiring vue from a cjs/umd dependency in a extension (#6700)
* Fix requiring vue from a cjs/umd dependency in extensions

* Speed up cjs bundling

* Optimize styles when using a css preprocessor
2021-07-07 14:11:12 +02:00
renovate[bot]
b4636e2403 update dependency @types/jest to v26.0.24 (#6692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:56:28 +02:00
renovate[bot]
bf61042d9c update dependency @types/js-yaml to v4.0.2 (#6694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:44:20 +02:00
renovate[bot]
3d1a843559 update dependency @types/fs-extra to v9.0.12 (#6689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 09:37:02 +00:00
renovate[bot]
bddd2f52f1 update dependency @types/figlet to v1.5.2 (#6688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:03:21 +02:00
renovate[bot]
b4dd1993da update dependency nock to v13.1.1 (#6652)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-05 14:14:46 +02:00
masterwendu
07e3cb1767 add full tfa support to sdk (#6621) 2021-07-04 13:55:12 +02:00
renovate[bot]
5936c8b2d9 update dependency rollup to v2.52.7 (#6597)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 12:04:08 +02:00
renovate[bot]
18d6c0edbe update dependency typescript to v4.3.5 (#6592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 20:02:38 -04:00
Nicola Krumschmidt
a99f23b009 Fix dev script not watching in shared and extension-sdk (#6589) 2021-06-30 19:53:46 -04:00
Nicola Krumschmidt
8341810218 Fix building extensions with style tags (#6583) 2021-06-30 12:37:15 -04:00
Nicola Krumschmidt
e764c7c7fb Fix extension loading on windows (#6579)
Javascript import syntax uses URLs instead of paths, so we have to
normalize the extension paths to forward slashes when importing them
inside the virtual entrypoints.

Fixes #6550
2021-06-30 10:03:21 -04:00
renovate[bot]
1eaa28b5ec update dependency rollup to v2.52.4 (#6572)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 09:29:45 -04:00
Nicola Krumschmidt
31c74e01f2 Update the required Node version to 12.20.0 (#6578) 2021-06-30 09:16:45 -04:00
rijkvanzanten
04976eb13f v9.0.0-rc.83 2021-06-29 16:18:56 -04:00
rijkvanzanten
872dff6bb8 Fix cleaning order 2021-06-29 09:58:07 -04:00
rijkvanzanten
f46d7e4dd6 v9.0.0-rc.82 2021-06-28 19:32:21 -04:00
Nicola Krumschmidt
7f60fb0fc1 Add directus-extension CLI to extension-sdk (#6548)
* Remove return from api cli entrypoint

* Add directus-extension cli to extension-sdk

The initial version only implements the "build" command.
Executing "build" in the root of an extension package bundles the
extension to a single distributable and loadable entrypoint.

* Update extension docs to use directus-extension build
2021-06-28 15:56:01 -04:00
WoLfulus
043ae13e40 Adds request and response interceptors on Axios transport (#6538) 2021-06-28 18:44:38 +00:00
renovate[bot]
b886281914 update dependency jest to v27.0.6 (#6546)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 14:10:36 -04:00
renovate[bot]
8a3796b8bb update dependency commander to v8 (#6498)
* update dependency commander to v8

* Update import to match new version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-28 14:05:55 -04:00
Nicola Krumschmidt
ed1127f3b1 Fix extension loading when PUBLIC_URL is absolute without origin (#6534)
* Fix extension loading when PUBLIC_URL is absolute without origin

* Minify extension bundler output

* Make extension loading in dev more robust

* Rename ensureExtensionsDirs to ensureExtensionDirs
2021-06-28 11:20:30 -04:00
rijkvanzanten
a469bb728f v9.0.0-rc.81 2021-06-26 22:09:40 -04:00
rijkvanzanten
4b6efe3053 Add prepublish scripts to new packages 2021-06-26 22:07:52 -04:00
renovate[bot]
21d4c0fa4a update dependency prettier to v2.3.2 (#6509)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 12:15:26 -04:00
renovate[bot]
24a7134171 update dependency rollup to v2.52.3 (#6499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-25 10:00:05 -04:00
Rijk van Zanten
74ad2b2b7a Update vue to 3.1.2 (#6482)
* Update vue to 3.1.2

* call me amazon 📦

* commits so fast, prime same day
2021-06-24 13:09:30 -04:00
renovate[bot]
892e5f5637 update dependency fs-extra to v10 (#6470)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 11:53:43 -04:00