-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds preliminary configuration of the integration-test-suite folder
- Loading branch information
Showing
12 changed files
with
4,231 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
tools/npm/integration-test-suite/packages/nodejs-ts-cjs-tsc/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/node_modules/ | ||
/dist/ |
34 changes: 34 additions & 0 deletions
34
tools/npm/integration-test-suite/packages/nodejs-ts-cjs-tsc/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
tools/npm/integration-test-suite/packages/nodejs-ts-cjs-tsc/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "node dist/index.js" | ||
}, | ||
"dependencies": { | ||
"garaga_rs": "file:../../../garaga_rs/garaga_rs-0.1.0.tgz" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.5.4" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
tools/npm/integration-test-suite/packages/nodejs-ts-cjs-tsc/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import garaga_rs from 'garaga_rs'; | ||
|
||
async function main(): Promise<void> { | ||
await garaga_rs.init(); | ||
const result = garaga_rs.msm_calldata_builder([1, 2], [10], 0); | ||
console.log('Output of msm_calldata_builder:', result); | ||
} | ||
|
||
main() | ||
.catch(console.error); |
10 changes: 10 additions & 0 deletions
10
tools/npm/integration-test-suite/packages/nodejs-ts-cjs-tsc/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2020", | ||
"module": "commonjs", | ||
"rootDir": "./src/", | ||
"outDir": "./dist/", | ||
"esModuleInterop": true, | ||
"strict": true | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
tools/npm/integration-test-suite/packages/web-js-esm-webpack/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/node_modules/ | ||
/dist/ |
Oops, something went wrong.