Kibana Machine
95047f917b
chore(NA): enable exports_directories_only on rules nodejs to improve performance ( #104180 ) ( #104234 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-07-01 21:26:22 -04:00
Kibana Machine
91cfff87a4
chore(NA): @kbn/pm new commands to support development on Bazel packages ( #96465 ) ( #96911 )
...
* chore(NA): add warnings both to run and watch commands about Bazel built packages
* chore(NA): add new commands to build and watch bazel packages
* docs(NA): add documentation about how to deal with bazel packages
* chore(NA): addressed majority of the feedback received except for improved error logging
* chore(NA): disable ibazel info notification.
* chore(NA): remove iBazel notification
* chore(NA): remove iBazel notification - kbn pm dist
* chore(NA): move show_results option to kbn-pm only
* chore(NA): patch build bazel command to include packages target list
* chore(NA): add pretty logging for elastic-datemath
* chore(NA): remove double error output from commands ran with Bazel
* fix(NA): include simple error message to preserve subprocess failure state
* docs(NA): missing docs about how to independentely watch non bazel packages
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-04-12 22:30:36 -04:00
Tiago Costa
b47ab193d5
chore(NA): moving @elastic/datemath into bazel ( #94665 ) ( #96105 )
...
* chore(NA): majority of the changes needed to build elastic-datemath with bazel
* chore(NA): add missing bits on elastic-datemath package
* chore(NA): add missing build and watch scripts
* chore(NA): remove build scripts for elastic datemah
* chore(NA): remove typo from build baze production projects logs
* chore(NA): force install on CI
* chore(NA): introduce custom preserve symlinks resolver for jest
* chore(NA): update jest integration snapshot
* chore(NA): fix build for bazel packages
* chore(NA): correctly copy bazel built packages into final distributable build
* chore(NA): update kbn pm dist
* chore(NA): experimental new logic to handle bazel yarn rule rerun using yarn-integrity file
* chore(NA): update snapshots
* refact(NA): ensure yarn integrity exists into two methods
* chore(NA): fix ts error
* chore(NA): update snapshots
* chore(NA): update elastic-datemath build file to include ts_project rule
* chore(NA): update basic optimization test snapshots
* chore(NA): merge and solve conflicts cherry-pick from #96066
* chore(NA): update package.json and yarn.lock file
* chore(NA): update bazel/bin into bazel-bin on kbn-pm build bazel packages
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# package.json
2021-04-01 20:34:53 -04:00
Kibana Machine
e199fde836
chore(NA): stop grouping bazel out symlink folders ( #96066 ) ( #96085 )
...
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-04-01 17:34:54 -04:00
Kibana Machine
c344fe3882
chore(NA): manage npm dependencies within bazel ( #92864 ) ( #93474 )
...
* chore(NA): full WORKSPACE.bazel logic plus manage yarn dependencies with Bazel
* chore(NA): update BUILD.bazel files comments on root and packages
* chore(NA): add workspace file with useful data
* chore(NA): install deps through bazel
* chore(NA): update workspace file
* chore(NA): update into last rules nodejs
* chore(NA): ensure bazel always run yarn install
* chore(NA): support offline mode
* chore(NA): remove elastic-datemath
* chore(NA): restore bazel 4.0.0
* chore(NA): update kbn pm dist
* chore(NA): introduce force-install command
* docs(NA): update docs with new yarn kbn bootstrap flags
* chore(NA): use path.resolve on kbn bootstrap integrity check verification
* chore(NA): update .yarnrc
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): change cli argument typo
* chore(NA): fix spacing on kbn pm cli
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-03-03 15:21:20 -05:00
Tiago Costa
1c6adb44e5
[7.x] chore(NA): introduce new yarn kbn reset command to support bazel workflow ( #89597 ) ( #90244 )
...
* chore(NA): introduce new yarn kbn reset command to support bazel workflow (#89597 )
* chore(NA): introduce new yarn kbn destroy command to support bazel workflow
* chore(NA): update wording for new kbn pm changes
* chore(NA): update .bazelrc.common
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update .bazelrc
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/destroy.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/destroy.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): rename destroy command into reset
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): restore old behaviour on kbn clean
* chore(NA): update reset command to delete bazel caches on disk
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update prefix to match bazel defined one for cache settings
* chore(NA): update kbn pm dist file
* chore(NA): update kbn pm dist
* chore(NA): update gitignore
* chore(NA): add new ignore files after changed bazel aggregated folder
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
# Conflicts:
# packages/kbn-pm/dist/index.js
* chore(NA): update changes on kbm pm
* chore(NA): fix jest test
2021-02-04 00:00:12 +00:00
Tiago Costa
146895ff97
chore(NA): add ignore and rc files for bazel ( #89524 ) ( #89563 )
...
* chore(NA): add bazel related ignore rules
* chore(NA): add bazelrc files setup
* chore(NA): reword on bazelrc comment
* chore(NA): update .eslintignore
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): rename .bazelrc into .bazelrc-ci
* chore(NA): update .gitignore
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-01-28 16:17:08 +00:00