Conv
86c08c6e2e
site: support new folder structure in REPL ( #2945 )
...
* site: support files in directories in /repl/local/
* site: bump @sveltejs/svelte-repl
6 years ago
Richard Harris
baa5fc2625
update svelte-repl (fixes download button)
6 years ago
Richard Harris
a74c2bf973
update svelte-repl
6 years ago
Richard Harris
404220ad14
update svelte-repl version
6 years ago
Conduitry
d548a5a5f4
site: bump sapper
6 years ago
Conduitry
7ebf3477a4
site: bump @sveltejs/svelte-repl
6 years ago
Rich Harris
3f68f97def
fix deps
6 years ago
Conduitry
457320c30b
site: remove chokidar
6 years ago
Luke Edwards
c4c21438b2
site: add yootils
6 years ago
Luke Edwards
1d0da9d022
Use database for REPL, update URL structure ( #2572 )
...
* fix: move `shelljs` to dev-deps
* fix: move `codemirror` to “external” config only
* fix: move `yootils` to “external” config only
* chore: bump “sirv” dep
* chore: regenerate pkg-lock
* chore: add `.env.example` file
* chore: remove previous dependencies
* chore: add users migration
* feat: add `db` util w/ pool
* feat: handle GitHub OAuth directly, thru JWTs
* fix: hydrate `user` data & update keys
* fix: add timestamp columns to “users" table
* feat: save new gists to database
* feat: find & update gists
* fix: update client for new endpoints
* fix: always send { error } shape
* fix: rename “users.token” => "users.github_token”
* chore: include node-fetch as dev-dep
* fix: remove extra DATABASE_URL key
* fix: upload OAuth popup message
* chore: regenerate lock file
* add database entries for new gists, update REPL URLs
* implement saving and forking
* insert history entry when forking
* add logic for relaxed gists
* remove unnecessary on conflict clause
6 years ago
Richard Harris
3ee3576f69
fix wacky layout on mobile - closes #2673
6 years ago
Richard Harris
548fd039d9
update deps
6 years ago
Rich Harris
85b1850b77
Move some stuff into @sveltejs/site-kit
6 years ago
Conduitry
1008c69cd4
site: update svelte and sapper, remove shimport hack
6 years ago
Luca Bonavita
788519b1c4
Site: use pure javascript slugification library
...
This library doesn't support languages but it has only 2 dependencies being free from native dependencies
Closes #2508
6 years ago
Luke Edwards
ae081af54c
Merge branch 'master' into site/polka
6 years ago
Luke Edwards
bc6e456574
chore: bump polka deps
6 years ago
Richard Harris
b3a913a19a
merge
6 years ago
Rich Harris
74a5ef2811
Merge branch 'master' into site/deps
6 years ago
Luke Edwards
4c3499f578
fix(site): remove "dotenv" from runtime
6 years ago
Luke Edwards
18c2e6b675
site: remove “compression” lib;
...
- handled better by Cloudflare
6 years ago
Luke Edwards
030d3c9b0d
site: install & use polka
6 years ago
Luke Edwards
092d0be525
chore: install “polka/send”
6 years ago
Luke Edwards
ece8224085
chore: bump & attach `sirv` dep
6 years ago
Conduitry
a8832f006e
site: remove Now ( #2474 )
6 years ago
Luca Bonavita
39c172ef83
Add examples navigation
...
- move tutorial's ScreenToggle.svelte to src/components and makes it generic (it now accept a list of labels)
- add a navigation util to export getFragment()
- move mapbox_setup, svelteUrl, rollupUrl in a config
- docs/index.svelte: removes an unused import, use getFragment, use onscroll in the second setTimeout
- global.css: add a couple of vars and set width/height on the page
Closes #2460
6 years ago
Richard Harris
982d5daf0b
update lockfile
6 years ago
Rich Harris
787700571e
Merge pull request #2404 from mindrones/2344-fix-translated-slugs
...
Support slug translations in the API docs
6 years ago
Richard Harris
9474631fae
update repl - fixes #2428
6 years ago
Luca Bonavita
c8b2941d81
Support slug translations in the API docs
...
- implement a unicode-preserver processor and a latinizer processor via limax.
The latinizer will maintain the case and the dollar sign so that we get anchors like:
- #$set
- #afterUpdate
- #createEventDispatcher
- config.js:
- use SLUG_PRESERVE_UNICODE to true to build the site so that anchors in /docs preserve unicode chars (for languages like cyrillic)
(see test/utils/slug.js)
- use SLUG_SEPARATOR to easily update slugs in /docs
- use SLUG_LANG to set up the language to translate unicode symbols in anchors:
- de: 'Ich ♥ Deutsch' -> 'ich-liebe-deutsch'
- en: 'Ich ♥ Deutsch' -> 'ich-love-deutsch'
Fixes #2344
6 years ago
Richard Harris
c154641fc9
update shimport
6 years ago
Richard Harris
5bc589297c
update site deps, hack around shimport stuff temporarily
6 years ago
Richard Harris
ab7a1a757a
fix remaining tutorial layout bugs
6 years ago
Richard Harris
8a85955fae
move responsive REPL behaviour into ReplWidget
6 years ago
Richard Harris
c44d495e2f
update @sveltejs/svelte-repl version
6 years ago
Richard Harris
baa6debe53
update svelte-repl
6 years ago
Richard Harris
467cbc3bed
merge master -> external-repl
6 years ago
Richard Harris
c3b4e6c792
use external repl package everywhere
6 years ago
Conduitry
388d5f604a
site: use published version of eslint-plugin-svelte3
6 years ago
Richard Harris
c7f9f514be
use external repl package
6 years ago
Rich Harris
e8b7cd7889
stagger creation of REPL widgets on home page
6 years ago
Conduitry
becb6d4a93
site: update eslint-plugin-svelte3
6 years ago
Richard Harris
b870e65511
add thumbnails to examples page
6 years ago
Richard Harris
ff32efd8d9
update Svelte, fix bug
6 years ago
Rich Harris
4541d58798
Add a tutorial ( #2132 )
6 years ago
Conduitry
7ca4c408e2
site: deps
6 years ago
Richard Harris
c672ad8df7
update Sapper
6 years ago
Conduitry
ca8671c2b4
site: bump eslint-plugin-svelte3
6 years ago
Richard Harris
f710f3bca2
update svelte and sapper, workaround #2127
6 years ago
Richard Harris
fa1322b00b
update Sapper
6 years ago
Rich Harris
e6ed8ef49f
update site, including REPL, to use .svelte
6 years ago
Rich Harris
be3808dd08
fix REPL
6 years ago
Rich Harris
e2ff2f1d66
default to beta version
6 years ago
Richard Harris
a48be00e7f
update to current Sapper alpha
6 years ago
Conduitry
14d41af973
site: update eslint-plugin-svelte3
6 years ago
Rich Harris
3ec5ff77eb
update lockfiles
6 years ago
Conduitry
90a9061684
use tagged versions of eslint-plugin-svelte3
6 years ago
Richard Harris
cab40fde03
update app template, fix downloads
6 years ago
Rich Harris
2be9f7d43f
update svelte and sapper
6 years ago
Rich Harris
4fbc0c0f52
bump alpha version
6 years ago
Rich Harris
29052aba7d
Bring svelte.technology source into main repo
6 years ago