Commit Graph

69 Commits

Author SHA1 Message Date
Josh de Leeuw
84220e7d62 got jest-canvas-mock hoisted into top level node_modules so that resolve on setupFiles works 2025-01-14 15:59:39 -05:00
Josh de Leeuw
ed199bb31d override typescript version (error caused by prettier-plugin-import-sort@0.0.7) 2025-01-14 14:57:02 -05:00
Cherrie Chang
a28ca046c1 localize prettier to apply only to lines 2024-12-06 15:08:23 -05:00
Cherrie Chang
df588e9f29 change prettier to allow single quotes 2024-12-06 15:04:51 -05:00
Cherrie Chang
575346846c update plugins index.ts 2024-11-01 17:45:19 -04:00
Cherrie Chang
2cdf231f92 clean up dependencies 2024-10-30 13:38:08 -04:00
Cherrie Chang
00d60fb7cf remove generateCitation from node scripts and directly call 2024-10-23 10:25:18 -07:00
Cherrie Chang
8bbf9b73c8 move citation build logic from rollup to esbuild 2024-10-23 10:18:23 -07:00
cchang-vassar
a2e7918773 fix browser tool for citations 2024-09-19 14:03:45 -04:00
cchang-vassar
bab33ead69 fix: error handling chain in building citations 2024-09-12 16:24:12 -04:00
Josh de Leeuw
62d34278a3 This fixes build errors, but warnings are still present. Adds rollup/json plugin back into build chain. 2024-09-11 13:57:02 -04:00
cchang-vassar
1c5f826fbe add rollup plugin for building citation 2024-08-27 13:05:12 -04:00
bjoluc
c499900e85
Fix CI condition in prepare script for Node.js v20 2024-07-18 00:36:15 +02:00
Josh de Leeuw
a23a3d5c6f don't try to install the root project with poetry
(rebased-with-history from commit ab31ef6386)
2024-06-07 22:49:07 +02:00
bjoluc
c31b859533 Merge pull request #3122 from jspsych/update-config-package
Update `@jspsych/config` dependencies

