Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support mjs and cjs extensions #460

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

EdieLemoine
Copy link
Contributor

What kind of change does this PR introduce?

A feature.

Did you add tests for your changes?

No. There don't seem to be relevant tests for this yet.

If relevant, link to documentation update:

N/A

Summary

When passing a cjs or mjs file to the --config parameter, BundleWatch treats it as JSON because it only treats .js as JavaScript, and everything else as JSON.

Does this PR introduce a breaking change?

No.

Other information

N/A

EdieLemoine added a commit to myparcelnl/js-pdk that referenced this pull request Feb 21, 2023
@quantizor
Copy link

@charpeni could you take this change please? It's very hard to use this project in a "type": "module" downstream repo.

@charpeni
Copy link
Member

Will have a look shortly in the next few days to merge pending pull requests and get a new release out, thanks for the ping and I agree.

@charpeni charpeni merged commit a6bff3b into bundlewatch:master Jul 22, 2024
kkrishguptaa pushed a commit to kkrishguptaa/reseter.css that referenced this pull request Aug 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@semantic-release/github](https://togithub.com/semantic-release/github)
| [`10.1.0` ->
`10.1.3`](https://renovatebot.com/diffs/npm/@semantic-release%2fgithub/10.1.0/10.1.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@semantic-release%2fgithub/10.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@semantic-release%2fgithub/10.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@semantic-release%2fgithub/10.1.0/10.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@semantic-release%2fgithub/10.1.0/10.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [bundlewatch](https://togithub.com/bundlewatch/bundlewatch) | [`0.3.3`
-> `0.4.0`](https://renovatebot.com/diffs/npm/bundlewatch/0.3.3/0.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/bundlewatch/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/bundlewatch/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/bundlewatch/0.3.3/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/bundlewatch/0.3.3/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [postcss](https://postcss.org/)
([source](https://togithub.com/postcss/postcss)) | [`8.4.39` ->
`8.4.40`](https://renovatebot.com/diffs/npm/postcss/8.4.39/8.4.40) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/postcss/8.4.40?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/postcss/8.4.40?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/postcss/8.4.39/8.4.40?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/postcss/8.4.39/8.4.40?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>semantic-release/github
(@&#8203;semantic-release/github)</summary>

###
[`v10.1.3`](https://togithub.com/semantic-release/github/releases/tag/v10.1.3)

[Compare
Source](https://togithub.com/semantic-release/github/compare/v10.1.2...v10.1.3)

##### Bug Fixes

- Revert "fix: failing release due to renamed repository
([#&#8203;878](https://togithub.com/semantic-release/github/issues/878))"
([#&#8203;887](https://togithub.com/semantic-release/github/issues/887))
([325952e](https://togithub.com/semantic-release/github/commit/325952e3a9fab8e728ba250890587f6af85cfa9e))

###
[`v10.1.2`](https://togithub.com/semantic-release/github/releases/tag/v10.1.2)

[Compare
Source](https://togithub.com/semantic-release/github/compare/v10.1.1...v10.1.2)

##### Bug Fixes

- failing release due to renamed repository
([#&#8203;878](https://togithub.com/semantic-release/github/issues/878))
([76fdaa3](https://togithub.com/semantic-release/github/commit/76fdaa31cd623a3df1c4e51ae1ed4434a24a2c3e))

###
[`v10.1.1`](https://togithub.com/semantic-release/github/releases/tag/v10.1.1)

[Compare
Source](https://togithub.com/semantic-release/github/compare/v10.1.0...v10.1.1)

##### Bug Fixes

- invalid GraphQL query generated when no release commits are found
([#&#8203;876](https://togithub.com/semantic-release/github/issues/876))
([8ee2744](https://togithub.com/semantic-release/github/commit/8ee2744905e73137b3e24b2f56b37ff4451c32f7))

</details>

<details>
<summary>bundlewatch/bundlewatch (bundlewatch)</summary>

###
[`v0.4.0`](https://togithub.com/bundlewatch/bundlewatch/releases/tag/v0.4.0)

[Compare
Source](https://togithub.com/bundlewatch/bundlewatch/compare/v0.3.3...v0.4.0)

#### What's Changed

> \[!WARNING]
> The minimum Node version supported is now **16**, but it may work fine
with older versions.

##### Features

- feat: support mjs and cjs extensions by
[@&#8203;EdieLemoine](https://togithub.com/EdieLemoine) in
[bundlewatch/bundlewatch#460

##### Bug Fixes and Chores

- chore: fix linter by [@&#8203;charpeni](https://togithub.com/charpeni)
in
[bundlewatch/bundlewatch#467
- chore: bump node to `20.15.1` (LTS) by
[@&#8203;charpeni](https://togithub.com/charpeni) in
[bundlewatch/bundlewatch#468
- fix: normalizing file paths accidentally returning empty file path by
[@&#8203;cheapsteak](https://togithub.com/cheapsteak) in
[bundlewatch/bundlewatch#453
- chore: bump `babel` by
[@&#8203;charpeni](https://togithub.com/charpeni) in
[bundlewatch/bundlewatch#469
- `s/messsage/message` by
[@&#8203;charpeni](https://togithub.com/charpeni) in
[bundlewatch/bundlewatch#48

##### CVEs

- build(deps): bump minimist from 1.2.5 to 1.2.8 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#461
- build(deps): bump json5 from 1.0.1 to 1.0.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#459
- build(deps): bump qs from 6.5.2 to 6.5.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#458
- build(deps): bump axios from 0.24.0 to 0.28.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#472
- build(deps): bump braces from 3.0.2 to 3.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#471
- build(deps): bump semver from 5.7.1 to 5.7.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#473
- build(deps): bump word-wrap from 1.2.3 to 1.2.5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#474
- build(deps): bump ws from 7.5.6 to 7.5.10 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#475
- build(deps): bump
[@&#8203;babel/traverse](https://togithub.com/babel/traverse) from
7.16.8 to 7.24.8 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#476
- build(deps): bump minimatch from 3.0.4 to 3.1.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#477
- build(deps): bump hosted-git-info from 2.7.1 to 2.8.9 in the
npm_and_yarn group by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bundlewatch/bundlewatch#478

#### New Contributors

- [@&#8203;EdieLemoine](https://togithub.com/EdieLemoine) made their
first contribution in
[bundlewatch/bundlewatch#460
🎉

**Full Changelog**:
bundlewatch/bundlewatch@v0.3.3...v0.4.0

</details>

<details>
<summary>postcss/postcss (postcss)</summary>

###
[`v8.4.40`](https://togithub.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8440)

[Compare
Source](https://togithub.com/postcss/postcss/compare/8.4.39...8.4.40)

- Moved to getter/setter in nodes types to help Sass team (by
[@&#8203;nex3](https://togithub.com/nex3)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/kkrishguptaa/reseter.css).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@EdieLemoine EdieLemoine deleted the feat/support-js-extensions branch September 4, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants