Merge branch 'ts-migration' into 'main'
Typescript Migration See merge request !1
No related branches found
No related tags found
Showing
- .gitignore 1 addition, 1 deletion.gitignore
- grpc.txt 0 additions, 21 deletionsgrpc.txt
- grpcTests.js 0 additions, 183 deletionsgrpcTests.js
- main.js 0 additions, 55 deletionsmain.js
- package-lock.json 1646 additions, 99 deletionspackage-lock.json
- package.json 17 additions, 5 deletionspackage.json
- public/index.html 23 additions, 0 deletionspublic/index.html
- public/results.html 101 additions, 0 deletionspublic/results.html
- rest.txt 0 additions, 21 deletionsrest.txt
- restTests.js 0 additions, 129 deletionsrestTests.js
- src/compiled_proto/app.ts 1316 additions, 0 deletionssrc/compiled_proto/app.ts
- src/constants.ts 33 additions, 0 deletionssrc/constants.ts
- src/interfaces.ts 17 additions, 0 deletionssrc/interfaces.ts
- src/main.ts 43 additions, 0 deletionssrc/main.ts
- src/proto/app.proto 5 additions, 2 deletionssrc/proto/app.proto
- src/testing.ts 44 additions, 0 deletionssrc/testing.ts
- src/tests/grpcTests.ts 189 additions, 0 deletionssrc/tests/grpcTests.ts
- src/tests/restTests.ts 213 additions, 0 deletionssrc/tests/restTests.ts
- src/types.ts 73 additions, 0 deletionssrc/types.ts
- tsconfig.json 16 additions, 0 deletionstsconfig.json
grpc.txt
deleted
100644 → 0
grpcTests.js
deleted
100644 → 0
main.js
deleted
100644 → 0
This diff is collapsed.
... | @@ -2,17 +2,29 @@ | ... | @@ -2,17 +2,29 @@ |
"name": "lab1-measure", | "name": "lab1-measure", | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"description": "", | "description": "", | ||
"main": "main.js", | "main": "dist/main.js", | ||
"scripts": { | "scripts": { | ||
"start": "node main.js", | "start": "tsc && cp public/* dist && node dist/main.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | "test": "echo \"Error: no test specified\" && exit 1" | ||
}, | }, | ||
"author": "based JAML", | "author": "based JAML", | ||
"license": "ISC", | "license": "ISC", | ||
"dependencies": { | "dependencies": { | ||
"@grpc/grpc-js": "^1.9.0", | "@grpc/grpc-js": "1.9.0", | ||
"@grpc/proto-loader": "^0.7.8", | "@grpc/proto-loader": "^0.7.8", | ||
"@types/express": "^4.17.21", | |||
"benchmark": "^2.1.4", | "benchmark": "^2.1.4", | ||
"google-protobuf": "^3.21.2" | "express": "^4.18.2", | ||
"express-ws": "^5.0.2", | |||
"google-protobuf": "^3.21.2", | |||
"nice-grpc": "^2.1.7", | |||
"path": "^0.12.7", | |||
"typescript": "^5.3.3", | |||
"uuidv4": "^6.2.13" | |||
}, | |||
"devDependencies": { | |||
"@types/express-ws": "^3.0.4", | |||
"grpc-tools": "^1.12.4", | |||
"ts-proto": "^1.167.2" | |||
} | } | ||
} | } | ||
\ No newline at end of file |
public/index.html
0 → 100644
public/results.html
0 → 100644
rest.txt
deleted
100644 → 0
restTests.js
deleted
100644 → 0
src/compiled_proto/app.ts
0 → 100644
This diff is collapsed.
src/constants.ts
0 → 100644
src/interfaces.ts
0 → 100644
src/main.ts
0 → 100644
src/testing.ts
0 → 100644
src/tests/grpcTests.ts
0 → 100644
src/tests/restTests.ts
0 → 100644
src/types.ts
0 → 100644
tsconfig.json
0 → 100644
Please register or sign in to comment