Skip to content

Show Aspect's rules working with Bazel 5 bzlmod (empty WORKSPACE file)

Notifications You must be signed in to change notification settings

ewianda/bzlmod_demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bzlmod_demo

Show Aspect's rules working with Bazel 5 bzlmod (empty WORKSPACE file)

Read the blog post: https://blog.aspect.dev/bzlmod

Tour:

  • WORKSPACE file is empty
  • MODULE.bazel contains just one bazel_dep line to bring in each dependency, compared with dozens of lines needed in WORKSPACE
  • The swc/ folder proves that we can use that rule to transpile TS files
  • The nodejs/ folder proves that we can use a nodejs toolchain to run node programs

About

Show Aspect's rules working with Bazel 5 bzlmod (empty WORKSPACE file)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Starlark 98.6%
  • TypeScript 1.4%