Skip to content

Commit

Permalink
chore: Mettre à jour les dépendances.
Browse files Browse the repository at this point in the history
  • Loading branch information
regseb committed Jan 4, 2025
1 parent 3e5e03e commit d286f31
Show file tree
Hide file tree
Showing 29 changed files with 4,856 additions and 2,948 deletions.
13 changes: 7 additions & 6 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
<[email protected]>.
All complaints will be reviewed and investigated promptly and fairly.
<[email protected]>. All complaints will be reviewed and investigated promptly
and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
Expand Down Expand Up @@ -114,12 +114,13 @@ community.

## Attribution

This Code of Conduct is adapted from the [Contributor
Covenant](https://www.contributor-covenant.org) version 2.1, available at
This Code of Conduct is adapted from the
[Contributor Covenant](https://www.contributor-covenant.org) version 2.1,
available at
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).

For answers to common questions about this code of conduct, see the FAQ at
<https://www.contributor-covenant.org/faq>. Translations are available at
Expand Down
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
buy_me_a_coffee: regseb
custom: https://www.paypal.me/sebastienregne
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ assignees: ""
<!-- Please include a minimal reproduction case. Otherwise, include any
information about how you're using Cronnor. -->

```JavaScript
// Use cron expression "* * 13 * thu".
// Do something.
// ...
```javascript
// Use cron expression "* * 13 * thu".
// Do something.
// ...
```

### Expected behavior
Expand All @@ -27,8 +27,8 @@ assignees: ""

### Environment

- Cronnor version<!-- e.g. 2.3.0 -->:
- Platform version<!-- e.g. Chrome 121.0.6167.160, Node.js v20.11.0 -->:
- Cronnor version<!-- e.g. 2.4.0 -->:
- Platform version<!-- e.g. Chrome 131.0.6778.139, Node v22.12.0 -->:

### Additional context

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ assignees: ""

### Environment

- Cronnor version<!-- e.g. 2.3.0 -->:
- Platform version<!-- e.g. Chrome 121.0.6167.160, Node.js v20.11.0 -->:
- Cronnor version<!-- e.g. 2.4.0 -->:
- Platform version<!-- e.g. Chrome 131.0.6778.139, Node v22.12.0 -->:

### Additional context

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: npm ci
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [20, latest]
node-version: [20, 22, latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: npm ci
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
id-token: write
steps:
- name: Run Release Please
uses: google-github-actions/release-please-action@v4
uses: googleapis/release-please-action@v4
id: release
with:
config-file: .release-please/config.json
Expand All @@ -38,7 +38,7 @@ jobs:
if: ${{ steps.release.outputs.pr }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
if: ${{ steps.release.outputs.pr }}
Expand All @@ -65,16 +65,18 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org

- name: Install dependencies
- name: Install dependencies and build declaration files (d.ts)
if: ${{ steps.release.outputs.release_created }}
run: npm ci

- name: Publish in npm
if: ${{ steps.release.outputs.release_created }}
run: npm publish --provenance --access public
# Forcer l'accès public, car la valeur par défaut n'est pas utilisée.
# https://github.com/npm/cli/issues/7706
run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -90,7 +92,7 @@ jobs:

- name: Download tarball from npm
if: ${{ steps.release.outputs.release_created }}
run: npm pack ${{ env.NPM_NAME }}
run: npm pack ${{ env.NPM_NAME }}@${{ steps.release.outputs.tag_name }}

- name: Upload tarball to release
if: ${{ steps.release.outputs.release_created }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
# Ignorer les fichiers de configuration de Visual Studio Code.
/.vscode/

# Ignorer les fichiers de configuration de IntelliJ IDEA.
# Ignorer les fichiers de configuration des IDEs de JetBrains : WebStorm,
# IntelliJ IDEA...
/.idea/

# Ignorer les fichiers temporaires de Vim.
Expand Down
Loading

0 comments on commit d286f31

Please sign in to comment.