@directus/extensions-sdk 15.0.0 → 16.0.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.
- package/dist/cli/commands/add.js +2 -1
- package/dist/cli/commands/build.js +2 -1
- package/dist/cli/commands/create.js +2 -1
- package/dist/cli/commands/helpers/copy-template.d.ts +1 -1
- package/dist/cli/commands/helpers/generate-bundle-entrypoint.js +1 -1
- package/dist/cli/commands/helpers/get-extension-dev-deps.d.ts +1 -1
- package/dist/cli/commands/helpers/get-extension-dev-deps.js +1 -1
- package/dist/cli/commands/validators/check-directus-config.js +2 -1
- package/package.json +13 -13
package/dist/cli/commands/add.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EXTENSION_LANGUAGES, EXTENSION_PKG_KEY,
|
|
1
|
+
import { EXTENSION_LANGUAGES, EXTENSION_PKG_KEY, ExtensionManifest } from '@directus/extensions';
|
|
2
|
+
import { EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/constants';
|
|
2
3
|
import { isIn, isTypeIn } from '@directus/utils';
|
|
3
4
|
import { pathToRelativeUrl } from '@directus/utils/node';
|
|
4
5
|
import chalk from 'chalk';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { API_SHARED_DEPS,
|
|
1
|
+
import { API_SHARED_DEPS, APP_SHARED_DEPS, EXTENSION_PKG_KEY, ExtensionManifest, ExtensionOptionsBundleEntries, } from '@directus/extensions';
|
|
2
|
+
import { APP_EXTENSION_TYPES, EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/constants';
|
|
2
3
|
import { isIn, isTypeIn } from '@directus/utils';
|
|
3
4
|
import commonjsDefault from '@rollup/plugin-commonjs';
|
|
4
5
|
import jsonDefault from '@rollup/plugin-json';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EXTENSION_LANGUAGES, EXTENSION_PKG_KEY } from '@directus/extensions';
|
|
2
|
+
import { BUNDLE_EXTENSION_TYPES, EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/constants';
|
|
2
3
|
import { isIn } from '@directus/utils';
|
|
3
4
|
import chalk from 'chalk';
|
|
4
5
|
import { execa } from 'execa';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExtensionType } from '@directus/
|
|
1
|
+
import type { ExtensionType } from '@directus/types';
|
|
2
2
|
import type { Language } from '../../types.js';
|
|
3
3
|
export default function copyTemplate(type: ExtensionType, extensionPath: string, sourcePath?: string, language?: Language): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { API_EXTENSION_TYPES, APP_EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/
|
|
1
|
+
import { API_EXTENSION_TYPES, APP_EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/constants';
|
|
2
2
|
import { isIn, isTypeIn, pluralize } from '@directus/utils';
|
|
3
3
|
import { pathToRelativeUrl } from '@directus/utils/node';
|
|
4
4
|
import path from 'path';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ExtensionType } from '@directus/
|
|
1
|
+
import type { ExtensionType } from '@directus/types';
|
|
2
2
|
import type { Language } from '../../types.js';
|
|
3
3
|
export default function getExtensionDevDeps(type: ExtensionType | ExtensionType[], language?: Language | Language[]): Promise<Record<string, string>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { API_EXTENSION_TYPES, APP_EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/
|
|
1
|
+
import { API_EXTENSION_TYPES, APP_EXTENSION_TYPES, HYBRID_EXTENSION_TYPES } from '@directus/constants';
|
|
2
2
|
import { isIn } from '@directus/utils';
|
|
3
3
|
import getPackageVersion from '../../utils/get-package-version.js';
|
|
4
4
|
import getSdkVersion from '../../utils/get-sdk-version.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EXTENSION_PKG_KEY
|
|
1
|
+
import { EXTENSION_PKG_KEY } from '@directus/extensions';
|
|
2
|
+
import { EXTENSION_TYPES, API_EXTENSION_TYPES } from '@directus/constants';
|
|
2
3
|
import fse from 'fs-extra';
|
|
3
4
|
import path from 'path';
|
|
4
5
|
import {} from 'ora';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directus/extensions-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"description": "A toolkit to develop extensions to extend Directus",
|
|
5
5
|
"homepage": "https://directus.io",
|
|
6
6
|
"repository": {
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
"@rollup/plugin-replace": "6.0.2",
|
|
33
33
|
"@rollup/plugin-terser": "0.4.4",
|
|
34
34
|
"@rollup/plugin-virtual": "3.0.2",
|
|
35
|
-
"@vitejs/plugin-vue": "6.0.
|
|
35
|
+
"@vitejs/plugin-vue": "6.0.1",
|
|
36
36
|
"chalk": "5.4.1",
|
|
37
37
|
"commander": "14.0.0",
|
|
38
|
-
"esbuild": "0.25.
|
|
38
|
+
"esbuild": "0.25.9",
|
|
39
39
|
"execa": "9.6.0",
|
|
40
40
|
"fs-extra": "11.3.0",
|
|
41
|
-
"inquirer": "12.
|
|
41
|
+
"inquirer": "12.9.0",
|
|
42
42
|
"ora": "8.2.0",
|
|
43
|
-
"rollup": "4.
|
|
43
|
+
"rollup": "4.46.2",
|
|
44
44
|
"rollup-plugin-esbuild": "6.2.1",
|
|
45
45
|
"rollup-plugin-styler": "2.0.0",
|
|
46
46
|
"semver": "7.7.2",
|
|
47
|
-
"vite": "7.
|
|
48
|
-
"vue": "3.5.
|
|
49
|
-
"@directus/
|
|
50
|
-
"@directus/
|
|
51
|
-
"@directus/types": "13.2.
|
|
52
|
-
"@directus/
|
|
53
|
-
"@directus/
|
|
54
|
-
"@directus/utils": "13.0.
|
|
47
|
+
"vite": "7.1.3",
|
|
48
|
+
"vue": "3.5.18",
|
|
49
|
+
"@directus/extensions": "3.0.10",
|
|
50
|
+
"@directus/composables": "11.2.2",
|
|
51
|
+
"@directus/types": "13.2.2",
|
|
52
|
+
"@directus/themes": "1.1.4",
|
|
53
|
+
"@directus/constants": "13.0.2",
|
|
54
|
+
"@directus/utils": "13.0.9"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@directus/tsconfig": "3.0.0",
|