Skip to content

Commit

Permalink
Merge pull request #3 from studiometa/feature/update-studiometa-js-to…
Browse files Browse the repository at this point in the history
…olkit

[Feature] Update @studiometa/js-toolkit to v3.0.0-alpha.6
  • Loading branch information
titouanmathis authored Aug 5, 2024
2 parents 90d651b + c9113b9 commit 2b4a327
Show file tree
Hide file tree
Showing 11 changed files with 2,805 additions and 1,222 deletions.
35 changes: 35 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!---
☝️ PR title should be prefixed by [Feature], [Bugfix], [Release] or [Hotfix]
-->

### 🔗 Linked issue

<!-- Please ensure there is an open issue and mention its number as #123 -->

### ❓ Type of change

<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->

- [ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [ ] 👌 Enhancement (improving an existing functionality like performance)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

### 📚 Description

<!-- Describe your changes in detail -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If it resolves an open issue, please link to the issue here. For example "Resolves #1337" -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] I have linked an issue or discussion.
- [ ] I have added tests (if possible).
- [ ] I have updated the documentation accordingly.
- [ ] I have updated the changelog.
4 changes: 1 addition & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>studiometa/renovate"
]
"extends": ["github>studiometa/renovate"]
}
78 changes: 78 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: tests

on:
push:
branches:
- master
- develop
pull_request:

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v4
id: npm-cache
with:
path: |
${{ steps.npm-cache-dir.outputs.dir }}
**/node_modules
.eslintcache
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install modules
run: npm install --no-audit --no-fund
- name: Build
run: npm run build
- name: Demo build
run: npm run demo:build

code_quality:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v4
id: npm-cache
with:
path: |
${{ steps.npm-cache-dir.outputs.dir }}
**/node_modules
.eslintcache
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install modules
run: npm install --no-audit --no-fund
- name: Run code quality tests
run: npm run lint

export_size:
runs-on: macos-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: titouanmathis/export-size-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: npm run build
paths: packages/playground/
bundler: esbuild
node-version: '22'
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- Fix compatibility with [@studiometa/js-toolkit](https://github.com/studiometa/js-toolkit) v3.0.0-alpha.6 ([#3](https://github.com/studiometa/playground/pull/3), [43c216d](https://github.com/studiometa/playground/commit/43c216d))
- Fix an error where the export were not found ([#3](https://github.com/studiometa/playground/pull/3), [4f1d20a](https://github.com/studiometa/playground/commit/4f1d20a))

### Changed

- Update dependencies ([#3](https://github.com/studiometa/playground/pull/3), [350c1a6](https://github.com/studiometa/playground/commit/350c1a6))

## v0.1.3 - 2024.07.11

### Added
Expand Down
Loading

0 comments on commit 2b4a327

Please sign in to comment.