From 673dc74e50b20ccd05b028fa9289aae13e20328f Mon Sep 17 00:00:00 2001 From: thejackshelton Date: Sun, 31 Mar 2024 09:47:02 -0500 Subject: [PATCH] refactor: add monorepo scripts (node / deno) --- README.md | 4 ++++ libs/qwikdev-astro/README.md | 4 ++++ package.json | 11 ++++++++--- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9912ba21..5453af8a 100644 --- a/README.md +++ b/README.md @@ -345,6 +345,10 @@ export const MySlotComp = component$<{ initial: number }>((props) => { Default slots work as expected in their Qwik City counterpart. +## Starter Kits + +- [Siguici's](https://github.com/siguici) [@qwikdev/astro + Deno](https://github.com/siguici/qwik-astro-deno) starter kit + ## Community Guides - [Paul Scanlon](https://www.paulie.dev/) shows a hands-on look at [using Qwik in Astro over React and Vanilla JS](https://thenewstack.io/how-quiks-astro-integration-beats-both-react-and-vanilla-js/). diff --git a/libs/qwikdev-astro/README.md b/libs/qwikdev-astro/README.md index 9912ba21..5453af8a 100644 --- a/libs/qwikdev-astro/README.md +++ b/libs/qwikdev-astro/README.md @@ -345,6 +345,10 @@ export const MySlotComp = component$<{ initial: number }>((props) => { Default slots work as expected in their Qwik City counterpart. +## Starter Kits + +- [Siguici's](https://github.com/siguici) [@qwikdev/astro + Deno](https://github.com/siguici/qwik-astro-deno) starter kit + ## Community Guides - [Paul Scanlon](https://www.paulie.dev/) shows a hands-on look at [using Qwik in Astro over React and Vanilla JS](https://thenewstack.io/how-quiks-astro-integration-beats-both-react-and-vanilla-js/). diff --git a/package.json b/package.json index 95a7d692..37738bd7 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "qwikdev-astro", "version": "0.0.0", "scripts": { + "dev": "pnpm -C ./apps/node-demo dev", + "build": "pnpm -C ./apps/node-demo build", + "preview": "pnpm -C ./apps/node-demo preview", "check": "biome ci .", "check.format": "biome format .", "check.lint": "biome check .", @@ -9,9 +12,11 @@ "format": "biome format --write .", "lint": "biome check --apply-unsafe .", "postinstall": "lefthook install", - "dev": "pnpm -C ./apps/node-demo run dev", - "build": "pnpm -C ./apps/node-demo run build", - "release": "changeset publish" + "changeset": "changeset", + "release": "changeset publish", + "deno.dev": "pnpm -C ./apps/deno-demo dev", + "deno.build": "pnpm -C ./apps/deno-demo build", + "deno.preview": "pnpm -C ./apps/deno-demo preview" }, "devDependencies": { "@biomejs/biome": "1.6.1",