From 6405c3787614bcb08b88a2e72a1e094a50724784 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 27 Nov 2018 10:32:55 -0500 Subject: [PATCH 1/9] update deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 59ae3e8..3a94244 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "rollup": "^0.66.2", "rollup-plugin-commonjs": "^9.1.8", "rollup-plugin-node-resolve": "^3.4.0", - "rollup-plugin-svelte": "^4.3.1", + "rollup-plugin-svelte": "^4.4.0", "rollup-plugin-terser": "^3.0.0", "sirv-cli": "^0.2.2", - "svelte": "^2.13.5" + "svelte": "^3.0.0-alpha1" }, "scripts": { "build": "rollup -c", From 88a04a80073c2877ad383303a09d28f55c9b5377 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 27 Nov 2018 10:33:58 -0500 Subject: [PATCH 2/9] data -> props --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index c804cee..d17df8a 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,7 @@ import App from './App.html'; const app = new App({ target: document.body, - data: { + props: { name: 'world' } }); From 3607b8b2c1becf85df699cf3e24de13b8aee8c00 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 9 Dec 2018 09:14:51 -0500 Subject: [PATCH 3/9] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3a94244..9cbe343 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "rollup-plugin-svelte": "^4.4.0", "rollup-plugin-terser": "^3.0.0", "sirv-cli": "^0.2.2", - "svelte": "^3.0.0-alpha1" + "svelte": "^3.0.0-alpha2" }, "scripts": { "build": "rollup -c", From 01f0e234b4f9d9d5348fa3341ee5f5e88aaf736a Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 8 Feb 2019 19:43:39 -0500 Subject: [PATCH 4/9] .html -> .svelte --- src/{App.html => App.svelte} | 0 src/main.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{App.html => App.svelte} (100%) diff --git a/src/App.html b/src/App.svelte similarity index 100% rename from src/App.html rename to src/App.svelte diff --git a/src/main.js b/src/main.js index d17df8a..d6cacbb 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -import App from './App.html'; +import App from './App.svelte'; const app = new App({ target: document.body, From 8516c0ec3ca1e0003571d4acd14c72e3dc9682a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20S=C3=A1nchez=20Ortega?= Date: Wed, 20 Feb 2019 17:31:32 +0100 Subject: [PATCH 5/9] Update rollup.config.js for deprecated Sveltev3 options This removes some now deprecated options in Svelte - having these in a rollup config will make the build fail with a `(svelte plugin) Error: Unrecognized option 'skipIntroByDefault'` error. --- rollup.config.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index d9aa427..0c83c8b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -15,10 +15,6 @@ export default { }, plugins: [ svelte({ - // opt in to v3 behaviour today - skipIntroByDefault: true, - nestedTransitions: true, - // enable run-time checks when not in production dev: !production, // we'll extract any component CSS out into From 0c0cd24984a702a2d2b12730971af5cc379dbbf5 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 21 Feb 2019 14:47:01 -0500 Subject: [PATCH 6/9] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9cbe343..6920937 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "rollup-plugin-svelte": "^4.4.0", "rollup-plugin-terser": "^3.0.0", "sirv-cli": "^0.2.2", - "svelte": "^3.0.0-alpha2" + "svelte": "^3.0.0-beta.7" }, "scripts": { "build": "rollup -c", From faf9546a83f68a2661db43bd994efc3c67f7b540 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Fri, 22 Feb 2019 08:13:50 -0500 Subject: [PATCH 7/9] update deps --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 6920937..b2bb572 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "name": "svelte-app", "version": "1.0.0", "devDependencies": { - "npm-run-all": "^4.1.3", - "rollup": "^0.66.2", - "rollup-plugin-commonjs": "^9.1.8", - "rollup-plugin-node-resolve": "^3.4.0", - "rollup-plugin-svelte": "^4.4.0", - "rollup-plugin-terser": "^3.0.0", - "sirv-cli": "^0.2.2", + "npm-run-all": "^4.1.5", + "rollup": "^1.2.2", + "rollup-plugin-commonjs": "^9.2.0", + "rollup-plugin-node-resolve": "^4.0.1", + "rollup-plugin-svelte": "^5.0.3", + "rollup-plugin-terser": "^4.0.4", + "sirv-cli": "^0.2.3", "svelte": "^3.0.0-beta.7" }, "scripts": { From a6f7a7d26cdd4ecd45d86f9269c673f9c7dbf35a Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 18 Mar 2019 10:56:06 -0400 Subject: [PATCH 8/9] Update App.svelte --- src/App.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index c943940..0fbce2a 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,7 +1,11 @@ -

Hello {name}!

+ \ No newline at end of file + + +

Hello {name}!

From e8f33ecf2f691f401cc7e22818f48d3fabf8b428 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sun, 21 Apr 2019 09:10:35 -0400 Subject: [PATCH 9/9] update dependencies --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b2bb572..a251f34 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,13 @@ "version": "1.0.0", "devDependencies": { "npm-run-all": "^4.1.5", - "rollup": "^1.2.2", - "rollup-plugin-commonjs": "^9.2.0", - "rollup-plugin-node-resolve": "^4.0.1", + "rollup": "^1.10.1", + "rollup-plugin-commonjs": "^9.3.4", + "rollup-plugin-node-resolve": "^4.2.3", "rollup-plugin-svelte": "^5.0.3", "rollup-plugin-terser": "^4.0.4", - "sirv-cli": "^0.2.3", - "svelte": "^3.0.0-beta.7" + "sirv-cli": "^0.3.1", + "svelte": "^3.0.0" }, "scripts": { "build": "rollup -c",