diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml
index b969679..1d943f7 100644
--- a/.github/workflows/npm-publish.yml
+++ b/.github/workflows/npm-publish.yml
@@ -8,19 +8,7 @@ on:
types: [created, workflow_dispatch]
jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
- with:
- node-version: 21
- - run: npm ci
- - run: npx playwright install
- - run: npm test
-
publish-npm:
- needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -29,7 +17,7 @@ jobs:
node-version: 21
registry-url: https://registry.npmjs.org/
- run: npm ci
- - run: npm build
+ - run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -43,6 +31,10 @@ jobs:
steps:
- uses: actions/checkout@v4
-
- - name: Publish package
- run: npx jsr publish
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 21
+ registry-url: https://registry.npmjs.org/
+ - run: npm ci
+ - run: npm run build
+ - run: npx jsr publish
diff --git a/TODO.md b/TODO.md
deleted file mode 100644
index e428998..0000000
--- a/TODO.md
+++ /dev/null
@@ -1,13 +0,0 @@
-- [ ] Add a test to make sure both of these work:
- this.shadowRoot.innerHTML = ``;
- this.shadowRoot.innerHTML = ``;
-- [ ] Think about clashes if there are multiple providers or listeners for the `request-context` event.
-- [ ] Try abstracting the data store into something provided by the ProvidableMixin.
-- [ ] Gather more feedback.
-- [ ] Plan another meeting.
-- [ ] Put this source code somewhere and share with ShareWare.
-- [ ] Think about `async` providables.
-- [ ] How does the singletonmanager work??
- - It's in Lion?
-- [ ] This should provide data globally and child components shouldn't provide data.
-- [ ] Introduce ownership at the top of the thing at the providable mixin.
diff --git a/jsr.json b/jsr.json
new file mode 100644
index 0000000..5f4c312
--- /dev/null
+++ b/jsr.json
@@ -0,0 +1,5 @@
+{
+ "name": "@koddsson/context-protocol",
+ "version": "0.0.2",
+ "exports": "./index.ts"
+}