Skip to content

Commit 3fd9b70

Browse files
committed
update packages
1 parent 89c6fb0 commit 3fd9b70

File tree

27 files changed

+6442
-3849
lines changed

27 files changed

+6442
-3849
lines changed

examples/nextjs-client-side-assessment/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
"lint": "tsc --noEmit"
1515
},
1616
"dependencies": {
17-
"@babel/core": "7.18.2",
17+
"@babel/core": "7.18.10",
1818
"@bitflow/bits": "workspace:*",
1919
"@bitflow/core": "workspace:*",
2020
"@bitflow/do-local": "workspace:*",
2121
"@bitflow/flow-engine": "workspace:*",
2222
"@bitflow/provider": "workspace:*",
23-
"@emotion/cache": "11.7.1",
24-
"@emotion/react": "11.9.0",
25-
"@emotion/styled": "11.8.1",
23+
"@emotion/cache": "11.10.1",
24+
"@emotion/react": "11.10.0",
25+
"@emotion/styled": "11.10.0",
2626
"@openpatch/patches": "6.0.1",
27-
"next": "12.1.6",
28-
"react": "18.1.0",
29-
"react-dom": "18.1.0",
30-
"react-hook-form": "7.31.3",
27+
"next": "12.2.5",
28+
"react": "18.2.0",
29+
"react-dom": "18.2.0",
30+
"react-hook-form": "7.34.2",
3131
"typeface-rubik": "1.1.13",
3232
"typeface-ubuntu-mono": "1.1.13"
3333
},
3434
"devDependencies": {
35-
"@types/react": "18.0.12",
36-
"typescript": "4.7.2",
35+
"@types/react": "18.0.17",
36+
"typescript": "4.7.4",
3737
"typescript-styled-plugin": "0.18.2"
3838
}
3939
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@emotion/cache": "11.10.1",
2323
"@emotion/react": "11.10.0",
2424
"@emotion/styled": "11.10.0",
25-
"@types/jest": "27.5.2",
26-
"@types/node": "17.0.40",
25+
"@types/jest": "28.1.7",
26+
"@types/node": "18.7.6",
2727
"@types/react": "18.0.17",
2828
"@types/react-dom": "18.0.6",
2929
"@vocab/cli": "1.1.0",

packages/bits/src/index.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as StartSimple from "@bitflow/start-simple";
22
import * as EndTries from "@bitflow/end-tries";
33
import * as TaskChoice from "@bitflow/task-choice";
4-
import * as TaskFill from "@bitflow/task-fill-in-the-blank";
4+
import * as TaskFillInTheBlank from "@bitflow/task-fill-in-the-blank";
55
import * as TaskHighlighting from "@bitflow/task-highlighting";
66
import * as TaskInput from "@bitflow/task-input";
7-
import * as TaskYes from "@bitflow/task-yes-no";
7+
import * as TaskYesNo from "@bitflow/task-yes-no";
88
import * as InputMarkdown from "@bitflow/input-markdown";
99
import * as TitleSimple from "@bitflow/title-simple";
1010
import { z } from "zod";
@@ -13,10 +13,10 @@ export {
1313
StartSimple,
1414
EndTries,
1515
TaskChoice,
16-
TaskFill,
16+
TaskFillInTheBlank,
1717
TaskHighlighting,
1818
TaskInput,
19-
TaskYes,
19+
TaskYesNo,
2020
InputMarkdown,
2121
TitleSimple,
2222
};
@@ -29,10 +29,10 @@ export type StartBitKey = keyof typeof startBits;
2929

3030
export const taskBits = {
3131
choice: TaskChoice,
32-
fill: TaskFill,
32+
"fill-in-the-blank": TaskFillInTheBlank,
3333
highlighting: TaskHighlighting,
3434
input: TaskInput,
35-
yes: TaskYes,
35+
"yes-no": TaskYesNo,
3636
} as const;
3737

3838
export type TaskBitKey = keyof typeof taskBits;
@@ -74,53 +74,53 @@ export const schemas = {
7474

7575
task: z.union([
7676
TaskChoice.TaskSchema,
77-
TaskFill.TaskSchema,
77+
TaskFillInTheBlank.TaskSchema,
7878
TaskHighlighting.TaskSchema,
7979
TaskInput.TaskSchema,
80-
TaskYes.TaskSchema,
80+
TaskYesNo.TaskSchema,
8181
]),
8282
};
8383

8484
export const evaluate = {
8585
choice: TaskChoice.evaluate,
86-
fill: TaskFill.evaluate,
86+
"fill-in-the-blank": TaskFillInTheBlank.evaluate,
8787
highlighting: TaskHighlighting.evaluate,
8888
input: TaskInput.evaluate,
89-
yes: TaskYes.evaluate,
89+
"yes-no": TaskYesNo.evaluate,
9090
};
9191

