Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/aspect-build/rules_js

High-performance Bazel rules for running Node.js tools and building JavaScript projects
https://github.com/aspect-build/rules_js

Fix setting log level in run_js_binary (#151)

The dictionary value of `env` was being masked over by a for loop,
resulting in a string being ...

6cf23bc51574b9f3cb055c29593000040d1e2147 authored over 2 years ago by Alex Torok <[email protected]>
fix: apply npm_import patches before reading the package.json file incase package.json itself needs patching (#149)

e61b61b98c2f5c733bf804f78db9f55b1fb2d599 authored over 2 years ago by Greg Magolan <[email protected]>
Update migrate.md (#146)

dacb4c58dbca319b0a1e58a426dc7bbd39c76e56 authored over 2 years ago by Alex Eagle <[email protected]>
ci: assert we don't fetch unused dependencies (#82)

* ci: assert we don't fetch unused dependencies

* refactor

952502575a36e95900da0982b8fc8e0afb7ff3b8 authored over 2 years ago by Alex Eagle <[email protected]>
feat: add manual tags to link_js_package (and derivative targets) so that npm deps are lazy fetch even with bazel build //... (#147)

* add unused npm package

* feat: add manual tags to link_js_package (and derivative targets) ...

228e3f772a58f42c9f053326c609c18f540b443e authored over 2 years ago by Greg Magolan <[email protected]>
Update migrate.md (#145)

* Update migrate.md

* Update migrate.md

* Update migrate.md

6e031cb22780a7e41a4b7cc0eda586e936893e89 authored over 2 years ago by Alex Eagle <[email protected]>
Update README.md

99f101e273c498a2eeb1c2c168852ce613c87cf1 authored over 2 years ago by Alex Eagle <[email protected]>
migration guide: pnpmfile.cjs example

04710267e8915d2d428c494624770863271cac1b authored over 2 years ago by Alex Eagle <[email protected]>
ci: add e2e for bzlmod

This isn't really a usable shape for users yet, due to how many
`use_repo` calls they'd have to ...

51941046588da565d0649a5bb1475183a292698b authored over 2 years ago by Alex Eagle <[email protected]>
cleanup: rename generated code template vars to be more correct

1f8fed412087338f0f6a6975b500e65d48f01770 authored over 2 years ago by Greg Magolan <[email protected]>
cleanup: simplify is_direct logic in generated code

2eb9ea37edffb2027bec7ceac432615b9425bd15 authored over 2 years ago by Greg Magolan <[email protected]>
refactor: split npm_import data logic from starlark code generation (#143)

needed so that bzlmod module extension can reuse the logic without loading generated code

8fab38a856de0cd18d9841a860cd94788f3d8e19 authored over 2 years ago by Alex Eagle <[email protected]>
feat: promote subset of pnpm_utils to public API as constants and utils in defs.bzl (#142)

Needed for downstream PRs which use it

e2600276c227637d717681cd38b60de3b8657f0a authored over 2 years ago by Alex Eagle <[email protected]>
refactor: yet more cleanup; this time breaking (#141)

* refactor: rename npm_import generated link_js_package.bzl to defs.bzl

* refactor: rename di...

4b4a6ab1a9e3a1c982f49d9d193eb19b5daf663d authored over 2 years ago by Greg Magolan <[email protected]>
chore: some misc cleanup (#140)

8f6be1251971ee6e953999bf0f2c4908e0f120b0 authored over 2 years ago by Greg Magolan <[email protected]>
feat: simplify public API link_js_package and package label helpers (#139)

ef86fcc17c299a2ed1a6e580d45afa5b47e3f2ac authored over 2 years ago by Greg Magolan <[email protected]>
refactor: move mocha to examples/macro

We are more interested to teach users how to write wrapper macros around arbitrary npm bin entri...

fab8f7e10d292db277f01e36ca6ea1ba9569942e authored over 2 years ago by Alex Eagle <[email protected]>
Update *checked files

925e6693806864434107ebe6e5d1ae909511561a authored over 2 years ago by John Firebaugh <[email protected]>
add mocha-multi-reporters as peer dep of mocha

31e8851c2fc624494328aef3d98b3f5dc980df4e authored over 2 years ago by Greg Magolan <[email protected]>
Add example showing mocha integration

ee979d1873ff07486bccddcad0d52658fe210870 authored over 2 years ago by John Firebaugh <[email protected]>
fix rebase conflicts

3c8870c17a515661e8865f65ae7c8f55c7042edf authored over 2 years ago by Alex Eagle <[email protected]>
Update migrate.md

307ed702266da2fb6f81b770b0f99974b6acdd61 authored over 2 years ago by Alex Eagle <[email protected]>
refactor: move npm_deps dependencies into its workspace package (#137)

463238a26d2f22574e4a062ae9c184f9493d2309 authored over 2 years ago by Alex Eagle <[email protected]>
feat: add log_level attribute to js_binary and run_js_binary (#135)

85c10501fec967e44a7bc818c7d20c0e50df0266 authored over 2 years ago by Greg Magolan <[email protected]>
refactor: reorganize example into multiple examples (#136)

d41e3f338f321122811ef513b99b59b61f4077b3 authored over 2 years ago by Alex Eagle <[email protected]>
Update README.md

7a94f9e509020f9a99e4da4c0000c417c1c9d76a authored over 2 years ago by Alex Eagle <[email protected]>
fix: don't pop data from kwargs attribute in generated bins build (run_js_binary) macro (#132)

f45588f3b2dec4bd7fc1132702abc505862b2dea authored over 2 years ago by Greg Magolan <[email protected]>
feat: promote run_js_binary to the public API (#131)

db38b4a50bca635e2f7194b0ed66e2d0178e6281 authored over 2 years ago by Greg Magolan <[email protected]>
refactor: use pnpm workspaces for main WORKSPACE pnpm-lock.yaml file (#128)

1897421a720e29cb67653ad3b83de758ba1e9909 authored over 2 years ago by Greg Magolan <[email protected]>
feat: add additional verbose output to js_binary launcher to indicate cwd (#129)

1c4c0f2a9958190bc8d316e61a5c76f9c92df426 authored over 2 years ago by Greg Magolan <[email protected]>
feat: add @npm//@scope and @npm//link/path/@scope targets (#125)

74382dd0db82cef4a450c25d2a5a9160e2345a29 authored over 2 years ago by Greg Magolan <[email protected]>
fix: generate fully qualified (workspace name + package) labels in generated bin targets (#124)

d1c145478f26e8cb18aba47aa30e4efc05c28233 authored over 2 years ago by Greg Magolan <[email protected]>
chore: update to aspect_bazel_lib 0.12.0 (#126)

6cba5b5acd81b5e6efa3cdc4c892470613eceeab authored over 2 years ago by Greg Magolan <[email protected]>
fix: generate package qualified labels in generated bin targets (#123)

d5618695a2830f1068add34174775e5d3ffa5d35 authored over 2 years ago by Greg Magolan <[email protected]>
fix: add js_package of npm package to the data of the generated js_binaries for its bins (#122)

c575ea9fef82039f011e66d107b688df13bd2a40 authored over 2 years ago by Greg Magolan <[email protected]>
Update migrate.md

261e1397605dc075e6aede560af02b6cfc2e691c authored over 2 years ago by Alex Eagle <[email protected]>
Update migrate.md

564dbcdae901d87b51d1c54d78626d9494afc85d authored over 2 years ago by Alex Eagle <[email protected]>
Update migrate.md

85a78ce521b2ea2e27a518d60232a8483d042ef7 authored over 2 years ago by Alex Eagle <[email protected]>
Update migrate.md

5afb1330f362cec7a873a045ca6296a796d1b60a authored over 2 years ago by Alex Eagle <[email protected]>
Update migrate.md

9731aa6b596acdc8e9e8bc66843a8df6ca1d82bd authored over 2 years ago by Alex Eagle <[email protected]>
Update migrate.md

09897e3988dc08c98918c9c9a16cc529120a7872 authored over 2 years ago by Alex Eagle <[email protected]>
Create migrate.md

5680b552c94a844fd703dd5c634e9af35d3119f7 authored over 2 years ago by Alex Eagle <[email protected]>
refactor: make example npm_import/translate_pnpm_lock look like users would write (#120)

Otherwise the example is just more complex to understand and illustrates a wrong pattern.

3e4eb76acdd0e353461c4e7efbdc337d2b6f1df5 authored over 2 years ago by Alex Eagle <[email protected]>
Update README.md

193c612ac6572a49e0be3f522c9a3d5a9c81b8e0 authored over 2 years ago by Alex Eagle <[email protected]>
Update README.md

44661423167cd04dff424e399a020dac94d8d91f authored over 2 years ago by Alex Eagle <[email protected]>
Delay expanding permissions on directories when extracting packages (#117)

Some packages have broken directory permissions. These broken
permissions can prevent GNU tar f...

e8d564933bbcb713a3a501da9323c03a209e2240 authored over 2 years ago by Alex Torok <[email protected]>
Fix generating package_json.bzl files for packages with dashes in their names (#112)

ff67c013012469ec3f9e02bcb04fd0ec6c31d9ad authored over 2 years ago by Alex Torok <[email protected]>
Update README.md

d5f80692f16a756bd949da3c408b6b4dc0b15ac8 authored over 2 years ago by Alex Eagle <[email protected]>
fix: prevent duplicate outputs when an link_js_package in an external repository has a lifecycle hook (#115)

1cb1bf3dd654647c7b6dc2b7a2726911e3a9518c authored over 2 years ago by Greg Magolan <[email protected]>
refactor: make nodejs_binary amenable to custom rules (#106)

Seems that it was broken following #22 in some rewrite

3d3935b04fbb2490b54b15b63ecaa7421550531d authored over 2 years ago by Alex Eagle <[email protected]>
fix: DeclarationInfo needs to include the node_modules symlink to the pnpm store. (#107)

Fixes the issue observed in aspect-build/rules_ts#18

61b1867c79e6ee46a0a926fd9b6894e95457c01b authored over 2 years ago by Alex Eagle <[email protected]>
Use declaration_info factory function (#104)

Part of the fix for issue described in https://github.com/aspect-build/rules_ts/pull/19

9ba053937774b1846d5dce011d1d837209e838de authored over 2 years ago by Alex Eagle <[email protected]>
refactor: remove yq as a dependency of translate_pnpm_lock

b120f85244d92e77fbba5686038b229fda0fc2c9 authored over 2 years ago by Derek Cormier <[email protected]>
feat: create a yaml parser for starlark

ad54c12f399fbbd5cd2a9c2e1fc73b97991b3400 authored over 2 years ago by Derek Cormier <[email protected]>
refactor: remove yq dependency from npm_import

742fce337bdb082634d4a981b1014ea152508708 authored over 2 years ago by Derek Cormier <[email protected]>
Use e2e workspace snippet in release notes (#102)

217263b0754b11d1594f0b060615cdb44b1326f9 authored over 2 years ago by Alex Eagle <[email protected]>
chore: don't run prettier on pnpm-lock.yaml files (#99)

91e6ee746562102745c7b8fa2ce66c729ace8854 authored over 2 years ago by Derek Cormier <[email protected]>
fix: don't double copy 3rd party packages when linking with no lifecycle hook (#98)

5b6bd3d073a9fb5c3d68e6e1a2f590f9a437298e authored over 2 years ago by Greg Magolan <[email protected]>
fix: issues with pnpm workspaces with ../ importers (#97)

95868fc09d72b76f40acda379d75060d59814bab authored over 2 years ago by Greg Magolan <[email protected]>
refactor: drop node dependency from translate_pnpm_lock repo rule (#94)

* refactor: rewrite JS program in starlark so we can drop the node dependency from translate_pnp...

c135650e2321000200200534651e7b8cce95d29a authored over 2 years ago by Alex Eagle <[email protected]>
fix: set 755 folder permissions on extract npm packages

2f01fa488caad2e88f3fb4a826df1de75911a6bd authored over 2 years ago by Greg Magolan <[email protected]>
fix: logic bug in ref deps in link_js_package lifecycle targets

f80b58ca19a67d5676031920d053e43f1b1948e9 authored over 2 years ago by Greg Magolan <[email protected]>
chore: drop experimental in docstring (#93)

8728b53833485d416bedacb3da1f184a8865f907 authored over 2 years ago by Greg Magolan <[email protected]>
Add links to other complimentary rulesets

4210d4d1041726f2de9be06a05834a64c52b407c authored over 2 years ago by Alex Eagle <[email protected]>
feat: support pnpm workspaces (#89)

5d74a6cf1a9c97ddaf1ff173d8b9e1adb3941ee5 authored over 2 years ago by Greg Magolan <[email protected]>
run fasterci on pull requests as well as pushes to main (#90)

e0117ebe2374f60b52a23a436ec4f5a91e79d5a8 authored over 2 years ago by apesternikov <[email protected]>
feat: support pnpm lockfile 5.4 which was introduced in pnpm 7.0.0 five days ago (#88)

c90958ea0e01f8865c5bd3dbb5e80d3d87fe9904 authored over 2 years ago by Greg Magolan <[email protected]>
chore: misc cleanup (#87)

3f4882f0003e597a7cd3623eba542b8a3d5411f3 authored over 2 years ago by Greg Magolan <[email protected]>
feat: add js_package rule (#76)

2aad3b70e39b315c30b13ed4526803ddf4b2fa3f authored over 2 years ago by Greg Magolan <[email protected]>
fix: move npm_import npm sources to {name}_sources repository

effb603637f66b029a7e03e7dab42e16ae28c265 authored over 2 years ago by Greg Magolan <[email protected]>
fix: create .bin entry scripts in lifecycle-hooks runner at runtime instead of as link_js_package outputs so we maintain lazy loaded npm deps

a5e4c653acd9631bb5fd3736d3b26e963ff7d445 authored over 2 years ago by Greg Magolan <[email protected]>
fix: dont output bins from link_js_package so we maintain lazy loaded npm deps

01a595a3211c0f891b806aaeeb3896453952739b authored over 2 years ago by Greg Magolan <[email protected]>
refactor: rename link_node_package to link_js_package as pre-factor for introducing js_package (#79)

d9144892f60caff38ba3d15ad37901b166c574d6 authored over 2 years ago by Greg Magolan <[email protected]>
test: add golden test for npm_import and translate_pnpm_lock (#77)

a686903915d49f6d49776fef61335d49f4611cbf authored over 2 years ago by Sahin Yort <[email protected]>
fix: get rid of _lc/node_modules tree and run lifecycle hooks in main node_modules tree (#78)

88a5506315912d9885170f57b51ab7793aa731bb authored over 2 years ago by Greg Magolan <[email protected]>
test: add e2e tests for node_package (along with translate_package_lock and npm_import) (#75)

5c9d4fc1859bee3d1190e28fbe54bb5b3ad8eacb authored over 2 years ago by Greg Magolan <[email protected]>
test: add e2e tests for node_package (along with translate_package_lock and npm_import) (#48)

af0a0cec55b09988447c6242b1c1d2e2dc9c1433 authored over 2 years ago by Greg Magolan <[email protected]>
chore: replace is_windows select pattern with target_platform_has_constraint pattern (#74)

654d12bf619f43916a633975ea80f39393425eb1 authored over 2 years ago by Greg Magolan <[email protected]>
fix: fix expected_exit_code attribute on js_binary/js_test (#73)

46a39ba1925c1c6376fb4972c4c16b91d0fa1cbd authored over 2 years ago by Greg Magolan <[email protected]>
feat: create macros for packages with bin entries (#61)

Co-authored-by: Sahin Yort <[email protected]>

0c8c703fdd954e01d3d891252cb7db914aa1cf7c authored over 2 years ago by Sahin Yort <[email protected]>
fix: use aspect_bazel_lib_host instead of nodejs_host repo (#72)

bd2ca8314e1fb0c75b4259fd15d2103ee001145d authored over 2 years ago by Greg Magolan <[email protected]>
refactor: use standard mechanism for finding yq binary (#70)

* refactor: use standard mechanism for finding yq binary

* also use new mechanism to find a n...

ae78926c713fa791b57fa8830d4ee7ddddbfe3af authored over 2 years ago by Derek Cormier <[email protected]>
feat: add support for DirectoryPathInfo entry points to js_binary (#71)

3de997f1f67ce7eb4c1e2a9aa8e8d6315533e7e5 authored over 2 years ago by Greg Magolan <[email protected]>
fix: handle non-dict bin entry in package.json (#62)

5e9eb1b5d8b8def1f794bbe923f209989c79ece3 authored over 2 years ago by Greg Magolan <[email protected]>
fix: suppress stderr when JS_BINARY__SILENT_ON_SUCCESS is set in js_binary

ffe8fca30437380982c6b793e7b137d244a77bcc authored over 2 years ago by Greg Magolan <[email protected]>
fix: set correct root node_modules dir in lifecycle hook

30947da193c97cf6deeabb6a8c66cf1c6ace347b authored over 2 years ago by Greg Magolan <[email protected]>
feat: add no_lifecycle_hooks string_list attr to translate_pnpm_lock to disable lifecycle hooks on specific packages

3f54739a6eaefa8640000433a24248feba69d9ba authored over 2 years ago by Greg Magolan <[email protected]>
fix: handle lifecycle exceptions & inherit stdio from pnpm lifecycle runner

88b728aba666b370166a22a365588ebb9fe803e4 authored over 2 years ago by Greg Magolan <[email protected]>
fix: output .bin entry points for lifecycle hook support

5deacf697f2b1fdf7a4a89c107c7121557afdca5 authored over 2 years ago by Greg Magolan <[email protected]>
fix: add node to PATH in js_binary

90536cac0cd9ba0e4ae96f1ea0d12c137d7a3ee0 authored over 2 years ago by Greg Magolan <[email protected]>
chore: add esbuild to example npm deps to exercise its postinstall lifecycle hook

57101b6ced9da0bd907dc1529fa52323e9394c05 authored over 2 years ago by Greg Magolan <[email protected]>
chore: add bufferutil with failing lifecycle hook to example package.json and disable with no_lifecycle_hooks

f84944ab0c7c8e59d41b970de964e52fe386e330 authored over 2 years ago by Greg Magolan <[email protected]>
fix: comment spelling

65c919479ebed73e864990101189419b485f0096 authored over 2 years ago by Greg Magolan <[email protected]>
chore: cleanup & shellcheck of launcher bash (#57)

e1a15a954f83f54665d1d13dd0e6a7344ab4ca19 authored over 2 years ago by Greg Magolan <[email protected]>
Improve docs and user interface (#56)

Moves js_binary and js_test to defs.bzl after discussing with Matt.
Fixes the documentation for...

e98bf59f0fe52810efd9fbbaabb607fab8cb6c6b authored over 2 years ago by Alex Eagle <[email protected]>
Delete md file that's no longer generated (#55)

3feb7671acaf0e12036b6fdd313786e6c6537cd9 authored over 2 years ago by Alex Eagle <[email protected]>
fix: lifecycle-hooks.js should use mkdirp (#54)

a7d6d1dac634c1efcb4cf6c62413e315643b3212 authored over 2 years ago by Greg Magolan <[email protected]>
fix: don't instantiate __lc target of package unless there is a lifecycle hook (#53)

63cc1a1eef2e67203aac9f35ffee6dbdfd5e2745 authored over 2 years ago by Greg Magolan <[email protected]>
Remove stray reference to removed ts package (#51)

9a6b45c7a11b4327e05280d23d59a9c3ceb63042 authored over 2 years ago by Alex Eagle <[email protected]>
rename js_dependencies back to rules_js_dependencies (#52)

This is what is in the template https://github.com/bazel-contrib/rules-template/blob/main/mylang...

f9b3f433b2ad679982bf654c8541434ae24d47a1 authored over 2 years ago by Alex Eagle <[email protected]>