Skip to content

Commit

Permalink
build(deps-dev): bump @ts-dev-tools/react
Browse files Browse the repository at this point in the history
Bumps the dev-dependencies group with 1 update in the / directory: [@ts-dev-tools/react](https://github.com/escemi-tech/ts-dev-tools).

Updates `@ts-dev-tools/react` from 1.6.2 to 1.8.4
- [Release notes](https://github.com/escemi-tech/ts-dev-tools/releases)
- [Commits](https://github.com/escemi-tech/ts-dev-tools/compare/@ts-dev-tools/[email protected]...@ts-dev-tools/[email protected])

---
updated-dependencies:
- dependency-name: "@ts-dev-tools/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Emilien Escalle <[email protected]>
  • Loading branch information
dependabot[bot] authored and neilime committed Nov 12, 2024
1 parent 168aafa commit d9036eb
Show file tree
Hide file tree
Showing 11 changed files with 998 additions and 1,128 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/__shared-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Common Continuous Integration tasks

on:
workflow_call:

permissions:
contents: read
packages: read
statuses: write
security-events: write
id-token: write

jobs:
continuous-integration:
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/[email protected]
permissions:
id-token: write
security-events: write
contents: read
with:
build: |
{
"commands": ["build:ci"],
"artifact": ["public"]
}
44 changes: 0 additions & 44 deletions .github/workflows/continuous-integration.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Greetings

on:
issues:
types: [opened]
pull_request_target:
branches: [main]

permissions:
contents: read
issues: write
pull-requests: write

jobs:
greetings:
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected]
55 changes: 55 additions & 0 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Internal - Main - Continuous Integration

on:
push:
branches: [main]
tags: ["*"]

permissions:
contents: read
packages: read
statuses: write
security-events: write
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
uses: ./.github/workflows/__shared-ci.yml
secrets: inherit

deploy:
name: Deploy website
needs: ci
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: documentation

- name: ⚙️ Setup Pages
if: github.ref == 'refs/heads/main'
uses: actions/configure-pages@v5

- name: 🚀 Deploy to GitHub Pages
id: deployment
if: github.ref == 'refs/heads/main'
uses: actions/deploy-pages@v4

- name: 🔭 Check the site is up
uses: srt32/[email protected]
with:
url-to-hit: ${{ steps.deployment.outputs.page_url }}
expected-statuses: "200"
27 changes: 27 additions & 0 deletions .github/workflows/need-fix-to-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Need fix to Issue

on:
push:
branches:
- main
workflow_dispatch:
inputs:
#checkov:skip=CKV_GHA_7: required
manual-commit-ref:
description: "The SHA of the commit to get the diff for"
required: true
manual-base-ref:
description: "By default, the commit entered above is compared to the one directly
before it; to go back further, enter an earlier SHA here"
required: false

permissions:
contents: read
issues: write

jobs:
main:
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected]
with:
manual-commit-ref: ${{ inputs.manual-commit-ref }}
manual-base-ref: ${{ inputs.manual-base-ref }}
22 changes: 22 additions & 0 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pull request - Continuous Integration

on:
merge_group:
pull_request:
branches: [main]

permissions:
contents: read
packages: read
statuses: write
security-events: write
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
uses: ./.github/workflows/__shared-ci.yml
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Pull Request - Semantic Lint"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
contents: write
pull-requests: write

jobs:
main:
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected]
13 changes: 13 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "30 1 * * *"

permissions:
issues: write
pull-requests: write

jobs:
main:
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected]
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { default as tsDevToolsCore } from "@ts-dev-tools/core/dist/eslint-plugin-ts-dev-tools/index.js";

export default tsDevToolsCore.default;
48 changes: 3 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"start": "yarn build:deploy && yarn serve",
"dev": "gatsby develop",
"build": "tsc --noEmit",
"build:ci": "gatsby build --log-pages",
"build:deploy": "gatsby build --prefix-paths",
"build:ci": "gatsby build --log-pages --prefix-paths",
"serve": "gatsby serve",
"clean": "rimraf .cache public",
"format": "prettier --cache --write '**/*.{ts,tsx}'",
Expand All @@ -57,7 +56,7 @@
"prepare": "ts-dev-tools install"
},
"devDependencies": {
"@ts-dev-tools/react": "^1.5.33",
"@ts-dev-tools/react": "^1.8.5",
"@types/react-helmet": "^6.1.1",
"@types/smoothscroll-polyfill": "^0.3.1",
"babel-preset-gatsby": "^3.0.0",
Expand All @@ -75,47 +74,6 @@
"url": "https://github.com/escemi-tech/escemi-website/issues"
},
"homepage": "https://github.com/escemi-tech/escemi-website#readme",
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:react/recommended",
"prettier"
],
"env": {
"es2021": true,
"browser": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"settings": {
"react": {
"version": "detect"
},
"jest": {
"version": "detect"
}
},
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
},
"ignorePatterns": [
"gatsby-config.js"
]
},
"prettier": {
"semi": true,
"printWidth": 100,
Expand Down Expand Up @@ -173,6 +131,6 @@
]
},
"tsDevTools": {
"version": "20220617100200-prettier-cache"
"version": "20240617094000-config-nx-scopes"
}
}
Loading

0 comments on commit d9036eb

Please sign in to comment.