9292
export const updateStatistic = {
9393
choice: TaskChoice.updateStatistic,
94-
fill: TaskFill.updateStatistic,
94+
"fill-in-the-blank": TaskFillInTheBlank.updateStatistic,
9595
highlighting: TaskHighlighting.updateStatistic,
9696
input: TaskInput.updateStatistic,
97-
yes: TaskYes.updateStatistic,
97+
"yes-no": TaskYesNo.updateStatistic,
9898
};
9999

100100
export type Task =
101101
| TaskChoice.ITask
102-
| TaskFill.ITask
102+
| TaskFillInTheBlank.ITask
103103
| TaskHighlighting.ITask
104104
| TaskInput.ITask
105-
| TaskYes.ITask;
105+
| TaskYesNo.ITask;
106106
export type TaskResult =
107107
| TaskChoice.IResult
108-
| TaskFill.IResult
108+
| TaskFillInTheBlank.IResult
109109
| TaskHighlighting.IResult
110110
| TaskInput.IResult
111-
| TaskYes.IResult;
111+
| TaskYesNo.IResult;
112112
export type TaskStatistic =
113113
| TaskChoice.IStatistic
114-
| TaskFill.IStatistic
114+
| TaskFillInTheBlank.IStatistic
115115
| TaskHighlighting.IStatistic
116116
| TaskInput.IStatistic
117-
| TaskYes.IStatistic;
117+
| TaskYesNo.IStatistic;
118118
export type TaskAnswer =
119119
| TaskChoice.IAnswer
120-
| TaskFill.IAnswer
120+
| TaskFillInTheBlank.IAnswer
121121
| TaskHighlighting.IAnswer
122122
| TaskInput.IAnswer
123-
| TaskYes.IAnswer;
123+
| TaskYesNo.IAnswer;
124124

125125
export type Input = InputMarkdown.IInput;
126126

packages/concept-model-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@openpatch/patches": "6.0.1",
6464
"@types/react": "18.0.17",
6565
"@types/react-dom": "18.0.6",
66-
"@vocab/core": "1.1.0",
66+
"@vocab/core": "1.1.1",
6767
"@vocab/react": "1.1.2",
6868
"react": "18.2.0",
6969
"react-dom": "18.2.0",

packages/concept-model/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@openpatch/patches": "6.0.1",
6565
"@types/react": "18.0.17",
6666
"@types/react-dom": "18.0.6",
67-
"@vocab/core": "1.1.0",
67+
"@vocab/core": "1.1.1",
6868
"@vocab/react": "1.1.2",
6969
"react": "18.2.0",
7070
"react-dom": "18.2.0",

packages/date/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"@bitflow/provider": "workspace:*",
43-
"date-fns": "^2.28.0"
43+
"date-fns": "^2.29.2"
4444
},
4545
"peerDependencies": {
4646
"react": "18.x",

packages/do-local/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@openpatch/patches": "6.0.1",
6565
"@types/react": "18.0.17",
6666
"@types/react-dom": "18.0.6",
67-
"@vocab/core": "1.1.0",
67+
"@vocab/core": "1.1.1",
6868
"@vocab/react": "1.1.2",
6969
"react": "18.2.0",
7070
"react-dom": "18.2.0",

packages/do/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@openpatch/patches": "6.0.1",
6565
"@types/react": "18.0.17",
6666
"@types/react-dom": "18.0.6",
67-
"@vocab/core": "1.1.0",
67+
"@vocab/core": "1.1.1",
6868
"@vocab/react": "1.1.2",
6969
"react": "18.2.0",
7070
"react-dom": "18.2.0",

packages/end-tries/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@openpatch/patches": "6.0.1",
6767
"@types/react": "18.0.17",
6868
"@types/react-dom": "18.0.6",
69-
"@vocab/core": "1.1.0",
69+
"@vocab/core": "1.1.1",
7070
"@vocab/react": "1.1.2",
7171
"react": "18.2.0",
7272
"react-dom": "18.2.0",

packages/flow-editor/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@bitflow/flow": "workspace:*",
4545
"@bitflow/provider": "workspace:*",
4646
"@bitflow/shell": "workspace:*",
47-
"@hookform/resolvers": "^2.8.10",
47+
"@hookform/resolvers": "^2.9.7",
4848
"react-flow-renderer": "^9.7.2"
4949
},
5050
"peerDependencies": {
@@ -66,7 +66,7 @@
6666
"@openpatch/patches": "6.0.1",
6767
"@types/react": "18.0.17",
6868
"@types/react-dom": "18.0.6",
69-
"@vocab/core": "1.1.0",
69+
"@vocab/core": "1.1.1",
7070
"@vocab/react": "1.1.2",
7171
"react": "18.2.0",
7272
"react-dom": "18.2.0",

0 commit comments

Comments
 (0)