Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/typescript-node:dev-22-bookworm
11 changes: 9 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"forwardPorts": [8000],
"image": "mcr.microsoft.com/devcontainers/typescript-node",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"forwardPorts": [
8000
],
"remoteUser": "node",
"updateContentCommand": "npm clean-install && npm run build"
}
2 changes: 2 additions & 0 deletions .eslintrc.react.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
extends:
- plugin:react/recommended
- plugin:react-hooks/recommended
plugins:
- react
- react-hooks
settings:
react:
version: 18.3.1
11 changes: 11 additions & 0 deletions .eslintrc.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
env:
commonjs: true
es2021: true
es2022: true
jest: true
rules:
# Disable for convenience
react/display-name: off
# Disable for convenience
react/prop-types: off
'@typescript-eslint/no-require-imports': off
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ overrides:
- '**/*.mts'
- '**/*.ts'
- '**/*.tsx'
- extends: .eslintrc.jest.yml
- extends: .eslintrc.test.yml
files:
- '**/__tests__/**'
- '**/*.spec.cjs'
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/bump-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bump dependencies
name: 🧼 Bump dependencies

on:
workflow_dispatch: {}
Expand All @@ -9,8 +9,6 @@ jobs:
contents: write
id-token: write
secrets:
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
WORKFLOW_BOT_APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
WORKFLOW_BOT_PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
uses: compulim/workflows/.github/workflows/bump-dependencies.yml@main
with:
package-name: iter-fest
7 changes: 5 additions & 2 deletions .github/workflows/bump-scaffold.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Bump scaffold
name: 🧼 Bump scaffold

on:
workflow_dispatch:
inputs:
package-name:
default: iter-fest
default: 'iter-fest'
description: Name of the package
required: true
type: string
Expand All @@ -21,6 +21,9 @@ on:

jobs:
call-workflow:
permissions:
contents: write
id-token: write
secrets:
WORKFLOW_BOT_APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
WORKFLOW_BOT_PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
id-token: write
pages: write
secrets:
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
uses: compulim/workflows/.github/workflows/continuous-deployment.yml@main
WORKFLOW_BOT_APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
WORKFLOW_BOT_PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
uses: compulim/workflows/.github/workflows/continuous-deployment-oidc.yml@main
with:
package-name: iter-fest
package-name: 'iter-fest'
2 changes: 2 additions & 0 deletions .github/workflows/list-outdated-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ on:

jobs:
call-workflow:
permissions:
contents: read
uses: compulim/workflows/.github/workflows/list-outdated-dependencies.yml@main
6 changes: 3 additions & 3 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prepare release
name: 🚢 Prepare release

on:
workflow_dispatch:
Expand All @@ -19,8 +19,8 @@ jobs:
contents: write
id-token: write
secrets:
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
WORKFLOW_BOT_APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
WORKFLOW_BOT_PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
uses: compulim/workflows/.github/workflows/prepare-release.yml@main
with:
version-to-bump: ${{ inputs.version-to-bump }}
9 changes: 4 additions & 5 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ jobs:
pages: write
id-token: write
secrets:
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
uses: compulim/workflows/.github/workflows/publish-release.yml@main
WORKFLOW_BOT_APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
WORKFLOW_BOT_PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
uses: compulim/workflows/.github/workflows/publish-release-oidc.yml@main
with:
package-name: iter-fest
package-name: 'iter-fest'
tag: ${{ github.ref_name }}
6 changes: 4 additions & 2 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:

jobs:
call-workflow:
permissions:
contents: read
strategy:
matrix:
switch: [current]
uses: compulim/workflows/.github/workflows/pull-request-validation.yml@main
with:
node-version: 22 # Requires Node.js 22 for some tests.
package-name: iter-fest
node-version: 22 # Some tests requires Node.js 22 because behaviors changed in 24.
package-name: 'iter-fest'
skip-integration-test: false
switch: ${{ matrix.switch }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-scripts=true
Loading