From 63092904d502e3174b6dde882657dc12e9713962 Mon Sep 17 00:00:00 2001 From: Erick Sosa Date: Sat, 19 Feb 2022 23:13:11 -0400 Subject: [PATCH] Dev (#51) some fixes * chore: use package from crewdevio/tools * chore: update svelte version * fix: enable minification in dev mod * chore: update deps * chore: update deps * chore: update deps and fix #42 --- compiler/build.ts | 2 +- imports/bundler.ts | 4 ++-- imports/compiler.ts | 2 +- imports/drollup-util.ts | 2 +- imports/drollup.ts | 2 +- imports/esbuild.ts | 6 +++--- imports/fmt.ts | 2 +- imports/fs.ts | 2 +- imports/path.ts | 2 +- install.ts | 12 ++++++------ src/shared/imports/ensureArray.ts | 2 +- src/shared/imports/resolveId.ts | 2 +- src/shared/version.ts | 4 ++-- 13 files changed, 22 insertions(+), 22 deletions(-) diff --git a/compiler/build.ts b/compiler/build.ts index 4e76287..8a1a173 100644 --- a/compiler/build.ts +++ b/compiler/build.ts @@ -47,7 +47,7 @@ export async function RollupBuild({ (await DevServer(ipv4))!, Svelte({ generate, dev: true }), terser(), - ]; + ] as any; const options: RollupOptions = { input: new URL(entryFile, `${base}/`).href, diff --git a/imports/bundler.ts b/imports/bundler.ts index 79d7659..3250abc 100644 --- a/imports/bundler.ts +++ b/imports/bundler.ts @@ -1,2 +1,2 @@ -export * from "https://deno.land/x/bundler@0.8.1/_bundler_utils.ts"; -export * from "https://deno.land/x/bundler@0.8.1/bundler.ts"; +export * from "https://deno.land/x/deno_bundler@v0.9.1/_bundler_utils.ts"; +export * from "https://deno.land/x/deno_bundler@v0.9.1/bundler.ts"; diff --git a/imports/compiler.ts b/imports/compiler.ts index 654d1f3..aa425ad 100644 --- a/imports/compiler.ts +++ b/imports/compiler.ts @@ -1 +1 @@ -export * from "https://cdn.jsdelivr.net/npm/svelte@3.44.2/compiler.mjs"; \ No newline at end of file +export * from "https://cdn.jsdelivr.net/npm/svelte@3.46.4/compiler.mjs"; diff --git a/imports/drollup-util.ts b/imports/drollup-util.ts index 163e3b5..eb2f354 100644 --- a/imports/drollup-util.ts +++ b/imports/drollup-util.ts @@ -1 +1 @@ -export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/src/rollup/createFilter.ts"; \ No newline at end of file +export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/src/rollup/createFilter.ts"; diff --git a/imports/drollup.ts b/imports/drollup.ts index 23f7f96..3d1f831 100644 --- a/imports/drollup.ts +++ b/imports/drollup.ts @@ -1 +1 @@ -export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/mod.ts"; \ No newline at end of file +export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/mod.ts"; diff --git a/imports/esbuild.ts b/imports/esbuild.ts index e321443..1b7e0a4 100644 --- a/imports/esbuild.ts +++ b/imports/esbuild.ts @@ -1,5 +1,5 @@ -//@deno-types="https://deno.land/x/esbuild@v0.14.2/mod.d.ts" -export * from "https://deno.land/x/esbuild@v0.14.2/mod.js"; +//@deno-types="https://deno.land/x/esbuild@v0.12.15/mod.d.ts" +export * from "https://deno.land/x/esbuild@v0.12.15/mod.js"; export type { BuildFailure, BuildIncremental, @@ -39,4 +39,4 @@ export type { TransformFailure, TransformOptions, TransformResult, -} from "https://deno.land/x/esbuild@v0.14.2/mod.d.ts"; +} from "https://deno.land/x/esbuild@v0.12.15/mod.d.ts"; diff --git a/imports/fmt.ts b/imports/fmt.ts index 74e7bab..0ffccc8 100644 --- a/imports/fmt.ts +++ b/imports/fmt.ts @@ -1 +1 @@ -export * as colors from "https://deno.land/std@0.113.0/fmt/colors.ts"; \ No newline at end of file +export * as colors from "https://deno.land/std@0.126.0/fmt/colors.ts"; diff --git a/imports/fs.ts b/imports/fs.ts index ccf4001..fcb8ada 100644 --- a/imports/fs.ts +++ b/imports/fs.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.117.0/fs/mod.ts"; \ No newline at end of file +export * from "https://deno.land/std@0.126.0/fs/mod.ts"; diff --git a/imports/path.ts b/imports/path.ts index 37fcc5a..f01700d 100644 --- a/imports/path.ts +++ b/imports/path.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.117.0/path/mod.ts"; \ No newline at end of file +export * from "https://deno.land/std@0.126.0/path/mod.ts"; diff --git a/install.ts b/install.ts index e0520d3..3e45c4f 100644 --- a/install.ts +++ b/install.ts @@ -7,12 +7,12 @@ */ // cache in instalation time -import "https://cdn.skypack.dev/svelte@3.44.2/transition"; -import "https://cdn.skypack.dev/svelte@3.44.2/internal"; -import "https://cdn.skypack.dev/svelte@3.44.2/animate"; -import "https://cdn.skypack.dev/svelte@3.44.2/easing"; -import "https://cdn.skypack.dev/svelte@3.44.2/motion"; -import "https://cdn.skypack.dev/svelte@3.44.2/store"; +import "https://cdn.skypack.dev/svelte@3.46.4/transition"; +import "https://cdn.skypack.dev/svelte@3.46.4/internal"; +import "https://cdn.skypack.dev/svelte@3.46.4/animate"; +import "https://cdn.skypack.dev/svelte@3.46.4/easing"; +import "https://cdn.skypack.dev/svelte@3.46.4/motion"; +import "https://cdn.skypack.dev/svelte@3.46.4/store"; const install = async (name: string, url: string, importmap?: boolean) => { const process = Deno.run({ diff --git a/src/shared/imports/ensureArray.ts b/src/shared/imports/ensureArray.ts index 211f88c..7904e23 100644 --- a/src/shared/imports/ensureArray.ts +++ b/src/shared/imports/ensureArray.ts @@ -1 +1 @@ -export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/src/ensureArray.ts"; \ No newline at end of file +export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/src/ensureArray.ts"; diff --git a/src/shared/imports/resolveId.ts b/src/shared/imports/resolveId.ts index 92f0f54..a227688 100644 --- a/src/shared/imports/resolveId.ts +++ b/src/shared/imports/resolveId.ts @@ -1 +1 @@ -export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/src/rollup-plugin-deno-resolver/resolveId.ts"; \ No newline at end of file +export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/src/rollup-plugin-deno-resolver/resolveId.ts"; diff --git a/src/shared/version.ts b/src/shared/version.ts index d2e590c..fe07d77 100644 --- a/src/shared/version.ts +++ b/src/shared/version.ts @@ -6,6 +6,6 @@ * */ -export const VERSION = "0.6.0"; +export const VERSION = "0.7.0"; -export const URL_SVELTE_CDN = "https://cdn.skypack.dev/svelte@3.44.2"; +export const URL_SVELTE_CDN = "https://cdn.skypack.dev/svelte@3.46.4";