-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SvelteKit migration #349
base: main
Are you sure you want to change the base?
SvelteKit migration #349
Commits on Jul 5, 2022
-
Perform initial transformation to SvelteKit
This is a mega-commit since everything is tied together (it is a framework migration after all), but it mostly consists of renames and minor adjustments. This includes the following: - Move files to the appropriate locations for SvelteKit - Change any "attractions" imports in docs to use "$lib" - Define aliases in CSS without a custom importer (for client usage) - Move SCSS of component docs (`.svx` files) into the component itself (path aliases didn't work here) - Remove clipboard-polyfill
Configuration menu - View commit details
-
Copy full SHA for 918cdad - Browse repository at this point
Copy the full SHA 918cdadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb4478 - Browse repository at this point
Copy the full SHA 2bb4478View commit details -
Configuration menu - View commit details
-
Copy full SHA for c201cca - Browse repository at this point
Copy the full SHA c201ccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for de5777a - Browse repository at this point
Copy the full SHA de5777aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ebde4 - Browse repository at this point
Copy the full SHA c7ebde4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1d6789 - Browse repository at this point
Copy the full SHA f1d6789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33bb1d3 - Browse repository at this point
Copy the full SHA 33bb1d3View commit details -
Fix possible undefined property access
When segment is an empty string
Configuration menu - View commit details
-
Copy full SHA for 740c1de - Browse repository at this point
Copy the full SHA 740c1deView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecac770 - Browse repository at this point
Copy the full SHA ecac770View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4c2eb - Browse repository at this point
Copy the full SHA ac4c2ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60c9b81 - Browse repository at this point
Copy the full SHA 60c9b81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89b1a09 - Browse repository at this point
Copy the full SHA 89b1a09View commit details -
Replace JSDoc w/ type annotation in required props
Using the RegEx `\* @type \{([\S\r]*)\}\s+(\*\/\s+export let \w+);` with replacement `$2: $1;`
Configuration menu - View commit details
-
Copy full SHA for a85cf1e - Browse repository at this point
Copy the full SHA a85cf1eView commit details -
Replace all
_class
JSDoc annotation with TS typeUsing the RegEx `\* @type \{(.*)\}\n.*(\s+export let \w+Class)` with replacement `*/$2: $1`
Configuration menu - View commit details
-
Copy full SHA for e81193b - Browse repository at this point
Copy the full SHA e81193bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5383f0d - Browse repository at this point
Copy the full SHA 5383f0dView commit details -
Replace JSDoc with TS types for optional props
that cannot be trivially inferred Using RegEx `\* @type \{(.+)\}\s+\*\/(\n\s*export let \w+) =` replaced with `*/$2: $1 =`
Configuration menu - View commit details
-
Copy full SHA for f54c434 - Browse repository at this point
Copy the full SHA f54c434View commit details -
Replace more JSDoc annotations with proper TS
Mainly in local variables and function parameters and remove empty JSDoc comments
Configuration menu - View commit details
-
Copy full SHA for 3a0fb8f - Browse repository at this point
Copy the full SHA 3a0fb8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcbffa4 - Browse repository at this point
Copy the full SHA fcbffa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0e7d3 - Browse repository at this point
Copy the full SHA ef0e7d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a59495 - Browse repository at this point
Copy the full SHA 0a59495View commit details -
Configuration menu - View commit details
-
Copy full SHA for 534605d - Browse repository at this point
Copy the full SHA 534605dView commit details
Commits on Jul 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2c7dae7 - Browse repository at this point
Copy the full SHA 2c7dae7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f181c8 - Browse repository at this point
Copy the full SHA 2f181c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f7aa3 - Browse repository at this point
Copy the full SHA c0f7aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fd8936 - Browse repository at this point
Copy the full SHA 5fd8936View commit details -
Configuration menu - View commit details
-
Copy full SHA for f330786 - Browse repository at this point
Copy the full SHA f330786View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a6c9f0 - Browse repository at this point
Copy the full SHA 2a6c9f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 149b901 - Browse repository at this point
Copy the full SHA 149b901View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b15d7a - Browse repository at this point
Copy the full SHA 8b15d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e30b85c - Browse repository at this point
Copy the full SHA e30b85cView commit details -
Automatically replace links with absolute URLs
Using the RegEx `(?<=<script lang="ts">)((.|\r|\n)+)\(\.\/docs` replaced with `\n import { base } from '$app/paths';$1({base}/docs` inside the `routes` directory. Followed by a simple replacement of `\(\.\/docs` with `({base}/docs` to handle multiple occurences in one file
Configuration menu - View commit details
-
Copy full SHA for 2f62f92 - Browse repository at this point
Copy the full SHA 2f62f92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c1b03d - Browse repository at this point
Copy the full SHA 9c1b03dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 431cb8e - Browse repository at this point
Copy the full SHA 431cb8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af914b3 - Browse repository at this point
Copy the full SHA af914b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 168c1f1 - Browse repository at this point
Copy the full SHA 168c1f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db2d0b - Browse repository at this point
Copy the full SHA 6db2d0bView commit details -
For the default caching mechanism to work, probably
Configuration menu - View commit details
-
Copy full SHA for 9b959f4 - Browse repository at this point
Copy the full SHA 9b959f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46adf32 - Browse repository at this point
Copy the full SHA 46adf32View commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ea541b6 - Browse repository at this point
Copy the full SHA ea541b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2be504 - Browse repository at this point
Copy the full SHA e2be504View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c9a57c - Browse repository at this point
Copy the full SHA 7c9a57cView commit details
Commits on Jul 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3717dab - Browse repository at this point
Copy the full SHA 3717dabView commit details -
Configuration menu - View commit details
-
Copy full SHA for f64ba34 - Browse repository at this point
Copy the full SHA f64ba34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b7e879 - Browse repository at this point
Copy the full SHA 5b7e879View commit details -
Fix type errors here and there
Mostly just type-casting, ensuring compatibility, and making use of flow analysis with type guards
Configuration menu - View commit details
-
Copy full SHA for 4ca4d64 - Browse repository at this point
Copy the full SHA 4ca4d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 738703a - Browse repository at this point
Copy the full SHA 738703aView commit details
Commits on Jul 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 097eab4 - Browse repository at this point
Copy the full SHA 097eab4View commit details
Commits on Jul 22, 2022
-
Merge pull request #350 from benmccann/sapper-references
update Sapper references
Configuration menu - View commit details
-
Copy full SHA for 50bacb2 - Browse repository at this point
Copy the full SHA 50bacb2View commit details
Commits on Jul 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0c93a29 - Browse repository at this point
Copy the full SHA 0c93a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 560a3df - Browse repository at this point
Copy the full SHA 560a3dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c66a69 - Browse repository at this point
Copy the full SHA 6c66a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3f2018 - Browse repository at this point
Copy the full SHA a3f2018View commit details -
Replace complex types with
ComponentType
helperAnd `ComponentProps` as well
Configuration menu - View commit details
-
Copy full SHA for ce1593e - Browse repository at this point
Copy the full SHA ce1593eView commit details
Commits on Aug 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 11380ba - Browse repository at this point
Copy the full SHA 11380baView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef1d8ad - Browse repository at this point
Copy the full SHA ef1d8adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f9571 - Browse repository at this point
Copy the full SHA 32f9571View commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for af3013f - Browse repository at this point
Copy the full SHA af3013fView commit details
Commits on Dec 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4367a14 - Browse repository at this point
Copy the full SHA 4367a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6ed3de - Browse repository at this point
Copy the full SHA e6ed3deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da9987 - Browse repository at this point
Copy the full SHA 5da9987View commit details