Skip to content

Commit

Permalink
chore: update task files, prefer lowercase internal url package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Aug 11, 2021
1 parent 49cb63c commit f66df98
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .task/build-csstype.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from './internal/fs.js'
import URL from './internal/URL.js'
import URL from './internal/url.js'

const rootUrl = URL.from(import.meta.url).to('../')
const dtsOriginalURL = rootUrl.to('./node_modules/csstype/index.d.ts')
Expand Down
2 changes: 1 addition & 1 deletion .task/build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as fs from './internal/fs.js'
import * as js from './internal/js.js'
import URL from './internal/URL.js'
import URL from './internal/url.js'
import { box } from './internal/color.js'
import { transformDestructuring } from './internal/js.transformDestructuring.js'
import { transformModulesToCJS } from './internal/js.transformModulesToCJS.js'
Expand Down
2 changes: 1 addition & 1 deletion .task/internal/dirs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import process from 'node:process'
import URL from './URL.js'
import URL from './url.js'

/** Root directory. */
export const rootUrl = new URL('../../', import.meta.url)
Expand Down
2 changes: 1 addition & 1 deletion .task/internal/fs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs/promises'
import { copyFile, mkdir, readdir } from 'fs/promises'
import URL from './URL.js'
import URL from './url.js'

export * from 'fs/promises'
export { existsSync as exists } from 'fs'
Expand Down
2 changes: 1 addition & 1 deletion .task/internal/process.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import URL from './URL.js'
import URL from './url.js'

const {
argv: [, file, ...argv],
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .task/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { passIcon, failIcon, passText, failText, infoText, dim, green } from './
import { isProcessMeta, getProcessArgOf } from './internal/process.js'
import * as fs from './internal/fs.js'
import nodemon from 'nodemon'
import URL from './internal/URL.js'
import URL from './internal/url.js'

const root = URL.from(import.meta.url).to('../')

Expand Down

0 comments on commit f66df98

Please sign in to comment.