-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from bholmesdev/feat/query
simple-stack-query
- Loading branch information
Showing
49 changed files
with
7,580 additions
and
3,853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
"simple-stack-stream": patch | ||
"simple-stack-frame": patch | ||
"simple-stack-query": patch | ||
"vite-plugin-simple-scope": patch | ||
"simple-stack-form": patch | ||
--- | ||
|
||
introduces the new `simple-stack-query` package, a simple library to query the DOM from your Astro components. | ||
|
||
```astro | ||
<button data-target={$('btn')}>Click me</button> | ||
<script> | ||
ready(() => { | ||
$('btn').addEventListener('click', () => { | ||
console.log("It's like JQuery but not!"); | ||
}); | ||
}); | ||
</script> | ||
``` | ||
|
||
Visit the package README for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
{ | ||
"name": "simple-stack", | ||
"version": "0.0.0", | ||
"description": "Astro for apps", | ||
"scripts": { | ||
"dev": "turbo dev --filter='./packages/*'", | ||
"dev:all": "turbo dev", | ||
"build": "turbo build --filter='./packages/*'", | ||
"build:all": "turbo build", | ||
"check": "biome check packages/", | ||
"check:apply": "biome check packages/ --apply", | ||
"lint": "biome lint packages/", | ||
"lint:apply": "biome lint packages/ --apply", | ||
"format": "biome format", | ||
"format:write": "biome format --write", | ||
"version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run check" | ||
}, | ||
"keywords": [ | ||
"withastro" | ||
], | ||
"author": "bholmesdev", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.4.1", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "^2.27.1", | ||
"turbo": "^1.11.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
"name": "simple-stack", | ||
"version": "0.0.0", | ||
"description": "Astro for apps", | ||
"scripts": { | ||
"dev": "turbo dev --filter='./packages/*'", | ||
"dev:all": "turbo dev", | ||
"build": "turbo build --filter='./packages/*'", | ||
"build:all": "turbo build", | ||
"test": "turbo test --filter='./packages/*'", | ||
"check": "biome check packages/", | ||
"check:apply": "biome check packages/ --apply", | ||
"lint": "biome lint packages/", | ||
"lint:apply": "biome lint packages/ --apply", | ||
"format": "biome format", | ||
"format:write": "biome format --write", | ||
"version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run check" | ||
}, | ||
"keywords": [ | ||
"withastro" | ||
], | ||
"author": "bholmesdev", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.8.3", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "^2.27.1", | ||
"@types/node": "^20.14.11", | ||
"turbo": "^1.11.2", | ||
"typescript": "^5.5.3" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
type Props = { | ||
value: string; | ||
value: string; | ||
}; | ||
const { value } = Astro.props; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"extends": "astro/tsconfigs/strictest", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "preact" | ||
} | ||
} | ||
"extends": "astro/tsconfigs/strictest", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "preact" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"extends": "astro/tsconfigs/strictest", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "react" | ||
} | ||
} | ||
"extends": "astro/tsconfigs/strictest", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "react" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"extends": "astro/tsconfigs/strictest", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "react" | ||
} | ||
} | ||
"extends": "astro/tsconfigs/strictest", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "react" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.