├── types ├── options.js ├── shared.js └── utils.js ├── .npmignore ├── typings ├── types │ ├── options.d.ts │ ├── shared.d.ts │ └── utils.d.ts ├── lib │ ├── common │ │ ├── spec │ │ │ ├── RNode.spec.d.ts │ │ │ ├── helpers.spec.d.ts │ │ │ └── utils.spec.d.ts │ │ ├── debugMsg.d.ts │ │ └── helpers.d.ts │ ├── runtime │ │ ├── Route │ │ │ └── spec │ │ │ │ ├── Route.spec.d.ts │ │ │ │ └── utils.spec.d.ts │ │ ├── Router │ │ │ ├── utils │ │ │ │ └── index.spec.d.ts │ │ │ └── urlReflectors │ │ │ │ ├── Internal.d.ts │ │ │ │ ├── LocalStorage.d.ts │ │ │ │ ├── ReflectorBase.d.ts │ │ │ │ └── Address.d.ts │ │ ├── utils │ │ │ ├── spec │ │ │ │ └── utils.spec.d.ts │ │ │ ├── killWarnings.d.ts │ │ │ ├── messages.d.ts │ │ │ └── logger.d.ts │ │ ├── helpers │ │ │ ├── spec │ │ │ │ └── helpers.spec.d.ts │ │ │ └── preload.d.ts │ │ ├── Global │ │ │ ├── spec │ │ │ │ └── BrowserAdapter.spec.d.ts │ │ │ └── BrowserAdapter.d.ts │ │ ├── Instance │ │ │ └── spec │ │ │ │ ├── RNodeRuntime.spec.d.ts │ │ │ │ └── UrlParamUtils.spec.d.ts │ │ ├── plugins │ │ │ ├── reset │ │ │ │ ├── spec │ │ │ │ │ └── reset.test.d.ts │ │ │ │ └── index.d.ts │ │ │ ├── scroller │ │ │ │ ├── plugin.d.ts │ │ │ │ └── utils.d.ts │ │ │ └── stripTrailingIndex │ │ │ │ └── index.d.ts │ │ ├── decorators │ │ │ ├── index.d.ts │ │ │ └── transition.d.ts │ │ └── renderer │ │ │ └── utils │ │ │ ├── normalizeDecorator.d.ts │ │ │ ├── index.d.ts │ │ │ └── normalizeInline.d.ts │ ├── buildtime │ │ ├── plugins │ │ │ ├── devHelper │ │ │ │ ├── runtime.d.ts │ │ │ │ ├── styles.d.ts │ │ │ │ └── helper.d.ts │ │ │ ├── themes │ │ │ │ ├── spec │ │ │ │ │ └── themes.test.d.ts │ │ │ │ └── index.d.ts │ │ │ ├── metaCapture │ │ │ │ ├── spec │ │ │ │ │ └── metaCapture.spec.d.ts │ │ │ │ └── index.d.ts │ │ │ ├── namedModule │ │ │ │ ├── spec │ │ │ │ │ └── namedModule.test.d.ts │ │ │ │ └── index.d.ts │ │ │ ├── metaFromFile │ │ │ │ ├── spec │ │ │ │ │ └── metaFromFile │ │ │ │ │ │ ├── metaFromFile.spec.d.ts │ │ │ │ │ │ └── example │ │ │ │ │ │ └── externalMeta.meta.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── utils.d.ts │ │ │ │ └── metaFromFile.d.ts │ │ │ ├── filemapper │ │ │ │ ├── utils.d.ts │ │ │ │ ├── lib │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── filenameToOptions.d.ts │ │ │ │ │ │ ├── createRoot404.d.ts │ │ │ │ │ │ ├── moveModuleToParentNode.d.ts │ │ │ │ │ │ ├── misc.d.ts │ │ │ │ │ │ └── createNodesFromFiles.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── File.d.ts │ │ │ │ └── index.d.ts │ │ │ ├── watcher │ │ │ │ ├── watcher.d.ts │ │ │ │ └── index.d.ts │ │ │ ├── bundler │ │ │ │ ├── index.d.ts │ │ │ │ └── bundler.d.ts │ │ │ ├── exporter │ │ │ │ └── index.d.ts │ │ │ ├── omitNode │ │ │ │ └── index.d.ts │ │ │ ├── metaSplit │ │ │ │ └── index.d.ts │ │ │ ├── metaPersist │ │ │ │ └── index.d.ts │ │ │ └── omitFromPath │ │ │ │ └── index.d.ts │ │ └── RNodeBuildtime.d.ts │ ├── cli │ │ └── index.d.ts │ └── extra │ │ ├── vite-plugin │ │ ├── devServer.d.ts │ │ ├── previewServer.d.ts │ │ └── utils.d.ts │ │ ├── express-plugin │ │ └── index.d.ts │ │ └── tools │ │ ├── ssr4.d.ts │ │ └── ssr5.d.ts └── plugins │ ├── flexMap │ ├── spec │ │ └── flexMapPlugin.spec.d.ts │ └── index.d.ts │ ├── index.d.ts │ └── indexByPrefix │ └── index.d.ts ├── .prettierignore ├── test ├── unit │ ├── bundler │ │ └── example │ │ │ ├── index.svelte │ │ │ ├── _module.svelte │ │ │ ├── admin │ │ │ ├── page.svelte │ │ │ ├── index.svelte │ │ │ └── _reset.svelte │ │ │ └── blog │ │ │ ├── [slug].svelte │ │ │ └── prefixed[slug].svelte │ ├── exporter │ │ └── example │ │ │ ├── _module.svelte │ │ │ ├── index.svelte │ │ │ ├── admin │ │ │ ├── index.svelte │ │ │ ├── page.svelte │ │ │ └── _reset.svelte │ │ │ └── blog │ │ │ ├── [slug].svelte │ │ │ └── prefixed[slug].svelte │ └── filemapper │ │ └── example │ │ └── routes │ │ ├── index.svelte │ │ ├── _module.svelte │ │ ├── admin │ │ └── _reset.svelte │ │ ├── blog │ │ ├── [slug].svelte │ │ └── prefixed[slug].svelte │ │ └── no-layouts │ │ └── nested │ │ ├── foo.svelte │ │ └── index.svelte ├── integration │ ├── meta │ │ └── example │ │ │ ├── compiled.svelte │ │ │ ├── _module.svelte │ │ │ ├── page │ │ │ └── hello.svelte │ │ │ ├── compiled.meta.js │ │ │ └── _module.meta.js │ ├── routify │ │ └── example │ │ │ ├── index.svelte │ │ │ ├── blog │ │ │ ├── [slug].svelte │ │ │ └── prefixed[slug].svelte │ │ │ ├── admin │ │ │ ├── bundleme.svelte │ │ │ └── _reset.svelte │ │ │ ├── _module.svelte │ │ │ └── no-layouts │ │ │ └── nested │ │ │ ├── foo.svelte │ │ │ └── index.svelte │ ├── watcher │ │ └── example │ │ │ └── OldFile.svelte │ └── routify-runtime │ │ └── routify.test.js ├── e2e │ ├── package.json │ └── an-app │ │ ├── app │ │ ├── src │ │ │ ├── routes │ │ │ │ └── index.svelte │ │ │ ├── main.js │ │ │ └── App.svelte │ │ └── package.json │ │ └── app.test.js └── examples │ ├── starter.test.js │ └── sveltekit.test.js ├── plugins ├── flexMap │ └── spec │ │ └── example │ │ ├── about.svelte │ │ ├── index.svelte │ │ ├── about.de.svelte │ │ ├── about.en.svelte │ │ ├── index.de.svelte │ │ ├── index.en-us.svelte │ │ └── index.en.svelte └── index.js ├── examples ├── multi-router │ ├── src │ │ ├── widget │ │ │ ├── page1.md │ │ │ ├── page2.md │ │ │ ├── index.md │ │ │ └── _module.svelte │ │ ├── routes │ │ │ ├── index.md │ │ │ ├── _module.svelte │ │ │ └── page-with-widget.svelte │ │ ├── main.js │ │ └── App.svelte │ └── package.json ├── portfolio │ ├── .npmrc │ ├── src │ │ ├── pages │ │ │ ├── 3.about-me │ │ │ │ ├── index.svelte │ │ │ │ └── _module.svelte │ │ │ ├── 1.home │ │ │ │ └── index.svelte │ │ │ ├── index.svelte │ │ │ └── _loader.svelte │ │ ├── global.d.ts │ │ ├── app.html │ │ └── routes │ │ │ └── [...index].svelte │ ├── static │ │ └── favicon.png │ ├── .gitignore │ └── package.json ├── sveltekit │ ├── .npmrc │ ├── src │ │ ├── pages │ │ │ ├── a │ │ │ │ └── page.svelte │ │ │ └── index.svelte │ │ ├── global.d.ts │ │ ├── app.html │ │ └── routes │ │ │ └── [...index].svelte │ ├── .gitignore │ ├── static │ │ └── favicon.png │ ├── package.json │ └── svelte.config.js ├── kitchensink │ ├── src │ │ ├── routes │ │ │ ├── paths │ │ │ │ ├── plain.md │ │ │ │ └── [country]-[language] │ │ │ │ │ ├── index.md │ │ │ │ │ └── [post] │ │ │ │ │ └── index.svelte │ │ │ ├── multi-router │ │ │ │ ├── index.svelte │ │ │ │ ├── _module.md │ │ │ │ └── basic.svelte │ │ │ ├── [...404].svelte │ │ │ ├── __nestedRoutes │ │ │ │ └── index.md │ │ │ ├── multi-slot │ │ │ │ ├── 1.index.md │ │ │ │ ├── 4.examples │ │ │ │ │ ├── number-1 │ │ │ │ │ │ └── index.md │ │ │ │ │ ├── number-2 │ │ │ │ │ │ └── index.md │ │ │ │ │ ├── number-3 │ │ │ │ │ │ └── index.md │ │ │ │ │ └── _decorator.svelte │ │ │ │ ├── 3.features │ │ │ │ │ └── index.md │ │ │ │ ├── 2.hero │ │ │ │ │ └── index.md │ │ │ │ └── __decorators │ │ │ │ │ ├── ExampleBlock.svelte │ │ │ │ │ └── FrontpageBlock.svelte │ │ │ ├── index.md │ │ │ ├── decorators │ │ │ │ ├── _module.md │ │ │ │ ├── red │ │ │ │ │ ├── blue │ │ │ │ │ │ ├── green │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ └── _module.svelte │ │ │ │ │ │ └── _module.svelte │ │ │ │ │ └── _module.svelte │ │ │ │ └── __decorators │ │ │ │ │ ├── Red.svelte │ │ │ │ │ ├── Blue.svelte │ │ │ │ │ └── Green.svelte │ │ │ ├── composition │ │ │ │ ├── _module.svelte │ │ │ │ ├── reset@ │ │ │ │ │ └── index.svelte │ │ │ │ ├── prepend@custom+ │ │ │ │ │ └── index.svelte │ │ │ │ ├── index.svelte │ │ │ │ ├── _module-custom.svelte │ │ │ │ ├── replace@custom │ │ │ │ │ └── index.svelte │ │ │ │ └── using-meta │ │ │ │ │ └── index.svelte │ │ │ ├── _module.svelte │ │ │ ├── redirect │ │ │ │ ├── index.svelte │ │ │ │ └── somewhere │ │ │ │ │ └── index.svelte │ │ │ └── load.svelte │ │ ├── main.js │ │ └── App.svelte │ ├── manifest.js │ └── package.json ├── experiment │ ├── src │ │ ├── routes │ │ │ ├── pages │ │ │ │ ├── home │ │ │ │ │ └── index.md │ │ │ │ ├── contact │ │ │ │ │ └── index.md │ │ │ │ └── gallery │ │ │ │ │ ├── galcontent │ │ │ │ │ ├── foo.svelte │ │ │ │ │ └── index.md │ │ │ │ │ └── index.svelte │ │ │ ├── index.svelte │ │ │ └── _navigation.svelte │ │ ├── main.js │ │ └── App.svelte │ ├── package.json │ └── jsconfig.json ├── express │ ├── client │ │ ├── types.d.ts │ │ ├── routes │ │ │ ├── examples │ │ │ │ ├── [mode] │ │ │ │ │ ├── landing-page │ │ │ │ │ │ ├── cart │ │ │ │ │ │ │ ├── index.svelte │ │ │ │ │ │ │ └── _module.svelte │ │ │ │ │ │ ├── discover.svelte │ │ │ │ │ │ └── __components │ │ │ │ │ │ │ └── LandingPageSection.svelte │ │ │ │ │ ├── __index.svelte │ │ │ │ │ ├── auth-example │ │ │ │ │ │ ├── admin │ │ │ │ │ │ │ ├── index.svelte │ │ │ │ │ │ │ └── signout │ │ │ │ │ │ │ │ └── index.svelte │ │ │ │ │ │ └── index.md │ │ │ │ │ ├── __assets │ │ │ │ │ │ ├── Ilustration_V2_3d_design_modern_pink_1.jpg │ │ │ │ │ │ └── open-props │ │ │ │ │ │ │ ├── routify.props.zindex.css │ │ │ │ │ │ │ ├── extra │ │ │ │ │ │ │ ├── normalize.light.css │ │ │ │ │ │ │ ├── normalize.dark.css │ │ │ │ │ │ │ ├── theme.css │ │ │ │ │ │ │ └── normalize.css │ │ │ │ │ │ │ ├── routify.props.aspects.css │ │ │ │ │ │ │ ├── routify.props.colors-oklch-hues.css │ │ │ │ │ │ │ ├── routify.props.red.css │ │ │ │ │ │ │ ├── routify.props.blue.css │ │ │ │ │ │ │ ├── routify.props.camo.css │ │ │ │ │ │ │ ├── routify.props.cyan.css │ │ │ │ │ │ │ ├── routify.props.gray.css │ │ │ │ │ │ │ ├── routify.props.lime.css │ │ │ │ │ │ │ ├── routify.props.pink.css │ │ │ │ │ │ │ ├── routify.props.sand.css │ │ │ │ │ │ │ ├── routify.props.teal.css │ │ │ │ │ │ │ ├── routify.props.brown.css │ │ │ │ │ │ │ ├── routify.props.choco.css │ │ │ │ │ │ │ ├── routify.props.green.css │ │ │ │ │ │ │ ├── routify.props.stone.css │ │ │ │ │ │ │ ├── routify.props.indigo.css │ │ │ │ │ │ │ ├── routify.props.jungle.css │ │ │ │ │ │ │ ├── routify.props.orange.css │ │ │ │ │ │ │ ├── routify.props.purple.css │ │ │ │ │ │ │ ├── routify.props.violet.css │ │ │ │ │ │ │ ├── routify.props.yellow.css │ │ │ │ │ │ │ ├── routify.props.red-hsl.css │ │ │ │ │ │ │ ├── routify.props.sand-hsl.css │ │ │ │ │ │ │ ├── routify.props.camo-hsl.css │ │ │ │ │ │ │ ├── routify.props.lime-hsl.css │ │ │ │ │ │ │ ├── routify.props.gray-hsl.css │ │ │ │ │ │ │ ├── routify.props.brown-hsl.css │ │ │ │ │ │ │ ├── routify.props.cyan-hsl.css │ │ │ │ │ │ │ ├── routify.props.stone-hsl.css │ │ │ │ │ │ │ ├── routify.props.teal-hsl.css │ │ │ │ │ │ │ ├── routify.props.blue-hsl.css │ │ │ │ │ │ │ ├── routify.props.choco-hsl.css │ │ │ │ │ │ │ ├── routify.props.pink-hsl.css │ │ │ │ │ │ │ ├── routify.index.css │ │ │ │ │ │ │ ├── routify.props.green-hsl.css │ │ │ │ │ │ │ ├── routify.props.jungle-hsl.css │ │ │ │ │ │ │ ├── routify.props.orange-hsl.css │ │ │ │ │ │ │ ├── routify.props.yellow-hsl.css │ │ │ │ │ │ │ ├── routify.props.purple-hsl.css │ │ │ │ │ │ │ ├── routify.props.violet-hsl.css │ │ │ │ │ │ │ └── routify.props.indigo-hsl.css │ │ │ │ │ └── data-fetching │ │ │ │ │ │ └── index.svelte │ │ │ │ └── README.md │ │ │ ├── _module.svelte │ │ │ └── index.svelte │ │ ├── main.js │ │ └── App.svelte │ └── manifest.js ├── subpath │ ├── src │ │ ├── routes │ │ │ ├── foo.svelte │ │ │ └── index.svelte │ │ ├── main.js │ │ └── App.svelte │ └── package.json ├── microframework │ ├── app │ │ ├── src │ │ │ ├── routes │ │ │ │ ├── index.md │ │ │ │ ├── internal-module │ │ │ │ │ └── index.md │ │ │ │ └── _module.md │ │ │ └── main.js │ │ └── package.json │ └── module │ │ ├── src │ │ ├── routes │ │ │ ├── external-page.md │ │ │ └── index.svelte │ │ ├── main.js │ │ └── App.svelte │ │ └── package.json ├── starter-old │ ├── src │ │ ├── routes │ │ │ ├── hello-world.md │ │ │ └── index.md │ │ ├── main.js │ │ └── App.svelte │ └── package.json ├── starter-vitest │ ├── src │ │ ├── routes │ │ │ ├── hello-world.md │ │ │ └── index.md │ │ ├── main.js │ │ └── App.svelte │ ├── test │ │ └── dom.test.js │ └── package.json ├── starter │ ├── .gitignore │ ├── src │ │ ├── routes │ │ │ ├── examples │ │ │ │ ├── [mode] │ │ │ │ │ ├── inline-params │ │ │ │ │ │ ├── [city] │ │ │ │ │ │ │ └── history │ │ │ │ │ │ │ │ ├── annual.svelte │ │ │ │ │ │ │ │ └── monthly.svelte │ │ │ │ │ │ ├── app.js │ │ │ │ │ │ └── _decorator.svelte │ │ │ │ │ ├── landing-page │ │ │ │ │ │ ├── cart │ │ │ │ │ │ │ ├── index.svelte │ │ │ │ │ │ │ └── _module.svelte │ │ │ │ │ │ ├── discover.svelte │ │ │ │ │ │ ├── in-action │ │ │ │ │ │ │ └── index.svelte │ │ │ │ │ │ └── __components │ │ │ │ │ │ │ └── LandingPageSection.svelte │ │ │ │ │ ├── multi-router │ │ │ │ │ │ ├── _card │ │ │ │ │ │ │ ├── weather │ │ │ │ │ │ │ │ ├── [city] │ │ │ │ │ │ │ │ │ └── history │ │ │ │ │ │ │ │ │ │ ├── annual.svelte │ │ │ │ │ │ │ │ │ │ └── monthly.svelte │ │ │ │ │ │ │ │ ├── app.js │ │ │ │ │ │ │ │ └── index.svelte │ │ │ │ │ │ │ ├── index.svelte │ │ │ │ │ │ │ ├── slides │ │ │ │ │ │ │ │ └── index.svelte │ │ │ │ │ │ │ └── charts │ │ │ │ │ │ │ │ └── index.svelte │ │ │ │ │ │ └── _module.svelte │ │ │ │ │ ├── auth-example │ │ │ │ │ │ ├── admin │ │ │ │ │ │ │ ├── index.svelte │ │ │ │ │ │ │ └── signout │ │ │ │ │ │ │ │ └── index.svelte │ │ │ │ │ │ └── index.md │ │ │ │ │ ├── __assets │ │ │ │ │ │ ├── Ilustration_V2_3d_design_modern_pink_1.jpg │ │ │ │ │ │ └── open-props │ │ │ │ │ │ │ ├── routify.props.zindex.css │ │ │ │ │ │ │ ├── extra │ │ │ │ │ │ │ ├── normalize.light.css │ │ │ │ │ │ │ ├── normalize.dark.css │ │ │ │ │ │ │ ├── theme.css │ │ │ │ │ │ │ └── normalize.css │ │ │ │ │ │ │ ├── routify.props.aspects.css │ │ │ │ │ │ │ ├── routify.props.colors-oklch-hues.css │ │ │ │ │ │ │ ├── routify.props.red.css │ │ │ │ │ │ │ ├── routify.props.blue.css │ │ │ │ │ │ │ ├── routify.props.camo.css │ │ │ │ │ │ │ ├── routify.props.cyan.css │ │ │ │ │ │ │ ├── routify.props.gray.css │ │ │ │ │ │ │ ├── routify.props.lime.css │ │ │ │ │ │ │ ├── routify.props.pink.css │ │ │ │ │ │ │ ├── routify.props.sand.css │ │ │ │ │ │ │ ├── routify.props.teal.css │ │ │ │ │ │ │ ├── routify.props.brown.css │ │ │ │ │ │ │ ├── routify.props.choco.css │ │ │ │ │ │ │ ├── routify.props.green.css │ │ │ │ │ │ │ ├── routify.props.stone.css │ │ │ │ │ │ │ ├── routify.props.indigo.css │ │ │ │ │ │ │ ├── routify.props.jungle.css │ │ │ │ │ │ │ ├── routify.props.orange.css │ │ │ │ │ │ │ ├── routify.props.purple.css │ │ │ │ │ │ │ ├── routify.props.violet.css │ │ │ │ │ │ │ ├── routify.props.yellow.css │ │ │ │ │ │ │ ├── routify.props.red-hsl.css │ │ │ │ │ │ │ ├── routify.props.camo-hsl.css │ │ │ │ │ │ │ ├── routify.props.lime-hsl.css │ │ │ │ │ │ │ ├── routify.props.sand-hsl.css │ │ │ │ │ │ │ ├── routify.props.gray-hsl.css │ │ │ │ │ │ │ ├── routify.props.stone-hsl.css │ │ │ │ │ │ │ ├── routify.props.blue-hsl.css │ │ │ │ │ │ │ ├── routify.props.brown-hsl.css │ │ │ │ │ │ │ ├── routify.props.choco-hsl.css │ │ │ │ │ │ │ ├── routify.props.cyan-hsl.css │ │ │ │ │ │ │ ├── routify.props.pink-hsl.css │ │ │ │ │ │ │ ├── routify.props.teal-hsl.css │ │ │ │ │ │ │ ├── routify.index.css │ │ │ │ │ │ │ ├── routify.props.green-hsl.css │ │ │ │ │ │ │ ├── routify.props.jungle-hsl.css │ │ │ │ │ │ │ ├── routify.props.orange-hsl.css │ │ │ │ │ │ │ ├── routify.props.purple-hsl.css │ │ │ │ │ │ │ ├── routify.props.yellow-hsl.css │ │ │ │ │ │ │ ├── routify.props.indigo-hsl.css │ │ │ │ │ │ │ └── routify.props.violet-hsl.css │ │ │ │ │ ├── history │ │ │ │ │ │ └── _module.svelte │ │ │ │ │ └── data-fetching │ │ │ │ │ │ └── index.svelte │ │ │ │ └── README.md │ │ │ ├── _module.svelte │ │ │ └── index.svelte │ │ ├── types.d.ts │ │ ├── main.js │ │ └── App.svelte │ └── package.json ├── starter-mobile │ ├── .gitignore │ ├── manifest.js │ ├── src │ │ ├── main.js │ │ ├── styles.css │ │ ├── App.svelte │ │ └── routes │ │ │ ├── 2.app │ │ │ └── _module.svelte │ │ │ ├── 1.index.svelte │ │ │ └── _module.svelte │ └── package.json ├── feathersjs │ ├── packages │ │ ├── backend │ │ │ ├── config │ │ │ │ ├── test.json │ │ │ │ ├── custom-environment-variables.json │ │ │ │ └── default.json │ │ │ ├── backend.sqlite │ │ │ ├── .prettierrc │ │ │ ├── src │ │ │ │ ├── services │ │ │ │ │ ├── index.js │ │ │ │ │ └── todo │ │ │ │ │ │ ├── todo.shared.js │ │ │ │ │ │ └── todo.class.js │ │ │ │ ├── sqlite.js │ │ │ │ ├── hooks │ │ │ │ │ └── log-error.js │ │ │ │ ├── index.js │ │ │ │ ├── configuration.js │ │ │ │ └── logger.js │ │ │ ├── knexfile.js │ │ │ ├── test │ │ │ │ ├── services │ │ │ │ │ └── todo │ │ │ │ │ │ └── todo.test.js │ │ │ │ └── client.test.js │ │ │ └── migrations │ │ │ │ └── 20230724095532_todo.js │ │ └── frontend │ │ │ └── src │ │ │ ├── types.d.ts │ │ │ ├── main.js │ │ │ ├── routes │ │ │ └── _module.svelte │ │ │ ├── App.svelte │ │ │ └── feathersApp.js │ └── manifest.js ├── express-modular │ ├── packages │ │ ├── client │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ │ ├── routes │ │ │ │ │ ├── index.svelte │ │ │ │ │ ├── _module.svelte │ │ │ │ │ └── message.svelte │ │ │ │ ├── main.js │ │ │ │ └── App.svelte │ │ │ ├── .prettierrc │ │ │ ├── tests │ │ │ │ └── test.spec.js │ │ │ └── package.json │ │ └── server │ │ │ ├── package.json │ │ │ └── index.js │ └── manifest.js ├── starter-svelte-5-triplit │ ├── .gitignore │ ├── src │ │ ├── main.js │ │ ├── App.svelte │ │ └── routes │ │ │ └── __components │ │ │ └── connection-status.svelte │ ├── manifest.js │ ├── index.html │ └── package.json ├── starter-svelte-5 │ ├── src │ │ ├── routes │ │ │ ├── hello-world.svelte │ │ │ └── index.svelte │ │ ├── main.js │ │ └── App.svelte │ ├── manifest.js │ ├── tests │ │ └── test.spec.js │ └── package.json ├── typescript-tailwind │ ├── src │ │ ├── app.css │ │ ├── main.ts │ │ ├── App.svelte │ │ └── routes │ │ │ └── index.svelte │ ├── public │ │ └── favicon.ico │ ├── postcss.config.cjs │ ├── manifest.js │ ├── tailwind.config.cjs │ ├── tsconfig.json │ └── index.html ├── typescript-tailwind-cypress │ ├── src │ │ ├── app.css │ │ ├── main.ts │ │ ├── App.svelte │ │ └── routes │ │ │ └── index.svelte │ ├── postcss.config.cjs │ ├── public │ │ └── favicon.ico │ ├── manifest.js │ ├── cypress │ │ ├── fixtures │ │ │ └── example.json │ │ └── e2e │ │ │ └── spec.cy.ts │ ├── cypress.config.ts │ ├── tailwind.config.cjs │ ├── tsconfig.json │ └── index.html ├── typescript-tailwind-playwright │ ├── src │ │ ├── app.css │ │ ├── main.ts │ │ ├── App.svelte │ │ └── routes │ │ │ └── index.svelte │ ├── postcss.config.cjs │ ├── public │ │ └── favicon.ico │ ├── manifest.js │ ├── tests │ │ └── home.spec.ts │ ├── tailwind.config.cjs │ ├── playwright.config.ts │ ├── tsconfig.json │ └── index.html ├── starter-ts │ ├── public │ │ └── favicon.ico │ ├── src │ │ ├── routes │ │ │ └── index.svelte │ │ ├── main.ts │ │ └── App.svelte │ ├── tsconfig.json │ └── index.html └── buildtime-data │ ├── src │ ├── main.js │ └── App.svelte │ └── package.json ├── .npmrc ├── pnpm-workspace.yaml ├── lib ├── buildtime │ ├── plugins │ │ ├── themes │ │ │ ├── spec │ │ │ │ └── example │ │ │ │ │ ├── about.svelte │ │ │ │ │ ├── index.svelte │ │ │ │ │ ├── blog │ │ │ │ │ ├── index.svelte │ │ │ │ │ └── @de │ │ │ │ │ │ └── index.svelte │ │ │ │ │ └── @_lang │ │ │ │ │ ├── @de │ │ │ │ │ ├── index.svelte │ │ │ │ │ └── @xmas │ │ │ │ │ │ ├── index.svelte │ │ │ │ │ │ └── dexmasonly.svelte │ │ │ │ │ └── @at │ │ │ │ │ ├── index.svelte │ │ │ │ │ └── blog │ │ │ │ │ └── index.svelte │ │ │ └── index.js │ │ ├── metaFromFile │ │ │ ├── spec │ │ │ │ └── metaFromFile │ │ │ │ │ └── example │ │ │ │ │ ├── externalMeta.svelte │ │ │ │ │ ├── externalMeta.meta.js │ │ │ │ │ └── inlineMeta.svelte │ │ │ └── index.js │ │ ├── watcher │ │ │ └── index.js │ │ ├── filemapper │ │ │ ├── index.js │ │ │ ├── utils.js │ │ │ └── lib │ │ │ │ └── utils │ │ │ │ └── misc.js │ │ ├── bundler │ │ │ └── index.js │ │ ├── exporter │ │ │ └── index.js │ │ ├── devHelper │ │ │ ├── modal │ │ │ │ ├── SelectInstance.svelte │ │ │ │ ├── InstanceTree.svelte │ │ │ │ ├── NodeInfo.svelte │ │ │ │ └── Modal.svelte │ │ │ └── helper.js │ │ └── metaPersist │ │ │ └── index.js │ └── RNodeBuildtime.js ├── runtime │ ├── decorators │ │ ├── index.js │ │ ├── AnchorDecorator.d.ts │ │ └── Noop.svelte │ ├── Router │ │ └── urlReflectors │ │ │ ├── Internal.js │ │ │ ├── ReflectorBase.js │ │ │ └── LocalStorage.js │ ├── plugins │ │ ├── stripTrailingIndex │ │ │ └── index.js │ │ └── scroller │ │ │ └── plugin.js │ └── utils │ │ └── messages.js └── common │ └── debugMsg.js ├── .github ├── ISSUE_TEMPLATE │ └── misc.md ├── CONTRIBUTING.md └── workflows │ └── test-suite-ci.yml ├── .gitignore ├── .vscode └── extensions.json ├── index.d.ts ├── .releaserc ├── CONTRIBUTING.md ├── README.md └── probs.config.js /types/options.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /types/shared.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | examples/ -------------------------------------------------------------------------------- /typings/types/options.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /typings/types/shared.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | fixtures 2 | temp -------------------------------------------------------------------------------- /test/unit/bundler/example/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/about.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/bundler/example/_module.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/bundler/example/admin/page.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/exporter/example/_module.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/exporter/example/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/multi-router/src/widget/page1.md: -------------------------------------------------------------------------------- 1 | # page1 -------------------------------------------------------------------------------- /examples/multi-router/src/widget/page2.md: -------------------------------------------------------------------------------- 1 | # page2 -------------------------------------------------------------------------------- /examples/portfolio/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /examples/sveltekit/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/about.de.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/about.en.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/index.de.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/index.en-us.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/flexMap/spec/example/index.en.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/meta/example/compiled.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/routify/example/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/watcher/example/OldFile.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/bundler/example/admin/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/bundler/example/blog/[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/exporter/example/admin/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/exporter/example/admin/page.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/exporter/example/blog/[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/paths/plain.md: -------------------------------------------------------------------------------- 1 | # Plain -------------------------------------------------------------------------------- /test/integration/routify/example/blog/[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/bundler/example/blog/prefixed[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/exporter/example/blog/prefixed[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/_module.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/experiment/src/routes/pages/home/index.md: -------------------------------------------------------------------------------- 1 | # Home -------------------------------------------------------------------------------- /examples/express/client/types.d.ts: -------------------------------------------------------------------------------- 1 | // types for the project -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-router/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/multi-router/src/widget/index.md: -------------------------------------------------------------------------------- 1 | # Nested Router -------------------------------------------------------------------------------- /examples/subpath/src/routes/foo.svelte: -------------------------------------------------------------------------------- 1 |

