mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[ci] Add node scripts/yarn_deduplicate check (#169165)
- Adds an entrypoint, `node scripts/yarn_deduplicate` for fixing duplicated packages via npm package `yarn-deduplicate` - Fixes existing duplicated packages - Adds a CI check verifying no duplicated packages have been added. There are currently two exclusions - all types packages which causes other checks to break, and axe-core, which does not follow semver. Closes https://github.com/elastic/kibana/issues/125712
This commit is contained in:
parent
0564a6b1a2
commit
b95fcf00e2
6 changed files with 131 additions and 495 deletions
10
scripts/yarn_deduplicate.js
Normal file
10
scripts/yarn_deduplicate.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
require('../src/setup_node_env');
|
||||
require('../src/dev/yarn_deduplicate');
|
Loading…
Add table
Add a link
Reference in a new issue