Commit graph

7 commits

Author SHA1 Message Date
Spencer
06110bd973
[bazel] avoid a little boilerplate in packages (#126309) (#126381)
* [bazel] avoid a little boilerplate for @types packages

* [bazel/ts] stop building sourcemaps since they're ignored

(cherry picked from commit 614139b8e5)

# Conflicts:
#	packages/kbn-alerts/tsconfig.json
#	packages/kbn-doc-links/BUILD.bazel
#	packages/kbn-doc-links/tsconfig.json
#	packages/kbn-field-types/BUILD.bazel
#	packages/kbn-interpreter/BUILD.bazel
#	packages/kbn-io-ts-utils/BUILD.bazel
#	packages/kbn-logging-mocks/BUILD.bazel
#	packages/kbn-logging-mocks/tsconfig.json
#	packages/kbn-logging/BUILD.bazel
#	packages/kbn-mapbox-gl/BUILD.bazel
#	packages/kbn-monaco/BUILD.bazel
#	packages/kbn-optimizer/BUILD.bazel
#	packages/kbn-plugin-generator/BUILD.bazel
#	packages/kbn-plugin-helpers/BUILD.bazel
#	packages/kbn-react-field/BUILD.bazel
#	packages/kbn-react-field/tsconfig.json
#	packages/kbn-rule-data-utils/BUILD.bazel
#	packages/kbn-securitysolution-autocomplete/BUILD.bazel
#	packages/kbn-securitysolution-es-utils/BUILD.bazel
#	packages/kbn-securitysolution-hook-utils/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-alerting-types/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-list-types/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-types/BUILD.bazel
#	packages/kbn-securitysolution-io-ts-utils/BUILD.bazel
#	packages/kbn-securitysolution-list-api/BUILD.bazel
#	packages/kbn-securitysolution-list-constants/BUILD.bazel
#	packages/kbn-securitysolution-list-hooks/BUILD.bazel
#	packages/kbn-securitysolution-list-utils/BUILD.bazel
#	packages/kbn-securitysolution-rules/BUILD.bazel
#	packages/kbn-securitysolution-t-grid/BUILD.bazel
#	packages/kbn-securitysolution-utils/BUILD.bazel
#	packages/kbn-server-http-tools/BUILD.bazel
#	packages/kbn-server-route-repository/BUILD.bazel
#	packages/kbn-std/BUILD.bazel
#	packages/kbn-storybook/BUILD.bazel
#	packages/kbn-telemetry-tools/BUILD.bazel
#	packages/kbn-test-jest-helpers/BUILD.bazel
#	packages/kbn-test-jest-helpers/tsconfig.json
#	packages/kbn-test/BUILD.bazel
#	packages/kbn-typed-react-router-config/BUILD.bazel
#	packages/kbn-ui-shared-deps-npm/BUILD.bazel
#	packages/kbn-ui-shared-deps-src/BUILD.bazel
#	packages/kbn-ui-theme/BUILD.bazel
#	packages/kbn-ui-theme/tsconfig.json
#	packages/kbn-utility-types/BUILD.bazel
#	packages/kbn-utils/BUILD.bazel
2022-02-24 14:06:13 -07:00
Kibana Machine
e0d68f8cae
chore(NA): splits types from code on @kbn/ace (#118950) (#119171)
* chore(NA): auto creation of the package.json for the new types pkg rule

* chore(NA): first alpha api extractor working version

* chore(NA): support kbn-analytics

* chore(NA): correctly read tsconfig files and deps from ts_config rule

* chore(NA): layed out pkg_npm_types tree artifact custom rule

* chore(NA): missing todos

* chore(NA): node modules link mapping

* chore(NA): fully working pkg_npm_types rule

* chore(NA): fix changes on new packages using elastic datemath pkgs

* docs(NA): remove todo

* docs(NA): last todo text correction

* chore(NA): removed commented lines

* fix(NA): include missing package version

* chore(NA): include license keys

* chore(NA): change mock types package into private

* chore(NA): splits types from code on @kbn/ace

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2021-11-24 10:22:34 -07:00
Tiago Costa
7c4e4f507b
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule (#110620)
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule

* chore(NA): update @kbn/ace build to exclude worker file

* chore(NA): remove config file support

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 21:17:46 +01:00
Spencer
c0395c9ef6
[build_ts_refs] improve caches, allow building a subset of projects (#107981)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-10 22:12:45 -07:00
Tiago Costa
c4cb1f1bba
chore(NA): moving @kbn/ace to babel transpiler (#106922)
* chore(NA): first custom rules for jsts_transpiler

* chore(NA): update jsts_transpiler macro

* chore(NA): moving @elastic/datemath to babel transpiler

* chore(NA): change gitignore rules for bazel

* chore(NA): moving @kbn/ace to babel transpiler

* chore(NA): remove deps from js_library

* chore(NA): added runtime deps

* chore(NA): do not transpile packages/kbn-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 18:12:42 +01:00
Tiago Costa
50616aa0f9
chore(NA): correctly setup dep order on js_library to fix windows build (#100420) 2021-05-21 00:03:54 +01:00
Jonathan Budzenski
e4e574082b
[packages] Move @kbn/ace to Bazel (#99129) 2021-05-06 14:56:29 -04:00