brisklemonade / turbosvelte Goto Github PK
View Code? Open in Web Editor NEWA SvelteKit monorepo starter project powered by Turborepo!
License: MIT License
A SvelteKit monorepo starter project powered by Turborepo!
License: MIT License
hi! wanted to open a discussion but hope here is ok.
wondering why prettier and prettier-svelte is in workspace root? while eslint and eslint-svelte is in project folders?
thanks for this repo! super helpful
I'm opening this issue to remind myself that I need to update the script used on an install to initialize an empty git repo.
When running npm run build
in a clean copy of your scaffolding, the process fails due to a missing routes
directory in rename-core
. It'd be more than easy to fix this issue by adding a packages/rename-core/src/routes/.gitkeep
file. However, I wonder why the core package even has to be a SvelteKit app rather than a Svelte component library.
Is it just work in progress or is there a reason for this? ๐
By the way, thanks for this awesome repo!
When running npm run build
in a clean copy of "turbosvelte" I get an error because of the default port of the svelte apps...
I had to change the scripts "dev" entries in the package.json files to define different ports -> e.g. svelte-kit dev -p 3200
.
Then I had the (known) problem of the missing "src/routes" dir in rename-core...
The option config.kit.target
is no longer required in SvelteKit and leads to a crash. Will sent a PR.
Firstly, thank you for all your effort on this - it's exactly what I was hoping to find!
Is there a "nice" way to use something from packages
? Currently I can make it work, but only by manually going up the directory tree, eg:
<script lang="ts">
import Counter from '../../../../packages/components/src/lib/Counter/Counter.svelte';
</script>
I'm probably missing something simple here. But is there a way to treat packages
as if it's in a relative folder? Maybe even part of the lib
folder?
hi - ran into issues running the project without changes (except for things like removing config.kit.target)
error:
web:dev: ../../node_modules/vite/dist/node/chunks/dep-971d9e33.js:29521:10: ERROR: [plugin: vite:dep-scan] Failed to resolve entry for package "rename-core". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "rename-core". The package may have incorrect main/module/exports specified in its package.json.
is it necessary to use a specific svelte version? ran into similar issues with other turborepo examples
Hello there,
Really like the template and big props.
However, I would love to ask why you aren't using the shared tscconfig files - (or at least I don't see how they are used in the apps/packages).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.