(rebased-with-history from commit 76fca2712f)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
ab31ef6386 don't try to install the root project with poetry 2024-01-14 16:18:33 -05:00
bjoluc
220f4e36b4 Update @jspsych/config dependencies 2023-11-10 19:37:25 +01:00
bjoluc
5fb7c3a45d Replace ts-jest with Sucrase Jest plugin 2023-09-06 16:09:35 +02:00
bjoluc
c5e9f914bc Raise minimum required NPM version to 8.0.0 2023-09-06 08:43:06 +02:00
bjoluc
715a9d130e Upgrade @jspsych/config dependencies 2023-09-05 22:31:04 +02:00
bjoluc
2e40d013d4 Drop support for npm v7 and node up to v16 2022-11-18 23:08:46 +01:00
bjoluc
76e7508024 Upgrade Jest to v29 and replace ts-jest with @sucrase/jest-plugin 2022-11-17 21:28:44 +01:00
bjoluc
b36a3f6372 Update root dependencies 2022-11-16 10:28:04 +01:00
Josh de Leeuw
153e13f621 add docs commands to package.json 2022-05-19 13:42:26 -04:00
bjoluc
2660c04a2d Update root dependencies 2022-05-16 19:42:35 +02:00
bjoluc
e77371e94b Update @jspsych/config dependencies 2022-05-16 17:00:03 +02:00
bjoluc
518c76fe50 Make the changesets action update docs plugin versions 2022-05-13 19:31:51 +02:00
Becky Gilbert
2154423809 change gulp task name updatePluginVersion -> updatePluginVersions #2609 2022-05-06 12:15:28 -07:00
Becky Gilbert
74cc2ece69 add updatePluginVersion gulp task 2022-05-03 14:18:37 -07:00
Josh de Leeuw
99bf2924be remove svg dependency, update plugin behavior 2022-04-07 10:34:59 -04:00
bjoluc
8d55506e80 Add packageManager field to package.json 2022-03-11 19:44:31 +01:00
bjoluc
b2adee8031 Move Turbo config to turbo.json 2022-03-11 19:41:58 +01:00
bjoluc
9bd6481648 Update root dependencies 2022-03-11 19:29:37 +01:00
bjoluc
bdb7b9a2a9 Make the release workflow update all unpkg links
Closes #2348
2022-02-08 18:28:15 +01:00
bjoluc
88fe8c8416
Merge branch 'main' into docs-links 2022-01-30 18:58:12 +01:00
bjoluc
87f332f925 Add updateUnpkgLinks Gulp task 2022-01-06 20:35:43 +01:00
bjoluc
0362e65bd4 Add turbo caching to GH actions workflows 2022-01-06 18:14:48 +01:00
bjoluc
6f2613cc5c Setup turborepo 2021-12-11 23:28:07 +01:00
bjoluc
6aad6315df Fix project detection in root Jest config
Prior to this, empty directories in `packages` would have hindered Jest
from transforming some files, resulting in "unexpected token" errors
2021-10-08 13:27:47 +02:00
bjoluc
da654079f0 Update release workflow 2021-10-03 15:03:13 +02:00
bjoluc
b3b1d14dd8 Enhance release workflow 2021-10-02 03:00:04 +02:00
bjoluc
de6c6348b7 Fix release script in root package.json 2021-10-02 02:46:50 +02:00
bjoluc
dec9afc602 Fix scripts in root package.json 2021-10-02 02:32:10 +02:00
bjoluc
37b85f953c
Setup changesets (#2066)
* Setup changesets and the changesets GH action
* Lower package versions so changesets can bump them
* Add changesets for all changes on the `modularization` branch

Co-authored-by: Josh de Leeuw <josh.deleeuw@gmail.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2021-09-30 21:39:25 +02:00
Becky Gilbert
db754538b7
Convert plugins to classes and update examples (#2078)
* modularize plugins: edit index.ts and example files (WIP)

* continue modularizing plugins: edit index.ts and example files (WIP)

* continue modularizing plugins: edit index.ts and example files (WIP)

* continue modularizing plugins and example files, make info static in plugin classes

* add preload flag to plugin info, fix a few parameterType values

* change preload flags in plugin info from audio/image/video strings to boolean

* convert more plugins and example files

* convert more plugins/examples, sync with webgazer branch plugins/examples (not working on this branch)

* remove preload flag from info, change to ParameterType, change to "ALL_KEYS"/"NO_KEYS", change KEY type to KEYS for array params

* remove descriptions from plugin info, fix some ALL_KEYS/NO_KEYS errors

* remove descriptions and add pretty names to plugin info

* remove/edit comments re ALL_KEYS/NO_KEYS and TS errors

* fix some preload plugin errors and convert example file (plugin still not working due to getAutoPreloadList)

* convert RDK plugin and example file

* convert preload plugin and example, add JsPsych getTimelineDescription method for auto-preloading (still not working for audio due to getAudioBuffer

* fix jsPsych getTimelineDescription method so that it does recursive search

* add image and video preloading to plugin examples

* Merge branch 'modularization' into modularization-plugins

* add tests for reconstruction

* fix timeline array getter method: add private timelineDescription var, set to timeline array in run(), rename getTimelineDescription to getTimeline

* changes in response to PR review: fix JsDoc comments, fix array: true in param info, change HTML string param types, add JsDoc author/file/see docs for all plugin classes, switch to @ts-expect-error. Thanks @bjoluc!

* fix JsDoc comments for plugin classes and preload trials parameter

* change preload type to boolean in ParameterInfo interface, and add `preload: false` to virtual-chinrest item_path image parameter

* All my tests except for preload plugin (will do that tomorrow)

* minor fixes to reconstruction tests

* Update preload plugin tests

* Finish test conversion

* switch to arrow functions to fix this keyword errors in plugins, add audio preloading into plugin example files, fix typos

* convert non-plugin example files (WIP, not tested)

* Fix allow_held_keys -> allow_held_key parameter in virtual-chinrest plugin

* Fix `keyboardListener` type in serial-reaction-time plugin

* type fixes for RDK, simplifying `correctOrNot()` function

* fixed ["ALL_KEYS"] => "ALL_KEYS" for iat plugins and tests

* Build jspsych packages before everything else

Dependent builds were previously failing due to missing type definitions

* Remove console.log from html-keyboard-response tests

I think I accidentially committed it.

* fix the delayed start to animation bug (#1885)

* round all RTs to nearest int (#2108)

* fixes and tests #1900 - IAT parameter problems

* finish converting/testing example files, add init settings, add audio preloading, fix errors

* fix progress-bar timeline to demo an example where auto-updating the progress bar works well

* Revert "round all RTs to nearest int (#2108)"

This reverts commit f53145d2e3.

* change how delayed timeline variables are implemented

* use static for generate_stimulus method so that it can be called on the vsl-grid-scene class

* fix external-html plugin and example (switch to arrow function for proper this context, fix incorrect parameter name)

* remove outdated TO DO comments

Co-authored-by: bjoluc <mail@bjoluc.de>
Co-authored-by: Josh de Leeuw <josh.deleeuw@gmail.com>
2021-09-08 09:44:53 -04:00
bjoluc
6006fec96a Prepare @jspsych/config for external use 2021-08-25 21:57:28 +02:00
bjoluc
ba9c495a21 Add .cjs extension to import-sort config 2021-08-20 11:39:09 +02:00
bjoluc
c340c5ea55 Enhance scripts in package.json files 2021-08-17 20:26:38 +02:00
bjoluc
b288a8e21f Move root Jest config into package.json 2021-08-17 18:58:59 +02:00
bjoluc
105b041255 Configure husky to run prettier via lint-staged 2021-08-13 22:04:28 +02:00