foo

2 | -------------------------------------------------------------------------------- /test/integration/routify/example/admin/bundleme.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/admin/_reset.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/blog/[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /typings/lib/common/spec/RNode.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/common/spec/helpers.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/common/spec/utils.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | node-options = --experimental-vm-modules --no-warnings -------------------------------------------------------------------------------- /examples/experiment/src/routes/pages/contact/index.md: -------------------------------------------------------------------------------- 1 | # Contact -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/[...404].svelte: -------------------------------------------------------------------------------- 1 | no route 2 | -------------------------------------------------------------------------------- /examples/microframework/app/src/routes/index.md: -------------------------------------------------------------------------------- 1 | # Routify 3 App -------------------------------------------------------------------------------- /examples/starter-old/src/routes/hello-world.md: -------------------------------------------------------------------------------- 1 | # Hello world! -------------------------------------------------------------------------------- /examples/starter-vitest/src/routes/hello-world.md: -------------------------------------------------------------------------------- 1 | # Hello world! -------------------------------------------------------------------------------- /examples/sveltekit/src/pages/a/page.svelte: -------------------------------------------------------------------------------- 1 |

a page

2 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'examples/*' -------------------------------------------------------------------------------- /test/integration/routify/example/_module.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/integration/routify/example/blog/prefixed[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/routify/example/no-layouts/nested/foo.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/routify/example/no-layouts/nested/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/blog/prefixed[slug].svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /typings/lib/runtime/Route/spec/Route.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/Route/spec/utils.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/Router/utils/index.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/utils/spec/utils.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/__nestedRoutes/index.md: -------------------------------------------------------------------------------- 1 | # Hello world -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-slot/1.index.md: -------------------------------------------------------------------------------- 1 | ## Index Page -------------------------------------------------------------------------------- /examples/multi-router/src/routes/index.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Index 5 | -------------------------------------------------------------------------------- /examples/portfolio/src/pages/3.about-me/index.svelte: -------------------------------------------------------------------------------- 1 | about me 2 | -------------------------------------------------------------------------------- /examples/starter/.gitignore: -------------------------------------------------------------------------------- 1 | .routify 2 | .history 3 | node_modules -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/no-layouts/nested/foo.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/unit/filemapper/example/routes/no-layouts/nested/index.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/devHelper/runtime.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/cli/index.d.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | export {}; 3 | -------------------------------------------------------------------------------- /typings/lib/runtime/helpers/spec/helpers.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/plugins/flexMap/spec/flexMapPlugin.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /examples/starter-mobile/.gitignore: -------------------------------------------------------------------------------- 1 | .routify 2 | .history 3 | node_modules -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/about.svelte: -------------------------------------------------------------------------------- 1 | english about 2 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/index.svelte: -------------------------------------------------------------------------------- 1 | english index 2 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/themes/spec/themes.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/Global/spec/BrowserAdapter.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/Instance/spec/RNodeRuntime.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/Instance/spec/UrlParamUtils.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/plugins/reset/spec/reset.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /examples/experiment/src/routes/pages/gallery/galcontent/foo.svelte: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/index.md: -------------------------------------------------------------------------------- 1 | # Routify 3 Kitchen Sink 2 | 3 | -------------------------------------------------------------------------------- /examples/microframework/module/src/routes/external-page.md: -------------------------------------------------------------------------------- 1 | # external page 2 | -------------------------------------------------------------------------------- /examples/portfolio/src/global.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/sveltekit/src/global.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/blog/index.svelte: -------------------------------------------------------------------------------- 1 | blog index 2 | -------------------------------------------------------------------------------- /examples/feathersjs/packages/backend/config/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "port": 8998 3 | } -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-slot/4.examples/number-1/index.md: -------------------------------------------------------------------------------- 1 | # Number 1 -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-slot/4.examples/number-2/index.md: -------------------------------------------------------------------------------- 1 | # Number 2 -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-slot/4.examples/number-3/index.md: -------------------------------------------------------------------------------- 1 | # Number 3 -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/paths/[country]-[language]/index.md: -------------------------------------------------------------------------------- 1 | # country-lang -------------------------------------------------------------------------------- /examples/microframework/app/src/routes/internal-module/index.md: -------------------------------------------------------------------------------- 1 | # internal module -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/@_lang/@de/index.svelte: -------------------------------------------------------------------------------- 1 | german index 2 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/blog/@de/index.svelte: -------------------------------------------------------------------------------- 1 | blog/@de/index 2 | -------------------------------------------------------------------------------- /test/integration/meta/example/_module.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/metaCapture/spec/metaCapture.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/namedModule/spec/namedModule.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/inline-params/[city]/history/annual.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/inline-params/[city]/history/monthly.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/@_lang/@at/index.svelte: -------------------------------------------------------------------------------- 1 | austrian index 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/utils/killWarnings.d.ts: -------------------------------------------------------------------------------- 1 | export function killWarnings(): void; 2 | -------------------------------------------------------------------------------- /examples/experiment/src/routes/pages/gallery/galcontent/index.md: -------------------------------------------------------------------------------- 1 | # hello 2 | 3 | [foo](/foo) -------------------------------------------------------------------------------- /examples/express-modular/packages/client/.gitignore: -------------------------------------------------------------------------------- 1 | .routify 2 | .history 3 | node_modules -------------------------------------------------------------------------------- /examples/starter-old/src/routes/index.md: -------------------------------------------------------------------------------- 1 | # Routify 3 App 2 | 3 | [Hello World](/hello-world) -------------------------------------------------------------------------------- /examples/sveltekit/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /.svelte-kit 4 | /package 5 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/@_lang/@at/blog/index.svelte: -------------------------------------------------------------------------------- 1 | @at/blog/index 2 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/@_lang/@de/@xmas/index.svelte: -------------------------------------------------------------------------------- 1 | german xmas index 2 | -------------------------------------------------------------------------------- /test/integration/routify/example/admin/_reset.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /typings/lib/common/debugMsg.d.ts: -------------------------------------------------------------------------------- 1 | export function routeHasChangedMsg(route: any): void; 2 | -------------------------------------------------------------------------------- /examples/starter-vitest/src/routes/index.md: -------------------------------------------------------------------------------- 1 | # Routify 3 App 2 | 3 | [Hello World](/hello-world) -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/landing-page/cart/index.svelte: -------------------------------------------------------------------------------- 1 |

Checkout

2 | -------------------------------------------------------------------------------- /test/integration/meta/example/page/hello.svelte: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/metaFromFile/spec/metaFromFile/metaFromFile.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/landing-page/cart/index.svelte: -------------------------------------------------------------------------------- 1 |

Checkout

2 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/multi-router/_card/weather/[city]/history/annual.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/multi-router/_card/weather/[city]/history/monthly.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/themes/spec/example/@_lang/@de/@xmas/dexmasonly.svelte: -------------------------------------------------------------------------------- 1 | german xmas only index 2 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/_module.md: -------------------------------------------------------------------------------- 1 | [go to leaf](/decorators/red/blue/green) 2 | -------------------------------------------------------------------------------- /examples/starter/src/types.d.ts: -------------------------------------------------------------------------------- 1 | interface User { 2 | username: string; 3 | isGuest: boolean; 4 | } -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/__index.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | INDEX 4 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/red/blue/green/index.md: -------------------------------------------------------------------------------- 1 | 2 | hello -------------------------------------------------------------------------------- /examples/portfolio/src/pages/1.home/index.svelte: -------------------------------------------------------------------------------- 1 |
2 |

Svelte Summit 2021

3 |
4 | -------------------------------------------------------------------------------- /examples/starter-svelte-5-triplit/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | triplit/.data 4 | .routify -------------------------------------------------------------------------------- /examples/starter-svelte-5/src/routes/hello-world.svelte: -------------------------------------------------------------------------------- 1 |

Hello world!

2 | 3 | Back 4 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/src/app.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /test/e2e/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module", 3 | "workspaces": [ 4 | "**/app" 5 | ] 6 | } -------------------------------------------------------------------------------- /examples/express-modular/packages/client/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 |

Welcome to Your New Routify 3 Project!

2 | -------------------------------------------------------------------------------- /examples/portfolio/src/pages/3.about-me/_module.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/README.md: -------------------------------------------------------------------------------- 1 | This folder can be freely deleted when you no longer need the examples. -------------------------------------------------------------------------------- /test/e2e/an-app/app/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 |
2 |

Hello world

3 |
4 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/devHelper/styles.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: string; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /typings/lib/runtime/Global/BrowserAdapter.d.ts: -------------------------------------------------------------------------------- 1 | export function createBrowserAdapter(opts: any): BrowserAdapter; 2 | -------------------------------------------------------------------------------- /typings/types/utils.d.ts: -------------------------------------------------------------------------------- 1 | export type MaybeArray = T | T[]; 2 | export type MaybePromise = T | Promise; 3 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/README.md: -------------------------------------------------------------------------------- 1 | This folder can be freely deleted when you no longer need the examples. -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-slot/3.features/index.md: -------------------------------------------------------------------------------- 1 | ## Features 2 | 3 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/src/app.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/src/app.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /examples/feathersjs/packages/frontend/src/types.d.ts: -------------------------------------------------------------------------------- 1 | interface User { 2 | username: string; 3 | isGuest: boolean; 4 | } -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-slot/2.hero/index.md: -------------------------------------------------------------------------------- 1 | 4 | 5 | # HERO 6 | -------------------------------------------------------------------------------- /examples/portfolio/static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/portfolio/static/favicon.png -------------------------------------------------------------------------------- /examples/starter-svelte-5/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 |

Routify 3 App

2 | 3 | Hello World 4 | -------------------------------------------------------------------------------- /examples/starter-ts/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/starter-ts/public/favicon.ico -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/landing-page/cart/_module.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/sveltekit/static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/sveltekit/static/favicon.png -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/filemapper/utils.d.ts: -------------------------------------------------------------------------------- 1 | export function nameFilter(names: string[]): (node: any) => boolean; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/plugins/reset/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function _default(): RoutifyRuntimePlugin; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/landing-page/cart/_module.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/watcher/watcher.d.ts: -------------------------------------------------------------------------------- 1 | export function watcher({ instance }: RoutifyBuildtimePayload): Promise; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/plugins/scroller/plugin.d.ts: -------------------------------------------------------------------------------- 1 | declare function _default(): RoutifyRuntimePlugin; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /examples/microframework/app/src/routes/_module.md: -------------------------------------------------------------------------------- 1 | [internal-module](/internal-module) 2 | [external-module](/external-module) 3 | -------------------------------------------------------------------------------- /examples/starter-ts/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |

{name}

6 | -------------------------------------------------------------------------------- /typings/lib/extra/vite-plugin/devServer.d.ts: -------------------------------------------------------------------------------- 1 | export function devServer(server: any, options: Partial): () => any; 2 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/multi-router/_module.md: -------------------------------------------------------------------------------- 1 | [basic](/multi-router/basic) 2 | [rootNode](/multi-router/rootnode) 3 | 4 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/filemapper/lib/utils/filenameToOptions.d.ts: -------------------------------------------------------------------------------- 1 | export function filenameToOptions(node: RNodeBuildtime): void; 2 | -------------------------------------------------------------------------------- /typings/lib/runtime/plugins/stripTrailingIndex/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function _default(): RoutifyRuntimePlugin; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /examples/express/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'express', 3 | description: 'A Routify starter template with Express', 4 | } 5 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/__decorators/Red.svelte: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | -------------------------------------------------------------------------------- /examples/subpath/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/typescript-tailwind/public/favicon.ico -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/bundler/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const bundlerPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/exporter/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const exporterPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/filemapper/lib/utils/createRoot404.d.ts: -------------------------------------------------------------------------------- 1 | export function createRoot404(rootNode: RNode, routifyDir: any): void; 2 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/omitNode/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const omitNodePlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/watcher/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const watcherPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/extra/vite-plugin/previewServer.d.ts: -------------------------------------------------------------------------------- 1 | export function previewServer(server: any, options: Partial): () => void; 2 | -------------------------------------------------------------------------------- /examples/experiment/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/feathersjs/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'feathersjs', 3 | description: 'A Routify starter template with FeathersJS', 4 | } 5 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/__decorators/Blue.svelte: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/__decorators/Green.svelte: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | -------------------------------------------------------------------------------- /examples/multi-router/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/starter-ts/src/main.ts: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/devHelper/helper.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const devHelperPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/filemapper/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const filemapperPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/filemapper/lib/utils/moveModuleToParentNode.d.ts: -------------------------------------------------------------------------------- 1 | export function moveModuleToParentNode(node: RNodeBuildtime): void; 2 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/metaSplit/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const metaSplitPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /examples/buildtime-data/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/experiment/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /examples/feathersjs/packages/backend/backend.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/feathersjs/packages/backend/backend.sqlite -------------------------------------------------------------------------------- /examples/kitchensink/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'kitchensink', 3 | description: 'A Routify kitchensink with random experiments', 4 | } 5 | -------------------------------------------------------------------------------- /examples/microframework/app/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/portfolio/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /.svelte-kit 4 | /.routify 5 | /package 6 | 7 | .vercel 8 | .vercel_build_output 9 | .history -------------------------------------------------------------------------------- /examples/starter-mobile/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'starter-mobile', 3 | description: 'A Routify starter for mobile devices.', 4 | } 5 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/metaFromFile/spec/metaFromFile/example/externalMeta.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/metaFromFile/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const metaFromFilePlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/metaPersist/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const metaPersistPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/themes/index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @type {RoutifyBuildtimePlugin} 3 | **/ 4 | export const themesPlugin: RoutifyBuildtimePlugin; 5 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/misc.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Misc. 3 | about: For the non-conformists 4 | title: '' 5 | labels: 'needs triage' 6 | assignees: '' 7 | 8 | --- 9 | -------------------------------------------------------------------------------- /examples/microframework/module/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ target: document.body }) 4 | 5 | export default app 6 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/multi-router/_module.svelte: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/typescript-tailwind-cypress/public/favicon.ico -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/filemapper/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | export function filemapper({ instance }: { 2 | instance: RoutifyBuildtime; 3 | }): Promise; 4 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/omitFromPath/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {RoutifyBuildtimePlugin} */ 2 | export const omitDirFromPathPlugin: RoutifyBuildtimePlugin; 3 | -------------------------------------------------------------------------------- /examples/feathersjs/packages/frontend/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | new App({ 4 | target: document.body, 5 | hydrate: true, 6 | }) 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/typescript-tailwind-playwright/public/favicon.ico -------------------------------------------------------------------------------- /examples/express-modular/packages/client/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "trailingComma": "all", 5 | "printWidth": 120 6 | } -------------------------------------------------------------------------------- /examples/starter-svelte-5/src/main.js: -------------------------------------------------------------------------------- 1 | import { hydrate } from 'svelte' 2 | import App from './App.svelte' 3 | 4 | hydrate(App, { 5 | target: document.body, 6 | }) 7 | -------------------------------------------------------------------------------- /examples/starter/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | -------------------------------------------------------------------------------- /lib/runtime/decorators/index.js: -------------------------------------------------------------------------------- 1 | export { default as debug } from './Debug.svelte' 2 | export { default as noop } from './Noop.svelte' 3 | export * from './transition.js' 4 | -------------------------------------------------------------------------------- /examples/express/client/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | -------------------------------------------------------------------------------- /examples/multi-router/src/routes/_module.svelte: -------------------------------------------------------------------------------- 1 |

