Commit Graph

314 Commits

Author SHA1 Message Date
Diana Huang
0cc9dee4e3 Revert "fix(deps): update dependency @edx/frontend-component-cookie-policy-banner to v2.6.0"
This reverts commit a39367b11a.
2024-10-11 10:58:42 -04:00
renovate[bot]
a39367b11a fix(deps): update dependency @edx/frontend-component-cookie-policy-banner to v2.6.0 2024-10-11 09:56:57 -04:00
renovate[bot]
3768efa414 fix(deps): update dependency underscore to v1.13.1 [security] 2024-09-25 16:01:11 +00:00
renovate[bot]
465e0af230 fix(deps): update dependency underscore to v1.13.0 [security] 2024-09-25 15:07:12 +00:00
renovate[bot]
200ee1a804 chore(deps): update dependency selenium-webdriver to v3.6.0 2024-08-12 13:43:56 +00:00
renovate[bot]
74af0e71e8 chore(deps): update jest monorepo to v26.6.3 2024-08-12 12:43:06 +00:00
renovate[bot]
5bd85597af fix(deps): update dependency backbone to v1.6.0 2024-08-12 11:28:24 +00:00
renovate[bot]
892ca4d0fd fix(deps): update babel monorepo 2024-08-12 11:02:29 +00:00
renovate[bot]
212f3ea2c2 chore(deps): update dependency react-test-renderer to v16.14.0 2024-08-12 10:59:09 +00:00
renovate[bot]
84644e1597 chore(deps): update dependency karma-sourcemap-loader to v0.4.0 2024-08-12 10:58:51 +00:00
renovate[bot]
456f261fa6 chore(deps): update dependency karma-junit-reporter to v1.2.0 2024-08-12 10:58:24 +00:00
renovate[bot]
78831cdc62 chore(deps): update dependency jest-enzyme to v6.1.2 2024-08-12 10:57:01 +00:00
renovate[bot]
48c5856a3f fix(deps): update dependency requirejs to v2.3.7 [security] 2024-08-06 08:01:21 +00:00
renovate[bot]
058870e829 fix(deps): update dependency rtlcss to v2.6.2 2024-07-17 20:17:06 +00:00
Justin Hynes
b243b8d369 chore: Remove Demographics frontend components from edx-platform (#35121)
[APER-2823]

Removes React compoents and functionality tied to a private 2U/edx.org-specific Demographics IDA from edx-platform.

This PR attempts to remove everything added from this PR: https://github.com/openedx/edx-platform/pull/24956/. This includes the React components created to collect and transmit Demographics data, as well as functionality for managing JWT and CSRF tokens copied from `frontend-platform` to edx-platform when originally implementing the CTA and modal components.
2024-07-16 08:23:29 -04:00
Diana Huang
28ad8395bf Revert "fix(deps): update dependency @edx/frontend-component-cookie-policy-ba…" (#35053)
This reverts commit c0b7414fb8.
2024-07-01 13:50:57 -04:00
renovate[bot]
c0b7414fb8 fix(deps): update dependency @edx/frontend-component-cookie-policy-banner to v2.4.0 2024-07-01 16:30:01 +00:00
renovate[bot]
2bdc3410df fix(deps): update dependency popper.js to v1.16.1 2024-06-20 20:34:08 +00:00
renovate[bot]
4205024f04 chore(deps): update dependency stylelint-formatter-pretty to v1.1.4 2024-06-20 14:22:12 +00:00
renovate[bot]
6f1701773e chore(deps): update dependency sinon to v2.4.1 2024-06-18 18:34:58 +00:00
renovate[bot]
68b3a38248 chore(deps): update dependency eslint-import-resolver-webpack to v0.13.8 2024-06-14 21:06:34 +00:00
Feanil Patel
6c2cf87137 Merge pull request #34981 from openedx/feanil/remove_unnecessary_package
fix: Remove the unused edx-custom-a11y-rules package.
2024-06-13 12:24:04 -04:00
Juliana Kang
0fc990cf08 chore: Upgrade moment-timezone to v0.5.45 (#34968)
REV-4067
2024-06-13 11:57:23 -04:00
Feanil Patel
98b5ba5017 fix: Remove the unused edx-custom-a11y-rules package.
This package was only used by bok-choy which was archived a while ago.
We just missed the fact that this package was also a node dependency.

See https://github.com/openedx/public-engineering/issues/13 for more
details.
2024-06-13 07:42:22 -04:00
renovate[bot]
f256684646 fix(deps): update dependency whatwg-fetch to v2.0.4 2024-06-12 15:25:02 +00:00
renovate[bot]
6fc7e3b1e9 fix(deps): update dependency camelize to v1.0.1 2024-06-10 14:58:12 +00:00
renovate[bot]
1e52d284f3 chore(deps): update dependency karma-spec-reporter to v0.0.36 2024-06-10 06:31:09 +00:00
renovate[bot]
49d721f74a fix(deps): update dependency moment to v2.30.1 2024-06-07 21:23:01 +00:00
renovate[bot]
08c5a1cf16 fix(deps): update dependency js-cookie to v3.0.5 2024-06-07 19:31:52 +00:00
renovate[bot]
7f7cade131 chore(deps): update dependency @edx/stylelint-config-edx to v2.3.3 2024-06-06 16:24:10 +00:00
Diana Huang
de9a8652d4 Revert "fix(deps): update dependency moment-timezone to v0.5.45" (#34928)
This reverts commit 51ebabfd96.
2024-06-06 10:48:13 -04:00
renovate[bot]
51ebabfd96 fix(deps): update dependency moment-timezone to v0.5.45 2024-06-05 15:24:04 +00:00
renovate[bot]
7188619fa5 chore(deps): update dependency enzyme-adapter-react-16 to v1.15.8 2024-06-04 19:19:58 +00:00
renovate[bot]
9850472761 fix(deps): update dependency underscore to v1.12.1 [security] 2024-06-04 18:23:20 +00:00
renovate[bot]
7612ffd4e4 fix(deps): update dependency axios to ^0.28.0 [security] 2024-06-04 17:36:45 +00:00
Feanil Patel
9bbe644ceb fix: Updat edx-ui-toolkit node library.
edx-ui-toolkit 1.5.5 drops usage of the ux-pattern-library for its docs
and also updates many of its dependencies.  As a result, many
edx-platform dependencies that were super out of date can now be further
upgraded.
2024-06-03 16:36:08 -04:00
renovate[bot]
43d1204f25 chore(deps): update @edx/mockprock digest to 3ad18c6 2024-06-03 15:49:28 +00:00
Feanil Patel
9d8cdc3bf1 fix: Bump the edx-proctoring version to the latest.
Among other things, edx-proctoring has updated how its dependencies are
managed so it doesn't shrinkwrap its dependencies.  This allows us to
further upgrade dependencies in edx-platform and fixes an issue where we
had a required dependency on fsevents that was cropping up preventing us
from `npm install`ing cleanly on linux.
2024-05-29 15:17:36 -04:00
Brian Smith
27d33d4911 fix: move back to old version of imports-loader
this fixes the issue with xblocks not loading in studio. it also requires use of the deprecated "string as loader options" method for imports and exports loader config
2024-04-19 14:03:42 -04:00
Brian Smith
58185d7784 fix: use string-replace-loader instead of string-replace-webpack-plugin 2024-04-19 14:03:42 -04:00
Brian Smith
05baf4c1fe revert: revert: "chore: upgrade to node 18" (#34496)
This reverts commit eb26333ca6.
2024-04-19 14:03:42 -04:00
Feanil Patel
eb26333ca6 Revert "chore: upgrade to node 18" (#34496)
* Revert "chore: upgrade to node 18"

* Revert "fix: bump npm from 10.2.x to 10.5.x"

This reverts commit b6662d4ee0.

* Revert "fix: replace outdated webpack plugins"

This reverts commit b204f1b572.

* Revert "build: Remove the `npm bin` calls from package.json"

This reverts commit 4e3dd161ff.

* fix: fix bad conflict resolution.

---------

Co-authored-by: Diana Huang <dkh@edx.org>
2024-04-10 09:58:42 -04:00
Feanil Patel
4e3dd161ff build: Remove the npm bin calls from package.json
That command no longer exists with newer versions of NPM but the build
path for `npm run` includes the `node_modules/bin` directory now so it's
also not necessary.
2024-04-09 15:48:01 -04:00
Brian Smith
8fb63bb0cf chore(deps): update deps to support node 18 2024-04-09 10:32:54 -04:00
Brian Smith
2511556e95 chore: test updating node to 16.20 2024-04-09 10:32:54 -04:00
Kyle D. McCormick
bd82b1d75a docs: npm scripts for static assets are no longer experimental :) 2024-04-04 10:31:02 -04:00
Zachary Hancock
8d405ac588 feat: upgrade proctortrack JS (#32922) 2023-08-07 10:52:04 -04:00
Kyle McCormick
303bf5ef3c build: npm run watch (experimental) (#32866)
Implements the `npm run watch` section of the assets ADR [1], plus some
modifications since I decided to switch from pywatchman to watchdog (see
ADR changes for justification). This will replace `paver watch_assets`
(edx-platform) and `openedx-assets watch-themes` (Tutor).

Specifically, this PR adds three experimental commands:

* `npm run watch-sass` : Watch for Sass changes with watchdog.
* `npm run watch-webpack` : Invoke Webpack-watch for JS changes.
* `npm run watch` : Invoke both `watch-sass` and `watch-webpack` simultaneously.

These commands are only intended to work in development mode. They have
been tested both on bare-metal edx-platform and through `tutor dev run`
on on Linux.

Before removing the "experimental" label, we need to:

* Test through Devstack on Linux.
* Test through Devstack and `tutor dev run` on macOS.
* Test on bare-metal macOS. Might not work, which is OK, but we should
  document that.
* Document the commands in edx-platform's README.
* Confirm that this not only works through `tutor dev run`, but also as
  a suitable replacement in the `watchthemes` service that Tutor runs
  automatically as part of `tutor dev start`. Tweak if necessary.

References:

1. https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst

Part of: https://github.com/openedx/edx-platform/issues/31612
2023-07-27 16:33:32 +00:00
Kyle McCormick
3e67719a24 build: npm run build (experimental) (#32823)
This PR implements much of the static assets rework ADR [1], including:

* `npm run build[-dev]`, and its subcommands,
* `npm run webpack[-dev]` and
* `npm run compile-sass[-dev]`.

This is backwards-compatible. `paver update_assets` should not be affected.
The new command warns that it is "experimental" for a few reasons:

* `npm run build` will fail in the webpack phase unless you first
run  `xmodule_assets`. This will be changed soon [2].

* We have tested the new build, but not quite so thoroughly that we'd
recommend it as the production default yet. Once the xmodule_assets
work lands, we'll share this on the forums so early adopters can try it
out.

* The commands lack some top-level documentation. Once they stabilize more,
we'll add a section to the README that explains how and when to use `npm run
build` and its subcommands and its env vars.

* `npm run watch` is not yet implemented.

References:
1. https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst
2. https://github.com/openedx/edx-platform/pull/32685

Part of: https://github.com/openedx/edx-platform/issues/31604
2023-07-26 08:04:45 -04:00
Kyle McCormick
a6f04d8ca3 build: copy from node_modules using NPM postinstall hook, not Paver (RE-MERGE)
Re-merge of 4b64d8342d

The commit after this one contains the fix for the issue that led to the
revert.
2023-07-20 13:46:21 -04:00