-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to Experimental features and bug fixes (#960)
* feat: internal-fetch more powerful * fix (scss): fix scss/sass support for dev inline styles * add example movies * example(movies): add more routes for /movie and /tv * example(movies): add more pages * movies demo * fix(islands): css, prefetching, default A island * enable islands for app * clean up logging * fix movies * bug fix: nested routing in islands server router * css assets for islands router * feat: persisted islands!! * experiment: updated movies app to use folder-based routing * app layout as layout.tsx * remove logging * layout support * movies example: use folder based routing * Added PersonInfo and ExternalLinks components * Removed v tags from vue and added conditional renderings of elements * Added in conditional to not render ListingCarousel if items does not have length * Added debounce to the search for movies * Added more details and formatting to MovieInfo and Hero * Removed stray console.log * cleanup * move PersonInfo inside route and use unplugin icons * example(movies): fix external links and image sizes * movies: fix styles scss import * fix some implementation details for islands * workers adapter seed function * notes with server-components demo * example(notes): remove delay * only preload used islands * examples(note): move components to directory * fix: navigate not changing url state * example(movies): fix search param feature * a fix * notes example update * experimental islands mutation * multiple JSX slots * islands -> server components * islands -> example * fix * Created Poster component to add 3d effect to Posters * Fix splitProps * Update islands path from env manifest. Update vite plugin transform and load functions for islands. * Add solid logo to nav bar. * fix islands build with use client * add dark mode toggle * notes example cleanup * cleanup client components * Added Netlify adapter * Remove workspace reference * export things from root properly * fix server-routing, use partial rendering on the server * fix movie example * Small css improvements * Update paths for island transforms in vite plugin in dev mode. * Update paths for island references in islandsManifest generation in bin.cjs. * Add images to movies details page. * fix stuff * fix auto detect adapter for now * clean up logs * clean up data fetching * fix route actions * fix merge * fix islands * mounting fix * fix islands inside islands * prisma example * package json fixes * Update broken paths on Windows in dev mode. Add missing if statement in internalFetch. Change server-router to use useRequest instead of useServerContext. * fix typescript and new durable object API * fix notes durable object example * migrate notes to server components * in progress: fix types (cloudlfare durable objects are fucked up) * typescript jump and bug fixes * ignore vite compiled configs * ssr configurable with `render` entry * islands type fixes * notes * cleanup manifest code * fix islands router * fix islands stuff * remove nprogress * fix adapters * better images for movies demo * setup for streaming, fix accessibility * add back loading indicator * small tweak to loader * movies updates * fix dev and build * fix DEBUG * fix tests * fix SPA client build failing because of whitespace in path (#926) * RouteAction returns undefined in case of error (#927) * docs/fix-trpc-example (#931) Co-authored-by: Ryan Carniato <[email protected]> * Update createRouteAction.md (#939) yer I love open source * fix(data): update Form types in createRouteAction.tsx (#936) Co-authored-by: Ryan Carniato <[email protected]> * 0.2.27 * remove layout support * remove more layouts * fix lock * fix bad merge on server functions * fix notes demo * bump example versions * fix types * possibly temp fix for tests until find better solution * try deno specific internalFetch * better deno fix * fix missing reference * fix internalFetch * fixup cloudflare internalFetch * add cloudflare internal fetch early exit * update Solid to 1.7.9 (fix movies demo) * normalize entries, fix docs * fix docs build errors --------- Co-authored-by: Nikhil Saraf <[email protected]> Co-authored-by: Maxi Ferreira <[email protected]> Co-authored-by: TannerScadden <[email protected]> Co-authored-by: Muhammad Zaki <[email protected]> Co-authored-by: Paolo Ricciuti <[email protected]> Co-authored-by: dev-rb <[email protected]> Co-authored-by: David Di Biase <[email protected]> Co-authored-by: Davide <[email protected]> Co-authored-by: Vladimir Kutepov <[email protected]> Co-authored-by: Jordan Gibbings <[email protected]> Co-authored-by: Felix Zeller <[email protected]> Co-authored-by: Casey Baggz <[email protected]>
- Loading branch information
1 parent
443955f
commit 7caeca4
Showing
238 changed files
with
11,421 additions
and
3,665 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 |
---|---|---|
|
@@ -41,3 +41,5 @@ netlify | |
# miniflare cache | ||
.mf | ||
.vercel | ||
|
||
vite.config.ts.timestamp* |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
# Keep environment variables out of version control | ||
.env* | ||
.db |
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 @@ | ||
# solid-movies | ||
|
||
This was adapted from the Nuxt version: https://github.com/tastejs/nuxt-movies | ||
|
||
A SolidStart Movies application using [The Movie Database (TMDb)](https://developers.themoviedb.org/3) API. Built using [Solid](https://github.com/solidjs/solid) and [SolidStart](https://github.com/solidjs/solid-start). Our version is built by the Solid team. | ||
|
||
## Quick setup | ||
|
||
1. Take a copy of `.env.sample` and re-name to `.env` | ||
2. Get your [TMDb](https://developers.themoviedb.org/3) API key | ||
3. Get your [YouTube](https://developers.google.com/youtube/v3/getting-started) API key (optional, used for video data) | ||
4. Enter the details into the `.env` file | ||
|
||
## Running | ||
|
||
``` bash | ||
# install dependencies | ||
$ npm install # Or yarn install | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ npm run dev | ||
``` | ||
|
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,31 @@ | ||
{ | ||
"name": "example-movies", | ||
"scripts": { | ||
"dev": "solid-start dev", | ||
"build": "solid-start build", | ||
"start": "solid-start start" | ||
}, | ||
"type": "module", | ||
"devDependencies": { | ||
"@iconify/json": "^2.2.90", | ||
"sass": "^1.63.6", | ||
"solid-start-node": "^0.2.30", | ||
"typescript": "^4.9.5", | ||
"unplugin-icons": "^0.14.15", | ||
"vite": "^4.4.6" | ||
}, | ||
"dependencies": { | ||
"@solid-primitives/scheduled": "1.1.0", | ||
"@solidjs/meta": "^0.28.5", | ||
"@solidjs/router": "^0.8.2", | ||
"nprogress": "^0.2.0", | ||
"solid-heroicons": "^3.2.4", | ||
"solid-js": "^1.7.9", | ||
"solid-start": "^0.2.30", | ||
"solid-start-netlify": "^0.2.30", | ||
"undici": "^5.22.1" | ||
}, | ||
"engines": { | ||
"node": ">=16" | ||
} | ||
} |
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,12 @@ | ||
# STATIC | ||
|
||
This directory contains your static files. | ||
Each file inside this directory is mapped to /. | ||
|
||
Example: /static/robots.txt is mapped as /robots.txt. | ||
|
||
More information about the usage of this directory in the documentation: | ||
https://nuxtjs.org/guide/assets#static | ||
|
||
**This directory is not required, you can delete it if you don't want to use it.** | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 @@ | ||
# ASSETS | ||
|
||
This directory contains your un-compiled assets such as LESS, SASS, or JavaScript. |
Oops, something went wrong.