Routify 3 App

2 | [home] 3 | [page with widget] 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/starter/src/routes/_module.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/e2e/an-app/app/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | -------------------------------------------------------------------------------- /typings/lib/runtime/Router/urlReflectors/Internal.d.ts: -------------------------------------------------------------------------------- 1 | export class InternalReflector extends BaseReflector { 2 | } 3 | import { BaseReflector } from './ReflectorBase.js'; 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | examples/package-lock.json 3 | test/package-lock.json 4 | site/package-lock.json 5 | temp 6 | .history 7 | .routify 8 | build 9 | dist 10 | .idea -------------------------------------------------------------------------------- /examples/express/client/routes/_module.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/portfolio/src/pages/index.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /examples/starter-svelte-5-triplit/src/main.js: -------------------------------------------------------------------------------- 1 | import { hydrate } from 'svelte' 2 | import App from './App.svelte' 3 | 4 | hydrate(App, { 5 | target: document.body, 6 | }) 7 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/auth-example/admin/index.svelte: -------------------------------------------------------------------------------- 1 |
2 |

Admin

3 | 4 |

Nothing to see here, yet...

5 |
6 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/src/main.ts: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | import './app.css'; 3 | 4 | const app = new App({ target: document.body }) 5 | 6 | export default app 7 | -------------------------------------------------------------------------------- /typings/lib/runtime/utils/messages.d.ts: -------------------------------------------------------------------------------- 1 | export function noRoutesMapProvided(name: any): string; 2 | export function handleRebuildError(context: any, childContexts: any): never; 3 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/auth-example/admin/index.svelte: -------------------------------------------------------------------------------- 1 |
2 |

