Skip to content

Commit

Permalink
chore: upgrade deps. (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney authored Dec 14, 2024
1 parent c07aeac commit fb5750f
Show file tree
Hide file tree
Showing 14 changed files with 1,346 additions and 8,561 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: '20.11.1'
node-version: '20.18.1'
- name: Install Dependencies
run: npm ci
- name: Save error log
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4.4.3
if: ${{ failure() }}
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Test
run: npm test
- name: Report Coverage
uses: codecov/codecov-action@v4.1.0
uses: codecov/codecov-action@v5.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build Story
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: '20.11.1'
node-version: '20.18.1'
- name: Install Dependencies
run: npm ci
- name: Save error log
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4.4.3
if: ${{ failure() }}
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
path: npm-debug.log
- name: Build
run: npm run build:story
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
branch: gh-pages
folder: packages/story/build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: '20.11.1'
node-version: '20.18.1'
- name: Install Dependencies
run: npm ci
- name: Save error log
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4.4.3
if: ${{ failure() }}
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
Expand Down
18 changes: 9 additions & 9 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Using `tts-react` with ESM from a CDN:
</head>
<body>
<script type="module">
import { createElement } from 'https://esm.sh/react@rc/?dev'
import { createRoot } from 'https://esm.sh/react-dom@rc/client?dev'
import { TextToSpeech } from 'https://esm.sh/tts-react@next?deps=react@rc&dev'
import { createElement } from 'https://esm.sh/react'
import { createRoot } from 'https://esm.sh/react-dom/client'
import { TextToSpeech } from 'https://esm.sh/tts-react'
createRoot(document.body).render(
createElement(TextToSpeech, { markTextAsSpoken: true }, 'Hello from tts-react.')
Expand All @@ -40,9 +40,9 @@ Use [`htm`](https://github.com/developit/htm) for JSX-like syntax:
</head>
<body>
<script type="module">
import { createElement } from 'https://esm.sh/react@rc/?dev'
import { createRoot } from 'https://esm.sh/react-dom@rc/client?dev'
import { TextToSpeech } from 'https://esm.sh/tts-react@next?deps=react@rc&dev'
import { createElement } from 'https://esm.sh/react'
import { createRoot } from 'https://esm.sh/react-dom/client'
import { TextToSpeech } from 'https://esm.sh/tts-react'
import htm from 'https://esm.sh/htm'
const html = htm.bind(createElement)
Expand Down Expand Up @@ -72,9 +72,9 @@ You can also use an [import map](https://developer.mozilla.org/en-US/docs/Web/HT
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@rc/?dev",
"react-dom/client": "https://esm.sh/react-dom@rc/client?dev",
"tts-react": "https://esm.sh/tts-react@next?deps=react@rc&dev",
"react": "https://esm.sh/react",
"react-dom/client": "https://esm.sh/react-dom/client",
"tts-react": "https://esm.sh/tts-react",
"htm": "https://esm.sh/htm"
}
}
Expand Down
4 changes: 0 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ import js from '@eslint/js'
import tseslint from 'typescript-eslint'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
/**
* Lack of support for eslint@9 is why this package is still on eslint 8.
* @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/978
*/
import jsxA11y from 'eslint-plugin-jsx-a11y'
import globals from 'globals'

Expand Down
Loading

0 comments on commit fb5750f

Please sign in to comment.