[added] ibazel devserver
Changes PlannedPublic

Authored by appsforartists on Nov 29 2017, 9:23 PM.

Details

Reviewers
None
Group Reviewers
O2: Material Motion
Material Motion
Summary

Attempting to use the new ibazel devserver described in https://github.com/bazelbuild/rules_typescript.

Currently, this fails:

❯ ibazel run //packages/demos-react:devserver
Error running Bazel exit status 7
Running //packages/demos-react:devserver
Files changed rebuilding...
ERROR: /private/var/tmp/_bazel_brentons/09effff58dbf91c63f07dcd6cf10d263/external/build_bazel_rules_typescript/internal/devserver/ts_devserver.bzl:20:1: file '@build_bazel_rules_nodejs//internal:node.bzl' does not contain symbol 'expand_path_into_runfiles'.
ERROR: /private/var/tmp/_bazel_brentons/09effff58dbf91c63f07dcd6cf10d263/external/build_bazel_rules_typescript/internal/devserver/ts_devserver.bzl:83:64: Traceback (most recent call last):
  File "/private/var/tmp/_bazel_brentons/09effff58dbf91c63f07dcd6cf10d263/external/build_bazel_rules_typescript/internal/devserver/ts_devserver.bzl", line 80
    rule(implementation = _ts_devserver, at...")}, <2 more arguments>)
  File "/private/var/tmp/_bazel_brentons/09effff58dbf91c63f07dcd6cf10d263/external/build_bazel_rules_typescript/internal/devserver/ts_devserver.bzl", line 83, in rule
    attr.label_list(allow_files = True, aspects = [sou...])
  File "/private/var/tmp/_bazel_brentons/09effff58dbf91c63f07dcd6cf10d263/external/build_bazel_rules_typescript/internal/devserver/ts_devserver.bzl", line 83, in attr.label_list
    sources_aspect
name 'sources_aspect' is not defined.
ERROR: error loading package 'packages/demos-react': Extension file 'internal/devserver/ts_devserver.bzl' has errors.
INFO: Elapsed time: 0.073s
ERROR: Build failed. Not running target.

When it succeeds, this could replace pundle (and should be integrated into yarn run start).

Diff Detail

Repository
R13 material-motion/material-motion-js
Lint
Lint SkippedExcuse: wip
Unit
Unit Tests Skipped
appsforartists created this revision.Nov 29 2017, 9:23 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptNov 29 2017, 9:23 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
appsforartists planned changes to this revision.Nov 29 2017, 9:23 PM
Restricted Application failed to build Restricted Buildable!Nov 29 2017, 9:24 PM

Upgrade go and node bazel defs

appsforartists planned changes to this revision.Nov 29 2017, 9:36 PM
Restricted Application failed to build Restricted Buildable!Nov 29 2017, 9:37 PM