Julien Fontanet
df11a92cdb
feat(scripts/gen-deps-list.js): add debug logs
2022-12-07 14:35:49 +01:00
Julien Fontanet
1f32557743
fix(scripts/gen-deps-list): fix packages order ( #6564 )
...
The release order computation is now uncoupled of the packages to release computation, and is now done for all packages so that transitive dependencies are still correctly ordered.
2022-11-30 14:52:46 +01:00
Julien Fontanet
e0b4069c17
fix(scripts/bump-pkg): don't call git add --patch twice
2022-11-29 18:56:03 +01:00
Julien Fontanet
6b25a21151
feat(scripts/bump-pkg): ignore yarn.lock changes
2022-11-29 18:56:03 +01:00
Julien Fontanet
d6192a4a7a
chore: remove unused travis-tests.js
2022-11-28 15:51:47 +01:00
Julien Fontanet
9d5bc8af6e
feat: run-script.js now only shows output on error by default
2022-11-25 15:45:52 +01:00
Julien Fontanet
9480079770
feat: script test-unit now bails on first error
2022-11-25 15:45:08 +01:00
Julien Fontanet
09a2f45ada
feat: run test script for all pkgs with changed files
2022-11-22 17:30:14 +01:00
Julien Fontanet
83a7dd7ea1
chore: remove custom scripts/lint-staged
2022-11-22 17:30:14 +01:00
Julien Fontanet
08298d3284
feat: limit concurrency of root build script
...
Should fixes https://xcp-ng.org/forum/post/54567
2022-11-10 18:09:05 +01:00
Julien Fontanet
20dbbeb38e
feat(npmignore): handle *.test.*js files
...
This naming scheme is used by `node:test` and its userland implementation `test`.
2022-10-20 17:00:49 +02:00
Julien Fontanet
37dea9980e
fix(npmignore): handle .cjs and .mjs files
2022-10-20 16:58:30 +02:00
Pierre Donias
18d03a076b
fix(xo-web/backup/restore): don't use UNSAFE_componentWillReceiveProps ( #6364 )
...
Introduced by 7d6e832226
`UNSAFE_componentWillReceiveProps` method was only introduced in React 16 but we
are using React 15
`.eslintrc`: ask eslint to check the React version so that it doesn't suggest to
change it to `UNSAFE_componentWillReceiveProps`
2022-08-11 11:19:07 +02:00
Julien Fontanet
a0994bc428
fix(scripts/gen-deps-list.js): add missing await
...
Introduced by a0836ebdd
2022-06-01 16:51:31 +02:00
Julien Fontanet
8fe0d97aec
fix(scripts/gen-deps-list.js): fix packages order ( #6259 )
...
`deptree` nodes should be added only once with the full list of their dependencies.
For better display, packages are sorted by names before resolving the graph for nicer display.
2022-06-01 16:07:36 +02:00
Thierry Goettelmann
70608ed7e9
fix(scripts/gen-deps-lists.js): various fixes
2022-06-01 14:04:41 +02:00
Julien Fontanet
a0836ebdd7
feat(scripts/gen-deps-list.js): test mode ( #6258 )
2022-06-01 13:53:56 +02:00
Thierry Goettelmann
8ec8a3b4d9
feat(scripts/gen-deps-list.js): should now be used only during release ( #6234 )
2022-05-24 11:01:05 +02:00
Thierry Goettelmann
50f3ab7798
feat(scripts/gen-deps-list.js): new util to generate deps list ( #6181 )
2022-05-04 09:57:21 +02:00
Julien Fontanet
23189ed8f9
chore(scripts): add .js suffix for better Prettier/ESLint integration
2022-04-08 14:14: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
e9aa88e637
chore(scripts): fix lint errors
2022-03-02 17:48:26 +01:00
Julien Fontanet
b3d0da7392
feat(eslint): use correct sourceType for scripts and modules
2022-02-22 12:02:57 +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
6022a1bbaa
feat(normalize-packages): delete unused Babel configs
2021-12-23 09:26:00 +01:00
Julien Fontanet
cf45cb56ad
feat(npmignore): ignore /coverage/
2021-05-11 09:04:35 +02:00
Julien Fontanet
a58bf66dea
feat(scripts/travis-tests): handle .[cm]js files
2021-05-10 23:21:10 +02:00
Julien Fontanet
dc41f60f52
feat(scripts/lint-staged): handle .[cm]js files
2021-05-10 14:50:19 +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
251ccd2e38
chore(npmignore): dont publish docs directories
2021-04-23 14:47:34 +02:00
Julien Fontanet
82ccf5886e
chore(npmignore): dont publish hidden files
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
3c5d73224a
feat(normalize-packages): delete empty dependencies, description and keywords fields
2021-04-07 15:14:48 +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
4dc5eff252
chore(normalize-packages): remove unused require
2021-04-07 13:39:12 +02:00
Julien Fontanet
bcfb19f7c5
feat(normalize-packages): delete empty bin field
2021-03-11 12:15:53 +01:00
Julien Fontanet
7a8ca2f068
chore: change print width to 120 chars
2020-11-24 10:51:35 +01:00
Julien Fontanet
12c774a34a
feat(travis-tests): dont stop on first failure on master
2020-09-10 16:42:56 +02:00
Julien Fontanet
34f42216c8
feat(*/README.md): better badges
2020-06-01 14:41:52 +02:00
Julien Fontanet
a26a24a8ad
fix(normalize-packages): dont replace author in READMEs
2020-06-01 14:06:09 +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
343f988584
fix: use AGPL-3.0-or-later license identifier
...
`AGPL-3.0` identifier has been deprecated by SPDX.org
2020-05-28 20:26:55 +02:00
Julien Fontanet
7f676c56c8
feat(normalize-packages): add license to all packages
2020-05-28 16:05:55 +02:00
Julien Fontanet
c10bfe3db2
feat(read-chunk): module to read data from stream
2020-05-28 14:45:22 +02:00
Julien Fontanet
20fb2c99bc
feat(normalize-packages): generate README.md from USAGE.md
2020-05-28 14:45:21 +02:00
Julien Fontanet
57fa00b765
feat(bump-pkg): without version, simply update other packages
2020-02-10 15:58:03 +01:00
Julien Fontanet
2c9fe6f37d
feat(normalize-packages): pkgs are private by default
2020-01-08 16:21:13 +01:00
Julien Fontanet
21901f2a75
chore: dont wrap unnecessary with fromCallback
2019-11-25 12:34:21 +01:00