Admin

3 | 4 |

Nothing to see here, yet...

5 |
6 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'typescript-tailwind', 3 | description: 'A Routify starter template with TypeScript and TailwindCSS', 4 | } 5 | -------------------------------------------------------------------------------- /typings/lib/runtime/decorators/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default as debug } from "./Debug.svelte"; 2 | export { default as noop } from "./Noop.svelte"; 3 | export * from "./transition.js"; 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "esbenp.prettier-vscode", 4 | "svelte.svelte-vscode", 5 | "christian-kohler.npm-intellisense", 6 | ] 7 | } -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/src/main.ts: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | import './app.css' 3 | 4 | const app = new App({ target: document.body }) 5 | 6 | export default app 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/src/main.ts: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | import './app.css' 3 | 4 | const app = new App({ target: document.body }) 5 | 6 | export default app 7 | -------------------------------------------------------------------------------- /plugins/index.js: -------------------------------------------------------------------------------- 1 | import { flexMapsPlugin } from './flexMap/index.js' 2 | import indexByPrefixPlugin from './indexByPrefix/index.js' 3 | 4 | export { flexMapsPlugin, indexByPrefixPlugin } 5 | -------------------------------------------------------------------------------- /examples/experiment/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/express-modular/packages/client/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | -------------------------------------------------------------------------------- /examples/multi-router/src/widget/_module.svelte: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /lib/runtime/decorators/AnchorDecorator.d.ts: -------------------------------------------------------------------------------- 1 | export type Location = 2 | | 'wrapper' 3 | | 'header' 4 | | 'parent' 5 | | 'firstChild' 6 | | ((elem: HTMLElement) => HTMLElement) 7 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/metaFromFile/utils.d.ts: -------------------------------------------------------------------------------- 1 | export function printReservedWarnings(meta: { 2 | node: RNodeBuildtime; 3 | meta: any; 4 | }[], instance: RoutifyBuildtime): void; 5 | -------------------------------------------------------------------------------- /examples/buildtime-data/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/feathersjs/packages/frontend/src/routes/_module.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/composition/_module.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |

