@athenna/logger 3.1.5 → 3.1.7

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 (57) hide show
  1. package/package.json +24 -24
  2. /package/{build → src}/Constants/VanillaChannels.d.ts +0 -0
  3. /package/{build → src}/Constants/VanillaChannels.js +0 -0
  4. /package/{build → src}/Drivers/ConsoleDriver.d.ts +0 -0
  5. /package/{build → src}/Drivers/ConsoleDriver.js +0 -0
  6. /package/{build → src}/Drivers/DiscordDriver.d.ts +0 -0
  7. /package/{build → src}/Drivers/DiscordDriver.js +0 -0
  8. /package/{build → src}/Drivers/Driver.d.ts +0 -0
  9. /package/{build → src}/Drivers/Driver.js +0 -0
  10. /package/{build → src}/Drivers/FileDriver.d.ts +0 -0
  11. /package/{build → src}/Drivers/FileDriver.js +0 -0
  12. /package/{build → src}/Drivers/NullDriver.d.ts +0 -0
  13. /package/{build → src}/Drivers/NullDriver.js +0 -0
  14. /package/{build → src}/Drivers/SlackDriver.d.ts +0 -0
  15. /package/{build → src}/Drivers/SlackDriver.js +0 -0
  16. /package/{build → src}/Drivers/StackDriver.d.ts +0 -0
  17. /package/{build → src}/Drivers/StackDriver.js +0 -0
  18. /package/{build → src}/Drivers/TelegramDriver.d.ts +0 -0
  19. /package/{build → src}/Drivers/TelegramDriver.js +0 -0
  20. /package/{build → src}/Exceptions/DriverExistException.d.ts +0 -0
  21. /package/{build → src}/Exceptions/DriverExistException.js +0 -0
  22. /package/{build → src}/Exceptions/FormatterExistException.d.ts +0 -0
  23. /package/{build → src}/Exceptions/FormatterExistException.js +0 -0
  24. /package/{build → src}/Exceptions/NotFoundDriverException.d.ts +0 -0
  25. /package/{build → src}/Exceptions/NotFoundDriverException.js +0 -0
  26. /package/{build → src}/Exceptions/NotFoundFormatterException.d.ts +0 -0
  27. /package/{build → src}/Exceptions/NotFoundFormatterException.js +0 -0
  28. /package/{build → src}/Exceptions/NotImplementedConfigException.d.ts +0 -0
  29. /package/{build → src}/Exceptions/NotImplementedConfigException.js +0 -0
  30. /package/{build → src}/Facades/Log.d.ts +0 -0
  31. /package/{build → src}/Facades/Log.js +0 -0
  32. /package/{build → src}/Factories/DriverFactory.d.ts +0 -0
  33. /package/{build → src}/Factories/DriverFactory.js +0 -0
  34. /package/{build → src}/Factories/FormatterFactory.d.ts +0 -0
  35. /package/{build → src}/Factories/FormatterFactory.js +0 -0
  36. /package/{build → src}/Formatters/CliFormatter.d.ts +0 -0
  37. /package/{build → src}/Formatters/CliFormatter.js +0 -0
  38. /package/{build → src}/Formatters/Formatter.d.ts +0 -0
  39. /package/{build → src}/Formatters/Formatter.js +0 -0
  40. /package/{build → src}/Formatters/JsonFormatter.d.ts +0 -0
  41. /package/{build → src}/Formatters/JsonFormatter.js +0 -0
  42. /package/{build → src}/Formatters/MessageFormatter.d.ts +0 -0
  43. /package/{build → src}/Formatters/MessageFormatter.js +0 -0
  44. /package/{build → src}/Formatters/NoneFormatter.d.ts +0 -0
  45. /package/{build → src}/Formatters/NoneFormatter.js +0 -0
  46. /package/{build → src}/Formatters/RequestFormatter.d.ts +0 -0
  47. /package/{build → src}/Formatters/RequestFormatter.js +0 -0
  48. /package/{build → src}/Formatters/SimpleFormatter.d.ts +0 -0
  49. /package/{build → src}/Formatters/SimpleFormatter.js +0 -0
  50. /package/{build → src}/Helpers/FactoryHelper.d.ts +0 -0
  51. /package/{build → src}/Helpers/FactoryHelper.js +0 -0
  52. /package/{build → src}/Logger/Logger.d.ts +0 -0
  53. /package/{build → src}/Logger/Logger.js +0 -0
  54. /package/{build → src}/Providers/LoggerProvider.d.ts +0 -0
  55. /package/{build → src}/Providers/LoggerProvider.js +0 -0
  56. /package/{build → src}/index.d.ts +0 -0
  57. /package/{build → src}/index.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/logger",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "description": "The Athenna logging solution. Log in stdout, files and buckets.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
