Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Bump @bazel/typescript from 0.33.1 to 2.1.0 #162

Conversation

dependabot-preview[bot]
Copy link

Bumps @bazel/typescript from 0.33.1 to 2.1.0.

Release notes

Sourced from @bazel/typescript's releases.

2.1.0

Upgrade with:

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "b16a03bf63952ae436185c74a5c63bec03c010ed422e230db526af55441a02dd",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.1.0/rules_nodejs-2.1.0.tar.gz"],
)

and update your @bazel-scoped npm packages!

New features

Brand-new docsite

Thanks to our core maintainer @mattem for finding time to rewrite the templates and generation process for our documentation site, bazelbuild.github.io/rules_nodejs

It's now got

  • a search feature, hooray
  • a right-nav to find your way through the table-of-contents of long pages
  • a more broken-down introductory section with things like debugging and stamping in their own page
  • it's much nicer on your eyes, by borrowing from the Bazel website
  • many pages (those not generated from stardoc) have an "edit this page" link to quickly suggest your fixes in the GitHub editor

Since this is freshly redone, there may be a bunch of formatting issues. And since the site is nice, we're also more keen on improving the text for clarity, correctness, and comprehension. Please file issues on the docs if you see problems.

tsconfig.json generation in ts_project rule

One problem we've heard from users migrating from ts_library to ts_project is that the latter requires adding a bunch of tsconfig.json files in their repository. If you have hundreds of ts_library rules this is a big obstacle to migration and to keeping your repo maintainable.

You can now pass a dictionary to the tsconfig attribute of ts_project

    ts_project(
        tsconfig = {
            "compilerOptions": {
                "declaration": True,
            },
        },
    )

it works for generated .ts source files, the TypeScript extends feature, and React-style projects that use emitDeclarationOnly. Also you can mix-and-match properties in the tsconfig dictionary with attributes on the ts_project rule. Check out the [tests folder](https://github.com/bazelbuild/rules_nodejs/tree/stable/packages/typescript/test/ts_project/generated_tsconfig] for more examples of how this is used.

Consistent stamping with arbitrary variables

The documentation for stamping is updated with better handling of status variables. Now instead of hardcoding the BUILD_SCM_VERSION variable, you can use any status variable you like. This is important because variables starting with STABLE_ are special to Bazel, and guarantee a re-build will pick up changed values. You no longer need to perform a clean build to reliably get stamped artifacts!

Changelog

Sourced from @bazel/typescript's changelog.

2.1.0 (2020-09-07)

Bug Fixes

  • use golden_file_test instead (1ef6704)
  • typescript: add the tsBuildInfoFile option to ts_project (#2138) (16def64), closes #2137

Features

  • builtin: accept any stamp vars in pkg_npm (01bfe4d), closes #1694
  • builtin: support for substitutions (8a3f9b0)
  • typescript: generate tsconfig.json for ts_project (#2130) (09ec233), closes #2058

2.0.3 (2020-08-18)

Bug Fixes

  • examples: use ./ prefix on babel config file (374f56f)
  • typescript: only expect .js outs for .tsx? srcs (#2118) (83688a1), closes #2115
  • typescript: produce .d.ts as default output rather than empty (#2117) (3d885e8), closes #2116

Features

  • builtin: new js_library rule (#2109) (4fe1a17)
  • example: add targets in angular_bazel_architect for production serve and build (746a6f8)

2.0.2 (2020-08-10)

Bug Fixes

2.0.1 (2020-07-24)

Bug Fixes

Commits
  • 09ec233 feat(typescript): generate tsconfig.json for ts_project (#2130)
  • ca2fee5 docs: refresh docsite
  • 9384420 refactor(typescript): remove private _TsConfigInfo in ts_project (#2139)
  • 16def64 fix(typescript): add the tsBuildInfoFile option to ts_project (#2138)
  • 3d885e8 fix(typescript): produce .d.ts as default output rather than empty (#2117)
  • 4fe1a17 feat(builtin): new js_library rule (#2109)
  • 83688a1 fix(typescript): only expect .js outs for .tsx? srcs (#2118)
  • 4bc77ad docs: update master links to stable branch
  • 065922b fix(typescript): ts_library should accept .tsx inputs
  • 16cbc6f fix(typescript): exclude package.json from tsconfig#files
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by alexeagle, a new releaser for @bazel/typescript since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 8, 2020
@dependabot-preview
Copy link
Author

Superseded by #163.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/bazel/typescript-2.1.0 branch September 11, 2020 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants