Skip to content

Commit

Permalink
upgrading to new versions of wollok-ts & wollok-web-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Sep 11, 2024
1 parent ab80c7d commit 65b89e6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 35 deletions.
62 changes: 32 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"lint": "eslint . ",
"lint:fix": "eslint . --fix",
"test:unit": "mocha --parallel -r ts-node/register/transpile-only test/**/*.test.ts --timeout 7000",
"build": "shx rm -rf build && shx mkdir ./build && shx cp -r ./public ./build/public && cp ./node_modules/wollok-game-web/dist/web/index.js ./build/public/game/lib && tsc -p ./tsconfig.build.json",
"build": "shx rm -rf build && shx mkdir ./build && shx cp -r ./public ./build/public && cp ./node_modules/wollok-web-tools/dist/web/index.js ./build/public/game/lib && tsc -p ./tsconfig.build.json",
"watch": "npm run build -- -w",
"pack": "pkg .",
"prepublishOnly": "npm run build && npm run test"
Expand Down Expand Up @@ -59,8 +59,8 @@
"pkg": "^5.8.1",
"socket.io": "^4.5.1",
"winston": "^3.11.0",
"wollok-game-web": "1.1.0",
"wollok-ts": "4.1.3"
"wollok-web-tools": "1.1.1",
"wollok-ts": "4.1.4"
},
"devDependencies": {
"@types/chai": "^4.3.16",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import http from 'http'
import logger from 'loglevel'
import { join, relative } from 'path'
import { Server, Socket } from 'socket.io'
import { Asset, SoundState, VisualState, boardState, buildKeyPressEvent, queueEvent, soundState, visualState } from 'wollok-game-web/dist/utils'
import { Asset, SoundState, VisualState, boardState, buildKeyPressEvent, queueEvent, soundState, visualState } from 'wollok-web-tools/dist/utils'
import { Environment, GAME_MODULE, Name, Package, RuntimeObject, WollokException, interpret, link, WRENatives as natives, parse, Interpreter } from 'wollok-ts'
import { logger as fileLogger } from '../logger'
import { getDataDiagram } from '../services/diagram-generator'
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { readFile } from 'fs/promises'
import globby from 'globby'
import logger from 'loglevel'
import path, { join } from 'path'
import { VALID_IMAGE_EXTENSIONS, VALID_SOUND_EXTENSIONS } from 'wollok-game-web/dist/utils'
import { VALID_IMAGE_EXTENSIONS, VALID_SOUND_EXTENSIONS } from 'wollok-web-tools/dist/utils'
import { buildEnvironment, Environment, Problem, validate, WOLLOK_EXTRA_STACK_TRACE_HEADER } from 'wollok-ts'

const { time, timeEnd } = console
Expand Down

0 comments on commit 65b89e6

Please sign in to comment.