Julien Fontanet
2a70ebf667
docs: uniformize code blocks
...
- add missing syntaxes
- don't put prompt if no command outputs to ease copy/paste and use `sh` syntax
- always use `$` as prompt and use `console` syntax
2023-02-06 11:25:12 +01:00
Mathieu
bfa0282ecc
feat: technical release ( #6645 )
2023-01-27 16:16:26 +01:00
Julien Fontanet
ae993dff45
feat(log/dedupe): helper to remove duplicated logs
2023-01-15 12:59:31 +01:00
Julien Fontanet
1bc4805f3d
chore(log): move Log into own module
2023-01-15 12:59:31 +01:00
Julien Fontanet
98fe8f3955
chore(log): move createTransport into own module
2023-01-15 12:59:31 +01:00
Julien Fontanet
e902bcef67
chore(log): prefix internal modules by _
2023-01-15 12:59:31 +01:00
Julien Fontanet
cb2a6e43a8
chore(log/utils.test.js): rename to _compileLogPattern.test.js
2023-01-15 12:59:31 +01:00
Julien Fontanet
b73a0992f8
feat(log): define public entry points
...
BREAKING CHANGE: Importing modules with extensions is now unsupported, i.e. use `@xen-orchestra/log/configure` instead of `@xen-orchestra/log/configure.js`.
Allows ESM modules to import modules without specifying extensions (just like CJS module) which will make migrating this lib to ESM painless in the future.
2023-01-15 12:58:35 +01:00
Julien Fontanet
75db810508
feat(@xen-orchestra/log): 0.5.0
2022-11-29 17:48:21 +01:00
Julien Fontanet
37aea1888d
chore: fix lint issues
2022-11-24 16:26:40 +01:00
Julien Fontanet
aef2696426
feat(log): respect env.{DEBUG,NODE_DEBUG} by default
...
Previously, env.{DEBUG,NODE_DEBUG} were only handled if `log/configure` has been imported, now it's the case by default.
2022-11-18 10:42:13 +01:00
Gabriel Gunullu
97f852f8e8
test(log): from Jest to test ( #6498 )
2022-11-04 10:54:11 +01:00
Pierre Donias
03b505e40e
feat: technical release ( #6488 )
2022-10-27 15:18:03 +02:00
Julien Fontanet
61c64b49c7
feat(log/configure): can instanciate transport from JSON
2022-10-12 14:37:41 +02:00
Julien Fontanet
7e27e0bda8
linting: enable eslint-plugin-n recommended rules
...
And fixes a lot of related issues.
2022-03-23 11:18:37 +01:00
Julien Fontanet
72ff66ebde
chore: enforce strict mode for CJS files
2022-02-22 12:34:41 +01:00
Julien Fontanet
471fbef6ef
chore: hide USAGE.md
...
This highlight the fact that it's not designed for direct consumption and it no longer needs a special handling in `npmignore`.
2022-02-18 17:11:52 +01:00
Julien Fontanet
0a07765027
chore: update deps
2022-02-02 12:35:06 +01:00
Julien Fontanet
7677620645
chore: update to ESLint@8
...
Brings the (private) class fields support, which is getting more and more used in XO.
2022-01-28 15:55:35 +01:00
Julien Fontanet
7f9a970714
fix(log/USAGE): document filter array
...
Introduced by d3cb31f1a
2021-11-04 10:45:58 +01:00
Julien Fontanet
15630aee5e
chore: update dev deps
2021-11-02 13:43:49 +01:00
Pierre Donias
cafa1ffa14
feat: technical release ( #5886 )
2021-08-30 11:01:14 +02:00
Julien Fontanet
d3cb31f1a7
feat(log/configure): filter can be an array
2021-08-11 18:09:42 +02:00
Julien Fontanet
6d39512576
chore: format with Prettier
...
Introduced by 059843f03
2021-06-03 14:49:14 +02:00
Rajaa.BARHTAOUI
c2450843a5
feat: technical release ( #5790 )
2021-05-26 16:52:20 +02:00
Julien Fontanet
0c6d920682
chore(log): remove build step
...
It also helps with compatibility with native ESM for default exports.
2021-05-18 21:24:42 +02:00
Julien Fontanet
d0c07e1e97
chore: update promise-toolbox to 0.19.2
2021-05-03 15:41:53 +02:00
Julien Fontanet
f132c4b5d1
chore(log): remove unused dev dep
2021-04-30 12:08:03 +02:00
Julien Fontanet
3f42199f8f
feat(normalize-packages): dont use files field
...
A centralized npmignore is easier to use and maintain.
2021-04-23 14:47:34 +02:00
Julien Fontanet
6acb1e3853
chore(eslint): only use @babel/eslint-parser for pkgs using Babel
2021-04-23 14:47:34 +02:00
Julien Fontanet
da67298b43
chore: update promise-toolbox to 0.19.0
2021-04-14 00:12:34 +02:00
Julien Fontanet
3c5d73224a
feat(normalize-packages): delete empty dependencies, description and keywords fields
2021-04-07 15:14:48 +02:00
Julien Fontanet
05f9c07836
chore: add descriptions to all pkgs (but mixin)
2021-04-07 15:13:18 +02:00
Julien Fontanet
5a17c75fe4
feat: unified .npmignore for all packages
...
Ensure sources, tests and USAGE.Md files will not be published.
2021-04-07 13:58:14 +02:00
Julien Fontanet
082787c4cf
chore: update dependencies
2021-04-02 15:34:19 +02:00
Julien Fontanet
a8774b5011
chore(log/transport/console): remove unused code
2021-03-29 14:59:14 +02:00
Julien Fontanet
bcfb19f7c5
feat(normalize-packages): delete empty bin field
2021-03-11 12:15:53 +01:00
Julien Fontanet
71a6f70f46
chore: update promise-toolbox to 0.17.0
...
Allow using `Disposable.use()`.
2021-02-26 12:02:39 +01:00
Julien Fontanet
3e25b92369
chore: update dependencies
2021-01-14 16:57:44 +01:00
Julien Fontanet
7a8ca2f068
chore: change print width to 120 chars
2020-11-24 10:51:35 +01:00
Julien Fontanet
015c6037c4
fix: add prepublishOnly to replace removed prepare scripts
...
Introduced by 452a7e744
2020-07-30 19:07:36 +02:00
Julien Fontanet
f18e98a63e
chore: reformat code with Prettier
2020-06-03 11:03:03 +02:00
Julien Fontanet
3524886d5d
chore: update dev dependencies
2020-06-03 11:03:03 +02:00
Julien Fontanet
34f42216c8
feat(*/README.md): better badges
2020-06-01 14:41:52 +02:00
Julien Fontanet
4530fd4164
chore(*/package.json): normalize author to Vates SAS
2020-06-01 14:06:09 +02:00
Julien Fontanet
d0b9380dca
fix(*/README): license link
2020-05-28 21:24:20 +02:00
Julien Fontanet
13fd9be566
feat(*/README.md): re-generate for all packages
2020-05-28 20:56:14 +02:00
Julien Fontanet
0860c80e51
fix(*/README): legacy project URLs
2020-05-27 10:04:00 +02:00
Rajaa.BARHTAOUI
bb19c55c3a
fix(log): procces.stdout/stderr are undefined in browsers ( #4765 )
2020-01-31 10:32:39 +01:00
Julien Fontanet
d649a22b80
feat(log/transports/console): add colors
2020-01-30 15:25:54 +01:00