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

chore: upgrade deps and use c8/prettier #166

Merged
merged 1 commit into from
Jul 25, 2024
Merged

chore: upgrade deps and use c8/prettier #166

merged 1 commit into from
Jul 25, 2024

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Jul 25, 2024

  • added prettier
  • added c8
  • updated eslint
  • synchronised publish flow with other chai repos

can you take a look @koddsson ?

@43081j 43081j force-pushed the modernise branch 2 times, most recently from 266d244 to 61ed66a Compare July 25, 2024 19:24
@43081j 43081j requested a review from koddsson July 25, 2024 19:24
Comment on lines +1 to +10
{
"bracketSpacing": false,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"arrowParens": "always"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why we don't just use the defaults from prettier? Also is this consistent with other chai projects?

Copy link
Contributor Author

@43081j 43081j Jul 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same as the one in other chai projects. afaik the defaults used double quotes amongst other things we don't follow

Comment on lines +5 to +6
indent_size = 2
indent_style = space
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're changing this, we could change indent_style to tab and then setting the tab width is just up to each person via their editor settings.

What do you think?

Copy link
Contributor Author

@43081j 43081j Jul 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think given this is the same in other chai repos, we should probably do that across the board in a standalone PR

im not opposed to it but think its better to do it separate

@koddsson
Copy link
Member

I have some opinions but I don't hold them strong enough to halt this if you feel stronger about it so it's up to you :)

@43081j 43081j merged commit e22e13f into master Jul 25, 2024
2 checks passed
@43081j 43081j deleted the modernise branch July 25, 2024 19:49
solaris007 referenced this pull request in adobe/spacecat-audit-post-processor Aug 21, 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 |
|---|---|---|---|---|---|
|
[junit-report-builder](https://togithub.com/davidparsson/junit-report-builder)
| [`3.2.1` ->
`5.0.0`](https://renovatebot.com/diffs/npm/junit-report-builder/3.2.1/5.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/junit-report-builder/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/junit-report-builder/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/junit-report-builder/3.2.1/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/junit-report-builder/3.2.1/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [sinon-chai](https://togithub.com/chaijs/sinon-chai) | [`3.7.0` ->
`4.0.0`](https://renovatebot.com/diffs/npm/sinon-chai/3.7.0/4.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sinon-chai/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon-chai/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon-chai/3.7.0/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon-chai/3.7.0/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>davidparsson/junit-report-builder
(junit-report-builder)</summary>

###
[`v5.0.0`](https://togithub.com/davidparsson/junit-report-builder/compare/4.0.1...5.0.0)

[Compare
Source](https://togithub.com/davidparsson/junit-report-builder/compare/4.0.1...5.0.0)

###
[`v4.0.1`](https://togithub.com/davidparsson/junit-report-builder/compare/4.0.0...4.0.1)

[Compare
Source](https://togithub.com/davidparsson/junit-report-builder/compare/4.0.0...4.0.1)

###
[`v4.0.0`](https://togithub.com/davidparsson/junit-report-builder/compare/3.2.1...4.0.0)

[Compare
Source](https://togithub.com/davidparsson/junit-report-builder/compare/3.2.1...4.0.0)

</details>

<details>
<summary>chaijs/sinon-chai (sinon-chai)</summary>

###
[`v4.0.0`](https://togithub.com/chaijs/sinon-chai/releases/tag/4.0.0)

[Compare
Source](https://togithub.com/chaijs/sinon-chai/compare/3.7.0...4.0.0)

#### What's Changed

- Add pointer to `chai-samsam` for Sinon.assert.match by
[@&#8203;cincodenada](https://togithub.com/cincodenada) in
[https://github.com/chaijs/sinon-chai/pull/156](https://togithub.com/chaijs/sinon-chai/pull/156)
- Add brief note about `.always` prefix to README by
[@&#8203;cincodenada](https://togithub.com/cincodenada) in
[https://github.com/chaijs/sinon-chai/pull/153](https://togithub.com/chaijs/sinon-chai/pull/153)
- Add support for Chai version 5 by
[@&#8203;robinbisping](https://togithub.com/robinbisping) in
[https://github.com/chaijs/sinon-chai/pull/161](https://togithub.com/chaijs/sinon-chai/pull/161)
- Set up CI by [@&#8203;koddsson](https://togithub.com/koddsson) in
[https://github.com/chaijs/sinon-chai/pull/163](https://togithub.com/chaijs/sinon-chai/pull/163)
- Create npm-publish.yml by
[@&#8203;koddsson](https://togithub.com/koddsson) in
[https://github.com/chaijs/sinon-chai/pull/164](https://togithub.com/chaijs/sinon-chai/pull/164)
- chore: upgrade deps and use c8/prettier by
[@&#8203;43081j](https://togithub.com/43081j) in
[https://github.com/chaijs/sinon-chai/pull/166](https://togithub.com/chaijs/sinon-chai/pull/166)

#### New Contributors

- [@&#8203;cincodenada](https://togithub.com/cincodenada) made their
first contribution in
[https://github.com/chaijs/sinon-chai/pull/156](https://togithub.com/chaijs/sinon-chai/pull/156)
- [@&#8203;robinbisping](https://togithub.com/robinbisping) made their
first contribution in
[https://github.com/chaijs/sinon-chai/pull/161](https://togithub.com/chaijs/sinon-chai/pull/161)
- [@&#8203;koddsson](https://togithub.com/koddsson) made their first
contribution in
[https://github.com/chaijs/sinon-chai/pull/163](https://togithub.com/chaijs/sinon-chai/pull/163)
- [@&#8203;43081j](https://togithub.com/43081j) made their first
contribution in
[https://github.com/chaijs/sinon-chai/pull/166](https://togithub.com/chaijs/sinon-chai/pull/166)

**Full Changelog**:
chaijs/sinon-chai@3.7.0...4.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 2pm on Monday" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

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

♻ **Rebasing**: Whenever PR becomes conflicted, 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/adobe/spacecat-audit-post-processor).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominique Jäggi <[email protected]>
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.

2 participants