diff --git a/.gitignore b/.gitignore index 7897054..08fe6ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,2 @@ .idea build - -!node_modules/ - -node_modules/* -!node_modules/crossmodule/ - -node_modules/crossmodule/* -!node_modules/crossmodule/assembly diff --git a/node_modules/crossmodule/assembly/index.ts b/as-dependencies/crossmodule/assembly/index.ts similarity index 100% rename from node_modules/crossmodule/assembly/index.ts rename to as-dependencies/crossmodule/assembly/index.ts diff --git a/as-dependencies/crossmodule/assembly/tsconfig.json b/as-dependencies/crossmodule/assembly/tsconfig.json new file mode 100644 index 0000000..c614e5c --- /dev/null +++ b/as-dependencies/crossmodule/assembly/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../node_modules/assemblyscript/std/assembly.json", + "include": [ + "./**/*.ts" + ] +} \ No newline at end of file diff --git a/assembly/signature.ts b/assembly/signature.ts index a541b0d..2e0a311 100644 --- a/assembly/signature.ts +++ b/assembly/signature.ts @@ -1,4 +1,4 @@ -import {StringInvoke, API} from "../node_modules/crossmodule/assembly/index" +import {StringInvoke, API} from "../as-dependencies/crossmodule/assembly/index" export declare function allocate(size: usize): i32; export declare function deallocate(ptr: i32, size: usize): void;