Skip to content

Commit

Permalink
chore: bump deps (#4293)
Browse files Browse the repository at this point in the history
* chore: bump rollup, rollup plugins

* chore: bump eslint, eslint plugins, prettier

* chore: bump typescript, acorn

* chore: bump mocha

* chore: bump minor versions

* chore: bump colorette

* fix colorette with factory

* chore: bump husky
  • Loading branch information
dnalborczyk committed Dec 9, 2021
1 parent 7c9b89f commit dbcf24a
Show file tree
Hide file tree
Showing 11 changed files with 279 additions and 417 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

8 changes: 1 addition & 7 deletions cli/logging.ts
@@ -1,13 +1,7 @@
import { bold, cyan, dim, options, red } from 'colorette';
import { RollupError } from '../src/rollup/types';
import { bold, cyan, dim, red } from '../src/utils/colors';
import relativeId from '../src/utils/relativeId';

// @see https://no-color.org
// @see https://www.npmjs.com/package/chalk
if (process.env.FORCE_COLOR === '0' || process.env.NO_COLOR) {
options.enabled = false;
}

// log to stderr to keep `rollup main.js > bundle.js` from breaking
export const stderr = console.error.bind(console);

Expand Down
2 changes: 1 addition & 1 deletion cli/run/batchWarnings.ts
@@ -1,5 +1,5 @@
import { bold, gray, yellow } from 'colorette';
import { RollupWarning } from '../../src/rollup/types';
import { bold, gray, yellow } from '../../src/utils/colors';
import { getOrCreate } from '../../src/utils/getOrCreate';
import { printQuotedStringList } from '../../src/utils/printStringList';
import relativeId from '../../src/utils/relativeId';
Expand Down
2 changes: 1 addition & 1 deletion cli/run/build.ts
@@ -1,7 +1,7 @@
import { bold, cyan, green } from 'colorette';
import ms from 'pretty-ms';
import * as rollup from '../../src/node-entry';
import { MergedRollupOptions } from '../../src/rollup/types';
import { bold, cyan, green } from '../../src/utils/colors';
import relativeId from '../../src/utils/relativeId';
import { handleError, stderr } from '../logging';
import SOURCEMAPPING_URL from '../sourceMappingUrl';
Expand Down
2 changes: 1 addition & 1 deletion cli/run/loadConfigFile.ts
@@ -1,9 +1,9 @@
import * as fs from 'fs';
import * as path from 'path';
import { pathToFileURL } from 'url';
import { bold } from 'colorette';
import * as rollup from '../../src/node-entry';
import { MergedRollupOptions } from '../../src/rollup/types';
import { bold } from '../../src/utils/colors';
import { error } from '../../src/utils/error';
import { mergeOptions } from '../../src/utils/options/mergeOptions';
import { GenericConfigObject } from '../../src/utils/options/options';
Expand Down
2 changes: 1 addition & 1 deletion cli/run/timings.ts
@@ -1,6 +1,6 @@
import { bold, underline } from 'colorette';
import prettyBytes from 'pretty-bytes';
import { SerializedTimings } from '../../src/rollup/types';
import { bold, underline } from '../../src/utils/colors';

export function printTimings(timings: SerializedTimings): void {
Object.keys(timings).forEach(label => {
Expand Down
2 changes: 1 addition & 1 deletion cli/run/waitForInput.ts
@@ -1,6 +1,6 @@
import { bold } from 'colorette';
import { PluginContext } from 'rollup';
import { NormalizedInputOptions, Plugin } from '../../src/rollup/types';
import { bold } from '../../src/utils/colors';
import { stderr } from '../logging';

export function waitForInputPlugin(): Plugin {
Expand Down
2 changes: 1 addition & 1 deletion cli/run/watch-cli.ts
@@ -1,11 +1,11 @@
import fs from 'fs';
import chokidar from 'chokidar';
import { bold, cyan, green, underline } from 'colorette';
import dateTime from 'date-time';
import ms from 'pretty-ms';
import onExit from 'signal-exit';
import * as rollup from '../../src/node-entry';
import { MergedRollupOptions, RollupWatcher } from '../../src/rollup/types';
import { bold, cyan, green, underline } from '../../src/utils/colors';
import relativeId from '../../src/utils/relativeId';
import { handleError, stderr } from '../logging';
import { BatchWarnings } from './batchWarnings';
Expand Down

0 comments on commit dbcf24a

Please sign in to comment.