Default module

6 | 7 | -------------------------------------------------------------------------------- /examples/subpath/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |

Subpath Example

6 | 7 | {$url('../foo')} 8 | -------------------------------------------------------------------------------- /typings/plugins/index.d.ts: -------------------------------------------------------------------------------- 1 | import { flexMapsPlugin } from './flexMap/index.js'; 2 | import indexByPrefixPlugin from './indexByPrefix/index.js'; 3 | export { flexMapsPlugin, indexByPrefixPlugin }; 4 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/paths/[country]-[language]/[post]/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | {JSON.stringify($params, null, 2)}
7 | 
-------------------------------------------------------------------------------- /examples/starter-mobile/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | import './styles.css' 3 | 4 | new App({ 5 | target: document.body, 6 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 7 | }) 8 | -------------------------------------------------------------------------------- /examples/starter-ts/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/sveltekit/src/pages/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |

Welcome to SvelteKit + Routify

6 | a page 7 | -------------------------------------------------------------------------------- /types/utils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @template T 3 | * @typedef { T | T[] } MaybeArray 4 | */ 5 | 6 | /** 7 | * @template T 8 | * @typedef { T | Promise } MaybePromise 9 | */ 10 | 11 | export {} 12 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/composition/reset@/index.svelte: -------------------------------------------------------------------------------- 1 |
Reset
2 | 3 |