@@ -21,41 +21,41 @@
21
21
  "esm"
22
22
  ],
23
23
  "scripts": {
24
- "node": "cross-env NODE_OPTIONS=\"--experimental-import-meta-resolve\" ts-node",
25
- "build": "npm run node --silent -- bin/build.ts",
26
- "lint:fix": "eslint \"{src,tests}/**/*.ts\" --fix",
27
- "test": "npm run --silent lint:fix && npm run node --silent -- bin/test.ts",
28
- "test:debug": "cross-env DEBUG=api:* npm run node --silent -- bin/test.ts --inspect",
24
+ "lint:fix": "eslint \"{bin,src,tests}/**/*.ts\" --fix",
25
+ "test": "npm run --silent lint:fix && sh node bin/test.ts",
26
+ "test:debug": "cross-env DEBUG=api:* sh node --inspect bin/test.ts",
29
27
  "test:coverage": "c8 npm run --silent test"
30
28
  },
31
29
  "files": [
32
- "build/*.js",
33
- "build/*.d.ts",
34
- "build/**/*.js",
35
- "build/**/*.d.ts",
36
- "templates/**"
30
+ "src/*.js",
31
+ "src/*.d.ts",
32
+ "src/**/*.js",
33
+ "src/**/*.d.ts",
34
+ "templates"
37
35
  ],
38
36
  "type": "module",
39
- "main": "./build/index.js",
40
- "types": "./build/index.d.ts",
37
+ "main": "./src/index.js",
38
+ "types": "./src/index.d.ts",
39
+ "exports": {
40
+ ".": "./src/index.js",
41
+ "./providers/LoggerProvider": "./src/Providers/LoggerProvider.js"
42
+ },
41
43
  "imports": {
42
- "#src/*": "./build/*.js",
43
- "#src": "./build/index.js",
44
+ "#bin/*": "./bin/*.js",
45
+ "#bin": "./bin/index.js",
46
+ "#src/*": "./src/*.js",
47
+ "#src": "./src/index.js",
44
48
  "#tests/*": "./tests/*.js",
45
49
  "#tests": "./tests/index.js"
46
50
  },
47
- "exports": {
48
- ".": "./build/index.js",
49
- "./providers/LoggerProvider": "./build/Providers/LoggerProvider.js"
50
- },
51
51
  "dependencies": {
52
52
  "telegraf": "^4.11.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@athenna/common": "^3.3.1",
56
- "@athenna/config": "^3.2.0",
57
- "@athenna/ioc": "^3.1.5",
58
- "@athenna/test": "^3.1.1",
55
+ "@athenna/common": "^3.4.4",
56
+ "@athenna/config": "^3.2.2",
57
+ "@athenna/ioc": "^3.1.7",
58
+ "@athenna/test": "^3.2.2",
59
59
  "@japa/assert": "^1.3.6",
60
60
  "@japa/run-failed-tests": "^1.1.0",
61
61
  "@japa/runner": "^2.2.2",
@@ -88,7 +88,7 @@
88
88
  "minimist": "^1.2.7",
89
89
  "prettier": "^2.8.3",
90
90
  "reflect-metadata": "^0.1.13",
91
- "rimraf": "^3.0.2",
91
+ "sinon": "^15.0.2",
92
92
  "ts-node": "^10.9.1",
93
93
  "typescript": "^4.9.4"
94
94
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes