Skip to content

Conversation

jelbourn
Copy link
Member

@jelbourn jelbourn commented Apr 3, 2018

@alexeagle this captures setting the version on the packages we produce, but our existing build system also has a placeholder for the version of Angular we depend on (since that's also used across multiple packages). I'll probably have to do something manually to the output of ng_package to deal with that, since it's pretty custom.

@jelbourn jelbourn requested a review from alexeagle April 3, 2018 21:38
@jelbourn jelbourn requested a review from devversion as a code owner April 3, 2018 21:38
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Apr 3, 2018
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label Apr 3, 2018
@jelbourn jelbourn force-pushed the bazel-version-stamping branch 3 times, most recently from 8abd700 to 6a23a73 Compare April 6, 2018 23:49
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.6.0.zip",
strip_prefix = "rules_nodejs-0.6.0",
sha256 = "e8a2bb5ca51fbafb244bc507bcebcae33a63d969f47413b319a8dcce032845bf",
url = "https://github.com/bazelbuild/rules_nodejs/archive/99166f8eb7fc628ca561acf9f9a51a1c26edadad.zip",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need this labelled? 0.7.0 was from Friday and should have what you need

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't really need to be, I can update it next time around

srcs = ["package.json"],
entry_point = "src/lib/public_api.js",
entry_point_name = "material",
globals = ROLLUP_GLOBALS,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if the globals are out of date now that rxjs has only two entry points

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should be good; this just captures the globals specific to our own packages


# Output to a more coventional location
build --symlink_prefix=dist/bazel/
# Configures script to do version stamping.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean to remove symlink_prefix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I meant to remove it a while ago and lost the change

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Apr 9, 2018
@jelbourn jelbourn merged commit 09a60bb into angular:master Apr 9, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants