diff --git a/.gitignore b/.gitignore index 1552928..cd87059 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /lib /npm .DS_Store +node_modules diff --git a/deno.json b/deno.json index 6f20760..7c15631 100644 --- a/deno.json +++ b/deno.json @@ -1,15 +1,13 @@ { - "metadata": { - "minDenoVersion": "1.37", - "name": "hello_deno", - "version": "1.1.1" - }, + "minDenoVersion": "1.41", + "name": "hello_deno", + "version": "1.2.0" "include": ["**/*"], "exclude": ["vendor/*"], "vendor": true, "lock": true, "imports": { - "std/": "https://deno.land/std@0.182.0/", - "fun/": "https://deno.land/x/fun/" + "effect": "npm:effect", + "std/": "https://deno.land/std@0.217.0/" } } diff --git a/deno.lock b/deno.lock index 50c7a39..3b72a4a 100644 --- a/deno.lock +++ b/deno.lock @@ -1,5 +1,16 @@ { "version": "3", + "packages": { + "specifiers": { + "npm:effect": "npm:effect@2.4.0" + }, + "npm": { + "effect@2.4.0": { + "integrity": "sha512-HAtFVAbAGYDzfGbrSrX1gzMzXym15zk1+ps72X8W1wdZY0vxq+u23w8u9DhAZjiJPHT4W9ZYL7QWQqpP4t+dSg==", + "dependencies": {} + } + } + }, "redirects": { "https://deno.land/std/assert/mod.ts": "https://deno.land/std@0.205.0/assert/mod.ts", "https://deno.land/x/dnt/mod.ts": "https://deno.land/x/dnt@0.38.1/mod.ts", @@ -214,5 +225,10 @@ "https://deno.land/x/ts_morph@18.0.0/common/typescript.js": "d5c598b6a2db2202d0428fca5fd79fc9a301a71880831a805d778797d2413c59", "https://deno.land/x/wasmbuild@0.15.0/cache.ts": "89eea5f3ce6035a1164b3e655c95f21300498920575ade23161421f5b01967f4", "https://deno.land/x/wasmbuild@0.15.0/loader.ts": "d98d195a715f823151cbc8baa3f32127337628379a02d9eb2a3c5902dbccfc02" + }, + "workspace": { + "dependencies": [ + "npm:effect" + ] } } diff --git a/hello.ts b/hello.ts index f019927..c39977b 100644 --- a/hello.ts +++ b/hello.ts @@ -1,4 +1,4 @@ -import { toUpperCase } from "fun/string.ts"; +import { toUpperCase } from "npm:effect/String"; export function hello_deno() { return toUpperCase("Hello deno!");