@instructure/quiz-core 21.0.0 → 21.0.1-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/es/banks/components/BankEntry/presenter.js +2 -2
  2. package/es/banks/components/BanksList/presenter.js +1 -1
  3. package/es/banks/components/SharingModal/presenter.js +2 -2
  4. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -2
  5. package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +2 -2
  6. package/es/common/components/PrintFontSizeModal/presenter.js +2 -2
  7. package/es/common/components/SDKApp/index.js +4 -4
  8. package/es/common/components/resources/entry/EntrySave/presenter.js +2 -2
  9. package/es/common/components/shared/PaginatedCollection/presenter.js +2 -2
  10. package/es/common/components/shared/TimeUnitsInput/index.js +2 -2
  11. package/es/common/components/shared/functionality/makeEditable.js +2 -2
  12. package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +2 -2
  13. package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
  14. package/lib/banks/components/BankEntry/presenter.js +2 -2
  15. package/lib/banks/components/BanksList/presenter.js +1 -1
  16. package/lib/banks/components/SharingModal/presenter.js +2 -2
  17. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -2
  18. package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +2 -2
  19. package/lib/common/components/PrintFontSizeModal/presenter.js +2 -2
  20. package/lib/common/components/SDKApp/index.js +4 -4
  21. package/lib/common/components/resources/entry/EntrySave/presenter.js +2 -2
  22. package/lib/common/components/shared/PaginatedCollection/presenter.js +2 -2
  23. package/lib/common/components/shared/TimeUnitsInput/index.js +2 -2
  24. package/lib/common/components/shared/functionality/makeEditable.js +2 -2
  25. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +2 -2
  26. package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
  27. package/package.json +34 -33
@@ -212,8 +212,8 @@ export var BankEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
212
212
  this.props.setShouldClone(false);
213
213
  }
