Skip to content

Commit

Permalink
Chore: Bump TypeScript and ESLint config (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy authored Jan 3, 2024
1 parent 25a15b0 commit 5d77cf6
Show file tree
Hide file tree
Showing 8 changed files with 1,395 additions and 439 deletions.
6 changes: 3 additions & 3 deletions lib/configs/rollup.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import path from 'node:path';
import rename from '@pixi/rollup-plugin-rename-node-modules';
import esbuild from 'rollup-plugin-esbuild';
import replace from '@rollup/plugin-replace';
import rename from '@pixi/rollup-plugin-rename-node-modules';
import { extensionConfig, packageInfo as pkg } from '../extensionConfig.mjs';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';

const compiled = (new Date()).toUTCString().replace(/GMT/g, 'UTC');
const banner = [
Expand Down
2 changes: 1 addition & 1 deletion lib/extensionConfig.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'node:path';
import fs from 'node:fs';
import path from 'node:path';

const projectPath = path.join(process.cwd());
const pkg = JSON.parse(await fs.promises.readFile(
Expand Down
10 changes: 5 additions & 5 deletions lib/index.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/env node

import chalk from 'chalk';
import path from 'node:path';
import { promises } from 'node:fs';
import path from 'node:path';
import url from 'url';
import { extensionConfig, packageInfo } from './extensionConfig.mjs';
import { spawn } from './utils/spawn.mjs';
import { bump } from './utils/bump.mjs';
import { pathExists } from './utils/pathExists.mjs';
import { template } from './utils/template.mjs';
import { prefix } from './utils/prefix.mjs';
import { bump } from './utils/bump.mjs';
import url from 'url';
import { spawn } from './utils/spawn.mjs';
import { template } from './utils/template.mjs';

const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const scriptsPkg = JSON.parse(await promises.readFile(
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/spawn.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path';
import chalk from 'chalk';
import childProcess from 'node:child_process';
import path from 'node:path';
import { extensionConfig } from '../extensionConfig.mjs';
import chalk from 'chalk';
import { prefix } from './prefix.mjs';

const projectPath = path.join(process.cwd());
Expand Down
Loading

0 comments on commit 5d77cf6

Please sign in to comment.