File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 uses : actions/checkout@v3
1313
1414 - name : npm install
15- run : npm install
15+ run : |
16+ npm install
17+ find ./scripts/* -maxdepth 2 -name package.json -execdir npm install \;
18+ find ./utilities/* -maxdepth 2 -name package.json -execdir npm install \;
1619
1720 - name : tsc
1821 run : tsc
Original file line number Diff line number Diff line change 2424 "@types/mojang-minecraft-ui" : " ^0.1.0" ,
2525 "@types/mojang-net" : " ^0.1.0" ,
2626 "@types/node" : " ^18.0.3" ,
27- "typescript" : " ^4.7.4" ,
28- "uuid" : " ^8.3.2"
27+ "typescript" : " ^4.7.4"
2928 }
3029}
Original file line number Diff line number Diff line change 1- import fs from "fs" ;
2- import path from "path" ;
3- import { fileURLToPath } from 'url' ;
4- import * as uuid from "uuid" ;
1+ const fs = require ( "fs" ) ;
2+ const path = require ( "path" ) ;
3+ const uuid = require ( "uuid" ) ;
54
6- const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
75const name = "createWorldScreen.experimentalGameTest" ;
86const description = "createWorldScreen.experimentalGameTestDescription" ;
97/** @type {"script" | "javascript" } */
Original file line number Diff line number Diff line change 1212 },
1313 "author" : " JaylyMC" ,
1414 "license" : " MIT" ,
15- "type" : " module" ,
1615 "bugs" : {
1716 "url" : " https://github.com/JaylyDev/GametestDB/issues"
1817 },
19- "homepage" : " https://github.com/JaylyDev/GametestDB#readme"
18+ "homepage" : " https://github.com/JaylyDev/GametestDB#readme" ,
19+ "dependencies" : {
20+ "uuid" : " ^8.3.2"
21+ },
22+ "devDependencies" : {
23+ "@types/uuid" : " ^8.3.4"
24+ }
2025}
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "moduleResolution" : " node" ,
4+ "module" : " CommonJS"
5+ },
6+ "extends" : " ../../tsconfig.json"
7+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments