Skip to content

Commit c2acff6

Browse files
project: Update dependencies to the latest versions.
1 parent 1503026 commit c2acff6

File tree

6 files changed

+3419
-3646
lines changed

6 files changed

+3419
-3646
lines changed

config/global.d.ts

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,47 +9,11 @@ type RollupPluginImpl<O extends object = object> = import('rollup').PluginImpl<
99
O
1010
>;
1111

12-
declare module 'rollup-plugin-json' {
13-
export interface Options {
14-
/**
15-
* All JSON files will be parsed by default, but you can also specifically include/exclude files
16-
*/
17-
include?: string | string[];
18-
exclude?: string | string[];
19-
/**
20-
* for tree-shaking, properties will be declared as variables, using either `var` or `const`
21-
* @default false
22-
*/
23-
preferConst?: boolean;
24-
/**
25-
* specify indentation for the generated default export — defaults to '\t'
26-
* @default '\t'
27-
*/
28-
indent?: string;
29-
}
30-
const plugin: RollupPluginImpl<Options>;
31-
export default plugin;
32-
}
3312
declare module 'rollup-plugin-sourcemaps' {
3413
const plugin: RollupPluginImpl;
3514
export default plugin;
3615
}
37-
declare module 'rollup-plugin-node-resolve' {
38-
const plugin: RollupPluginImpl;
39-
export default plugin;
40-
}
41-
declare module 'rollup-plugin-commonjs' {
42-
const plugin: RollupPluginImpl;
43-
export default plugin;
44-
}
45-
declare module 'rollup-plugin-uglify' {
46-
const uglify: RollupPluginImpl;
47-
export { uglify };
48-
}
49-
declare module 'rollup-plugin-terser' {
50-
const terser: RollupPluginImpl;
51-
export { terser };
52-
}
16+
5317
declare module 'rollup-plugin-babel' {
5418
export interface Options {
5519
presets?: string | (string | object)[][];

config/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @type {Partial<jest.InitialOptions>}
2+
* @type {Partial<import('@jest/types').Config.InitialOptions>}
33
*/
44
const config = {
55
preset: 'ts-jest',

config/rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { resolve } from 'path';
22
import sourceMaps from 'rollup-plugin-sourcemaps';
3-
import nodeResolve from 'rollup-plugin-node-resolve';
4-
import json from 'rollup-plugin-json';
5-
import commonjs from 'rollup-plugin-commonjs';
3+
import nodeResolve from '@rollup/plugin-node-resolve';
4+
import json from '@rollup/plugin-json';
5+
import commonjs from '@rollup/plugin-commonjs';
66
import babel from 'rollup-plugin-babel';
77
import minify from 'rollup-plugin-babel-minify';
88

0 commit comments

Comments
 (0)