Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit 7bcc7a6

Browse files
committed
Comply with sane-fmt 0.7.0
1 parent 28d48b2 commit 7bcc7a6

File tree

17 files changed

+41
-41
lines changed

17 files changed

+41
-41
lines changed

test/package-manager/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import path from 'path'
2-
import { existsSync } from 'fs'
1+
import { project } from '@tools/places'
32
import { spawnSync } from 'child_process'
3+
import { existsSync } from 'fs'
4+
import path from 'path'
45
import semver from 'semver'
5-
import { project } from '@tools/places'
66

77
const mkfn = (file: string, pkgmgr: string) =>
88
() => {

tools/add-dependency/lib/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import path from 'path'
2-
import { prompt } from 'inquirer'
31
import {
42
Manifest,
53
ManifestType,
@@ -12,6 +10,8 @@ import {
1210
loadTestList,
1311
loadToolList,
1412
} from '@tools/utils'
13+
import { prompt } from 'inquirer'
14+
import path from 'path'
1515

1616
async function promptManifestType(): Promise<NonRootManifestTypes.Union> {
1717
const { type } = await prompt({

tools/create-new-folder/lib/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import path from 'path'
2-
import { spawnSync } from 'child_process'
3-
import { prompt } from 'inquirer'
4-
import yargs from 'yargs'
5-
import * as fsx from 'fs-extra'
61
import * as config from '@tools/pkgcfg'
72
import * as places from '@tools/places'
83
import { createLogger, writeJSON, PackageManifest, TestManifest, ToolManifest, loadRootManifest } from '@tools/utils'
4+
import { spawnSync } from 'child_process'
5+
import * as fsx from 'fs-extra'
6+
import { prompt } from 'inquirer'
7+
import path from 'path'
8+
import yargs from 'yargs'
99
const rootManifest = loadRootManifest()
1010

1111
const { editor, silent } = yargs

tools/docs/lib/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
import places from '@tools/places'
2+
import { loadPackageList, loadRepoUrl } from '@tools/utils'
3+
import { partition } from '@tsfun/array'
4+
import { ensureFile, writeFile, pathExists } from 'fs-extra'
15
import path from 'path'
26
import process from 'process'
3-
import { ensureFile, writeFile, pathExists } from 'fs-extra'
47
import { Application, TypeScript } from 'typedoc'
5-
import { partition } from '@tsfun/array'
6-
import places from '@tools/places'
7-
import { loadPackageList, loadRepoUrl } from '@tools/utils'
8-
import * as config from './config'
98
import combineGlobPatterns from './combine-glob-patterns'
9+
import * as config from './config'
1010
import { Child, homepage } from './homepage'
1111

1212
async function propIfExists<Key extends string>(

tools/ignore-file/lib/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as path from 'path'
2-
import minimatch from 'minimatch'
3-
import * as yaml from 'js-yaml'
41
import * as fsx from 'fs-extra'
52
import * as fsTreeUtils from 'fs-tree-utils'
3+
import * as yaml from 'js-yaml'
4+
import minimatch from 'minimatch'
5+
import * as path from 'path'
66
import Traverse = fsTreeUtils.Traverse
77
import DeepFunc = Traverse.Options.DeepFunc
88

tools/publish-docs/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import process from 'process'
21
import { publish, Options } from '@tools/gh-pages'
32
import places from '@tools/places'
3+
import process from 'process'
44
import { optionsList } from './config'
55

66
const DEFAULT_OPTIONS: Options = { dotfiles: true }

tools/publish-tag-push/lib/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as places from '@tools/places'
2-
import { StyledText, dim } from './styled-text'
32
import spawn, { TerminationError, SpawnFactory } from 'advanced-spawn-async'
43
import { Printer } from '../utils/types'
4+
import { StyledText, dim } from './styled-text'
55

66
export function displayCommand(args: readonly StyledText[]): string {
77
return [dim('$'), ...args]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from './styled-text'
21
export * from './command'
32
export * from './main'
43
export { default } from './main'
4+
export * from './styled-text'

tools/publish-tag-push/lib/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import * as places from '@tools/places'
12
import fs from 'fs'
23
import { statusMatrix } from 'isomorphic-git'
3-
import * as places from '@tools/places'
44
import { Printer } from '../utils/types'
5-
import { StyledText, normal, dim, bold } from './styled-text'
65
import { command } from './command'
6+
import { StyledText, normal, dim, bold } from './styled-text'
77

88
export interface EnvironmentVariables {
99
readonly PUBLISH_TAG_PUSH_EXECUTOR?: string

tools/scripts/bin/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import * as places from '@tools/places'
2+
import chalk from 'chalk'
13
import path from 'path'
24
import process from 'process'
3-
import chalk from 'chalk'
4-
import * as places from '@tools/places'
55
import { commands, enums, functions } from '../index'
66
const { ExitStatusCode } = enums
77
const { spawnSync } = functions

0 commit comments

Comments
 (0)