Skip to content

Commit

Permalink
Dev (#51) some fixes
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
buttercubz committed Feb 20, 2022
1 parent 060ebbf commit 6309290
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion compiler/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions imports/bundler.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "https://deno.land/x/[email protected].1/_bundler_utils.ts";
export * from "https://deno.land/x/[email protected].1/bundler.ts";
export * from "https://deno.land/x/[email protected].1/_bundler_utils.ts";
export * from "https://deno.land/x/[email protected].1/bundler.ts";
2 changes: 1 addition & 1 deletion imports/compiler.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://cdn.jsdelivr.net/npm/svelte@3.44.2/compiler.mjs";
export * from "https://cdn.jsdelivr.net/npm/svelte@3.46.4/compiler.mjs";
2 changes: 1 addition & 1 deletion imports/drollup-util.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/src/rollup/createFilter.ts";
export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/src/rollup/createFilter.ts";
2 changes: 1 addition & 1 deletion imports/drollup.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/mod.ts";
export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/mod.ts";
6 changes: 3 additions & 3 deletions imports/esbuild.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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";
2 changes: 1 addition & 1 deletion imports/fmt.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as colors from "https://deno.land/std@0.113.0/fmt/colors.ts";
export * as colors from "https://deno.land/std@0.126.0/fmt/colors.ts";
2 changes: 1 addition & 1 deletion imports/fs.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.117.0/fs/mod.ts";
export * from "https://deno.land/std@0.126.0/fs/mod.ts";
2 changes: 1 addition & 1 deletion imports/path.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@0.117.0/path/mod.ts";
export * from "https://deno.land/std@0.126.0/path/mod.ts";
12 changes: 6 additions & 6 deletions install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion src/shared/imports/ensureArray.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/src/ensureArray.ts";
export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/src/ensureArray.ts";
2 changes: 1 addition & 1 deletion src/shared/imports/resolveId.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://denopkg.com/crewdevio/tools@main/deno-rollup/src/rollup-plugin-deno-resolver/resolveId.ts";
export * from "https://raw.githubusercontent.com/crewdevio/deno-rollup/main/src/rollup-plugin-deno-resolver/resolveId.ts";
4 changes: 2 additions & 2 deletions src/shared/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

0 comments on commit 6309290

Please sign in to comment.