1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

refactor: usage of node: for builtin modules

This commit is contained in:
Divlo
2021-07-03 18:40:17 +02:00
parent fd830c9a8b
commit c80eb11874
32 changed files with 1396 additions and 1270 deletions

View File

@ -1,5 +1,5 @@
import path from 'path'
import fs from 'fs'
import path from 'node:path'
import fs from 'node:fs'
import validateProjectName from 'validate-npm-package-name'

View File

@ -1,4 +1,4 @@
import path from 'path'
import path from 'node:path'
import {
createTemporaryEmptyFolder,

View File

@ -1,5 +1,5 @@
import path from 'path'
import fs from 'fs'
import path from 'node:path'
import fs from 'node:fs'
import { replaceInFile } from 'replace-in-file'
import date from 'date-and-time'

View File

@ -1,6 +1,6 @@
import fs from 'fs'
import path from 'path'
import { performance } from 'perf_hooks'
import fs from 'node:fs'
import path from 'node:path'
import { performance } from 'node:perf_hooks'
import ora from 'ora'
import chalk from 'chalk'