@naturalcycles/nodejs-lib 12.103.2 → 12.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/bin/del.js +2 -2
  2. package/dist/bin/generate-build-info.js +6 -6
  3. package/dist/bin/json2env.js +4 -4
  4. package/dist/bin/kpy.js +2 -2
  5. package/dist/bin/secrets-decrypt.js +3 -3
  6. package/dist/bin/secrets-encrypt.js +3 -3
  7. package/dist/bin/secrets-gen-key.js +3 -3
  8. package/dist/bin/slack-this.js +2 -2
  9. package/dist/colors/colors.d.ts +28 -0
  10. package/dist/colors/colors.js +33 -1
  11. package/dist/fs/del.js +1 -1
  12. package/dist/fs/fs.util.d.ts +136 -23
  13. package/dist/fs/fs.util.js +53 -25
  14. package/dist/fs/json2env.d.ts +4 -0
  15. package/dist/fs/json2env.js +16 -5
  16. package/dist/fs/kpy.js +1 -1
  17. package/dist/index.d.ts +4 -1
  18. package/dist/index.js +4 -1
  19. package/dist/secret/secrets-decrypt.util.js +1 -1
  20. package/dist/secret/secrets-encrypt.util.js +1 -1
  21. package/dist/stream/ndjson/ndjson.model.js +1 -1
  22. package/dist/stream/ndjson/pipelineFromNDJsonFile.js +1 -1
  23. package/dist/stream/ndjson/pipelineToNDJsonFile.js +1 -1
  24. package/dist/stream/sizeStack.js +1 -1
  25. package/dist/stream/transform/transformLogProgress.js +2 -3
  26. package/dist/stream/transform/transformMap.js +1 -1
  27. package/dist/stream/transform/transformMapSync.js +1 -1
  28. package/dist/util/git.util.js +1 -1
  29. package/package.json +1 -1
  30. package/src/bin/del.ts +1 -1
  31. package/src/bin/generate-build-info.ts +2 -2
  32. package/src/bin/json2env.ts +2 -2
  33. package/src/bin/kpy.ts +1 -1
  34. package/src/bin/secrets-decrypt.ts +2 -2
  35. package/src/bin/secrets-encrypt.ts +2 -2
  36. package/src/bin/secrets-gen-key.ts +2 -2
  37. package/src/bin/slack-this.ts +1 -1
  38. package/src/colors/colors.ts +35 -0
  39. package/src/fs/del.ts +1 -1
  40. package/src/fs/fs.util.ts +53 -30
  41. package/src/fs/json2env.ts +15 -4
  42. package/src/fs/kpy.ts +1 -1
  43. package/src/index.ts +4 -1
  44. package/src/secret/secrets-decrypt.util.ts +1 -1
  45. package/src/secret/secrets-encrypt.util.ts +1 -1
  46. package/src/stream/ndjson/ndjson.model.ts +1 -1
  47. package/src/stream/ndjson/pipelineFromNDJsonFile.ts +1 -1
  48. package/src/stream/ndjson/pipelineToNDJsonFile.ts +1 -1
  49. package/src/stream/sizeStack.ts +1 -1
  50. package/src/stream/transform/transformLogProgress.ts +1 -2
  51. package/src/stream/transform/transformMap.ts +1 -1
  52. package/src/stream/transform/transformMapSync.ts +1 -1
  53. package/src/util/git.util.ts +1 -1
  54. package/dist/colors/index.d.ts +0 -28
  55. package/dist/colors/index.js +0 -35
  56. package/dist/fs/index.d.ts +0 -3
  57. package/dist/fs/index.js +0 -6
  58. package/src/colors/index.ts +0 -35
  59. package/src/fs/index.ts +0 -3
  60. /package/dist/script/{index.d.ts → runScript.d.ts} +0 -0
  61. /package/dist/script/{index.js → runScript.js} +0 -0
  62. /package/src/script/{index.ts → runScript.ts} +0 -0
@@ -1,35 +0,0 @@
1
- import * as chalk from 'chalk'
2
-
3
- export { chalk }
4
-
5
- // The point of re-exporting is:
6
- // 1. Fix typings to allow to pass `number` (very common case)
7
- // 2. Easier/shorter to import, rather than from 'chalk'
8
- // export type ColorFn = (...args: (string | number)[]) => string
9
-
10
- export const white = chalk.white
11
- export const dimWhite = chalk.dim.white
12
- export const boldWhite = chalk.bold.white
13
- export const inverseWhite = chalk.inverse.white
14
- export const grey = chalk.grey
15
- export const dimGrey = chalk.dim.grey
16
- export const boldGrey = chalk.bold.grey
17
- export const yellow = chalk.yellow
18
- export const dimYellow = chalk.dim.yellow
19
- export const boldYellow = chalk.bold.yellow
20
- export const inverseYellow = chalk.inverse.yellow
21
- export const green = chalk.green
22
- export const dimGreen = chalk.dim.green
23
- export const boldGreen = chalk.bold.green
24
- export const red = chalk.red
25
- export const dimRed = chalk.dim.red
26
- export const boldRed = chalk.bold.red
27
- export const blue = chalk.blue
28
- export const dimBlue = chalk.dim.blue
29
- export const boldBlue = chalk.bold.blue
30
- export const magenta = chalk.magenta
31
- export const dimMagenta = chalk.dim.magenta
32
- export const boldMagenta = chalk.bold.magenta
33
- export const cyan = chalk.cyan
34
- export const dimCyan = chalk.dim.cyan
35
- export const boldCyan = chalk.bold.cyan
package/src/fs/index.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './del'
2
- export * from './json2env'
3
- export * from './kpy'
File without changes
File without changes
File without changes