4 | This file reset@/index.svelteclears all parent modules from the render 5 | tree 6 |

7 | -------------------------------------------------------------------------------- /examples/microframework/module/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'typescript-tailwind-cypress', 3 | description: 'A Routify starter template with TypeScript, TailwindCSS and Cypress', 4 | } 5 | -------------------------------------------------------------------------------- /examples/kitchensink/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | 8 | export default app 9 | -------------------------------------------------------------------------------- /examples/microframework/module/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |

Module A

6 | 7 | external-page 8 | -------------------------------------------------------------------------------- /examples/starter-old/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | 8 | export default app 9 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/watcher/index.js: -------------------------------------------------------------------------------- 1 | import { watcher } from './watcher.js' 2 | 3 | /** @type {RoutifyBuildtimePlugin} */ 4 | export const watcherPlugin = { 5 | build: watcher, 6 | name: 'watcher', 7 | } 8 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/_module.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 |
7 | 8 |
9 | -------------------------------------------------------------------------------- /examples/starter-mobile/src/styles.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Prevent rubberband effect when swiping out of bounds 3 | */ 4 | html { 5 | width: 100%; 6 | height: 100%; 7 | overflow: hidden; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /examples/starter-svelte-5-triplit/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'starter-svelte-5-triplit', 3 | description: 4 | 'A Svelte 5 starter template with Triplit for local-first, realtime apps', 5 | } 6 | -------------------------------------------------------------------------------- /examples/starter-vitest/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte' 2 | 3 | const app = new App({ 4 | target: document.body, 5 | hydrate: import.meta.env.ROUTIFY_SSR_ENABLE, 6 | }) 7 | 8 | export default app 9 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'typescript-tailwind-playwright', 3 | description: 'A Routify starter template with TypeScript, TailwindCSS and Playwright', 4 | } 5 | -------------------------------------------------------------------------------- /typings/lib/buildtime/plugins/bundler/bundler.d.ts: -------------------------------------------------------------------------------- 1 | export function createBundles(node: RNodeBuildtime, outputDir: any): Promise; 2 | export function bundler({ instance }: RoutifyBuildtimePayload): Promise; 3 | -------------------------------------------------------------------------------- /examples/feathersjs/packages/backend/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "tabWidth": 2, 3 | "useTabs": false, 4 | "printWidth": 110, 5 | "semi": false, 6 | "trailingComma": "none", 7 | "singleQuote": true, 8 | "parser": "babel" 9 | } -------------------------------------------------------------------------------- /examples/feathersjs/packages/backend/src/services/index.js: -------------------------------------------------------------------------------- 1 | import { todo } from './todo/todo.js' 2 | 3 | export const services = (app) => { 4 | app.configure(todo) 5 | 6 | // All services will be registered here 7 | } 8 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/red/_module.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | Red (apply red border to each child component) 6 | 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/express-modular/manifest.js: -------------------------------------------------------------------------------- 1 | import { writeFile, rm } from 'fs/promises' 2 | 3 | export default { 4 | name: 'express-modular', 5 | description: 'A Routify starter template with a separate API and frontend', 6 | } 7 | -------------------------------------------------------------------------------- /examples/typescript-tailwind/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |

{name}

7 |
8 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/filemapper/index.js: -------------------------------------------------------------------------------- 1 | import { filemapper } from './lib/index.js' 2 | 3 | /** @type {RoutifyBuildtimePlugin} */ 4 | export const filemapperPlugin = { 5 | name: 'filemapper', 6 | build: filemapper, 7 | } 8 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/decorators/red/blue/_module.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | Blue (apply blue border to each child component) 6 | 7 | -------------------------------------------------------------------------------- /examples/multi-router/src/App.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 |
9 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/__assets/Ilustration_V2_3d_design_modern_pink_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/starter/src/routes/examples/[mode]/__assets/Ilustration_V2_3d_design_modern_pink_1.jpg -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/cypress/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io", 4 | "body": "Fixtures are a great way to mock data for responses to routes" 5 | } 6 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |

{name}

7 |
8 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-playwright/src/routes/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 |

{name}

7 |
8 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/filemapper/utils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * returns an array filter that checks against filename 3 | * @param {string[]} names 4 | */ 5 | export const nameFilter = names => node => node.file && names.includes(node.file.base) 6 | -------------------------------------------------------------------------------- /lib/runtime/decorators/Noop.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/__assets/Ilustration_V2_3d_design_modern_pink_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roxiness/routify/HEAD/examples/express/client/routes/examples/[mode]/__assets/Ilustration_V2_3d_design_modern_pink_1.jpg -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/__assets/open-props/routify.props.zindex.css: -------------------------------------------------------------------------------- 1 | .routify { 2 | --layer-1: 1; 3 | --layer-2: 2; 4 | --layer-3: 3; 5 | --layer-4: 4; 6 | --layer-5: 5; 7 | --layer-important: 2147483647; 8 | } 9 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/bundler/index.js: -------------------------------------------------------------------------------- 1 | import { bundler } from './bundler.js' 2 | 3 | /** @type {RoutifyBuildtimePlugin} */ 4 | export const bundlerPlugin = { 5 | name: 'bundler', 6 | after: 'filemapper', 7 | build: bundler, 8 | } 9 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/metaFromFile/spec/metaFromFile/example/externalMeta.meta.js: -------------------------------------------------------------------------------- 1 | export default async () => ({ 2 | prop: 'value', 3 | nested: { 4 | nestedProp: 'nestedValue', 5 | }, 6 | explicit: "I'm explicit", 7 | }) 8 | -------------------------------------------------------------------------------- /typings/lib/runtime/renderer/utils/normalizeDecorator.d.ts: -------------------------------------------------------------------------------- 1 | export function normalizeDecorator(decorator: DecoratorInput): Decorator; 2 | export function normalizeWrapper(wrapper: any): any; 3 | export * from "./normalizeInline.js"; 4 | -------------------------------------------------------------------------------- /typings/plugins/indexByPrefix/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function _default(options: any): { 2 | name: string; 3 | before: string; 4 | build: ({ instance }: { 5 | instance: any; 6 | }) => void; 7 | }; 8 | export default _default; 9 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/__assets/open-props/routify.props.zindex.css: -------------------------------------------------------------------------------- 1 | .routify { 2 | --layer-1: 1; 3 | --layer-2: 2; 4 | --layer-3: 3; 5 | --layer-4: 4; 6 | --layer-5: 5; 7 | --layer-important: 2147483647; 8 | } 9 | -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | 5 | export * from './typings/lib/runtime/index' 6 | -------------------------------------------------------------------------------- /lib/buildtime/plugins/exporter/index.js: -------------------------------------------------------------------------------- 1 | import { exporter } from './exporter.js' 2 | 3 | /** @type {RoutifyBuildtimePlugin} */ 4 | export const exporterPlugin = { 5 | name: 'exporter', 6 | after: 'filemapper', 7 | build: exporter, 8 | } 9 | -------------------------------------------------------------------------------- /examples/starter-svelte-5/manifest.js: -------------------------------------------------------------------------------- 1 | export default { 2 | name: 'starter-svelte-5', 3 | description: 'A basic Routify starter template for Svelte 5', 4 | test: { 5 | tests: [{ page: '/', contains: 'Hello World' }], 6 | }, 7 | } 8 | -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/history/_module.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/kitchensink/src/routes/composition/prepend@custom+/index.svelte: -------------------------------------------------------------------------------- 1 |
Prepend
2 |

