@directus/extensions-sdk 17.0.11 → 17.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -351,9 +351,10 @@ function getRollupOptions({ mode, input, sourcemap, minify, config, }) {
351
351
  const plugins = config.plugins ?? [];
352
352
  return {
353
353
  input: typeof input !== 'string' ? 'entry' : input,
354
- external: mode === 'browser' ? APP_SHARED_DEPS : API_SHARED_DEPS,
354
+ external: [...(mode === 'browser' ? APP_SHARED_DEPS : API_SHARED_DEPS)],
355
355
  plugins: [
356
356
  typeof input !== 'string' ? virtual(input) : null,
357
+ // @ts-ignore Libraries should be compatible, just the type is colliding.
357
358
  mode === 'browser' ? vue({ isProduction: true }) : null,
358
359
  esbuild({ include: /\.tsx?$/, sourceMap: sourcemap }),
359
360
  mode === 'browser' ? styles() : null,
@@ -1,5 +1,8 @@
1
- declare const _default: {
1
+ import type { Ora } from 'ora';
2
+ import type { Report } from '../../types.js';
3
+ interface Validator {
2
4
  name: string;
3
- handler: (spinner: import("ora").Ora, reports: Array<import("../../types.js").Report>) => Promise<string>;
4
- }[];
5
- export default _default;
5
+ handler: (spinner: Ora, reports: Array<Report>) => Promise<string>;
6
+ }
7
+ declare const validators: Validator[];
8
+ export default validators;
@@ -2,4 +2,5 @@ import checkBuiltCode from './check-built-code.js';
2
2
  import checkDirectusConfig from './check-directus-config.js';
3
3
  import checkLicense from './check-license.js';
4
4
  import checkReadme from './check-readme.js';
5
- export default [checkReadme, checkLicense, checkDirectusConfig, checkBuiltCode];
5
+ const validators = [checkReadme, checkLicense, checkDirectusConfig, checkBuiltCode];
6
+ export default validators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directus/extensions-sdk",
3
- "version": "17.0.11",
3
+ "version": "17.1.1",
4
4
  "description": "A toolkit to develop extensions to extend Directus",
5
5
  "homepage": "https://directus.io",
6
6
  "repository": {
@@ -44,17 +44,17 @@
44
44
  "rollup-plugin-esbuild": "6.2.1",
45
45
  "rollup-plugin-styler": "2.0.0",
46
46
  "semver": "7.7.3",
47
- "vite": "7.2.2",
47
+ "vite": "8.0.0",
48
48
  "vue": "3.5.24",
49
- "@directus/extensions": "3.0.21",
50
- "@directus/themes": "1.2.6",
51
- "@directus/constants": "14.2.0",
52
- "@directus/utils": "13.3.1",
53
- "@directus/composables": "11.2.15",
54
- "@directus/types": "14.3.1"
49
+ "@directus/composables": "11.2.17",
50
+ "@directus/extensions": "3.0.23",
51
+ "@directus/constants": "14.3.0",
52
+ "@directus/types": "15.0.1",
53
+ "@directus/themes": "1.3.1",
54
+ "@directus/utils": "13.4.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@directus/tsconfig": "3.0.0",
57
+ "@directus/tsconfig": "4.0.0",
58
58
  "@types/fs-extra": "11.0.4",
59
59
  "@types/inquirer": "9.0.9",
60
60
  "@types/semver": "7.7.1",
@@ -21,10 +21,10 @@ export default {
21
21
 
22
22
  <style scoped>
23
23
  .text {
24
- padding: 12px;
24
+ padding: 0.6875rem;
25
25
  }
26
26
 
27
27
  .text.has-header {
28
- padding: 0 12px;
28
+ padding: 0 0.6875rem;
29
29
  }
30
30
  </style>
@@ -23,10 +23,10 @@ export default defineComponent({
23
23
 
24
24
  <style scoped>
25
25
  .text {
26
- padding: 12px;
26
+ padding: 0.6875rem;
27
27
  }
28
28
 
29
29
  .text.has-header {
30
- padding: 0 12px;
30
+ padding: 0 0.6875rem;
31
31
  }
32
32
  </style>