mirror of
https://github.com/directus/directus.git
synced 2026-01-11 01:58:13 -05:00
Update @directus/extensions-sdk to Rollup v4 (#25035)
* Force Rollup v4 with resolutions * Replace rollup-plugin-styles with rollup-plugin-styler * Add changeset --------- Co-authored-by: Nitwel <mail@nitwel.de>
This commit is contained in:
5
.changeset/shy-dragons-go.md
Normal file
5
.changeset/shy-dragons-go.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@directus/extensions-sdk': major
|
||||
---
|
||||
|
||||
Update to Rollup v4
|
||||
@@ -43,7 +43,7 @@
|
||||
"@rollup/plugin-replace": "5.0.7",
|
||||
"@rollup/plugin-terser": "0.4.4",
|
||||
"@rollup/plugin-virtual": "3.0.2",
|
||||
"@vitejs/plugin-vue": "4.6.2",
|
||||
"@vitejs/plugin-vue": "5.2.3",
|
||||
"chalk": "5.4.1",
|
||||
"commander": "10.0.1",
|
||||
"esbuild": "0.25.0",
|
||||
@@ -51,9 +51,9 @@
|
||||
"fs-extra": "11.3.0",
|
||||
"inquirer": "12.4.2",
|
||||
"ora": "6.3.1",
|
||||
"rollup": "3.29.5",
|
||||
"rollup": "4.34.9",
|
||||
"rollup-plugin-esbuild": "6.2.1",
|
||||
"rollup-plugin-styles": "4.0.0",
|
||||
"rollup-plugin-styler": "2.0.0",
|
||||
"semver": "7.7.1",
|
||||
"vite": "4.5.9",
|
||||
"vue": "3.5.13"
|
||||
|
||||
@@ -29,7 +29,7 @@ import path from 'path';
|
||||
import type { RollupError, RollupOptions, OutputOptions as RollupOutputOptions } from 'rollup';
|
||||
import { rollup, watch as rollupWatch } from 'rollup';
|
||||
import esbuild from 'rollup-plugin-esbuild';
|
||||
import stylesDefault from 'rollup-plugin-styles';
|
||||
import styles from 'rollup-plugin-styler';
|
||||
import type { Config, Format, RollupConfig, RollupMode } from '../types.js';
|
||||
import { getFileExt } from '../utils/file.js';
|
||||
import { clear, log } from '../utils/logger.js';
|
||||
@@ -40,7 +40,6 @@ import { validateSplitEntrypointOption } from './helpers/validate-cli-options.js
|
||||
|
||||
// Workaround for https://github.com/rollup/plugins/issues/1329
|
||||
const virtual = virtualDefault as unknown as typeof virtualDefault.default;
|
||||
const styles = stylesDefault as unknown as typeof stylesDefault.default;
|
||||
const commonjs = commonjsDefault as unknown as typeof commonjsDefault.default;
|
||||
const json = jsonDefault as unknown as typeof jsonDefault.default;
|
||||
const replace = replaceDefault as unknown as typeof replaceDefault.default;
|
||||
|
||||
764
pnpm-lock.yaml
generated
764
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user