diff --git a/packages/create-monkey/package.json b/packages/create-monkey/package.json index a66cb63..8132f52 100644 --- a/packages/create-monkey/package.json +++ b/packages/create-monkey/package.json @@ -1,6 +1,6 @@ { "name": "create-monkey", - "version": "1.34.0", + "version": "1.35.0", "description": "create-monkey", "main": "index.js", "type": "module", diff --git a/packages/create-monkey/template-empty-ts/package.json b/packages/create-monkey/template-empty-ts/package.json index 94de889..2c9e06d 100644 --- a/packages/create-monkey/template-empty-ts/package.json +++ b/packages/create-monkey/template-empty-ts/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-empty/package.json b/packages/create-monkey/template-empty/package.json index 37a1ba7..e4343e3 100644 --- a/packages/create-monkey/template-empty/package.json +++ b/packages/create-monkey/template-empty/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "devDependencies": { - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-preact-ts/package.json b/packages/create-monkey/template-preact-ts/package.json index 5baf50d..91ee23a 100644 --- a/packages/create-monkey/template-preact-ts/package.json +++ b/packages/create-monkey/template-preact-ts/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@preact/preset-vite": "^2.5.0", "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-preact/package.json b/packages/create-monkey/template-preact/package.json index 37addf3..056acd9 100644 --- a/packages/create-monkey/template-preact/package.json +++ b/packages/create-monkey/template-preact/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@preact/preset-vite": "^2.5.0", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-react-ts/package.json b/packages/create-monkey/template-react-ts/package.json index 1863f8a..e255963 100644 --- a/packages/create-monkey/template-react-ts/package.json +++ b/packages/create-monkey/template-react-ts/package.json @@ -13,11 +13,11 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@types/react": "^18.2.14", - "@types/react-dom": "^18.2.6", - "@vitejs/plugin-react": "^4.0.2", + "@types/react": "^18.2.18", + "@types/react-dom": "^18.2.7", + "@vitejs/plugin-react": "^4.0.4", "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-react/package.json b/packages/create-monkey/template-react/package.json index 837721a..d827174 100644 --- a/packages/create-monkey/template-react/package.json +++ b/packages/create-monkey/template-react/package.json @@ -13,10 +13,10 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@types/react": "^18.2.14", - "@types/react-dom": "^18.2.6", - "@vitejs/plugin-react": "^4.0.2", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "@types/react": "^18.2.18", + "@types/react-dom": "^18.2.7", + "@vitejs/plugin-react": "^4.0.4", + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-solid-ts/package.json b/packages/create-monkey/template-solid-ts/package.json index fb12aac..8d70541 100644 --- a/packages/create-monkey/template-solid-ts/package.json +++ b/packages/create-monkey/template-solid-ts/package.json @@ -10,11 +10,11 @@ }, "devDependencies": { "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0", + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0", "vite-plugin-solid": "^2.7.0" }, "dependencies": { - "solid-js": "^1.7.7" + "solid-js": "^1.7.8" } } diff --git a/packages/create-monkey/template-solid/package.json b/packages/create-monkey/template-solid/package.json index 6bddfdf..a2cf078 100644 --- a/packages/create-monkey/template-solid/package.json +++ b/packages/create-monkey/template-solid/package.json @@ -9,11 +9,11 @@ "preview": "vite preview" }, "devDependencies": { - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0", + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0", "vite-plugin-solid": "^2.7.0" }, "dependencies": { - "solid-js": "^1.7.7" + "solid-js": "^1.7.8" } } diff --git a/packages/create-monkey/template-svelte-ts/dist/vite-svelte-ts-starter.user.js b/packages/create-monkey/template-svelte-ts/dist/vite-svelte-ts-starter.user.js index a4b941b..090a9bc 100644 --- a/packages/create-monkey/template-svelte-ts/dist/vite-svelte-ts-starter.user.js +++ b/packages/create-monkey/template-svelte-ts/dist/vite-svelte-ts-starter.user.js @@ -35,16 +35,6 @@ function safe_not_equal(a, b) { return a != a ? b == b : a !== b || a && typeof a === "object" || typeof a === "function"; } - let src_url_equal_anchor; - function src_url_equal(element_src, url) { - if (element_src === url) - return true; - if (!src_url_equal_anchor) { - src_url_equal_anchor = document.createElement("a"); - } - src_url_equal_anchor.href = url; - return element_src === src_url_equal_anchor.href; - } function is_empty(obj) { return Object.keys(obj).length === 0; } @@ -405,13 +395,6 @@ function create_fragment(ctx) { let main; let div0; - let a0; - let img0; - let img0_src_value; - let t0; - let a1; - let img1; - let img1_src_value; let t1; let h1; let t3; @@ -427,11 +410,7 @@ c() { main = element("main"); div0 = element("div"); - a0 = element("a"); - img0 = element("img"); - t0 = space(); - a1 = element("a"); - img1 = element("img"); + div0.innerHTML = ` `; t1 = space(); h1 = element("h1"); h1.textContent = "Vite + Svelte"; @@ -444,31 +423,12 @@ t8 = space(); p1 = element("p"); p1.textContent = "Click on the Vite and Svelte logos to learn more"; - if (!src_url_equal(img0.src, img0_src_value = viteLogo)) - attr(img0, "src", img0_src_value); - attr(img0, "class", "logo svelte-c9fbf7"); - attr(img0, "alt", "Vite Logo"); - attr(a0, "href", "https://vitejs.dev"); - attr(a0, "target", "_blank"); - attr(a0, "rel", "noreferrer"); - if (!src_url_equal(img1.src, img1_src_value = svelteLogo)) - attr(img1, "src", img1_src_value); - attr(img1, "class", "logo svelte svelte-c9fbf7"); - attr(img1, "alt", "Svelte Logo"); - attr(a1, "href", "https://svelte.dev"); - attr(a1, "target", "_blank"); - attr(a1, "rel", "noreferrer"); attr(div1, "class", "card"); attr(p1, "class", "read-the-docs svelte-c9fbf7"); }, m(target, anchor) { insert(target, main, anchor); append(main, div0); - append(div0, a0); - append(a0, img0); - append(div0, t0); - append(div0, a1); - append(a1, img1); append(main, t1); append(main, h1); append(main, t3); diff --git a/packages/create-monkey/template-svelte-ts/package.json b/packages/create-monkey/template-svelte-ts/package.json index 0b96e83..660a8d2 100644 --- a/packages/create-monkey/template-svelte-ts/package.json +++ b/packages/create-monkey/template-svelte-ts/package.json @@ -10,14 +10,14 @@ "check": "svelte-check --tsconfig ./tsconfig.json" }, "devDependencies": { - "@sveltejs/vite-plugin-svelte": "^2.4.2", + "@sveltejs/vite-plugin-svelte": "^2.4.3", "@tsconfig/svelte": "^5.0.0", - "svelte": "^4.0.5", - "svelte-check": "^3.4.5", + "svelte": "^4.1.2", + "svelte-check": "^3.4.6", "svelte-preprocess": "^5.0.4", - "tslib": "^2.6.0", + "tslib": "^2.6.1", "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-svelte/dist/vite-svelte-starter.user.js b/packages/create-monkey/template-svelte/dist/vite-svelte-starter.user.js index 0e775ec..10ff20c 100644 --- a/packages/create-monkey/template-svelte/dist/vite-svelte-starter.user.js +++ b/packages/create-monkey/template-svelte/dist/vite-svelte-starter.user.js @@ -35,16 +35,6 @@ function safe_not_equal(a, b) { return a != a ? b == b : a !== b || a && typeof a === "object" || typeof a === "function"; } - let src_url_equal_anchor; - function src_url_equal(element_src, url) { - if (element_src === url) - return true; - if (!src_url_equal_anchor) { - src_url_equal_anchor = document.createElement("a"); - } - src_url_equal_anchor.href = url; - return element_src === src_url_equal_anchor.href; - } function is_empty(obj) { return Object.keys(obj).length === 0; } @@ -405,13 +395,6 @@ function create_fragment(ctx) { let main; let div0; - let a0; - let img0; - let img0_src_value; - let t0; - let a1; - let img1; - let img1_src_value; let t1; let h1; let t3; @@ -427,11 +410,7 @@ c() { main = element("main"); div0 = element("div"); - a0 = element("a"); - img0 = element("img"); - t0 = space(); - a1 = element("a"); - img1 = element("img"); + div0.innerHTML = ` `; t1 = space(); h1 = element("h1"); h1.textContent = "Vite + Svelte"; @@ -444,31 +423,12 @@ t8 = space(); p1 = element("p"); p1.textContent = "Click on the Vite and Svelte logos to learn more"; - if (!src_url_equal(img0.src, img0_src_value = viteLogo)) - attr(img0, "src", img0_src_value); - attr(img0, "class", "logo svelte-c9fbf7"); - attr(img0, "alt", "Vite Logo"); - attr(a0, "href", "https://vitejs.dev"); - attr(a0, "target", "_blank"); - attr(a0, "rel", "noreferrer"); - if (!src_url_equal(img1.src, img1_src_value = svelteLogo)) - attr(img1, "src", img1_src_value); - attr(img1, "class", "logo svelte svelte-c9fbf7"); - attr(img1, "alt", "Svelte Logo"); - attr(a1, "href", "https://svelte.dev"); - attr(a1, "target", "_blank"); - attr(a1, "rel", "noreferrer"); attr(div1, "class", "card"); attr(p1, "class", "read-the-docs svelte-c9fbf7"); }, m(target, anchor) { insert(target, main, anchor); append(main, div0); - append(div0, a0); - append(a0, img0); - append(div0, t0); - append(div0, a1); - append(a1, img1); append(main, t1); append(main, h1); append(main, t3); diff --git a/packages/create-monkey/template-svelte/package.json b/packages/create-monkey/template-svelte/package.json index 64c7b0c..9721013 100644 --- a/packages/create-monkey/template-svelte/package.json +++ b/packages/create-monkey/template-svelte/package.json @@ -9,9 +9,9 @@ "preview": "vite preview" }, "devDependencies": { - "@sveltejs/vite-plugin-svelte": "2.4.2", - "svelte": "^4.0.5", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "@sveltejs/vite-plugin-svelte": "2.4.3", + "svelte": "^4.1.2", + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-vanilla-ts/package.json b/packages/create-monkey/template-vanilla-ts/package.json index f44000f..093df7b 100644 --- a/packages/create-monkey/template-vanilla-ts/package.json +++ b/packages/create-monkey/template-vanilla-ts/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-vanilla/package.json b/packages/create-monkey/template-vanilla/package.json index c40ea18..12b28a9 100644 --- a/packages/create-monkey/template-vanilla/package.json +++ b/packages/create-monkey/template-vanilla/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "devDependencies": { - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } } diff --git a/packages/create-monkey/template-vue-ts/package.json b/packages/create-monkey/template-vue-ts/package.json index b25768f..e22d746 100644 --- a/packages/create-monkey/template-vue-ts/package.json +++ b/packages/create-monkey/template-vue-ts/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", "typescript": "^5.1.6", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0", - "vue-tsc": "^1.8.4" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0", + "vue-tsc": "^1.8.8" } } diff --git a/packages/create-monkey/template-vue/package.json b/packages/create-monkey/template-vue/package.json index d3f853a..13c16a9 100644 --- a/packages/create-monkey/template-vue/package.json +++ b/packages/create-monkey/template-vue/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", - "vite": "^4.4.2", - "vite-plugin-monkey": "^3.3.0" + "vite": "^4.4.8", + "vite-plugin-monkey": "^3.4.0" } }