site: update svelte and sapper, remove shimport hack

pull/2662/head
Conduitry 6 years ago
parent d0d54b792a
commit 1008c69cd4

@ -4801,22 +4801,22 @@
} }
}, },
"sapper": { "sapper": {
"version": "0.26.0-alpha.12", "version": "0.26.0",
"resolved": "https://registry.npmjs.org/sapper/-/sapper-0.26.0-alpha.12.tgz", "resolved": "https://registry.npmjs.org/sapper/-/sapper-0.26.0.tgz",
"integrity": "sha512-NEXr6Eu5jawY76N5IEQhKMKhcZW6+42E2alH4J8DxFMmOI7Gi2nlwCQ2jcZv7q/S+zMP+OSuqE44c94A5u1H8Q==", "integrity": "sha512-KdouvzoCeCLirGwlf6U1KwT8GDTFNtK9KEQRFV8bQvNJQzwqS7+QyPAK8Z2MnR7gamluo+bDx84cTtnHD9I/mQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"html-minifier": "^3.5.21", "html-minifier": "^3.5.21",
"http-link-header": "^1.0.2", "http-link-header": "^1.0.2",
"shimport": "0.0.14", "shimport": "^1.0.0",
"sourcemap-codec": "^1.4.4", "sourcemap-codec": "^1.4.4",
"string-hash": "^1.1.3" "string-hash": "^1.1.3"
}, },
"dependencies": { "dependencies": {
"shimport": { "shimport": {
"version": "0.0.14", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/shimport/-/shimport-0.0.14.tgz", "resolved": "https://registry.npmjs.org/shimport/-/shimport-1.0.0.tgz",
"integrity": "sha512-JfzpHhyZ6CYuPYUSitFNw2/IxWEABLN1chs9xDHnn4tPXXCmfIn1METCmIl8Vwvm2FZGW7b8WB4zMCKaJEhY6A==", "integrity": "sha512-XKd+39voZT1rFR1ct+pr8sFSYAW6IvM3LeF87FrgcGHc/uSZ4GfOZVA42LE5LXFOpTWgmDC5sS8DNDtiV4Vd4Q==",
"dev": true "dev": true
} }
} }
@ -4923,12 +4923,6 @@
"rechoir": "^0.6.2" "rechoir": "^0.6.2"
} }
}, },
"shimport": {
"version": "0.0.16",
"resolved": "https://registry.npmjs.org/shimport/-/shimport-0.0.16.tgz",
"integrity": "sha512-CvIeFZUtTEMFE5R7ARIMXdpcEr7Y1DujDXoTd0xvNLH4arn+wUBLCtkSk8KyuVo9SgAcemMswO+DCOjWPCFqrw==",
"dev": true
},
"signal-exit": { "signal-exit": {
"version": "3.0.2", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
@ -5264,9 +5258,9 @@
} }
}, },
"svelte": { "svelte": {
"version": "3.0.0-beta.28", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-3.0.0-beta.28.tgz", "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.1.0.tgz",
"integrity": "sha512-CUHT2l7vmukmutfoyALIed+prGRIe9PzGrGfY5ZTUq9NhB3sfYuZ5GctceYQze/e9rV8EEkrmJamWQldvn7l3A==", "integrity": "sha512-b5TyzV7Dx1ijN4QPNarhKq5rX98QHDmi18nF0G8KV3d5KX3Jj98Yu4+tzM97ktnXcfoVJmvONvPaX1ZI0mr8Dw==",
"dev": true "dev": true
}, },
"tar": { "tar": {

@ -4,8 +4,7 @@
"description": "Docs and examples for Svelte", "description": "Docs and examples for Svelte",
"scripts": { "scripts": {
"dev": "sapper dev", "dev": "sapper dev",
"sapper": "sapper build --legacy && npm run update_shimport", "sapper": "sapper build --legacy",
"update_shimport": "cp node_modules/shimport/index.js __sapper__/build/client/shimport@0.0.14.js",
"update": "node scripts/update_template.js && node scripts/get-contributors.js", "update": "node scripts/update_template.js && node scripts/get-contributors.js",
"start": "node __sapper__/build", "start": "node __sapper__/build",
"cy:run": "cypress run", "cy:run": "cypress run",
@ -55,9 +54,8 @@
"rollup-plugin-replace": "^2.1.0", "rollup-plugin-replace": "^2.1.0",
"rollup-plugin-svelte": "^5.0.3", "rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-terser": "^4.0.4", "rollup-plugin-terser": "^4.0.4",
"sapper": "^0.26.0-alpha.12", "sapper": "^0.26.0",
"shimport": "0.0.16", "svelte": "^3.1.0"
"svelte": "^3.0.0-beta.28"
}, },
"engines": { "engines": {
"node": ">=10.0.0" "node": ">=10.0.0"

Loading…
Cancel
Save