3 | This file prepend@custom+/index.svelte prepends the module 4 | _module-custom.svelte to the root of the render tree. 5 |

6 | -------------------------------------------------------------------------------- /examples/typescript-tailwind-cypress/cypress/e2e/spec.cy.ts: -------------------------------------------------------------------------------- 1 | describe('[Home] template spec', () => { 2 | it('passes', () => { 3 | cy.visit('http://localhost:1337/'); 4 | 5 | cy.get('h1').should('have.text', 'Routify 3'); 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /examples/express/client/routes/examples/[mode]/__assets/open-props/extra/normalize.light.css: -------------------------------------------------------------------------------- 1 | @import "theme.light.css"; 2 | @import "brand.css"; 3 | @import "normalize.src.css"; 4 | 5 | :where(.routify) { 6 | --shadow-color: 220 3% 15%; 7 | --shadow-strength: 1%; 8 | } -------------------------------------------------------------------------------- /examples/feathersjs/packages/backend/config/custom-environment-variables.json: -------------------------------------------------------------------------------- 1 | { 2 | "port": { 3 | "__name": "PORT", 4 | "__format": "number" 5 | }, 6 | "host": "HOSTNAME", 7 | "authentication": { 8 | "secret": "FEATHERS_SECRET" 9 | } 10 | } -------------------------------------------------------------------------------- /examples/starter/src/routes/examples/[mode]/__assets/open-props/extra/normalize.light.css: -------------------------------------------------------------------------------- 1 | @import "theme.light.css"; 2 | @import "brand.css"; 3 | @import "normalize.src.css"; 4 | 5 | :where(.routify) { 6 | --shadow-color: 220 3% 15%; 7 | --shadow-strength: 1%; 8 | } -------------------------------------------------------------------------------- /examples/express-modular/packages/client/src/routes/_module.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 |