Skip to content

Commit

Permalink
feat: remove debug utils, as unused
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Dec 21, 2024
1 parent 39a7025 commit e01162e
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports = {
'fs',
'stream',
'colors',
'debug',
'exec',
'secrets',
'security',
Expand Down
3 changes: 0 additions & 3 deletions docs/debug.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# Features

- Validation (based on Joi)
- debug (based on debug) with .warn(), .error() levels
- env.util
- zip.util
- id.util (based on nanoid)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"ajv-formats": "^3.0.1",
"ajv-keywords": "^5.0.0",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"dotenv": "^16.0.0",
"fast-glob": "^3.2.11",
"globby": "^11.0.0",
Expand Down
4 changes: 1 addition & 3 deletions scripts/backpressureSimulation.script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ yarn tsn backpressureSimulation.script.ts
*/

import { _range, pDelay } from '@naturalcycles/js-lib'
import { _pipeline, Debug, readableFromArray, transformLogProgress, writableForEach } from '../src'
import { _pipeline, readableFromArray, transformLogProgress, writableForEach } from '../src'
import { runScript } from '../src/script/runScript'

Debug.enable('*')

interface Item {
id: string
}
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export * from './fs/json2env'
export * from './fs/kpy'
export * from './infra/process.util'
export * from './jwt/jwt.service'
export * from './log/debug'
export * from './log/log.util'
export * from './script/runScript'
export * from './security/crypto.util'
Expand Down
3 changes: 0 additions & 3 deletions src/test/setupJest.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { jestLog, jestLogger, jestOffline } from '@naturalcycles/dev-lib/dist/testing'
import { Debug } from '..'

Debug.enable('nc:*')

jestOffline()

Expand Down

0 comments on commit e01162e

Please sign in to comment.