Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
c504b20
chore(jsr): configure Deno workspace
okikio Jul 6, 2026
be5332b
chore(jsr): add deno.jsonc files to support publishing to jsr.io whil…
okikio Jul 6, 2026
3d040c9
chore(analytics): add deno.jsonc file & add `@solid-primitives/source…
okikio Jul 6, 2026
ebbf8e9
chore: add deno.jsonc files for controlled-props and virtual packages…
okikio Jul 6, 2026
db0a5e7
chore: update deno.jsonc files to support subpath exports for SSE, st…
okikio Jul 6, 2026
76c49d4
chore: add missing LICENSE files for controlled-props, devices, fetch…
okikio Jul 6, 2026
2274c1f
refactor: rewrite .js imports to use .ts extensions
okikio Jul 6, 2026
9d09164
refactor(workers): update imports of types.js to use types.d.ts exten…
okikio Jul 6, 2026
b030f21
refactor: use 'override' keyword for methods in ReactiveMap, Reactive…
okikio Jul 6, 2026
2529d2f
fix(workers): update worker export path to point to worker-scope.ts
okikio Jul 6, 2026
13f9631
refactor(deno): clean up linting rules and task definitions in deno.j…
okikio Jul 6, 2026
e375b8f
ci: add JSR validation and publish workflows
okikio Jul 6, 2026
4e2b3da
fix: add explicit return types & fix other slow-types typescript issues
okikio Jul 6, 2026
9b01791
fix(filesystem): rename tauri fs readdir to proper readDir format & a…
okikio Jul 6, 2026
8224aed
ci: add --allow-slow-types flag to deno publish commands in CI workflows
okikio Jul 6, 2026
e5e33dd
fix(fetch): add type annotation for FrameRequestCallback in withRefet…
okikio Jul 6, 2026
f4fcd31
fix(fetch): add type annotation for fetchFallback and update node-fet…
okikio Jul 6, 2026
a3eebc4
fix(resource): update timeout type in makeAbortable to use ReturnType…
okikio Jul 6, 2026
fd6221f
fix(resource): refine timeout type in makeAbortable to use only Retur…
okikio Jul 6, 2026
a2a0be2
chore: add tsdown as a devDependency across multiple packages
okikio Jul 6, 2026
9552590
chore: add tsdown as a devDependency in template package
okikio Jul 6, 2026
a0e6a90
chore: add unplugin-solid to catalog in deno.jsonc and pnpm-workspace…
okikio Jul 6, 2026
5d34162
chore: add tsdown configuration files for multiple packages
okikio Jul 6, 2026
4769373
refactor: replace build script with tsdown in multiple packages
okikio Jul 6, 2026
24042d5
chore: update actions/checkout to v7 and add pnpm installation & buil…
okikio Jul 6, 2026
e1cadd1
fix: add proper support for compiled .tsx exports for JSR in controll…
okikio Jul 6, 2026
5b3c899
chore(template): add tsdown configuration file as a template for new …
okikio Jul 6, 2026
abc1c96
refactor: simplify tsconfig.json files across multiple packages
okikio Jul 6, 2026
aa79e01
fix: add `node:` prefix as external in calculate-bundlesize.ts
okikio Jul 6, 2026
8d944e0
fix: update build script to use tsdown for building all solid-primiti…
okikio Jul 6, 2026
58f16a7
chore: add tsdown & unplugin-solid as deps in pnpm-lock.yaml
okikio Jul 6, 2026
bd920ec
chore: update deno.lock
okikio Jul 6, 2026
52463f7
fix: fix dist/ being excluded from publish in deno.jsonc for controll…
okikio Jul 6, 2026
32adae8
perf: fix use isolatedDeclarations in tsconfig.json to boost build pe…
okikio Jul 6, 2026
a15821a
chore: update deno.lock
okikio Jul 6, 2026
ddd2244
refactor: use build script from root & remove tsdown.config.ts
okikio Jul 6, 2026
96734ea
chore: avoid the overhead of pnpm for build script
okikio Jul 6, 2026
2584de4
perf: enable composite option in tsconfig.json for improved type chec…
okikio Jul 6, 2026
3d0db21
chore: remove tsdown & unplugin-solid from packages
okikio Jul 6, 2026
aad4f13
chore(template): remove tsdown from devDependencies in package.json
okikio Jul 6, 2026
121414b
chore: remove update-tsconfigs script from package.json
okikio Jul 6, 2026
6a5a6b7
feat(url): add deno.jsonc, simplify tsconfig.json & use tsdown for bu…
okikio Jul 7, 2026
abba306
fix: update import paths from .js to .ts for consistency
okikio Jul 7, 2026
b96c589
chore: remove `tsc -b`, tsdown already kinda covers it
okikio Jul 7, 2026
8cd3fcc
chore: remove ./scrpits/build.ts & esbuild-plugin-solid
okikio Jul 7, 2026
6cb540f
fix: export ./dist/index.ts for modules that use ambient type declara…
okikio Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 53 additions & 0 deletions .github/workflows/jsr-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: JSR validation

on:
pull_request:
push:
branches:
- main
- next
workflow_dispatch:

jobs:
jsr:
name: Validate JSR workspace
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout
uses: actions/checkout@v7

- uses: pnpm/action-setup@v6

- name: Setup Node.js environment
uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm

- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x

- name: Install Dependencies
run: pnpm i

- name: Install Deno dependencies
run: |
if [ -f deno.lock ]; then
deno ci
else
deno install
fi

- name: Format check
run: deno task jsr:fmt

- name: Build packages
run: pnpm build

- name: Publish dry run with full type checks
run: deno publish --dry-run --check --allow-slow-types
60 changes: 60 additions & 0 deletions .github/workflows/jsr-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Publish JSR

on:
workflow_dispatch:
inputs:
publish:
description: Run the real JSR publish after the dry run passes
required: true
default: "false"
type: choice
options:
- "false"
- "true"

jobs:
publish:
name: Publish JSR workspace
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v7

- uses: pnpm/action-setup@v6

- name: Setup Node.js environment
uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm

- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x

- name: Install Dependencies
run: pnpm i

- name: Install Deno dependencies
run: |
if [ -f deno.lock ]; then
deno ci
else
deno install
fi

- name: Publish dry run
run: |
deno publish --dry-run --check --allow-slow-types
deno bump-version --base=main --dry-run

- name: Publish to JSR
if: ${{ inputs.publish == 'true' }}
run: |
deno bump-version --base=main
deno publish --check --allow-slow-types
74 changes: 74 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"workspace": [
"packages/*",
"site"
],
"nodeModulesDir": "auto",
"preferPackageJson": true,
"lock": true,
"lint": {
"rules": {
"tags": [
"recommended"
],
"include": [
"no-slow-types",
"no-process-global",
"no-node-globals"
]
}
},
"compilerOptions": {
"strict": true,
"jsx": "preserve",
"jsxImportSource": "@solidjs/web",
"lib": [
"DOM",
"DOM.Iterable",
"ESNext"
]
},
"catalog": {
"solid-js": "2.0.0-beta.15",
"@solidjs/web": "2.0.0-beta.15",
"tsdown": "^0.22.3",
"unplugin-solid": "^1.0.0"
},
"catalogs": {
"graphql": {
"@graphql-typed-document-node/core": "^3.2.0",
"graphql": "^16.8.1"
},
"supabase": {
"@supabase/supabase-js": "^2.48.1"
},
"tauri": {
"@tauri-apps/plugin-store": "*"
},
"node": {
"node-fetch": "^3.3.2",
"chokidar": "^3.5.3"
}
},
"tasks": {
"jsr:check": "deno check --all",
"jsr:fmt": "deno fmt --check deno.jsonc packages/*/deno.jsonc",
"jsr:list": "deno list -r"
},
"include": [
"packages",
"template"
],
"exclude": [
"**/stories",
"**/dev",
"**/test",
"**/tauri-storage",
"**/vitest.config.ts",
"**/node_modules",
".storybook",
"configs",
"scripts",
"site"
]
}
Loading
Loading