Skip to content

Commit

Permalink
fix: attempt to fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed Feb 19, 2021
1 parent 8b81147 commit f5a76d7
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ apps/web/static/files/noto-*
apps/web/cypress/screenshots/**/__tkey-*.png
.vim
apps/librelingo_tools/dist
**/dist/
*.tsbuildinfo
3 changes: 2 additions & 1 deletion .semaphore/pipeline_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ blocks:
- cache restore packages-web-$(checksum yarn.lock)
- git config --global user.email "gitlab@daniel-kantor.com"
- git config --global user.name "Dániel Kántor"
- yarn workspaces run semantic-release -e semantic-release-monorepo
- yarn workspace @librelingo/answer-corrector build
- yarn workspace @librelingo/answer-corrector semantic-release -e semantic-release-monorepo
secrets:
- name: NPM token
- name: GitHub token
7 changes: 5 additions & 2 deletions apps/answer-corrector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
"private": false,
"version": "1.0.0",
"main": "index.js",
"license": "GPLv3",
"license": "AGPL-3.0-or-later",
"scripts": {
"build": "tsc --build"
},
"dependencies": {
"js-levenshtein": "1.1.6"
},
"devDependencies": {
"@types/jest": "26.0.20",
"@types/jest": "^26.0.20",
"@types/js-levenshtein": "1.1.0"
}
}
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions apps/answer-corrector/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"composite": true,
"outDir": "dist",
"rootDir": "src",
"esModuleInterop": true,
"skipLibCheck": true
},
"include": [
"src/index.ts"
],
"exclude": [
"node_modules",
"build"
]
}
3 changes: 2 additions & 1 deletion apps/lluis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.0.0",
"scripts": {
"eslintfix": "exit 0",
"prettierfix": "exit 0"
"prettierfix": "exit 0",
"build": "exit 0"
},
"dependencies": {
"bulma": "0.9.1"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/ShortInputChallenge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import InputFieldWithVirtualKeyboard from "./InputFieldWithVirtualKeyboard"
import Column from "lluis/Column"
import Columns from "lluis/Columns"
import evaluateAnswer from "@librelingo/answer-corrector"
import evaluateAnswer from "@librelingo/answer-corrector/src/index.ts"

export let challenge
export let registerResult
Expand Down
14 changes: 14 additions & 0 deletions apps/web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": [
"src"
],
"references": [
{
"path": "../answer-corrector"
}
]
}
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2005,14 +2005,6 @@
dependencies:
"@types/istanbul-lib-report" "*"

"@types/jest@26.0.20":
version "26.0.20"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.20.tgz#cd2f2702ecf69e86b586e1f5223a60e454056307"
integrity sha512-9zi2Y+5USJRxd0FsahERhBwlcvFh6D2GLQnY2FH2BzK8J9s9omvNHIbvABwIluXa0fD8XVKMLTO0aOEuUfACAA==
dependencies:
jest-diff "^26.0.0"
pretty-format "^26.0.0"

"@types/jest@26.x":
version "26.0.14"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.14.tgz#078695f8f65cb55c5a98450d65083b2b73e5a3f3"
Expand All @@ -2021,6 +2013,14 @@
jest-diff "^25.2.1"
pretty-format "^25.2.1"

"@types/jest@^26.0.20":
version "26.0.20"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.20.tgz#cd2f2702ecf69e86b586e1f5223a60e454056307"
integrity sha512-9zi2Y+5USJRxd0FsahERhBwlcvFh6D2GLQnY2FH2BzK8J9s9omvNHIbvABwIluXa0fD8XVKMLTO0aOEuUfACAA==
dependencies:
jest-diff "^26.0.0"
pretty-format "^26.0.0"

"@types/jquery@*":
version "3.5.5"
resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.5.5.tgz#2c63f47c9c8d96693d272f5453602afd8338c903"
Expand Down

1 comment on commit f5a76d7

@vercel
Copy link

@vercel vercel bot commented on f5a76d7 Feb 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.