Ecosyste.ms: OpenCollective

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

github.com/aspect-build/rules_swc

Bazel rules for the swc toolchain https://swc.rs/
https://github.com/aspect-build/rules_swc

refactor: align path utils with rules_ts

eb0597783508ec7bfd63d98c6b20341ef56e784b authored 10 months ago by Jason Bedard <[email protected]>
fix: support .js inputs without out_dir

140c6d28c5459a1327083fde00d9d470962f19b0 authored 10 months ago by Jason Bedard <[email protected]>
build: upgrade release workflow (#243)

d30c95f7b3c7339493fec9c2ec30dd34d165380f authored 10 months ago by Jason Bedard <[email protected]>
chore: mirror external releases

2a829c0c5fcd28a5689de8e2514500f1dcb4453a authored 10 months ago by alexeagle <[email protected]>
feat: add custom swc toolchain support for bzlmod (#242)

5049b584e6543f0a6d6a77d18d0fccd4d9662f5e authored 10 months ago by Jason Bedard <[email protected]>
feat: add a test that runs 'tsc' to produce the typescript source-of-truth. (#240)

The SWC project claims that their emit should match, so this helps us reason about what is "corr...

56cc3107e9972c8fa5c1a274eb01fccdc417e2ca authored 10 months ago by Alex Eagle <[email protected]>
refactor: remove unnecessary default param values (#230)

7cdb21f88c2e454d9920b4ffd113faf949b086c1 authored 10 months ago by Jason Bedard <[email protected]>
chore: mirror external releases (#238)

Co-authored-by: alexeagle <[email protected]>

5fce52676a2cf3f75a68df3253ff262549a7f791 authored 10 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ci(presubmit): do not use aspect-cli (#239)

It doesn't have a windows release and we don't use it here.

Co-authored-by: Jason Bedard <jas...

a759c4f53344e41b499daf4009840ba63bb5679d authored 10 months ago by Alex Eagle <[email protected]>
refactor: simplify swc_action(inputs) creation

cbb6b2f617a731c4ff8e6687cb547713a20c83a9 authored 11 months ago by Jason Bedard <[email protected]>
perf: reduce extension swap when finding alternate extension output (#235)

2e827b1ac13b423d532fcba7ad2d31df1cba88d4 authored 11 months ago by Jason Bedard <[email protected]>
perf: remove use of paths.replace_extension (#234)

971d049e1b456279ba74cd5a59614007579ef0dd authored 11 months ago by Jason Bedard <[email protected]>
chore: mirror external releases (#228)

Co-authored-by: alexeagle <[email protected]>

bfe6967c1c79dd778f1dbb00a405b75460280a9e authored 11 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
perf: use starlark string.removeprefix (#231)

9bc775509697732bc13526894774d755480e86e1 authored 11 months ago by Jason Bedard <[email protected]>
perf: avoid creating unnecessary large or temp arrays (#233)

273eace5351b01a5321e82c5696b3775b36f85f5 authored 11 months ago by Jason Bedard <[email protected]>
perf: calculate js_outs once outside srcs loop

6bf6610494cbb7589b5e34f3d834abd8c19e55d0 authored 11 months ago by Jason Bedard <[email protected]>
chore: remove Go (#227)

We don't have any Go sources in rules_swc We don't have any Go sources in rules_terser so there'...

5665a00bf925c56cc2945b96569fdfaa27985e9f authored 11 months ago by Alex Eagle <[email protected]>
refactor: rename _impl methods with unique name (#226)

4bf607e027c7802c452d5d8afb9efc0738c36162 authored 11 months ago by Jason Bedard <[email protected]>
chore: mirror external releases (#221)

Co-authored-by: alexeagle <[email protected]>

4fb1f523a991202cc6dae246ec9f3c11f4b40464 authored 11 months ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: BCR testing on Bazel 6 and 7 (#224)

Merge https://github.com/bazel-contrib/rules-template/pull/105

48d8d03b3f02b81a6b347e216d1f841a5f52a8d9 authored 11 months ago by Alex Eagle <[email protected]>
Update versions.bzl

720174962f7339cea6d30448318f4ac291734378 authored about 1 year ago by Alex Eagle <[email protected]>
chore: mirror external releases

b3996c1a278efd7f1b962799bf45dfb0cc4f30e4 authored about 1 year ago by alexeagle <[email protected]>
chore: mirror external releases (#218)

Co-authored-by: alexeagle <[email protected]>

dbbee935fe40245822dfeb2cc81021edce87ee6d authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: mirror external releases (#217)

Co-authored-by: alexeagle <[email protected]>

43860a2f2ca9ad0d5406276e3093c430127877d4 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chore: mirror missing versions (#214)

Note, this mirrors all of them, but we don't test that they work, that's up to users.

5adc5d15cbfc3c97e74d5a16b92e6120f52fd598 authored about 1 year ago by Alex Eagle <[email protected]>
feat: automate release mirroring (#212)

We fall behind SWC releases quite quickly

90c01a04465d143a8dd1317c5f5b606ac3af28e9 authored about 1 year ago by Alex Eagle <[email protected]>
chore: update to Bazel 6.3.2 and Aspect CLI 5.7.2 (#211)

9b5095b65174ea12ede04faf99021735ec9c5ed5 authored about 1 year ago by Greg Magolan <[email protected]>
Fix bzl_library dependencies of dependencies.bzl (#209)

* Fix bzl_library dependencies of dependencies.bzl

* Remove maybe.bzl instead

---------

...

80a281fbcfd845b4534f79021c11de80288eacd7 authored over 1 year ago by Tobias Schlatter <[email protected]>
doc: Add documentation for using your own swc version (#210)

* Update mirror_releases.sh

* Update repositories.bzl

* update docs

---------

Co-aut...

d2a380f3031e68c7dd29ac2764621393dfe0128e authored over 1 year ago by Vasilios Pantazopoulos <[email protected]>
Update README.md

39bace9afae808bb78be37ad6eb6eb6723668023 authored over 1 year ago by Alex Eagle <[email protected]>
Update tsconfig.md

40b71c1a90bc95267afff566b032bb29319d93f4 authored over 1 year ago by Alex Eagle <[email protected]>
No longer shipping prereleases

03d06c50e673634e25c517a3b100700072a600f2 authored over 1 year ago by Alex Eagle <[email protected]>
Update plugin-transform-imports for binary compat with new swc version

e0937b89b0b78a0c9f3ea005a1274955b41f1a67 authored over 1 year ago by Alex Eagle <[email protected]>
chore: remove test template

we never filled in any starlark unit tests, and the existing test does not make any useful asser...

ef8850c8afd507b90c056977db59707759ac8efc authored over 1 year ago by Alex Eagle <[email protected]>
fix: also bump our swc version under bzlmod

b11fd054ce91032e4e13de27edbe7c6edd63b018 authored over 1 year ago by Alex Eagle <[email protected]>
chore: mirror latest swc release

8998978bebadb34f84c8a7e8053a7e8b470bbb7d authored over 1 year ago by Alex Eagle <[email protected]>
feat: adopt tsconfig-to-swcconfig CLI

It was added in version 2.4.0, see
https://github.com/Songkeys/tsconfig-to-swcconfig#cli

c44e7f956a396e7915ed4a1d8f81806ceca44475 authored over 1 year ago by Alex Eagle <[email protected]>
chore: bump rules_js dep to 1.29.2 to pickup Windows fix (#205)

1dfb436eb4d68a4c8e305d87c6181d7fcfb30d98 authored over 1 year ago by Greg Magolan <[email protected]>
chore: disable buildifier on windows

665cf29c3f7865ecc9736ab6b0c032826df261d7 authored over 1 year ago by Jason Bedard <[email protected]>
chore: run buildifier

9a2d94a26f1144bb225f2789ad27b56d4c3ccb45 authored over 1 year ago by Jason Bedard <[email protected]>
ci: enable buildifier check on ci

55893e4987123c4e42d9f325c183f1c0fc74a2b6 authored over 1 year ago by Jason Bedard <[email protected]>
chore: fix release workflow

8980f363de657ae1bab39655915e3b3ecc6e2afc authored over 1 year ago by Jason Bedard <[email protected]>
chore: mirror swc version 1.3.42

da46d89d5a2b62c805ea0f74a0aba0a0ec154483 authored over 1 year ago by Jason Bedard <[email protected]>
fix: remove swc v1.3.56

See https://github.com/swc-project/swc/issues/7304

c034997a1e29a6b1b83fd58121c5d8566e288842 authored over 1 year ago by Jason Bedard <[email protected]>
refactor: rename LATEST_VERSION to LATEST_SWC_VERSION

See https://github.com/aspect-build/rules_js/issues/817

e84360b3b12fdf9ac1f6d9d88b32ee20bceb9aa2 authored over 1 year ago by Jason Bedard <[email protected]>
test: fix broken version_test

68330eb5e9815f5bc09ce77837fcb6f12627787f authored over 1 year ago by Jason Bedard <[email protected]>
chore: upgrade bazel-lib to 1.30.2

1fe57488de4d26fd854609491f52b24977b0b815 authored over 1 year ago by Jason Bedard <[email protected]>
fix: fix source_map_support test with bzlmod paths

bba996c279d7378e3fdf2819513c68dcd8c40fab authored over 1 year ago by Jason Bedard <[email protected]>
chore: update swc version mirror

Also remove two platforms they've stopped publishing binaries for.

23fc373a40be33beb3670ee3f63902b20188ef53 authored over 1 year ago by Alex Eagle <[email protected]>
chore(gha): use reusable workflows

27c07c694255e3262631ef02b5df9a8036a089e9 authored over 1 year ago by Alex Eagle <[email protected]>
chore(release): No longer create prereleases

since we hit 1.0.0

61394d234a4c3a557a9278167a056da8257f2953 authored over 1 year ago by Alex Eagle <[email protected]>
chore: update dependencies

562362e0550ea756d007f01119432c892752b682 authored almost 2 years ago by Greg Magolan <[email protected]>
chore: update dependencies

This should cause our windows CI to go green again, as well.

f93d78e9163b553f62a70c25ece158a53892690b authored almost 2 years ago by Alex Eagle <[email protected]>
fix: handle windows NUL file

6377fa2f3813631b10eb914746a9562d391aed7a authored almost 2 years ago by Alex Eagle <[email protected]>
chore: disable a test on windows

It has wrong slashes or doesn't handle runfiles correctly

f4eb06109c14337c9e1ef3e05c2a625e25d30257 authored almost 2 years ago by Alex Eagle <[email protected]>
chore: remove windows workaround

It was fixed upstream in https://github.com/swc-project/swc/pull/7077

0db65a51c49e6b8ef1d6771a269f82a90cde5899 authored almost 2 years ago by shooj4aegohbaivo <[email protected]>
chore: mirror new swc version

ff3ed35fa6b913e8a5a60e32a169d495a45e298b authored almost 2 years ago by Alex Eagle <[email protected]>
chore: fix 'windows' pull request check; head_ref is the branch name while ref ends up being a generated GH actions branch name for the PR

e149dd5fc9e512d5b87b3d52a5aa8422c1a1a309 authored almost 2 years ago by Greg Magolan <[email protected]>
ci: add the windows runner to the matrix strategy

b96ef1f56d276c32b4f2494192d59ee9fdbde431 authored almost 2 years ago by shooj4aegohbaivo <[email protected]>
chore: update to Aspect CLI 5.2.1 (#184)

eb021e1672db62c306aa0d070188106d17b1fbbf authored almost 2 years ago by Greg Magolan <[email protected]>
refactor: do not add --source-map flag when sourcemap is not requested (#183)

49b49e0689eb8bd32d1049b5ff084dac785e01ff authored almost 2 years ago by realtimetodie <[email protected]>
test: change sourcemap tests to json assertions

92f88b7f15b661121df5659707834c94471f09ed authored almost 2 years ago by Jason Bedard <[email protected]>
fix: do not specify empty --source-root arg

47187f8d8cd9ef77b87aa0257ac8fedb3ccd086d authored almost 2 years ago by Jason Bedard <[email protected]>
fix: set sourcemap root to the workspace relative root_dir (#176)

0db4ce92c67d967ca82bed5d13a2c3f64013f24c authored almost 2 years ago by Jason Bedard <[email protected]>
chore: update to Aspect CLI 5.2.0-rc0 (#180)

71030a7d3da091be6b6ad2abdbeff38386a8021d authored almost 2 years ago by Greg Magolan <[email protected]>
refactor: no default value for source_root

020f85b97953e6acc056e6f5a90bf84d25bf8482 authored almost 2 years ago by Alex Eagle <[email protected]>
test: use write_source_files where possible

bb8898ce3f40e8dc7c06950f80bffeff8a421781 authored almost 2 years ago by Jason Bedard <[email protected]>
feat: add a new source_root attribute (#177)

d893b1ecad0d365542240b9911725ae8ae0c3f29 authored almost 2 years ago by realtimetodie <[email protected]>
chore: simplify WORKSPACE

This means we don't have to mirror hashes an extra time when we add a new swc version.
Move this...

d99e862c0561a5e1295a62df6584e484ebf19816 authored almost 2 years ago by Alex Eagle <[email protected]>
cleanup: args.add converts file to file.path automatically

6174b0862cfa2c5163acae76cf9f82c4427cebee authored almost 2 years ago by Alex Eagle <[email protected]>
chore: update test golden file

4558f6e0eb8475b75a524028e9c1cbdca1adfd96 authored almost 2 years ago by Alex Eagle <[email protected]>
feat: add support for source-file-name and source-root

Fixes https://github.com/aspect-build/rules_swc/issues/166

0d82178e1db354951bde52449df1ba420d6fe9be authored almost 2 years ago by shooj4aegohbaivo <[email protected]>
chore: mirror latest swc release

bfb08cf12d535e077f10c08869f8911d4b892f48 authored almost 2 years ago by Alex Eagle <[email protected]>
chore: update to aspect_bazel_lib 1.27.2 (#170)

d7d93f716299bb96785b5084a58a11f5fb5b2e5b authored almost 2 years ago by Greg Magolan <[email protected]>
chore: adjust example tsconfig to match pathmapping in swc

dec45d2053f367494312ec224e5e0dc2edc9b680 authored almost 2 years ago by Alex Eagle <[email protected]>
chore: update to swc v1.3.36

bb2a8166c060a5ce6465ad8f8085c3fb25a6135e authored almost 2 years ago by Jonathan Rudenberg <[email protected]>
chore: update renovate config

ec1228a537058507277a3682813a40cec870be82 authored almost 2 years ago by Greg Magolan <[email protected]>
chore: update to rules_js 1.19.0 (#168)

e2155c39c558c32776add177fa1af7b8a9b67219 authored almost 2 years ago by Greg Magolan <[email protected]>
chore: mirror latest version

e75f186e166e2f099456da9574c3e00029a8069e authored almost 2 years ago by Alex Eagle <[email protected]>
release: publish release artifact

GitHub's stability guarantee for the archive is iffy, and we want metrics on downloads.
See http...

714148026553215a6a76ab0d84d01f0fdbee413b authored almost 2 years ago by Alex Eagle <[email protected]>
docs: explain out_dir with output_dir

37575b6e87726cd8e1df5f8627fac94867ed6f06 authored almost 2 years ago by Alex Eagle <[email protected]>
chore: --config is working now

We can cleanup a workaround where we generated a swcrc file

8db4ee5e5e26ba6dce331fca9164dbcfcdc1e1ff authored almost 2 years ago by Alex Eagle <[email protected]>
refactor: only use underlying rule where required

Also use boolean rather than string where possible.

cc65c96ef6281bf35b413ddeb11a8095fa2ae99a authored almost 2 years ago by Alex Eagle <[email protected]>
refactor: force users to explicitly provide srcs

It's too magical for us to discover them with a glob, making it harder to read the BUILD file an...

fd02dbf28018bec10dca7a20330a68d9d3047b0d authored almost 2 years ago by Alex Eagle <[email protected]>
Revert "chore: don't add new issues to projects in the new_issue workflow; this doesn't work on forks"

This reverts commit 4eb7d3be692c79031440f17c91d26ca4a710f3e1.

983929f167ad0a437a7c12ee55817a4fe7f85a38 authored almost 2 years ago by Greg Magolan <[email protected]>
chore: don't add new issues to projects in the new_issue workflow; this doesn't work on forks

4eb7d3be692c79031440f17c91d26ca4a710f3e1 authored almost 2 years ago by Greg Magolan <[email protected]>
chore: docs updates before 1.0

f740abfa739f9bbe09ef189abbea4a799a21c724 authored almost 2 years ago by Alex Eagle <[email protected]>
chore: run gazelle

70b198f463947c3ee111cf4941b513cd80744152 authored almost 2 years ago by Jonathan Rudenberg <[email protected]>
feat: add support for plugins

98970175f24bdf89771ceaf0065811d413adb9d4 authored almost 2 years ago by Jonathan Rudenberg <[email protected]>
chore: update workspace SWC to 1.3.34

87915ca97b5a2f2cb65f98740f9fe72ee93728c2 authored almost 2 years ago by Jonathan Rudenberg <[email protected]>
chore: mirror latest swc release

Also ignore a couple .bzl files so we are gazelle-clean

ad8531b0a002f539eafae881338496a94202698e authored almost 2 years ago by Alex Eagle <[email protected]>
chore: remove New PR workflows as it doesn't work on forks

aed245341393fa1bdfacbf9ffc91aa4f0d1e4111 authored almost 2 years ago by Greg Magolan <[email protected]>
chore: add workflows for new issues & PRs

8b826474725c2344e964667be1726de7230da5dc authored almost 2 years ago by Greg Magolan <[email protected]>
docs: fix reference to non-existent target (#158)

Fixes #88

00901b5593cd71eacc82c01feb716165d3b3778b authored almost 2 years ago by Alex Eagle <[email protected]>
refactor: move resolved_toolchain to the main workspace (#157)

* refactor: move resolved_toolchain to the main workspace

Similar to https://github.com/bazel...

5c53bd73560119bf6be5856df4fb1373c22772fc authored almost 2 years ago by Alex Eagle <[email protected]>
fix: Sourcemap links are not generated (#154)

* fix: Sourcemap links are not generated

* cleanups

---------

Co-authored-by: Alex Eagl...

15455a3dabe89fd08515ab2f2cb4d5ba4cd2ee5f authored almost 2 years ago by realtimetodie <[email protected]>
chore: update to rules_js 1.17.0 and aspect_bazel_lib 1.24.2 (#156)

6dd510c66ce6e1b589b86550b7ba0d8e17e84c8d authored almost 2 years ago by Greg Magolan <[email protected]>
docs: Rename Bazel target swc_compile

Renames the Bazel target to @aspect_rules_swc//swc:swc_compile

03b5ce0dddc8b06027d38d88042274659954fded authored almost 2 years ago by shooj4aegohbaivo <[email protected]>
refactor: combine e2e to a single smoke test

This pattern ensures that new e2e scenarios will follow this pattern so we have coverage for wor...

af52471ac451d647fd187b9e92162d6a6199e700 authored almost 2 years ago by Alex Eagle <[email protected]>
docs: tell users how to run swc using their tsconfig settings

Useful as part of https://github.com/aspect-build/rules_ts/pull/289
to make a migration path eas...

ee7ca0247036509464d70b1d396ddd884c2d8bf1 authored almost 2 years ago by Alex Eagle <[email protected]>