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:
@ -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'
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import path from 'path'
|
||||
import path from 'node:path'
|
||||
|
||||
import {
|
||||
createTemporaryEmptyFolder,
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
Reference in New Issue
Block a user