Skip to content

Commit

Permalink
Merge branch 'main' into changeset-release/main
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored Nov 10, 2024
2 parents 587f1e5 + 4d1a955 commit ffe6115
Show file tree
Hide file tree
Showing 18 changed files with 528 additions and 797 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-lizards-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"robot3": patch
---

Don't make a state transition if the state is left before the invoked promise resolves, *even* if there's a transition with the same name.
15 changes: 15 additions & 0 deletions .changeset/six-terms-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"robot3": patch
---

### WHAT:

Explicitly routing the right place for the index.d.ts file

### WHY:

Types fail to load in some scenarios. F.i PNPM throws the error: "There are types at '/xxxx/node_modules/robot3/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'robot3' library may need to update its package.json or typings."

### HOW:

Added types path for exports in package.json
5 changes: 5 additions & 0 deletions .changeset/stale-eyes-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"lit-robot": major
---

Upgrade to Lit 3.x
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -20,6 +20,6 @@ jobs:
- name: Install
run: npm ci
- name: Bundle size
run: npm run bundlesize --workspaces
run: npm run bundlesize --workspaces --if-present
- name: Test
run: npm run test --workspaces
run: npm run test --workspaces --if-present
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]
steps:
- uses: actions/checkout@v2
env:
Expand All @@ -40,4 +40,4 @@ jobs:
title: '[ci] release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
run: npm ci
Expand All @@ -42,4 +42,4 @@ jobs:
PATHS: '/*'
AWS_REGION: 'us-east-1'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3 changes: 1 addition & 2 deletions docs/_includes/header.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<header class="content container">
<h3>Black Lives Matter. <a href="https://support.eji.org/give/153413/#!/donation/checkout">Support the Equal Justice Initiative.</a></h3>
<h1><img src="{{ '/images/robot-mono.png' | relUrl(page.url) }}" class="robot-logo" alt="The Robot logo" /> Robot</h1>
<h2>Fast <strong>{{ meta.size }}</strong> functional library for creating Finite State Machines</h2>
</header>
</header>
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page.njk
title: Robot - a fast 1kB functional library for creating Finite State Machines
title: Robot - a fast functional library for creating Finite State Machines and Statecharts
id: home
shortTitle: Home
tags: page
Expand Down
Loading

0 comments on commit ffe6115

Please sign in to comment.