Commit Graph

518 Commits

Author SHA1 Message Date
renovate[bot]
89c981cb99 update dependency ts-jest to v27.0.4 (#6913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 10:22:16 -04:00
renovate[bot]
8b2d19ddc6 update dependency rollup to v2.53.3 (#6903)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 10:00:34 -04:00
renovate[bot]
32fb5e3790 update dependency gatsby-source-filesystem to v3.10.0 (#6894)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-20 13:17:27 -04:00
Nicola Krumschmidt
b61543c0e9 Move DeepPartial to shared (#6886)
Also cleans it up and adds support for readonly arrays.
2021-07-20 11:40:59 -04:00
renovate[bot]
947cc1d47e update vue monorepo to v3.1.5 (#6863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-19 09:41:14 -04:00
Nicola Krumschmidt
d3a960a0a0 Make extension loading more robust (#6845)
* Make extension loading more robust

* Remove unnecessary path joining
2021-07-16 13:57:18 -04:00
Nicola Krumschmidt
7898f3ee92 Fix extension loading on Windows (#6862)
Extension path and entrypoint are win32 paths, so they have to be
converted to posix last.
2021-07-16 13:56:51 -04:00
renovate[bot]
992b3845c8 update dependency @rollup/plugin-node-resolve to v13.0.2 (#6849)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-16 09:36:54 -04:00
Nicola Krumschmidt
f96eeb2c83 v9.0.0-rc.85 2021-07-15 21:22:54 +02:00
Nicola Krumschmidt
a65c3d3df9 Fix production build on node versions <16 (#6836) 2021-07-15 15:19:04 -04:00
rijkvanzanten
92d15a2fef Remove prepare script from schema package 2021-07-15 14:32:48 -04:00
rijkvanzanten
f60deb9ca2 Remove prepublish build step, handled in CI 2021-07-15 14:23:48 -04:00
rijkvanzanten
ddab55d190 v9.0.0-rc.84 2021-07-15 14:10:01 -04:00
renovate[bot]
9ad0540861 update dependency @rollup/plugin-node-resolve to v13.0.1 (#6828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 10:33:49 -04:00
renovate[bot]
e89372b1a2 update dependency @rollup/plugin-commonjs to v19.0.1 (#6826)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 14:32:04 +00:00
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