Skip to content

Commit

Permalink
Bump devDependencies (mui#2390)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: MUI bot <[email protected]>
  • Loading branch information
renovate[bot] and Janpot authored Jul 30, 2023
1 parent a7127e4 commit 9687022
Show file tree
Hide file tree
Showing 26 changed files with 618 additions and 553 deletions.
4 changes: 2 additions & 2 deletions docs/pages/toolpad/reference/file-schema/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { GetStaticProps } from 'next';
import * as path from 'path';
import * as fs from 'fs/promises';
import * as React from 'react';
import { GetStaticProps } from 'next';
import SchemaReference, {
SchemaReferenceProps,
} from '../../../../src/modules/components/SchemaReference';
Expand Down
2 changes: 1 addition & 1 deletion examples/with-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"qrcode": "^1.5.3"
},
"devDependencies": {
"@types/node": "^20.4.4",
"@types/node": "^20.4.5",
"@types/qrcode": "^1.5.1",
"prisma": "^5.0.0",
"ts-node": "^10.9.1",
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"@argos-ci/core": "^0.9.0",
"@jest/globals": "29.6.1",
"@jest/globals": "29.6.2",
"@mui/monorepo": "https://github.com/mui/material-ui.git",
"@next/eslint-plugin-next": "13.4.12",
"@playwright/test": "1.36.2",
Expand All @@ -55,32 +55,32 @@
"@types/archiver": "5.3.2",
"@types/gtag.js": "0.0.12",
"@types/jest": "29.5.3",
"@types/node": "20.4.4",
"@types/node": "20.4.5",
"@types/react-inspector": "4.0.2",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "6.1.0",
"@typescript-eslint/parser": "6.1.0",
"@typescript-eslint/eslint-plugin": "6.2.0",
"@typescript-eslint/parser": "6.2.0",
"babel-plugin-transform-rename-import": "2.3.0",
"chalk": "5.3.0",
"eslint": "8.45.0",
"eslint": "8.46.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "8.8.0",
"eslint-config-prettier": "8.9.0",
"eslint-import-resolver-webpack": "0.13.2",
"eslint-plugin-filenames": "1.3.2",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-react": "7.33.0",
"eslint-plugin-react": "7.33.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-typescript-enum": "2.1.0",
"execa": "7.1.1",
"execa": "7.2.0",
"express": "4.18.2",
"format-util": "1.0.5",
"globby": "13.2.2",
"jest": "29.6.1",
"jest-environment-jsdom": "29.6.1",
"jest": "29.6.2",
"jest-environment-jsdom": "29.6.2",
"jest-fail-on-console": "3.1.1",
"lerna": "7.1.4",
"markdownlint-cli2": "0.8.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-toolpad-app/tests/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as fs from 'fs/promises';
import { jest } from '@jest/globals';
import * as path from 'path';
import * as url from 'url';
import { execa, ExecaChildProcess } from 'execa';
import readline from 'readline';
import { Readable } from 'stream';
import { execa, ExecaChildProcess } from 'execa';
import { jest } from '@jest/globals';
import { once } from 'events';

jest.setTimeout(60000);
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"emoji-regex": "10.2.1"
},
"devDependencies": {
"@types/eslint": "8.44.0",
"@typescript-eslint/parser": "6.1.0"
"@types/eslint": "8.44.1",
"@typescript-eslint/parser": "6.2.0"
},
"scripts": {},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-app/cli/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'dotenv/config';
import yargs from 'yargs';
import path from 'path';
import invariant from 'invariant';
import { Readable } from 'stream';
import * as readline from 'readline';
import invariant from 'invariant';
import yargs from 'yargs';
import openBrowser from 'react-dev-utils/openBrowser';
import chalk from 'chalk';
import { folderExists } from '@mui/toolpad-utils/fs';
Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-app/cli/server.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import * as path from 'path';
import { IncomingMessage, createServer } from 'http';
import * as fs from 'fs/promises';
import express from 'express';
import invariant from 'invariant';
import { IncomingMessage, createServer } from 'http';
import { execaNode } from 'execa';
import getPort from 'get-port';
import { createProxyMiddleware } from 'http-proxy-middleware';
import { mapValues } from '@mui/toolpad-utils/collections';
import prettyBytes from 'pretty-bytes';
import { createServer as createViteServer } from 'vite';
import * as fs from 'fs/promises';
import serializeJavascript from 'serialize-javascript';
import { WebSocket, WebSocketServer } from 'ws';
import { listen } from '@mui/toolpad-utils/http';
Expand Down
10 changes: 5 additions & 5 deletions packages/toolpad-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"zod-validation-error": "1.3.1"
},
"devDependencies": {
"@swc/core": "1.3.70",
"@swc/core": "1.3.72",
"@swc/jest": "0.2.27",
"@types/babel__code-frame": "7.0.3",
"@types/crypto-js": "4.1.1",
Expand All @@ -141,17 +141,17 @@
"@types/node-fetch": "2.6.4",
"@types/pg": "8.10.2",
"@types/prettier": "2.7.3",
"@types/react": "18.2.15",
"@types/react": "18.2.17",
"@types/react-dom": "18.2.7",
"@types/react-inspector": "4.0.2",
"@types/react-is": "18.2.1",
"@types/serialize-javascript": "5.0.2",
"@types/whatwg-url": "11.0.0",
"@types/ws": "8.5.5",
"ajv": "8.12.0",
"eslint": "8.45.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint": "8.46.0",
"eslint-config-prettier": "8.9.0",
"eslint-plugin-import": "2.28.0",
"formidable": "3.5.0",
"get-port": "7.0.0",
"monaco-editor": "0.40.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-app/src/server/FunctionsManager.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as path from 'path';
import * as fs from 'fs/promises';
import { Emitter } from '@mui/toolpad-utils/events';
import * as esbuild from 'esbuild';
import * as path from 'path';
import { ensureSuffix, indent } from '@mui/toolpad-utils/strings';
import * as chokidar from 'chokidar';
import chalk from 'chalk';
import { glob } from 'glob';
import * as fs from 'fs/promises';
import { writeFileRecursive, fileExists, readJsonFile } from '@mui/toolpad-utils/fs';
import invariant from 'invariant';
// @ts-expect-error https://github.com/piscinajs/piscina/issues/362#issuecomment-1616811661
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-app/src/server/functionsTypesWorker.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import invariant from 'invariant';
import * as path from 'path';
import invariant from 'invariant';
import * as ts from 'typescript';
import { glob } from 'glob';
import chalk from 'chalk';
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-app/src/server/localMode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as yaml from 'yaml';
import * as path from 'path';
import * as fs from 'fs/promises';
import * as yaml from 'yaml';
import invariant from 'invariant';
import openEditor from 'open-editor';
import chalk from 'chalk';
Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-app/src/server/toolpadAppBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { InlineConfig, Plugin, build } from 'vite';
import react from '@vitejs/plugin-react';
import * as path from 'path';
import { Server } from 'http';
import { InlineConfig, Plugin, build } from 'vite';
import react from '@vitejs/plugin-react';
import serializeJavascript from 'serialize-javascript';
import { indent } from '@mui/toolpad-utils/strings';
import { MUI_X_PRO_LICENSE, RUNTIME_CONFIG_WINDOW_PROPERTY } from '../constants';
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-app/src/server/toolpadAppServer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as path from 'path';
import * as fs from 'fs/promises';
import * as express from 'express';
import { Server } from 'http';
import * as express from 'express';
import config from '../config';
import { postProcessHtml } from './toolpadAppBuilder';
import { loadDom } from './liveProject';
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-app/src/server/versionInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'path';
import latestVersion from 'latest-version';
import * as semver from 'semver';
import * as path from 'path';
import { fileExists } from '@mui/toolpad-utils/fs';
import pkg from '../../package.json';
import { VERSION_CHECK_INTERVAL } from '../constants';
Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-app/src/toolpad/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import * as path from 'path';
import * as fs from 'fs';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

const pkgJsonContent = fs.readFileSync(path.resolve(__dirname, '../../package.json'), {
encoding: 'utf-8',
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-app/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'tsup';
import * as fs from 'fs/promises';
import path from 'path';
import { defineConfig } from 'tsup';
import type * as esbuild from 'esbuild';

function cleanFolderOnFailure(folder: string): esbuild.Plugin {
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-components/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { spawnSync } from 'child_process';
import { defineConfig } from 'tsup';
import * as fs from 'fs/promises';
import path from 'path';
import { defineConfig } from 'tsup';
import type * as esbuild from 'esbuild';

function cleanFolderOnFailure(folder: string): esbuild.Plugin {
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-core/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { spawnSync } from 'child_process';
import { defineConfig } from 'tsup';
import * as fs from 'fs/promises';
import path from 'path';
import { defineConfig } from 'tsup';
import type * as esbuild from 'esbuild';

function cleanFolderOnFailure(folder: string): esbuild.Plugin {
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-utils/src/fs.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, test, beforeEach, afterEach, expect } from '@jest/globals';
import * as fs from 'fs/promises';
import * as path from 'path';
import { describe, test, beforeEach, afterEach, expect } from '@jest/globals';
import { fileReplace, fileReplaceAll } from './fs';

describe('fileReplace', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-utils/src/fs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from 'fs/promises';
import * as path from 'path';
import * as yaml from 'yaml';
import { Dirent } from 'fs';
import * as yaml from 'yaml';
import { yamlOverwrite } from 'yaml-diff-patch';
import { errorFrom } from './errors';

Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-utils/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineConfig } from 'tsup';
import * as fs from 'fs/promises';
import path from 'path';
import type * as esbuild from 'esbuild';
import { spawnSync } from 'child_process';
import type * as esbuild from 'esbuild';
import { defineConfig } from 'tsup';

function cleanFolderOnFailure(folder: string): esbuild.Plugin {
return {
Expand Down
4 changes: 2 additions & 2 deletions scripts/docs/generateJsonSchemas.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { zodToJsonSchema } from 'zod-to-json-schema';
import * as z from 'zod';
import * as fs from 'fs/promises';
import * as path from 'path';
import { zodToJsonSchema } from 'zod-to-json-schema';
import * as z from 'zod';
import { META } from '../../packages/toolpad-app/src/server/schema';

const currentDirectory = __dirname;
Expand Down
2 changes: 1 addition & 1 deletion scripts/docs/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import prettier from 'prettier';
import * as fs from 'fs/promises';
import prettier from 'prettier';

export function escapeCell(value: string): string {
return value
Expand Down
2 changes: 1 addition & 1 deletion test/models/ToolpadEditor.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, FrameLocator, Locator, Page } from '@playwright/test';
import { setTimeout } from 'timers/promises';
import { expect, FrameLocator, Locator, Page } from '@playwright/test';
import { gotoIfNotCurrent } from './shared';

class CreatePageDialog {
Expand Down
6 changes: 3 additions & 3 deletions test/playwright/localTest.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as path from 'path';
import * as fs from 'fs/promises';
import childProcess from 'child_process';
import { once } from 'events';
import invariant from 'invariant';
import * as archiver from 'archiver';
import { createWriteStream } from 'fs';
import { pipeline } from 'stream/promises';
import { Readable } from 'stream';
import { once } from 'events';
import invariant from 'invariant';
import * as archiver from 'archiver';
import getPort from 'get-port';
import { PageScreenshotOptions, test as base } from './test';
import { waitForMatch } from '../utils/streams';
Expand Down
Loading

0 comments on commit 9687022

Please sign in to comment.