Commit graph

5 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
Spencer
7d3d79e6a1
[8.0] [eslint] enable type-specific lint rules (#114184) (#117444)
* [eslint] enable type-specific lint rules (#114184)

* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/share/common/index.ts

* autofix more types

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-11-04 03:02:56 +00: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
Anton Dosov
3c3087855f
[data] Extract @kbn/field-types to a package (#106973) 2021-07-30 06:34:17 -04:00