From 51356632bcd3c0d43a5254977b11bcbd5d5545f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Camargo=20Rodr=C3=ADguez?= Date: Sun, 4 Sep 2022 17:42:31 +0200 Subject: [PATCH 1/2] Improved readme --- 00-boiler-typescript/{Readme.md => README.md} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename 00-boiler-typescript/{Readme.md => README.md} (59%) diff --git a/00-boiler-typescript/Readme.md b/00-boiler-typescript/README.md similarity index 59% rename from 00-boiler-typescript/Readme.md rename to 00-boiler-typescript/README.md index 6be0cfb..3f37107 100644 --- a/00-boiler-typescript/Readme.md +++ b/00-boiler-typescript/README.md @@ -1,24 +1,24 @@ # Summary -In this example, we will create a project from scratch using _deGit_ +In this example we will create a project from scratch using _vite_ and then add support for _TypeScript_ # Step By Step Guide -First let's create our project, we will call it "example-app", +First let's create our project, we will call it "example-app": ```bash npm init vite ``` -Let's let install the vite tooling then you will go through a guided process: +Let's let the vite tooling install then you will go through a guided process: - First choose the right project name, e.g. "example-app" - Then choose the framework, in this case _svelte_ and as a variant _svelte-ts_ -A folder has been created (e.g. "example-app"), now you can +A folder has been created (e.g. "example-app"), now you can: ```bash cd example-app @@ -35,8 +35,8 @@ npm run dev - Just one more thing to wrap up this example, to enhance your development experience, I encourage you to install the following VS Code plugins: -- Svelte for Vs Code -- Svelte Intellisense +- [Svelte for Vs Code](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode) +- [Svelte Intellisense](https://marketplace.visualstudio.com/items?itemName=ardenivanov.svelte-intellisense) - And if you use prettier is a good idea to install an additional package to get a good prettier integration when formatting code: From 0532da37fd482052d7331ccdcf0d4d1b593e22fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Camargo=20Rodr=C3=ADguez?= Date: Sat, 24 Sep 2022 17:33:53 +0200 Subject: [PATCH 2/2] Bump svelte version --- 00-boiler-typescript/example-app/package-lock.json | 14 +++++++------- 00-boiler-typescript/example-app/package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/00-boiler-typescript/example-app/package-lock.json b/00-boiler-typescript/example-app/package-lock.json index a8b61ed..4b2b7a2 100644 --- a/00-boiler-typescript/example-app/package-lock.json +++ b/00-boiler-typescript/example-app/package-lock.json @@ -11,7 +11,7 @@ "@sveltejs/vite-plugin-svelte": "^1.0.1", "@tsconfig/svelte": "^3.0.0", "prettier-plugin-svelte": "^2.7.0", - "svelte": "^3.49.0", + "svelte": "^3.50.1", "svelte-check": "^2.8.0", "svelte-preprocess": "^4.10.7", "tslib": "^2.4.0", @@ -1284,9 +1284,9 @@ } }, "node_modules/svelte": { - "version": "3.49.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", - "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==", + "version": "3.50.1", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.50.1.tgz", + "integrity": "sha512-bS4odcsdj5D5jEg6riZuMg5NKelzPtmsCbD9RG+8umU03TeNkdWnP6pqbCm0s8UQNBkqk29w/Bdubn3C+HWSwA==", "dev": true, "engines": { "node": ">= 8" @@ -2295,9 +2295,9 @@ "dev": true }, "svelte": { - "version": "3.49.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", - "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==", + "version": "3.50.1", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.50.1.tgz", + "integrity": "sha512-bS4odcsdj5D5jEg6riZuMg5NKelzPtmsCbD9RG+8umU03TeNkdWnP6pqbCm0s8UQNBkqk29w/Bdubn3C+HWSwA==", "dev": true }, "svelte-check": { diff --git a/00-boiler-typescript/example-app/package.json b/00-boiler-typescript/example-app/package.json index c7b1985..e12b601 100644 --- a/00-boiler-typescript/example-app/package.json +++ b/00-boiler-typescript/example-app/package.json @@ -13,7 +13,7 @@ "@sveltejs/vite-plugin-svelte": "^1.0.1", "@tsconfig/svelte": "^3.0.0", "prettier-plugin-svelte": "^2.7.0", - "svelte": "^3.49.0", + "svelte": "^3.50.1", "svelte-check": "^2.8.0", "svelte-preprocess": "^4.10.7", "tslib": "^2.4.0",