2011-11-11 00:31:45 +08:00
{
"name" : "canvas-lms" ,
2015-07-16 12:24:49 +08:00
"license" : "AGPL-3.0" ,
2011-11-11 00:31:45 +08:00
"version" : "0.0.0" ,
2015-07-16 12:24:49 +08:00
"engines" : {
2021-01-26 03:16:32 +08:00
"node" : ">=14.0.0" ,
2020-12-12 01:32:26 +08:00
"yarn" : "^1.19.1"
2015-07-16 12:24:49 +08:00
} ,
2018-05-25 00:09:03 +08:00
"private" : true ,
"workspaces" : {
"packages" : [
2018-06-15 22:04:23 +08:00
"gems/canvas_i18nliner" ,
2018-07-20 03:42:35 +08:00
"gems/plugins/*" ,
2021-04-06 07:44:00 +08:00
"ui/shared/*" ,
2021-01-02 07:58:12 +08:00
"packages/*"
2018-05-25 00:09:03 +08:00
] ,
"nohoist" : [
2021-01-07 01:40:57 +08:00
"**/tinymce" ,
"**/tinymce/**"
2018-05-25 00:09:03 +08:00
]
} ,
2014-02-11 02:29:11 +08:00
"dependencies" : {
2021-07-01 01:51:10 +08:00
"@instructure/brandable_css" : "^3" ,
2019-08-28 04:07:03 +08:00
"@instructure/canvas-rce-old" : "4.1.5" ,
2021-06-04 07:55:11 +08:00
"@instructure/canvas-theme" : "^7" ,
"@instructure/debounce" : "^7" ,
2019-08-27 11:41:36 +08:00
"@instructure/js-utils" : ">=1" ,
2021-08-18 10:02:53 +08:00
"@instructure/media-capture" : "~8.0.1-rc.11" ,
2021-07-07 11:16:39 +08:00
"@instructure/outcomes-ui" : "^2.0.0" ,
2018-11-27 02:20:33 +08:00
"@instructure/react-crop" : "^5.0.1" ,
2020-12-03 07:53:26 +08:00
"@instructure/reactour" : "https://github.com/instructure/reactour#b908434fe544703e26bc67c67c4111252c401f92" ,
2020-02-21 07:38:23 +08:00
"@instructure/ready" : ">=1" ,
2021-06-04 07:55:11 +08:00
"@instructure/ui-a11y-content" : "^7" ,
"@instructure/ui-a11y-utils" : "^7" ,
"@instructure/ui-alerts" : "^7" ,
"@instructure/ui-avatar" : "^7" ,
"@instructure/ui-badge" : "^7" ,
"@instructure/ui-billboard" : "^7" ,
"@instructure/ui-breadcrumb" : "^7" ,
"@instructure/ui-buttons" : "^7" ,
"@instructure/ui-calendar" : "^7" ,
"@instructure/ui-checkbox" : "^7" ,
"@instructure/ui-date-input" : "^7" ,
"@instructure/ui-decorator" : "^7" ,
"@instructure/ui-editable" : "^7" ,
"@instructure/ui-file-drop" : "^7" ,
"@instructure/ui-flex" : "^7" ,
"@instructure/ui-focusable" : "^7" ,
"@instructure/ui-form-field" : "^7" ,
"@instructure/ui-grid" : "^7" ,
"@instructure/ui-heading" : "^7" ,
"@instructure/ui-i18n" : "^7" ,
"@instructure/ui-icons" : "^7" ,
"@instructure/ui-img" : "^7" ,
"@instructure/ui-link" : "^7" ,
"@instructure/ui-list" : "^7" ,
"@instructure/ui-media-player" : "^7" ,
"@instructure/ui-menu" : "^7" ,
"@instructure/ui-metric" : "^7" ,
"@instructure/ui-modal" : "^7" ,
"@instructure/ui-motion" : "^7" ,
"@instructure/ui-number-input" : "^7" ,
"@instructure/ui-overlays" : "^7" ,
"@instructure/ui-pagination" : "^7" ,
"@instructure/ui-pill" : "^7" ,
"@instructure/ui-portal" : "^7" ,
"@instructure/ui-progress" : "^7" ,
"@instructure/ui-radio-input" : "^7" ,
"@instructure/ui-rating" : "^7" ,
"@instructure/ui-react-utils" : "^7" ,
"@instructure/ui-responsive" : "^7" ,
"@instructure/ui-select" : "^7" ,
"@instructure/ui-simple-select" : "^7" ,
"@instructure/ui-spinner" : "^7" ,
"@instructure/ui-svg-images" : "^7" ,
"@instructure/ui-table" : "^7" ,
"@instructure/ui-tabs" : "^7" ,
"@instructure/ui-tag" : "^7" ,
"@instructure/ui-text" : "^7" ,
"@instructure/ui-text-area" : "^7" ,
"@instructure/ui-text-input" : "^7" ,
"@instructure/ui-themeable" : "^7" ,
"@instructure/ui-themes" : "^7" ,
"@instructure/ui-time-select" : "^7" ,
"@instructure/ui-toggle-details" : "^7" ,
"@instructure/ui-tooltip" : "^7" ,
"@instructure/ui-tray" : "^7" ,
"@instructure/ui-tree-browser" : "^7" ,
"@instructure/ui-view" : "^7" ,
"@instructure/uid" : "^7" ,
2020-08-25 00:57:49 +08:00
"@microsoft/immersive-reader-sdk" : "^1.1.0" ,
2021-07-12 09:26:47 +08:00
"@popperjs/core" : "^2.9.2" ,
2019-08-28 04:10:29 +08:00
"apollo-cache" : "^1.3.2" ,
2021-05-26 01:22:32 +08:00
"apollo-cache-inmemory" : "^1.6.3" ,
2019-08-22 00:54:59 +08:00
"apollo-client" : "^2.6.4" ,
2018-11-20 04:17:17 +08:00
"apollo-link" : "^1.2.3" ,
"apollo-link-error" : "^1.1.1" ,
"apollo-link-http" : "^1.5.5" ,
2018-12-11 03:56:24 +08:00
"apollo-link-state" : "^0.4.2" ,
2019-08-28 04:10:29 +08:00
"apollo-utilities" : "^1.3.2" ,
2021-05-12 00:18:20 +08:00
"axios" : "^0.21.1" ,
"axios-cache-adapter" : "^2.7.0" ,
2017-10-04 01:05:04 +08:00
"backbone" : "1.1.1" ,
2018-05-02 04:54:56 +08:00
"big.js" : "^5.0.3" ,
2017-08-09 03:40:06 +08:00
"canvas_offline_course_viewer" : "https://github.com/instructure/canvas_offline_course_viewer.git#1.2.0" ,
2017-10-04 01:05:04 +08:00
"classnames" : "^2.2.5" ,
"color-slicer" : "0.8.0" ,
2020-02-08 02:22:56 +08:00
"confetti-js" : "^0.0.17" ,
2018-09-12 13:29:44 +08:00
"create-react-class" : "^15.6.3" ,
2017-12-04 23:24:41 +08:00
"d3" : "3.5.17" ,
2021-03-26 00:11:03 +08:00
"final-form" : "^4.20.2" ,
2018-03-02 07:12:40 +08:00
"formdata-polyfill" : "^3.0.9" ,
2018-01-12 00:59:21 +08:00
"fullcalendar" : "https://github.com/instructure/fullcalendar.git#1108dd1c991a029ec6fd7de3337737ec5295ba97" ,
2019-08-27 06:36:31 +08:00
"graphiql" : "^0.14.2" ,
2019-06-05 05:11:11 +08:00
"graphiql-explorer" : "^0.4.2" ,
2019-02-13 23:29:15 +08:00
"graphql" : "^14" ,
2018-03-27 01:32:21 +08:00
"graphql-tag" : "^2.8.0" ,
2018-03-14 04:10:14 +08:00
"i18n-js" : "^3" ,
2017-10-04 01:05:04 +08:00
"ic-ajax" : "~2.0.1" ,
"ic-tabs" : "0.1.3" ,
2019-08-20 08:55:20 +08:00
"immer" : "^3" ,
"immutability-helper" : "^3" ,
Configurable proficiency ratings page
closes OUT-1856, OUT-1858, OUT-2239, OUT-2148
This adds configurable proficiency ratings on the account rubrics page.
Persisting these changes will occur in a future patchset (2252).
Validating order will be in a separate patchset (2240).
test plan:
- with the "non-scoring rubrics" feature flag off, the account rubrics
page should appear without the proficiency ratings tab
- with the "non-scoring rubrics" feature flag on, the accounts rubrics
page should appear with the proficiency tab, if visiting with an
account with "manage_outcomes" permission (e.g. account admin)
- create an account role that has "Create and edit assessing rubrics"
permission enabled but "Manage learning outcomes" disabled by going
to the account page, click on the "Permissions" link in the left menu,
then select the "Account Roles" tab to then be able create the role
and enable the permission above.
- create an account user by going to the account page and then click
on the "People" link in the left menu to then be able to
click on "+ New User". you'll use the email address entered in
the next step.
- make that user an account admin by going to the account page,
click on the "Settings" link in the left menu, then select the
"Admins" tab, then click on "+ Account Admins". select the new
role from the drop down menu and enter the email address you used
in the preivous step
- confirm with the feature flag enabled, that visiting the account
rubrics page does not appear with the proficiency tab, if visiting
with an account without "manage_outcomes" permission (e.g. masquerade
as the user created above)
- on the proficiency tab, test error handling:
* description is required
* points is required, should be a valid number
* when saving changes, all fields with errors should be labelled
with an error text, with the first field receiving focus
Change-Id: Ic52ef9fe9c58cfb215216b3a505ef1fb4b851c68
Reviewed-on: https://gerrit.instructure.com/150841
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
Tested-by: Jenkins
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-04-10 09:20:00 +08:00
"immutable" : "^3.8.2" ,
Insert language polyfills at page load time
Refs FOO-1891
flag=none
Canvas officially supports a fixed set of languages and locales.
Unfortunately, not all browsers support all of those (the worst
offender oddly enough is Google Chrome). Fortunately, polyfills
for almost all of the Canvas supported languages are available
via a polyfill package.
This commit introduces a function that asynchronously loads the
polyfill for a requested language. It does nothing if it sees
there is already native support in the browser for that
language. The function can be imported and run to dynamically
switch in and out the polyfills as necessary, but since Canvas
never changes ENV.LOCALE except at page load time, it should
suffice to call it at front end initialization time; this was
added to ui/index.js as a part of its "readiness" checks.
The missing one (that NO browser supports) is Haitian Creole;
we will have to probably build our own locale data file for
that one.
This takes care of polyfilling DateTimeFormat, NumberFormat,
and RelativeTimeFormat. We can always add other Intl systems
if the need arises.
Test plan:
* Be on Chrome (which does not support the Welsh language)
* In the browser console, verify no native support for Welsh:
Intl.DateTimeFormat.supportedLocalesOf(['cy'])
... should return an empty array
* Go into your user settings on Canvas and change your language
to Welsh (Cymraeg). Reload the page to make it take effect.
Now your settings page should appear in Welsh.
* In the browser console, verify that dates and times can be
formatted correctly in Welsh (thanks to the polyfill):
Intl.DateTimeFormat('cy', {
dateStyle: 'long',
timeStyle: 'long'
}).format(new Date())
* That should display a date and time in Welsh (most prominently
seen in the name of the month).
Change-Id: I40632344ba1d8679aba1a976fcb55af97636be4b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/267359
Reviewed-by: Ahmad Amireh <ahmad@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Ahmad Amireh <ahmad@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-06-17 10:43:17 +08:00
"intl-polyfills" : "^1" ,
2019-08-14 13:36:39 +08:00
"is-valid-domain" : "^0.0.11" ,
2020-04-29 05:19:29 +08:00
"jquery" : "https://github.com/instructure/jquery.git#1.7.2-with-AMD-and-CommonJS" ,
2017-10-04 01:05:04 +08:00
"jquery-getscrollbarwidth" : "^1.0.0" ,
"jquery-ui-touch-punch" : "^0.2.3" ,
"jquery.cookie" : "^1.4.1" ,
2018-01-03 06:24:44 +08:00
"jquery.elastic" : "1.0.0" ,
2017-12-09 08:32:58 +08:00
"location-origin" : "^1.1.4" ,
2021-05-26 01:22:32 +08:00
"lodash" : "^4.17.21" ,
2017-10-04 01:05:04 +08:00
"md5" : "^2.2.1" ,
2018-03-07 00:03:37 +08:00
"mediaelement" : "https://github.com/instructure/mediaelement.git#master" ,
2021-05-19 03:19:51 +08:00
"mime-types" : "^2.1.30" ,
Pass correct locale to Planner
Sometimes ENV.LOCALE and ENV.MOMENT_LOCALE are different
(zh-Hans v zh-cn or mi v mi-nz). We were passing the former to planner,
but moment needs the full locale, including language and region
identifiers, and formatMessage copes with the full locale just fine,
so we really need to pass in the latter or moment eventually
blows up.
So mi-nz month names would successfully parse, had to both bump our
version of moment and tweak the canvas customized mi-nz locale data.
to test, you'll have to run yarn to update moment, then build with
RAILS_LOAD_ALL_LOCALES=1 yarn build
Note on the changes to timezoneSpec.js:
- some of the specs were parsing dates like "Mon, Aug 3", which are
being interpreted in the current year, when Aut 3 is not a Monday.
Resolved this by using MockDate to pretend today is 2/1/2015
- moment does not always interpret the Chinese characters for evening as
implying PM. I'm assuming canvas will never need that particular
construct and commented out the failing string.
- there's one date-time that's getting the date totally wrong.
- Fixed grammatically incorrect instances of
'8月 3, 2015' to ''8月 3日, 2015'
- fix cases where the year is coming after the month and day, which
would never really happen
fixes ADMIN-1331
test plan:
- have a student in course so planner is enabled.
- go to /profile/settings and Edit
- change the Language to Reo Māori (Aotearoa) and "Update Settings"
- go to the planner dashboard
- click on + to create a new todo
> expect you can create a todo.
If you want, you can repeat with any of the languages listed in the
ticket just to prove ^that wasn't a fluke.
Change-Id: I9ba069ef61529088ab92271d7857998df6bbc409
Reviewed-on: https://gerrit.instructure.com/161206
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2018-08-18 03:21:04 +08:00
"moment" : "^2.10.6" ,
2020-06-30 02:23:26 +08:00
"nanoid" : "^3.1.10" ,
2019-08-06 06:43:39 +08:00
"newless" : "^0.3.0" ,
2019-08-14 13:36:39 +08:00
"normalize-scroll-left" : "^0.2" ,
2019-10-11 22:32:01 +08:00
"page" : "^1.11" ,
2018-01-17 00:52:42 +08:00
"parse-decimal-number" : "1.0.0" ,
2018-05-31 02:03:31 +08:00
"parse-link-header" : "^1" ,
2018-02-23 03:58:38 +08:00
"prop-types" : "^15" ,
2019-03-07 00:43:35 +08:00
"qs" : "^6.6.0" ,
2021-05-26 01:22:32 +08:00
"react" : "^16.13.1" ,
"react-apollo" : "~3.0.1" ,
2018-09-12 05:22:47 +08:00
"react-dnd" : "^2.5.2" ,
"react-dnd-html5-backend" : "^2.5.2" ,
2021-05-26 01:22:32 +08:00
"react-dom" : "^16.13.1" ,
2021-03-26 00:11:03 +08:00
"react-final-form" : "^6.5.3" ,
2018-06-01 05:13:10 +08:00
"react-immutable-proptypes" : "^2.1.0" ,
2018-04-27 04:24:36 +08:00
"react-lazy-load" : "^3.0.13" ,
2018-09-13 03:05:43 +08:00
"react-modal" : "^3" ,
2021-07-12 09:26:47 +08:00
"react-popper" : "^2.2.5" ,
2018-11-30 08:54:31 +08:00
"react-redux" : "^5.1.1" ,
2021-01-02 07:58:12 +08:00
"react-router-dom" : "^5.2.0" ,
upgrade react-token-input so it supports react 16
closes: CORE-1885
Test plan:
* make sure the token input that appears when you edit assignment
due date Overrides on the assignment overrides page still works
Like it did before. Here’s it’s original test plan:
new due dates selection UI
- on assignments, quizzes & discussions pages
- with DA on and off
- assign various due dates/(un)lock dates
to source sections, individuals, and everybody
- these should create overrides that properly take
students/sections and dates
- validations should work for all dates as normal
and not let empty overrides get created (with no
students or sections)
- the names of overrides should properly update as
students change
- as more overrides get created, saving assignments
should not slow down significantly
- the student/section selector should be intuitive
* the “new grading period set” form should work as it did before.
Here’s it’s original test plan:
A new button "+ Add Grading Period Set" is on the
Grading Period Sets page. This allows a new set to
be named and associated with as many terms as needed.
To begin, visit the Grading page for an account
(e.g. /accounts/1/grading_standards) and click "+ Set of
Grading Period" and within this form ensure the following:
1. Given no name in the "Set name" field, when clicking
the "Create" button a flash message is displayed and the
set is not saved
2. Given no enrollment terms in the "Attach terms", when
clicking the "Create" button a flash message is displayed
and the set is not saved
3. Given a name and at least one attached enrollment term,
when clicking the "Create" button an AJAX call successfully
persists to the database and the new set is displayed on
the page along with a successful flash message
4. When the form is open, the "+ Set of Grading Periods"
button is disabled
5. When the form is in the process of creating a new set,
the "Create" and "Cancel" button is disabled
6. Clicking close at any other time closes the form and
re-enables the "+ Set of Grading Periods" button and
all data in the form is cleared
Change-Id: Ibb0290202b5dcf00ec42a4bb6d1c3d2e3d7a3b2b
Reviewed-on: https://gerrit.instructure.com/164492
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Tested-by: Jenkins
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-09-14 23:20:08 +08:00
"react-tokeninput" : "^2.5.0" ,
2018-11-27 02:20:33 +08:00
"react-transition-group" : "^1" ,
2018-11-30 08:52:22 +08:00
"redux" : "^4.0.1" ,
2018-11-30 08:57:55 +08:00
"redux-actions" : "^2.6.4" ,
2018-11-30 09:00:13 +08:00
"redux-thunk" : "^2.3.0" ,
2019-08-21 07:12:19 +08:00
"shallow-equal" : "^1.2.0" ,
2017-10-04 01:05:04 +08:00
"spin.js" : "2.3.2" ,
"swfobject" : "^2.2.1" ,
"tablesorter" : "^2.28.5" ,
2019-10-29 23:36:16 +08:00
"timezone" : "https://registry.npmjs.org/@brentburgoyne/timezone/-/timezone-1.0.24.tgz" ,
2017-10-04 01:05:04 +08:00
"tinycolor2" : "1.4.1" ,
2021-06-23 05:22:40 +08:00
"tinymce-a11y-checker" : "^3.2.0" ,
2019-08-16 04:39:59 +08:00
"use-debounce" : "^3" ,
2020-04-30 23:40:56 +08:00
"use-media-set" : "^1.1" ,
Configurable proficiency ratings page
closes OUT-1856, OUT-1858, OUT-2239, OUT-2148
This adds configurable proficiency ratings on the account rubrics page.
Persisting these changes will occur in a future patchset (2252).
Validating order will be in a separate patchset (2240).
test plan:
- with the "non-scoring rubrics" feature flag off, the account rubrics
page should appear without the proficiency ratings tab
- with the "non-scoring rubrics" feature flag on, the accounts rubrics
page should appear with the proficiency tab, if visiting with an
account with "manage_outcomes" permission (e.g. account admin)
- create an account role that has "Create and edit assessing rubrics"
permission enabled but "Manage learning outcomes" disabled by going
to the account page, click on the "Permissions" link in the left menu,
then select the "Account Roles" tab to then be able create the role
and enable the permission above.
- create an account user by going to the account page and then click
on the "People" link in the left menu to then be able to
click on "+ New User". you'll use the email address entered in
the next step.
- make that user an account admin by going to the account page,
click on the "Settings" link in the left menu, then select the
"Admins" tab, then click on "+ Account Admins". select the new
role from the drop down menu and enter the email address you used
in the preivous step
- confirm with the feature flag enabled, that visiting the account
rubrics page does not appear with the proficiency tab, if visiting
with an account without "manage_outcomes" permission (e.g. masquerade
as the user created above)
- on the proficiency tab, test error handling:
* description is required
* points is required, should be a valid number
* when saving changes, all fields with errors should be labelled
with an error text, with the first field receiving focus
Change-Id: Ic52ef9fe9c58cfb215216b3a505ef1fb4b851c68
Reviewed-on: https://gerrit.instructure.com/150841
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
Tested-by: Jenkins
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-04-10 09:20:00 +08:00
"uuid" : "^3.2.1"
2014-02-11 02:29:11 +08:00
} ,
2011-11-11 00:31:45 +08:00
"devDependencies" : {
2021-05-26 01:22:32 +08:00
"@apollo/react-common" : "~3.0.1" ,
"@apollo/react-components" : "~3.0.1" ,
"@apollo/react-hoc" : "~3.0.1" ,
"@apollo/react-hooks" : "~3.0.1" ,
"@apollo/react-ssr" : "~3.0.1" ,
2021-07-12 09:26:47 +08:00
"@apollo/react-testing" : "~3.0.1" ,
2019-03-06 05:20:27 +08:00
"@babel/cli" : "^7.0.0" ,
"@babel/core" : "^7.0.0" ,
2019-08-16 05:46:07 +08:00
"@babel/parser" : "^7" ,
2019-09-17 23:38:44 +08:00
"@babel/plugin-proposal-optional-chaining" : "^7" ,
2020-02-21 07:38:23 +08:00
"@babel/plugin-transform-react-inline-elements" : "^7.2.0" ,
2021-07-30 11:29:31 +08:00
"@babel/preset-typescript" : "^7.14.5" ,
2019-08-08 03:10:17 +08:00
"@instructure/browserslist-config-canvas-lms" : ">=2" ,
2020-05-26 23:37:35 +08:00
"@instructure/ui-babel-preset" : "6" ,
2021-02-05 02:32:55 +08:00
"@prettier/plugin-ruby" : "^1.5.2" ,
2018-06-16 01:28:53 +08:00
"@sentry/webpack-plugin" : "^1.5.2" ,
2019-01-15 01:33:05 +08:00
"@sheerun/mutationobserver-shim" : "0.3.2" ,
2020-10-15 06:41:17 +08:00
"@testing-library/dom" : "^7" ,
2021-02-18 02:07:07 +08:00
"@testing-library/jest-dom" : "^5" ,
"@testing-library/react" : "^11" ,
"@testing-library/react-hooks" : "^5" ,
2020-10-15 06:41:17 +08:00
"@testing-library/user-event" : "^12" ,
2019-08-28 04:10:29 +08:00
"@types/react" : ">=16.9.0" ,
2021-07-30 11:29:31 +08:00
"@typescript-eslint/eslint-plugin" : "^4.29.1" ,
"@typescript-eslint/parser" : "^4.29.1" ,
2018-08-11 00:22:49 +08:00
"@yarnpkg/lockfile" : "^1.0.2" ,
2020-04-07 06:07:18 +08:00
"array-flat-polyfill" : "^1.0.1" ,
2018-02-23 03:58:38 +08:00
"axe-core" : "~2.1.7" ,
2019-03-06 02:30:44 +08:00
"babel-eslint" : "^10" ,
2019-03-06 05:20:27 +08:00
"babel-jest" : "^24" ,
"babel-loader" : "^8" ,
2019-02-06 04:54:30 +08:00
"babel-plugin-dynamic-import-node" : "^2.2.0" ,
2019-02-23 14:41:33 +08:00
"babel-plugin-transform-amd-to-commonjs" : "^1.4.0" ,
2018-02-23 03:58:38 +08:00
"babel-plugin-transform-react-remove-prop-types" : "^0.4" ,
2021-07-30 11:29:31 +08:00
"babel-plugin-typescript-to-proptypes" : "^1.4.2" ,
2021-01-02 07:58:12 +08:00
"chai-assert-change" : "^2.0.0" ,
2019-08-14 13:36:39 +08:00
"clean-webpack-plugin" : "^3" ,
2018-02-23 03:58:38 +08:00
"coffee-loader" : "~0.7.2" ,
"coffee-script" : "^1" ,
2018-09-18 07:08:57 +08:00
"concurrently" : "^4" ,
2019-08-14 13:36:39 +08:00
"core-js-builder" : "^3" ,
"css-loader" : "^3" ,
2015-10-01 11:16:11 +08:00
"ember-template-compiler" : "^1.8.0" ,
2017-12-09 01:29:42 +08:00
"enzyme" : "^3" ,
2018-09-11 12:13:01 +08:00
"enzyme-adapter-react-16" : "^1" ,
2018-10-10 03:36:49 +08:00
"enzyme-to-json" : "^3.3.4" ,
2019-03-06 05:20:27 +08:00
"es-check" : "^5" ,
2021-05-21 00:54:30 +08:00
"eslint" : "^7" ,
2019-08-14 09:31:44 +08:00
"eslint-config-airbnb" : "^18" ,
"eslint-config-prettier" : "^6" ,
2020-05-01 21:34:22 +08:00
"eslint-plugin-babel" : "^5" ,
2018-11-03 01:48:59 +08:00
"eslint-plugin-eslint-comments" : "^3.0.1" ,
2018-02-23 03:58:38 +08:00
"eslint-plugin-import" : "^2" ,
2019-03-06 05:20:27 +08:00
"eslint-plugin-jest" : "^22" ,
2018-02-23 03:58:38 +08:00
"eslint-plugin-jsx-a11y" : "^6" ,
2019-08-14 09:31:44 +08:00
"eslint-plugin-lodash" : "^6" ,
"eslint-plugin-notice" : "^0.8" ,
2018-10-04 07:01:30 +08:00
"eslint-plugin-prettier" : "^3" ,
"eslint-plugin-promise" : "^4" ,
"eslint-plugin-qunit" : "^4" ,
2018-02-23 03:58:38 +08:00
"eslint-plugin-react" : "^7" ,
2019-06-26 05:24:47 +08:00
"eslint-plugin-react-hooks" : "^1" ,
2018-02-23 03:58:38 +08:00
"exports-loader" : "^0.7" ,
"expose-loader" : "^0.7" ,
2021-01-15 05:29:41 +08:00
"fast-glob" : "^3.2.4" ,
2018-10-04 07:01:30 +08:00
"fetch-mock" : "^7" ,
2019-08-14 13:36:39 +08:00
"file-loader" : "^4" ,
2016-08-09 07:39:19 +08:00
"gglobby" : "0.0.3" ,
2018-02-23 03:58:38 +08:00
"glob" : "^7" ,
2019-07-12 04:45:03 +08:00
"graphql-tools" : "^4" ,
2020-10-15 04:59:13 +08:00
"gulp" : "^4" ,
2018-02-23 03:58:38 +08:00
"gulp-file" : "^0.4" ,
2020-10-15 04:59:13 +08:00
"gulp-filter" : "^6" ,
2018-02-23 03:58:38 +08:00
"gulp-insert" : "^0.5" ,
2020-10-15 04:59:13 +08:00
"gulp-load-plugins" : "^2" ,
"gulp-rename" : "^2" ,
"gulp-rev" : "^9" ,
2018-02-23 03:58:38 +08:00
"gulp-sourcemaps" : "^2" ,
"gulp-uglify" : "^3" ,
2017-02-15 05:54:51 +08:00
"handlebars" : "1.3.0" ,
2018-02-23 03:58:38 +08:00
"imports-loader" : "^0.8" ,
"istanbul-instrumenter-loader" : "^3" ,
2018-04-06 05:27:42 +08:00
"istanbul-merge" : "^1.1.1" ,
2019-03-06 05:20:27 +08:00
"jest" : "^24" ,
2019-08-14 13:36:39 +08:00
"jest-canvas-mock" : "^2" ,
2019-02-23 14:41:33 +08:00
"jest-config" : "^24" ,
2019-08-06 01:45:01 +08:00
"jest-environment-jsdom-fourteen" : "^0.1.0" ,
2020-03-23 11:42:21 +08:00
"jest-fetch-mock" : "^3.0.3" ,
2021-05-26 01:22:32 +08:00
"jest-html-reporter" : "^3" ,
2019-08-14 13:36:39 +08:00
"jest-junit" : "^7" ,
2018-02-23 03:58:38 +08:00
"jest-localstorage-mock" : "^2" ,
2018-12-04 23:19:46 +08:00
"jest-moxios-utils" : "^1" ,
2019-04-06 05:50:49 +08:00
"jest-raw-loader" : "^1" ,
2021-06-22 03:07:58 +08:00
"jsdom-global" : "^3.0.2" ,
2018-02-23 03:58:38 +08:00
"json-loader" : "^0.5.7" ,
2018-10-04 07:01:30 +08:00
"karma" : "^3" ,
2018-02-23 03:58:38 +08:00
"karma-chrome-launcher" : "^2" ,
2018-10-04 07:01:30 +08:00
"karma-coverage-istanbul-reporter" : "^2" ,
2015-02-26 06:28:11 +08:00
"karma-firework-reporter" : "~0.2.4" ,
2018-02-23 03:58:38 +08:00
"karma-junit-reporter" : "^1" ,
2017-07-26 01:29:52 +08:00
"karma-qunit" : "~1.2.1" ,
2018-02-23 03:58:38 +08:00
"karma-sourcemap-loader" : "^0.3" ,
2017-12-18 23:21:42 +08:00
"karma-spec-reporter" : "^0.0.32" ,
2017-07-26 01:29:52 +08:00
"karma-verbose-reporter" : "^0.0.6" ,
2021-01-14 05:14:23 +08:00
"karma-webpack" : "necessary until https://github.com/ryanclark/karma-webpack/pull/449 is merged" ,
"karma-webpack" : "instructure/karma-webpack#patch1" ,
2019-08-14 13:36:39 +08:00
"lint-staged" : "^9" ,
rework handlebars dependency on brandable_css
refs FOO-1116
right now in order to build the javascript, we must run brandable_css
first for the specific purpose of injecting into handlebars templates
their corresponding stylesheet file with the checksum as reported by
brandable_css
this patch moves things around such that Rails provides this mapping of
"handlebars template" to "CSS variant file checksums" in a global
variable (Rails is privy to this information already), webpack then at
build time injects only a reference to that mapping into the template,
then our runtime brandable-css JS helper will resolve that reference
from the mapping and request the correct file based on the current
user's variant
[1] rails assigns window.BRANDABLE_CSS_HANDLEBARS_INDEX with content
like this:
[
[ "new_styles_normal_contrast", "new_styles_high_contrast", ... ],
{
"0c": ["0f4f01ab86", 0, 0, "e3e7211701", 3, ... ],
...
}
]
the structure of the mapping is explained in brandable_css[1], it is
a bit overtuned to reduce the size as much as possible since this is
included for ALL pages even though the templates in question may never
be rendered (right now it's ~1.5kB and should never grow)
[2] webpack asks @canvas/brandable-css to loadStylesheetForJST using the
contrived id for that file (frontend_build/i18nLinerHandlebars.js:92)
[3] brandable-css/index.js will decode that structure to arrive at the
exact URL for the stylesheet for that template for the current user
variant
with this , we should be able to optimize "rake canvas:compile_assets"
to run both brandable_css and webpack in parallel, which will greatly
mitigate the performance decrease from moving from node-sass to
dart-sass
== test plan
go to some assignment's syllabus page, edit the file
app/stylesheets/jst/courses/Syllabus.scss with something fun like:
#syllabus .day_date { background: $fire; }
rerun `npx brandable_css`, reload the page and verify it's on fire,
optionally change your setting to enable High Contrast mode, reload
the syllabus page and verify the color changes (it picks up the other
variant stylesheet)
[1]: https://github.com/instructure/brandable_css/pull/4/commits/80af6e70af6ad60312187f256c2457d33ca75202
Change-Id: Ie48cc71d4837ee02313b2d45a9ad2944725acad2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/268615
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2021-07-08 08:03:09 +08:00
"loader-utils" : "^1" ,
2020-07-16 05:11:24 +08:00
"merge-stream" : "^2" ,
2021-01-07 01:40:57 +08:00
"mkdirp" : "^1.0.4" ,
Pass correct locale to Planner
Sometimes ENV.LOCALE and ENV.MOMENT_LOCALE are different
(zh-Hans v zh-cn or mi v mi-nz). We were passing the former to planner,
but moment needs the full locale, including language and region
identifiers, and formatMessage copes with the full locale just fine,
so we really need to pass in the latter or moment eventually
blows up.
So mi-nz month names would successfully parse, had to both bump our
version of moment and tweak the canvas customized mi-nz locale data.
to test, you'll have to run yarn to update moment, then build with
RAILS_LOAD_ALL_LOCALES=1 yarn build
Note on the changes to timezoneSpec.js:
- some of the specs were parsing dates like "Mon, Aug 3", which are
being interpreted in the current year, when Aut 3 is not a Monday.
Resolved this by using MockDate to pretend today is 2/1/2015
- moment does not always interpret the Chinese characters for evening as
implying PM. I'm assuming canvas will never need that particular
construct and commented out the failing string.
- there's one date-time that's getting the date totally wrong.
- Fixed grammatically incorrect instances of
'8月 3, 2015' to ''8月 3日, 2015'
- fix cases where the year is coming after the month and day, which
would never really happen
fixes ADMIN-1331
test plan:
- have a student in course so planner is enabled.
- go to /profile/settings and Edit
- change the Language to Reo Māori (Aotearoa) and "Update Settings"
- go to the planner dashboard
- click on + to create a new todo
> expect you can create a todo.
If you want, you can repeat with any of the languages listed in the
ticket just to prove ^that wasn't a fluke.
Change-Id: I9ba069ef61529088ab92271d7857998df6bbc409
Reviewed-on: https://gerrit.instructure.com/161206
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2018-08-18 03:21:04 +08:00
"mockdate" : "^2.0.2" ,
2019-04-09 13:47:34 +08:00
"moment-timezone-data-webpack-plugin" : "^1.0.3" ,
2018-02-23 03:58:38 +08:00
"moxios" : "^0.4" ,
2021-03-24 01:39:02 +08:00
"msw" : "^0.27.2" ,
2018-10-04 07:01:30 +08:00
"nyc" : "^13" ,
2021-02-05 02:32:55 +08:00
"prettier" : "^2.2.1" ,
2017-02-15 05:54:51 +08:00
"qunitjs" : "^1.14.0" ,
2018-06-15 03:55:22 +08:00
"raven-js" : "^3.26.2" ,
2018-09-11 12:13:01 +08:00
"react-test-renderer" : "^16" ,
2018-11-30 09:03:38 +08:00
"redux-logger" : "^3.0.6" ,
make feature flags for Right To Left layout
Closes: CORE-1154
There are 2 feature flags here. One a specific user (internal
employees, sales people, contractors, etc) can turn on to see where we
are and what would still need to be done. And the other is for an
account to be able to turn on to let the users in their account that
have their language set to an RTL language (eg: Arabic, Farsi or Hebrew)
see the interface in RTL
This commit is part of a chain of commits. you'll need to apply the ones
that follow-on after this to see most of the actual Right To Left
features, this commit is mainly just to create the feature flag.
Test plan:
* go to your user settings page
* you should see a feature option for Force RTL Layout”
* it should show that it is “in development”
* it should should be hidden: eg: only appears for site admins and not
For normal users
* turn it on
(if you have this checked out along with the others that follow beind
this commit)
* navigate around canvas, most things on most pages should be RTL
* you should be able to get an idea of how much more work and what
Kind of changes we’d still need to make to get it 100%
* now turn off that user feature flag, and go to your account's settings
* turn on the "allow users from RTL languages to see RTL layout"
account-level feature flag.
* nothing should change for you, it should be LTR like normal
* set your language to either Arabic, Farsi or Hebrew
* now the interface should all be in right to left.
(again, you'll need to have the follow-on commits to this to see all
of the RTL changes)
* without either of the feature flags turned on, absolutely nothing
should be different at all anywhere in the interface.
Change-Id: Ia78d86fa46d2d289b1913c5d1340546d7f6c3a1f
Reviewed-on: https://gerrit.instructure.com/143891
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
2018-03-17 02:25:14 +08:00
"sass-direction" : "^1" ,
2018-02-23 03:58:38 +08:00
"script-loader" : "^0.7" ,
2019-08-14 13:36:39 +08:00
"sinon" : "^7" ,
2019-08-21 22:55:36 +08:00
"style-loader" : "^0.23" ,
2019-08-14 13:36:39 +08:00
"stylelint" : "^10" ,
2021-05-26 01:22:32 +08:00
"terser-webpack-plugin" : "KEEP THIS IN SYNC WITH webpack's!" ,
"terser-webpack-plugin" : "^1.4.3" ,
2019-08-14 13:36:39 +08:00
"through2" : "^3" ,
2020-12-19 01:36:23 +08:00
"tinymce" : "^5" ,
2021-07-30 11:29:31 +08:00
"typescript" : "^4.3.5" ,
2019-03-06 02:30:44 +08:00
"waait" : "^1" ,
2018-03-07 10:12:53 +08:00
"webpack" : "^4" ,
2021-03-31 03:40:43 +08:00
"webpack-bundle-analyzer" : "^4.4.1" ,
2018-02-23 03:58:38 +08:00
"webpack-cleanup-plugin" : "^0.5" ,
2021-03-09 03:33:46 +08:00
"webpack-cli" : "^4" ,
2018-10-04 07:01:30 +08:00
"webpack-manifest-plugin" : "^2" ,
2018-03-07 10:12:53 +08:00
"webpack-stats-plugin" : "^0.2.1" ,
2019-08-14 13:36:39 +08:00
"wsrun" : "^5" ,
2020-04-29 05:19:29 +08:00
"xsslint" : "instructure/xsslint#babel7" ,
2018-02-23 03:58:38 +08:00
"yaml-loader" : "^0.5"
2014-01-24 23:58:37 +08:00
} ,
2019-03-05 23:51:37 +08:00
"optionalDependencies" : {
2021-02-06 07:39:54 +08:00
"@storybook/addon-actions" : "^6.1.17" ,
"@storybook/addon-essentials" : "^6.1.17" ,
"@storybook/addon-links" : "^6.1.17" ,
"@storybook/addon-storyshots" : "^6.1.17" ,
"@storybook/react" : "^6.1.17" ,
2019-03-05 23:51:37 +08:00
"inspect-process" : "^0.5"
} ,
2019-08-08 04:19:35 +08:00
"browserslist" : [
"extends @instructure/browserslist-config-canvas-lms"
] ,
2015-07-16 12:24:49 +08:00
"repository" : "instructure/canvas-lms" ,
2014-01-24 23:58:37 +08:00
"scripts" : {
2021-01-27 23:25:50 +08:00
"test" : "yarn test:packages && if [ \"$COVERAGE\" = \"1\" ]; then yarn test:jest:coverage --runInBand; else yarn test:jest --runInBand; fi && if [ \"$COVERAGE\" = \"1\" ]; then yarn test:karma; else yarn test:karma:concurrently; fi" ,
2018-04-06 05:27:42 +08:00
"test:coverage" : "script/generate_js_coverage" ,
2017-12-22 04:09:17 +08:00
"test:watch" : "concurrently --names \"jest,karma\" \"jest --watch .\" \"yarn test:karma:watch\"" ,
2020-02-28 05:49:45 +08:00
"test:jest" : "jest --color" ,
2019-08-27 08:14:19 +08:00
"test:jest:coverage" : "NODE_OPTIONS=\"--max_old_space_size=8192\" jest --color --coverage" ,
2020-05-26 23:37:35 +08:00
"test:jest:debug" : "node --inspect-brk node_modules/.bin/jest --runInBand" ,
2021-01-06 16:57:21 +08:00
"test:jest:watch" : "jest --color --watch" ,
2018-05-18 06:02:10 +08:00
"test:karma" : "yarn run test:karma:watch --single-run" ,
2019-08-22 03:12:19 +08:00
"test:karma:concurrently" : "concurrently --names \"coffee,jsa,jsg,jsh\" \"JSPEC_GROUP=coffee yarn test:karma:headless\" \"JSPEC_GROUP=jsa yarn test:karma:headless\" \"JSPEC_GROUP=jsg yarn test:karma:headless\" \"JSPEC_GROUP=jsh yarn test:karma:headless\"" ,
2018-05-18 06:02:10 +08:00
"test:karma:headless" : "yarn run test:karma --browsers ChromeHeadlessNoSandbox" ,
"test:karma:watch" : "node --max-old-space-size=4096 ./node_modules/.bin/karma start" ,
"test:karma:watch:headless" : "yarn run test:karma:watch --browsers ChromeHeadlessNoSandbox" ,
2021-01-27 23:25:50 +08:00
"test:packages" : "if [ \"$COVERAGE\" = \"1\" ]; then yarn workspace-run-serial test:coverage; else yarn workspace-run-serial test; fi" ,
2017-05-03 00:44:54 +08:00
"build" : "yarn run build:css && yarn run build:js" ,
2019-08-14 13:36:39 +08:00
"build:watch" : "concurrently --raw \"yarn build:css:watch\" \"yarn build:js:watch\"" ,
2017-05-03 00:44:54 +08:00
"build:css" : "brandable_css" ,
2021-07-27 23:13:08 +08:00
"build:css:compressed" : "SASS_STYLE=compressed brandable_css" ,
2017-05-03 00:44:54 +08:00
"build:css:watch" : "brandable_css --watch" ,
"build:js" : "yarn run webpack-development" ,
"build:js:watch" : "yarn run webpack" ,
2020-08-19 05:43:49 +08:00
"build:packages" : "yarn workspace-run build:canvas" ,
2021-07-30 11:29:31 +08:00
"check:js" : "tsc --noEmit --checkJs -p tsconfig.json" ,
"check:ts" : "tsc --noEmit -p tsconfig.json" ,
2021-05-12 00:18:20 +08:00
"lint:browser-code" : "es-check es9 ./public/dist/**/*.js" ,
2018-11-28 06:40:21 +08:00
"lint:staged" : "lint-staged" ,
2021-04-06 07:44:00 +08:00
"lint:js:coffeescripts" : "echo 'STOP CALLING ME IM NO LONGER NEEDED'" ,
"lint:js:jsx" : "eslint './ui/**/*.js'" ,
2019-08-22 03:12:19 +08:00
"lint:js:packages" : "eslint ./packages/**/*.js" ,
"lint:style" : "stylelint './app/**/*.{css,scss}' './packages/**/*.{css,scss}'" ,
"lint:xss" : "node ./script/xsslint.js" ,
2021-01-16 02:24:10 +08:00
"postinstall" : "yarn dedupe-yarn; test -n \"$DISABLE_POSTINSTALL\" || (yarn build:packages && ./script/install_hooks && ./script/fix_inst_esm.js)" ,
2021-03-31 03:40:43 +08:00
"webpack:analyze" : "NODE_ENV=production NODE_OPTIONS=\"--max_old_space_size=8096\" SKIP_SOURCEMAPS=1 WEBPACK_ANALYSIS=1 WEBPACK_PEDANTIC=0 webpack" ,
2019-06-21 06:11:28 +08:00
"webpack" : "gulp rev 1> /dev/null & NODE_OPTIONS=\"--max_old_space_size=8192\" webpack --progress --color --watch" ,
rework handlebars dependency on brandable_css
refs FOO-1116
right now in order to build the javascript, we must run brandable_css
first for the specific purpose of injecting into handlebars templates
their corresponding stylesheet file with the checksum as reported by
brandable_css
this patch moves things around such that Rails provides this mapping of
"handlebars template" to "CSS variant file checksums" in a global
variable (Rails is privy to this information already), webpack then at
build time injects only a reference to that mapping into the template,
then our runtime brandable-css JS helper will resolve that reference
from the mapping and request the correct file based on the current
user's variant
[1] rails assigns window.BRANDABLE_CSS_HANDLEBARS_INDEX with content
like this:
[
[ "new_styles_normal_contrast", "new_styles_high_contrast", ... ],
{
"0c": ["0f4f01ab86", 0, 0, "e3e7211701", 3, ... ],
...
}
]
the structure of the mapping is explained in brandable_css[1], it is
a bit overtuned to reduce the size as much as possible since this is
included for ALL pages even though the templates in question may never
be rendered (right now it's ~1.5kB and should never grow)
[2] webpack asks @canvas/brandable-css to loadStylesheetForJST using the
contrived id for that file (frontend_build/i18nLinerHandlebars.js:92)
[3] brandable-css/index.js will decode that structure to arrive at the
exact URL for the stylesheet for that template for the current user
variant
with this , we should be able to optimize "rake canvas:compile_assets"
to run both brandable_css and webpack in parallel, which will greatly
mitigate the performance decrease from moving from node-sass to
dart-sass
== test plan
go to some assignment's syllabus page, edit the file
app/stylesheets/jst/courses/Syllabus.scss with something fun like:
#syllabus .day_date { background: $fire; }
rerun `npx brandable_css`, reload the page and verify it's on fire,
optionally change your setting to enable High Contrast mode, reload
the syllabus page and verify the color changes (it picks up the other
variant stylesheet)
[1]: https://github.com/instructure/brandable_css/pull/4/commits/80af6e70af6ad60312187f256c2457d33ca75202
Change-Id: Ie48cc71d4837ee02313b2d45a9ad2944725acad2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/268615
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2021-07-08 08:03:09 +08:00
"webpack-development" : "NODE_OPTIONS=\"--max_old_space_size=8192\" webpack --color" ,
"webpack-production" : "NODE_ENV=production NODE_OPTIONS=\"--max_old_space_size=8192\" webpack --color" ,
2021-04-07 23:59:07 +08:00
"workspace-run" : "r() { wsrun --fast-exit --exclude-missing --report -c $@; exit $?; } && r" ,
2019-04-09 02:36:08 +08:00
"workspace-run-serial" : "r() { wsrun --fast-exit --exclude-missing --collect-logs --report --serial -c $@; exit $?; } && r" ,
2016-11-08 05:13:53 +08:00
"jspec" : "./spec/jspec.sh" ,
2016-08-17 05:30:29 +08:00
"jspec-watch" : "./spec/jspec.sh --watch" ,
2018-03-03 02:20:00 +08:00
"a11y-report" : "./spec/jspec.sh --a11y" ,
2018-08-11 00:22:49 +08:00
"upgrade-and-dedupe" : "rm -rf yarn.lock node_modules && yes 1 | yarn install --flat --production --ignore-scripts && git checkout package.json && yarn install && git add yarn.lock" ,
2020-05-28 06:04:02 +08:00
"upgrade-instructure-ui" : "script/upgrade-instructure-ui" ,
2021-03-02 02:42:47 +08:00
"dedupe-yarn" : "npx --yes yarn-deduplicate" ,
2020-11-18 03:27:40 +08:00
"clean" : "yarn workspace-run-serial clean" ,
2021-04-21 05:46:42 +08:00
"storybook" : "start-storybook -p 6006 --no-dll --static-dir ./public/javascripts,./public" ,
2021-02-06 07:39:54 +08:00
"test-storybook" : "yarn jest --roots .storybook --testMatch **/storybook.test.js"
2017-11-22 07:09:15 +08:00
} ,
"resolutions" : {
2020-04-29 05:19:29 +08:00
"jquery" : "https://github.com/instructure/jquery.git#1.7.2-with-AMD-and-CommonJS" ,
2018-09-09 13:17:24 +08:00
"graphael" : "this is just here so yarn.lock looks the same whether the analytics plugin is checked out or not" ,
2021-01-14 05:14:23 +08:00
"graphael" : "https://github.com/instructure/graphael.git" ,
"babel-plugin-dynamic-import-node" : "if we let this upgrade to recent versions, we hit https://github.com/babel/babel/issues/11607" ,
2021-05-26 01:22:32 +08:00
"babel-plugin-dynamic-import-node" : "2.3.0" ,
"@apollo/react-testing" : "they introduced a breaking change in 3.1.0 that i couldn't fix with the advertised instructions, see https://github.com/apollographql/react-apollo/blob/master/Changelog.md#potentially-breaking-change" ,
"@apollo/react-testing" : "3.0.1" ,
"@apollo/react-common" : "3.0.1" ,
"@apollo/react-components" : "3.0.1" ,
"@apollo/react-hoc" : "3.0.1" ,
"@apollo/react-hooks" : "3.0.1" ,
"@apollo/react-ssr" : "3.0.1"
2011-11-11 00:31:45 +08:00
}
2018-05-02 04:54:56 +08:00
}