From 56930ac2a4dd39b60c6a9a8cc3b1cbcba1cbf4ab Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 17 Oct 2024 02:14:41 +0200 Subject: [PATCH] Setup project --- .gitignore | 0 .idea/.gitignore | 6 +++++ .idea/fileColors.xml | 8 ++++++ .idea/icon.svg | 26 +++++++++++++++++++ .idea/inspectionProfiles/Project_Default.xml | 17 ++++++++++++ .idea/misc.xml | 10 +++++++ .idea/modules.xml | 8 ++++++ .idea/scopes/Source.xml | 3 +++ .idea/vcs.xml | 6 +++++ .media/icon-128x128_round.png | Bin 0 -> 8081 bytes README.md | 11 ++++++++ deno.json | 8 ++++++ dotino-veloce.iml | 11 ++++++++ src/main.ts | 8 ++++++ tests/main_test.ts | 6 +++++ 15 files changed, 128 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/fileColors.xml create mode 100644 .idea/icon.svg create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/scopes/Source.xml create mode 100644 .idea/vcs.xml create mode 100644 .media/icon-128x128_round.png create mode 100644 README.md create mode 100644 deno.json create mode 100644 dotino-veloce.iml create mode 100644 src/main.ts create mode 100644 tests/main_test.ts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..8bf4d45 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,6 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/fileColors.xml b/.idea/fileColors.xml new file mode 100644 index 0000000..e18d3a2 --- /dev/null +++ b/.idea/fileColors.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/icon.svg b/.idea/icon.svg new file mode 100644 index 0000000..3bd2169 --- /dev/null +++ b/.idea/icon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..e93d177 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..2ca2389 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e57d5f6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/scopes/Source.xml b/.idea/scopes/Source.xml new file mode 100644 index 0000000..bc68b2c --- /dev/null +++ b/.idea/scopes/Source.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.media/icon-128x128_round.png b/.media/icon-128x128_round.png new file mode 100644 index 0000000000000000000000000000000000000000..0db7e76f3d6353fcb12717cf25da17f5b4498a7b GIT binary patch literal 8081 zcmV;CA8z1@P)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H1A0A0W zK~#90?VWd&9M!e%f4jPSf)a?CQ5ujCLh>VtAdCSCB!K`SqI`|8@#Epldo~U@U|-{i zZ5aoQv9G;sBzRn=YHT~%GxT|L3p zx74dOXP>jr?mA!Xlg|-Vcx@np;+5gCu@p{R@nnt%rDBXvLxFxXDE2iS+w zjnIZ_8%PV7?;^4RWgQ9m2U{1c*MG4GCIkKVNaF>~7|E$1Q-SvbM*~A$G5k_`2NyjK zb${&wUItx-@-#-~Y2CJHbGf$n2Mjm@$oP-fv1i8&1M^%HnGH;`B|)j8g$I+MQ1&`1 z4}m;P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f5R|-8&r5Kli|!b3m;+__K^Ce z3exy*?FkeX>fr8=>iT7|FGh&f12|B9WnWM0@{a;PrR)*IeA&OLCs5$Wy6xmks!{k* zB@f_6s`0d02)6+R>#FyAf)X~g3S5zHc_`fdvt^>{1OSkRnFlA0^zFd30*POWAZ`Eh zBoJX`#*j;O%R?Ii62*dEApn5L%w)1L{Vm|z{S9!G%M72`|5hY;*+f34Ef0rU$rBfPod95YgH%)cbE^CRurJj4w z1LnI=?&vM_2?4U1H%%LpLatZ1+z#=J8Kh;vl0e}BO`D(7_P>R@U$zS9Qvx_hHJ*MZ zqTdBh`*$FLz_Vh?wLPs%0yk~+2Kog79Hd4}KONKjCL-r}#~9co5Md?C_tPzpRJCgt z1^tQu4r)f8b}XiRMd326^;0ekI1(tZ6pUY`w=D^OB4#h4UlPE9G)zAvDduG&@>zwk zE=f?T{z8H+BHWr5^Jd+;bZtQ7K1IJKfCG`4$z)S{mYQ;@2p0nf_D>Q>2g<#Y;LdbQ zda3HN=qFwEG6ngsCV5cfbPRJg$ZWvpUbfyLfg-OO@GvS5r`v`<*%w{8N-*FE zPzV_@b5ueyQ^ho!I<62{ZI_0d=sX7m*XJOR8=KYHe& zJsCa1Fd47Hp^A(J9ih-5&;SeqNs=9eVi%AGIu&gbqz#O%g1&32tTzmEeY(f^hjuJ| fyU%`9mGJ)oL + +# ![](.media/icon-128x128_round.png) Dotino Veloce + +Federated Dota 2 match history + + + +> [!Warning] +> +> Under active development. \ No newline at end of file diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..63e198a --- /dev/null +++ b/deno.json @@ -0,0 +1,8 @@ +{ + "tasks": { + "dev": "deno run --watch src/main.ts" + }, + "imports": { + "@std/assert": "jsr:@std/assert@1" + } +} diff --git a/dotino-veloce.iml b/dotino-veloce.iml new file mode 100644 index 0000000..8f1c46e --- /dev/null +++ b/dotino-veloce.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..292ce5f --- /dev/null +++ b/src/main.ts @@ -0,0 +1,8 @@ +export function add(a: number, b: number): number { + return a + b; +} + +// Learn more at https://docs.deno.com/runtime/manual/examples/module_metadata#concepts +if (import.meta.main) { + console.log("Add 2 + 3 =", add(2, 3)); +} diff --git a/tests/main_test.ts b/tests/main_test.ts new file mode 100644 index 0000000..b2e5c11 --- /dev/null +++ b/tests/main_test.ts @@ -0,0 +1,6 @@ +import { assertEquals } from "@std/assert"; +import { add } from "../src/main.ts"; + +Deno.test(function addTest() { + assertEquals(add(2, 3), 5); +});