214
214
  }, {
215
- key: "componentWillMount",
216
- value: function componentWillMount() {
215
+ key: "UNSAFE_componentWillMount",
216
+ value: function UNSAFE_componentWillMount() {
217
217
  this.props.setShouldClone(false);
218
218
  }
219
219
  }, {
@@ -446,7 +446,7 @@ export var BanksList = (_dec = withStyleOverrides(generateStyle, generateCompone
446
446
  }, jsx(Table.Row, null, this.renderTableSortHeader('name', t('Name')), this.renderTableSortHeader('updated_at', t('Updated')), jsx(Table.ColHeader, {
447
447
  id: "header-num-questions",
448
448
  width: "1"
449
- }, t('Questions')), this.renderTableSortHeader('last_used', t('Last Used')), this.renderTableSortHeader('created_at', t('Created')), !this.props.isCompact && jsx(Table.ColHeader, {
449
+ }, t('Questions')), this.renderTableSortHeader('last_used', t('Last Used')), this.renderTableSortHeader('created_at', t('Created')), jsx(Table.ColHeader, {
450
450
  id: "header-option-links",
451
451
  width: "1"
452
452
  }, jsx(ScreenReaderContent, null, t('Bank option links'))))), jsx(Table.Body, null, (this.props.banks.toArray() || []).map(function (bank) {
@@ -329,8 +329,8 @@ export var SharingModalPresenter = (_dec = withStyleOverrides(generateStyle, gen
329
329
  });
330
330
  }
331
331
  }, {
332
- key: "componentWillReceiveProps",
333
- value: function componentWillReceiveProps(nextProps) {
332
+ key: "UNSAFE_componentWillReceiveProps",
333
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
334
334
  this.setState({
335
335
  accountPermission: nextProps.bank.accountPermission,
336
336
  shares: nextProps.sharedBanks
@@ -87,8 +87,8 @@ export var QuizEntryEditFooter = (_dec = withStyleOverrides(generateStyle, gener
87
87
  return _this;
88
88
  }
89
89
  _createClass(QuizEntryEditFooter, [{
90
- key: "componentWillReceiveProps",
91
- value: function componentWillReceiveProps(nextProps) {
90
+ key: "UNSAFE_componentWillReceiveProps",
91
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
92
92
  var points = this.getPoints(nextProps);
93
93
  this.setState({
94
94
  points: points,
@@ -276,8 +276,8 @@ var QuizEntryEdit = (_dec = withStyleOverrides(generateStyle, generateComponentT
276
276
  this.props.onEditQuizEntryToggle(this.props.quizEntry.id);
277
277
  }
278
278
  }, {
279
- key: "componentWillMount",
280
- value: function componentWillMount() {
279
+ key: "UNSAFE_componentWillMount",
280
+ value: function UNSAFE_componentWillMount() {
281
281
  this.props.setUi(SHOULD_CLONE_ITEM, false);
282
282
  }
283
283
  }, {
@@ -85,8 +85,8 @@ export var PrintFontSizeModal = (_dec = withStyleOverrides(generateStyle, genera
85
85
  });
86
86
  }
87
87
  }, {
88
- key: "componentWillReceiveProps",
89
- value: function componentWillReceiveProps(nextProps) {
88
+ key: "UNSAFE_componentWillReceiveProps",
89
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
90
90
  this.setState({
91
91
  selectedFontSize: nextProps.persistedPrintFontSize || this.state.selectedFontSize,
92
92
  rememberTextSizeSetting: !!this.props.persistedPrintFontSize || this.state.rememberTextSizeSetting
@@ -65,8 +65,8 @@ export var SDKApp = (_dec = withStyleOverrides(generateStyle, null), _dec(_class
65
65
  return set('appContainer', selectors);
66
66
  }
67
67
  }, {
68
- key: "componentWillMount",
69
- value: function componentWillMount() {
68
+ key: "UNSAFE_componentWillMount",
69
+ value: function UNSAFE_componentWillMount() {
70
70
  var _this$props$rceConfig;
71
71
  this.store.dispatch([setAPIEndpoint(this.props.apiEndpoint), setCanvasOrigin((_this$props$rceConfig = this.props.rceConfig) === null || _this$props$rceConfig === void 0 ? void 0 : _this$props$rceConfig.canvasOrigin), this.setAppContainer(this.props.appContainer), setUserToken(this.props.userToken), setOutcomesEndpoint(this.props.outcomesEndpoint), setOutcomesToken(this.props.outcomesToken), setContextUuid(this.props.contextUuid), setExternalAccountUuid(this.props.externalAccountUuid)]);
72
72
  if (this.props.itemBankSharingEnabled) {
@@ -84,8 +84,8 @@ export var SDKApp = (_dec = withStyleOverrides(generateStyle, null), _dec(_class
84
84
  !this.props.disableAlertLiveRegion && renderAlerts(this.store);
85
85
  }
86
86
  }, {
87
- key: "componentWillReceiveProps",
88
- value: function componentWillReceiveProps(newProps) {
87
+ key: "UNSAFE_componentWillReceiveProps",
88
+ value: function UNSAFE_componentWillReceiveProps(newProps) {
89
89
  var _newProps$rceConfig, _this$props$rceConfig2;
90
90
  if (newProps.apiEndpoint !== this.props.apiEndpoint) {
91
91
  this.store.dispatch(setAPIEndpoint(newProps.apiEndpoint));
@@ -85,8 +85,8 @@ export var EntrySave = /*#__PURE__*/function (_Component) {
85
85
  return _this;
86
86
  }
87
87
  _createClass(EntrySave, [{
88
- key: "componentWillMount",
89
- value: function componentWillMount() {
88
+ key: "UNSAFE_componentWillMount",
89
+ value: function UNSAFE_componentWillMount() {
90
90
  this.props.switchOnEditing(this.props.initialFocusId);
91
91
  }
92
92
  }, {
@@ -54,8 +54,8 @@ export var PaginatedCollection = (_dec = withStyleOverrides(generateStyle, gener
54
54
  this.getPage(this.props.stateKey, this.props.currentPage, this.props.params);
55
55
  }
56
56
  }, {
57
- key: "componentWillReceiveProps",
58
- value: function componentWillReceiveProps(_ref) {
57
+ key: "UNSAFE_componentWillReceiveProps",
58
+ value: function UNSAFE_componentWillReceiveProps(_ref) {
59
59
  var merge = _ref.merge,
60
60
  params = _ref.params,
61
61
  set = _ref.set,
@@ -179,8 +179,8 @@ export var TimeUnitsInput = /*#__PURE__*/function (_Component) {
179
179
  return _this;
180
180
  }
181
181
  _createClass(TimeUnitsInput, [{
182
- key: "componentWillMount",
183
- value: function componentWillMount() {
182
+ key: "UNSAFE_componentWillMount",
183
+ value: function UNSAFE_componentWillMount() {
184
184
  var _breakdownSeconds5 = breakdownSeconds(this.props.timeInSeconds, this.props.includeDays),
185
185
  days = _breakdownSeconds5.days,
186
186
  hours = _breakdownSeconds5.hours,
@@ -55,8 +55,8 @@ var giveEditProps = function giveEditProps(ComposedComponent) {
55
55
  return _this;
56
56
  }
57
57
  _createClass(_Class, [{
58
- key: "componentWillMount",
59
- value: function componentWillMount() {
58
+ key: "UNSAFE_componentWillMount",
59
+ value: function UNSAFE_componentWillMount() {
60
60
  this._uniqId = uniqueId("".concat(ComposedComponent.displayName, "_"));
61
61
  }
62
62
  }, {
@@ -83,8 +83,8 @@ var ExtraTimeMultiplier = /*#__PURE__*/function (_withI18nSupport) {
83
83
  return _this;
84
84
  }
85
85
  _createClass(ExtraTimeMultiplier, [{
86
- key: "componentWillMount",
87
- value: function componentWillMount() {
86
+ key: "UNSAFE_componentWillMount",
87
+ value: function UNSAFE_componentWillMount() {
88
88
  var multiplierValue = Math.max(this.props.timerMultiplierValue, this.props.minMultiplier);
89
89
  var multiplierValueString = this.formatDecimal2FractionDigits(multiplierValue);
90
90
  this.setState({
@@ -40,8 +40,8 @@ export var QuizAndItemAnalysis = (_dec = withStyleOverrides(generateStyle, gener
40
40
  this.getAnalyses(this.props.activeQuizId);
41
41
  }
42
42
  }, {
43
- key: "componentWillUpdate",
44
- value: function componentWillUpdate(nextProps) {
43
+ key: "UNSAFE_componentWillUpdate",
44
+ value: function UNSAFE_componentWillUpdate(nextProps) {
45
45
  if (this.props.activeQuizId !== nextProps.activeQuizId) {
46
46
  this.getAnalyses(nextProps.activeQuizId);
47
47
  }
@@ -219,8 +219,8 @@ var BankEntry = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default, _th
219
219
  this.props.setShouldClone(false);
220
220
  }
221
221
  }, {
222
- key: "componentWillMount",
223
- value: function componentWillMount() {
222
+ key: "UNSAFE_componentWillMount",
223
+ value: function UNSAFE_componentWillMount() {
224
224
  this.props.setShouldClone(false);
225
225
  }
226
226
  }, {
@@ -454,7 +454,7 @@ var BanksList = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default, _th
454
454
  }, (0, _emotion.jsx)(_uiTable.Table.Row, null, this.renderTableSortHeader('name', (0, _formatMessage.default)('Name')), this.renderTableSortHeader('updated_at', (0, _formatMessage.default)('Updated')), (0, _emotion.jsx)(_uiTable.Table.ColHeader, {
455
455
  id: "header-num-questions",
456
456
  width: "1"
457
- }, (0, _formatMessage.default)('Questions')), this.renderTableSortHeader('last_used', (0, _formatMessage.default)('Last Used')), this.renderTableSortHeader('created_at', (0, _formatMessage.default)('Created')), !this.props.isCompact && (0, _emotion.jsx)(_uiTable.Table.ColHeader, {
457
+ }, (0, _formatMessage.default)('Questions')), this.renderTableSortHeader('last_used', (0, _formatMessage.default)('Last Used')), this.renderTableSortHeader('created_at', (0, _formatMessage.default)('Created')), (0, _emotion.jsx)(_uiTable.Table.ColHeader, {
458
458
  id: "header-option-links",
459
459
  width: "1"
460
460
  }, (0, _emotion.jsx)(_uiA11yContent.ScreenReaderContent, null, (0, _formatMessage.default)('Bank option links'))))), (0, _emotion.jsx)(_uiTable.Table.Body, null, (this.props.banks.toArray() || []).map(function (bank) {
@@ -337,8 +337,8 @@ var SharingModalPresenter = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.
337
337
  });
338
338
  }
339
339
  }, {
340
- key: "componentWillReceiveProps",
341
- value: function componentWillReceiveProps(nextProps) {
340
+ key: "UNSAFE_componentWillReceiveProps",
341
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
342
342
  this.setState({
343
343
  accountPermission: nextProps.bank.accountPermission,
344
344
  shares: nextProps.sharedBanks
@@ -94,8 +94,8 @@ var QuizEntryEditFooter = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.de
94
94
  return _this;
95
95
  }
96
96
  (0, _createClass2.default)(QuizEntryEditFooter, [{
97
- key: "componentWillReceiveProps",
98
- value: function componentWillReceiveProps(nextProps) {
97
+ key: "UNSAFE_componentWillReceiveProps",
98
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
99
99
  var points = this.getPoints(nextProps);
100
100
  this.setState({
101
101
  points: points,
@@ -284,8 +284,8 @@ var QuizEntryEdit = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default,
284
284
  this.props.onEditQuizEntryToggle(this.props.quizEntry.id);
285
285
  }
286
286
  }, {
287
- key: "componentWillMount",
288
- value: function componentWillMount() {
287
+ key: "UNSAFE_componentWillMount",
288
+ value: function UNSAFE_componentWillMount() {
289
289
  this.props.setUi(_quizCommon.SHOULD_CLONE_ITEM, false);
290
290
  }
291
291
  }, {
@@ -92,8 +92,8 @@ var PrintFontSizeModal = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.def
92
92
  });
93
93
  }
94
94
  }, {
95
- key: "componentWillReceiveProps",
96
- value: function componentWillReceiveProps(nextProps) {
95
+ key: "UNSAFE_componentWillReceiveProps",
96
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
97
97
  this.setState({
98
98
  selectedFontSize: nextProps.persistedPrintFontSize || this.state.selectedFontSize,
99
99
  rememberTextSizeSetting: !!this.props.persistedPrintFontSize || this.state.rememberTextSizeSetting
@@ -72,8 +72,8 @@ var SDKApp = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default, null),
72
72
  return (0, _ui.set)('appContainer', selectors);
73
73
  }
74
74
  }, {
75
- key: "componentWillMount",
76
- value: function componentWillMount() {
75
+ key: "UNSAFE_componentWillMount",
76
+ value: function UNSAFE_componentWillMount() {
77
77
  var _this$props$rceConfig;
78
78
  this.store.dispatch([(0, _config.setAPIEndpoint)(this.props.apiEndpoint), (0, _config.setCanvasOrigin)((_this$props$rceConfig = this.props.rceConfig) === null || _this$props$rceConfig === void 0 ? void 0 : _this$props$rceConfig.canvasOrigin), this.setAppContainer(this.props.appContainer), (0, _config.setUserToken)(this.props.userToken), (0, _outcomes.setOutcomesEndpoint)(this.props.outcomesEndpoint), (0, _outcomes.setOutcomesToken)(this.props.outcomesToken), (0, _outcomes.setContextUuid)(this.props.contextUuid), (0, _outcomes.setExternalAccountUuid)(this.props.externalAccountUuid)]);
79
79
  if (this.props.itemBankSharingEnabled) {
@@ -91,8 +91,8 @@ var SDKApp = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default, null),
91
91
  !this.props.disableAlertLiveRegion && (0, _renderAlerts.renderAlerts)(this.store);
92
92
  }
93
93
  }, {
94
- key: "componentWillReceiveProps",
95
- value: function componentWillReceiveProps(newProps) {
94
+ key: "UNSAFE_componentWillReceiveProps",
95
+ value: function UNSAFE_componentWillReceiveProps(newProps) {
96
96
  var _newProps$rceConfig, _this$props$rceConfig2;
97
97
  if (newProps.apiEndpoint !== this.props.apiEndpoint) {
98
98
  this.store.dispatch((0, _config.setAPIEndpoint)(newProps.apiEndpoint));
@@ -93,8 +93,8 @@ var EntrySave = /*#__PURE__*/function (_Component) {
93
93
  return _this;
94
94
  }
95
95
  (0, _createClass2.default)(EntrySave, [{
96
- key: "componentWillMount",
97
- value: function componentWillMount() {
96
+ key: "UNSAFE_componentWillMount",
97
+ value: function UNSAFE_componentWillMount() {
98
98
  this.props.switchOnEditing(this.props.initialFocusId);
99
99
  }
100
100
  }, {
@@ -62,8 +62,8 @@ var PaginatedCollection = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.de
62
62
  this.getPage(this.props.stateKey, this.props.currentPage, this.props.params);
63
63
  }
64
64
  }, {
65
- key: "componentWillReceiveProps",
66
- value: function componentWillReceiveProps(_ref) {
65
+ key: "UNSAFE_componentWillReceiveProps",
66
+ value: function UNSAFE_componentWillReceiveProps(_ref) {
67
67
  var merge = _ref.merge,
68
68
  params = _ref.params,
69
69
  set = _ref.set,
@@ -185,8 +185,8 @@ var TimeUnitsInput = /*#__PURE__*/function (_Component) {
185
185
  return _this;
186
186
  }
187
187
  (0, _createClass2.default)(TimeUnitsInput, [{
188
- key: "componentWillMount",
189
- value: function componentWillMount() {
188
+ key: "UNSAFE_componentWillMount",
189
+ value: function UNSAFE_componentWillMount() {
190
190
  var _breakdownSeconds5 = (0, _index.breakdownSeconds)(this.props.timeInSeconds, this.props.includeDays),
191
191
  days = _breakdownSeconds5.days,
192
192
  hours = _breakdownSeconds5.hours,
@@ -68,8 +68,8 @@ var giveEditProps = function giveEditProps(ComposedComponent) {
68
68
  return _this;
69
69
  }
70
70
  (0, _createClass2.default)(_Class, [{
71
- key: "componentWillMount",
72
- value: function componentWillMount() {
71
+ key: "UNSAFE_componentWillMount",
72
+ value: function UNSAFE_componentWillMount() {
73
73
  this._uniqId = (0, _uniqueId.default)("".concat(ComposedComponent.displayName, "_"));
74
74
  }
75
75
  }, {
@@ -91,8 +91,8 @@ var ExtraTimeMultiplier = /*#__PURE__*/function (_withI18nSupport) {
91
91
  return _this;
92
92
  }
93
93
  (0, _createClass2.default)(ExtraTimeMultiplier, [{
94
- key: "componentWillMount",
95
- value: function componentWillMount() {
94
+ key: "UNSAFE_componentWillMount",
95
+ value: function UNSAFE_componentWillMount() {
96
96
  var multiplierValue = Math.max(this.props.timerMultiplierValue, this.props.minMultiplier);
97
97
  var multiplierValueString = this.formatDecimal2FractionDigits(multiplierValue);
98
98
  this.setState({
@@ -47,8 +47,8 @@ var QuizAndItemAnalysis = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.de
47
47
  this.getAnalyses(this.props.activeQuizId);
48
48
  }
49
49
  }, {
50
- key: "componentWillUpdate",
51
- value: function componentWillUpdate(nextProps) {
50
+ key: "UNSAFE_componentWillUpdate",
51
+ value: function UNSAFE_componentWillUpdate(nextProps) {
52
52
  if (this.props.activeQuizId !== nextProps.activeQuizId) {
53
53
  this.getAnalyses(nextProps.activeQuizId);
54
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "21.0.0",
3
+ "version": "21.0.1-rc.2+ea7f5f447",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -10,6 +10,27 @@
10
10
  "type": "git",
11
11
  "url": "https://gerrit.instructure.com/quizzes-ui.git"
12
12
  },
13
+ "scripts": {
14
+ "clean": "ui-build --clean",
15
+ "build": "build-if-changed",
16
+ "build:all": "ui-build --modules es,cjs",
17
+ "build:watch": "ui-build --watch",
18
+ "extract": "extract-translations",
19
+ "lint": "ui-test --lint",
20
+ "lint:fix": "ui-test --lint --fix",
21
+ "eslint:fix": "eslint --fix .",
22
+ "prelint": "pnpm build",
23
+ "pretest": "pnpm build",
24
+ "test": "pnpm test:karma",
25
+ "test:karma": "ui-test",
26
+ "test:watch": "ui-test --watch",
27
+ "snyk:monitor": "snyk monitor",
28
+ "postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/; pnpm postbuild:errorImage",
29
+ "postbuild:all": "pnpm postbuild",
30
+ "postbuild:errorImage": "cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg es/reporting/components/resources/NewQuizAndItemAnalysis/; cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg lib/reporting/components/resources/NewQuizAndItemAnalysis/",
31
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
32
+ "typecheck": "tsc --noEmit"
33
+ },
13
34
  "keywords": [
14
35
  "react",
15
36
  "react-component",
@@ -25,6 +46,11 @@
25
46
  "@instructure/emotion": "^9.11.1",
26
47
  "@instructure/grading-utils": "^1.0.0",
27
48
  "@instructure/outcomes-ui": "^3.2.2",
49
+ "@instructure/quiz-common": "21.0.1-rc.2+ea7f5f447",
50
+ "@instructure/quiz-i18n": "21.0.1-rc.2+ea7f5f447",
51
+ "@instructure/quiz-interactions": "21.0.1-rc.2+ea7f5f447",
52
+ "@instructure/quiz-number-input": "21.0.1-rc.2+ea7f5f447",
53
+ "@instructure/quiz-rce": "21.0.1-rc.2+ea7f5f447",
28
54
  "@instructure/ui-a11y-content": "^9.11.1",
29
55
  "@instructure/ui-alerts": "^9.11.1",
30
56
  "@instructure/ui-avatar": "^9.11.1",
@@ -83,6 +109,7 @@
83
109
  "file-saver": "~2.0.5",
84
110
  "humps": "^2.0.0",
85
111
  "immutable": "^3.8.1",
112
+ "instructure-validations": "21.0.1-rc.2+ea7f5f447",
86
113
  "ipaddr.js": "^1.5.4",
87
114
  "isomorphic-fetch": "^2.2.0",
88
115
  "isuuid": "^0.1.0",
@@ -110,15 +137,10 @@
110
137
  "scriptjs": "^2.5.8",
111
138
  "store": "^1.3.20",
112
139
  "striptags": "^2.0.0",
113
- "uuid": "^3.2.1",
114
- "@instructure/quiz-common": "21.0.0",
115
- "@instructure/quiz-interactions": "21.0.0",
116
- "@instructure/quiz-i18n": "21.0.0",
117
- "@instructure/quiz-rce": "21.0.0",
118
- "instructure-validations": "21.0.0",
119
- "@instructure/quiz-number-input": "21.0.0"
140
+ "uuid": "^3.2.1"
120
141
  },
121
142
  "devDependencies": {
143
+ "@instructure/quiz-scripts": "21.0.0",
122
144
  "@instructure/ui-axe-check": "^9.11.1",
123
145
  "@instructure/ui-babel-preset": "^7.22.1",
124
146
  "@instructure/ui-test-utils": "^7.22.1",
@@ -137,6 +159,7 @@
137
159
  "jquery": "^2.2.3",
138
160
  "karma-junit-reporter": "^2.0.1",
139
161
  "most-subject": "^5.3.0",
162
+ "quiz-presets": "21.0.1-rc.2+ea7f5f447",
140
163
  "react": "^16.8.6",
141
164
  "react-addons-test-utils": "^15.6.2",
142
165
  "react-dom": "^16.8.6",
@@ -144,9 +167,7 @@
144
167
  "redux-mock-store": "^1.3.0",
145
168
  "request": "^2.74.0",
146
169
  "sinon": "^6.1.3",
147
- "sinon-chai": "^3.3.0",
148
- "@instructure/quiz-scripts": "21.0.0",
149
- "quiz-presets": "21.0.0"
170
+ "sinon-chai": "^3.3.0"
150
171
  },
151
172
  "peerDependencies": {
152
173
  "react": "^15 || ^16"
@@ -154,25 +175,5 @@
154
175
  "publishConfig": {
155
176
  "access": "public"
156
177
  },
157
- "scripts": {
158
- "clean": "ui-build --clean",
159
- "build": "build-if-changed",
160
- "build:all": "ui-build --modules es,cjs",
161
- "build:watch": "ui-build --watch",
162
- "extract": "extract-translations",
163
- "lint": "ui-test --lint",
164
- "lint:fix": "ui-test --lint --fix",
165
- "eslint:fix": "eslint --fix .",
166
- "prelint": "pnpm build",
167
- "pretest": "pnpm build",
168
- "test": "pnpm test:karma",
169
- "test:karma": "ui-test",
170
- "test:watch": "ui-test --watch",
171
- "snyk:monitor": "snyk monitor",
172
- "postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/; pnpm postbuild:errorImage",
173
- "postbuild:all": "pnpm postbuild",
174
- "postbuild:errorImage": "cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg es/reporting/components/resources/NewQuizAndItemAnalysis/; cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg lib/reporting/components/resources/NewQuizAndItemAnalysis/",
175
- "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
176
- "typecheck": "tsc --noEmit"
177
- }
178
- }
178
+ "gitHead": "ea7f5f447468891ba1903586059ba55f52bdf9c9"
179
+ }