Commit Graph

47 Commits

Author SHA1 Message Date
renovate[bot]
7c7e6fdb6b chore(deps): update dependency mongodb to v5.8.1 2023-09-02 11:14:18 +00:00
renovate[bot]
d4a40c384c chore(deps): update dependency mongodb [security] 2023-08-31 02:25:15 +00:00
renovate[bot]
96dbd9ac86 chore(deps): update dependency mongodb to v5.7.0 2023-07-08 22:56:19 +00:00
renovate[bot]
2cfd71eb57 chore(deps): update dependency dotenv to v16.3.1 2023-06-17 21:58:15 +00:00
renovate[bot]
5717ab9de9 chore(deps): update dependency dotenv to v16.1.4 2023-06-04 18:31:01 +00:00
renovate[bot]
d26ab87189 chore(deps): update dependency mongodb to v5.6.0 2023-06-03 15:42:44 +00:00
Oliver Eyton-Williams
41372c31cd chore(tools): update mongodb in seed script (#50519) 2023-05-25 22:13:37 +01:00
Mrugesh Mohapatra
e5590e56d7 chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
Oliver Eyton-Williams
d7848ae01a feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
renovate[bot]
286573c30d chore(deps): update dependency debug to v4.3.4 2023-02-25 08:01:08 +00:00
renovate[bot]
d0d6d4c3b8 chore(deps): update dependency dotenv to v16.0.3 2022-11-05 09:03:48 +00:00
Mrugesh Mohapatra
6fef483946 chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30
Renovate Bot
13e4d265dc chore(deps): update dependency mongodb to v3.7.3 2021-10-20 20:17:06 +00:00
Renovate Bot
bed3a1413a chore(deps): update dependency mongodb to v3.7.2 2021-10-05 23:49:22 +00:00
Renovate Bot
ff90a509f2 chore(deps): update dependency mongodb to v3.7.1 2021-09-14 21:28:19 +00:00
Renovate Bot
212c5d8567 chore(deps): update dependency mongodb to v3.7.0 2021-08-31 22:40:56 +00:00
Renovate Bot
b465ee0ac1 chore(deps): update dependency mongodb to v3.6.12 2021-08-30 21:36:51 +00:00
Renovate Bot
555b473339 chore(deps): update dependency mongodb to v3.6.11 2021-08-05 18:29:06 +00:00
Renovate Bot
0f88d3b2be chore(deps): update dependency mongodb to v3.6.10 2021-07-06 21:24:31 +00:00
Renovate Bot
d9cd7687ba chore(deps): update dependency debug to v4.3.2 2021-07-04 07:05:29 +00:00
renovate[bot]
00e5440882 chore(deps): update dependency dotenv to v10 (#42306)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-04 13:08:21 +02:00
Renovate Bot
6e86d4fe08 chore(deps): update dependency mongodb to v3.6.9 2021-05-26 23:45:02 +00:00
Renovate Bot
7ab513fbae chore(deps): update dependency mongodb to v3.6.8 2021-05-21 19:03:47 +00:00
Renovate Bot
12a37ba581 chore(deps): update dependency mongodb to v3.6.7 2021-05-18 22:48:04 +00:00
Oliver Eyton-Williams
1c1d86922c refactor: simplify jest config (#42136)
* refactor: bring api jest tests to root

* refactor: pull client tests to root

* fix: remove ancient curriculum babelrc

* feat: run all jest tests at once

* fix: remove unused babelrcRoot

* chore: remove more jests
2021-05-16 18:08:04 +05:30
Renovate Bot
965fc8240d chore(deps): update dependency dotenv to v9.0.2 2021-05-10 22:13:17 +00:00
Renovate Bot
91a6690634 chore(deps): update dependency dotenv to v9.0.1 2021-05-09 08:23:55 +00:00
Renovate Bot
cb931d7f48 chore(deps): update dependency lodash to v4.17.21 2021-05-07 01:29:45 +00:00
renovate[bot]
050afb4bb0 chore(deps): update dependency dotenv to v9 (#42018)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 21:24:33 +05:30
Renovate Bot
69d47cd5bc chore(deps): update dependency dotenv to v8.6.0 2021-05-06 09:37:16 +00:00
Renovate Bot
06b90baa59 chore(deps): update dependency dotenv to v8.5.1 2021-05-05 11:14:39 +00:00
renovate[bot]
3e9bc73d67 chore(deps): update dependency jest to v26 (#41699)
* chore(deps): update dependency jest to v26

* chore: add missing package, invariant

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-05 12:24:11 +05:30
renovate[bot]
5eacd3912b chore(deps): update dependency dotenv to v8 (#41690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 17:21:45 +02:00
Renovate Bot
193a5539dc chore(deps): update dependency mongodb to v3.6.6 2021-04-13 19:30:10 +00:00
renovate[bot]
87684ad630 chore(deps): update dependency debug to v4.3.1 (#41622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 19:04:29 +05:30
renovate[bot]
fd4cac780a chore(deps): update dependency mongodb to v3.6.5 (#41630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 13:58:37 +05:30
renovate[bot]
08114292c3 fix(deps): pin dependencies (#41589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 20:57:57 +05:30
Mrugesh Mohapatra
42365dd172 fix: update package files, lerna config (#41599)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-27 07:46:20 -07:00
Mrugesh Mohapatra
0a53a1d7f0 chore(deps): upgrade lerna to v4 2021-03-11 12:19:42 +05:30
Oliver Eyton-Williams
3cc53b78f1 chore: bump seed 2020-08-04 03:50:20 +05:30
Oliver Eyton-Williams
b350efef5b chore: update seed 2020-03-17 11:09:12 +05:30
Mrugesh Mohapatra
75ecf9a2f7 chore: fix lodashes everywhere - security alerts 2019-07-24 22:06:15 +05:30
Mrugesh Mohapatra
c5fd478d9a fix(deploy): misc. re-arrange scripts and organize 2019-06-21 00:53:05 +05:30
kozlovvski
d6a6504f74 chore(tools): updated jest in packages
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-11 19:06:57 +05:30
Stuart Taylor
cee98aef43 feat: watch challenges (#34321) 2018-11-16 23:52:52 +05:30
Bouncey
162e25143e fix(seed): Show debug logs on seed command 2018-10-12 20:41:42 +05:30
Bouncey
bc9b3b4ddd chore(seed): Move seed script to tools 2018-10-07 14:51:09 +05:30