Commit Graph

184 Commits

Author SHA1 Message Date
github-actions[bot]
c2cc94db81 chore(release): version packages 2022-09-20 16:56:51 +00:00
github-actions[bot]
e715546aa1 chore(release): version packages 2022-07-20 13:24:31 +00:00
dependabot[bot]
3f8318c7ae
Bump terser from 5.13.1 to 5.14.2
Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 13:15:38 +00:00
Josh de Leeuw
e72791ef6e update package-lock.json 2022-07-20 09:14:17 -04:00
Josh de Leeuw
dff17df884 add a basic working version of html-video-response plugin 2022-05-31 14:37:04 -04:00
Josh de Leeuw
49c1a5ea60 fix build eror 2022-05-28 13:32:24 -04:00
Josh de Leeuw
00c6fbf8fd revert peer dependency for now (fix this before release) 2022-05-27 16:35:20 -04:00
github-actions[bot]
16fac08078 chore(release): version packages 2022-05-23 18:13:04 +00:00
bjoluc
dc00566142 Include regenerator-runtime in the jspsych Babel build 2022-05-23 19:46:07 +02:00
github-actions[bot]
f1fa90eb2c chore(release): version packages 2022-05-19 13:10:19 +00:00
bjoluc
a3f2c2c0e2 Update SurveyJS version 2022-05-17 20:58:34 +02: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
dependabot[bot]
db575425da
Bump cross-fetch from 3.1.4 to 3.1.5
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 23:56:10 +00:00
github-actions[bot]
977f377236 chore(release): version packages 2022-04-08 18:22:24 +00:00
dependabot[bot]
36dc9b7d1a
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 17:25:11 +00:00
Josh de Leeuw
99bf2924be remove svg dependency, update plugin behavior 2022-04-07 10:34:59 -04:00
github-actions[bot]
b38a8b94f0 chore(release): version packages 2022-03-13 15:31:28 +00:00
bjoluc
bad26ebb08 Use alea PRNG for setSeed() 2022-03-13 15:14:25 +01:00
github-actions[bot]
90c844f890 chore(release): version packages 2022-03-12 23:29:17 +00:00
bjoluc
62b131efae Merge branch 'main' into patch-inline-fonts 2022-03-12 11:26:41 +01:00
bjoluc
05091997db Fix circular dev dependency 🧐 🤯 2022-03-11 20:20:22 +01:00
bjoluc
5bd9d8243d Merge branch 'main' into feature-seed-rng 2022-03-11 19:55:53 +01:00
bjoluc
582375f6a0 Add jspsych dev dependency to test-utils 2022-03-11 19:53:52 +01:00
bjoluc
84c9b56b80 Update package-lock.json 2022-03-11 19:35:22 +01:00
bjoluc
9bd6481648 Update root dependencies 2022-03-11 19:29:37 +01:00
dependabot[bot]
5471a8acac
Bump simple-get from 3.1.0 to 3.1.1
Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 17:16:22 +00:00
bjoluc
60f4d86835 Switch to Sass for jsPsych styles and inline fonts 2022-02-08 16:45:23 +01:00
bjoluc
dde47d4df6
Merge pull request #2428 from jspsych/turbo
Setup Turborepo
2022-01-30 18:53:12 +01:00
bjoluc
a876d215c0 Implement basic parameter handling 2022-01-13 14:39:21 +01:00
bjoluc
e0b94c3d23 Initial timeline and trial drafts, missing parameter and result handling 2022-01-10 14:01:00 +01:00
Josh de Leeuw
740cf45e15 update package-lock.json 2021-12-14 09:48:08 -05:00
bjoluc
6f2613cc5c Setup turborepo 2021-12-11 23:28:07 +01:00
Josh de Leeuw
24587e8410 update package-lock.json 2021-12-08 09:27:51 -05:00
Josh de Leeuw
c51d23bc6c update package-lock.json 2021-12-06 14:36:06 -05:00
Josh de Leeuw
8c2f3c9cfa update package-lock.json 2021-12-01 12:03:03 -05:00
bjoluc
b2c171de64 Fix initialize-microphone plugin package name 2021-12-01 16:28:20 +01:00
bjoluc
1fdb59d8fc Update package-lock.json 2021-12-01 01:02:40 +01:00
bjoluc
e23e8c3363 Update package-lock.json 2021-12-01 00:29:10 +01:00
Josh de Leeuw
2b8d4f07df Merge branch 'main' into plugin-survey 2021-11-29 17:02:39 -05:00
Josh de Leeuw
36397244df
Merge pull request #2350 from jspsych/plugin-audio-input-plugins
New plugins: audio response
2021-11-29 15:43:47 -05:00
bjoluc
fc92e40248 add Sass support to include and override SurveyJS styles 2021-11-28 23:05:33 +01:00
bjoluc
76e755a18e replace resize-observer-polyfill with @types/resize-observer-browser 2021-11-24 19:46:28 +01:00
bjoluc
c44ac2024a Add a VERSION.md file to the release archives 2021-11-24 19:29:49 +01:00
bjoluc
7dbc303f90 add MediaRecorder types, polyfill ResizeObserver 2021-11-24 16:51:57 +01:00
bjoluc
77d2e3111e update SurveyJS 2021-11-24 00:05:40 +01:00
Josh de Leeuw
522aa2cdbf
Adding a simulation mode (#2287)
Implements simulation mode in the core library, supporting API features, and plugin support in most plugins.
2021-11-23 15:12:30 -05:00
Josh de Leeuw
2922bc5dad
Merge pull request #2209 from jspsych/plugin-exclusions
New Plugin: Browser Check
2021-11-05 18:28:14 -04:00
Josh de Leeuw
c91cc4fd32 Merge branch 'main' into plugin-sketchpad 2021-11-05 18:08:27 -04:00
Josh de Leeuw
e62205880c
Merge pull request #2228 from jspsych/extension-mouse-tracking
Mouse Tracking Extension
2021-11-05 18:06:57 -04:00
Josh de Leeuw
2c795f41f4 update pl 2021-10-27 13:30:11 -04:00
Josh de Leeuw
ed9833a045 continue dev work on sketchpad 2021-10-26 12:22:24 -04:00
Josh de Leeuw
910d49cbb4 create template for sketchpad plugin 2021-10-21 15:46:36 -04:00
Josh de Leeuw
a0337af87f Merge remote-tracking branch 'origin/main' into plugin-exclusions 2021-10-21 09:59:35 -04:00
bjoluc
30ff816a14 Update package-lock.json 2021-10-16 11:47:31 +02:00
Josh de Leeuw
15d790e3ad update package-lock.json 2021-10-14 16:47:35 -04:00
Josh de Leeuw
04a133b3c3 add testing suite for mouse tracking extension, fix a few bugs 2021-10-14 12:17:23 -04:00
Josh de Leeuw
448c50788b basic grabbing of features working 2021-10-08 15:08:04 -04:00
Josh de Leeuw
7bbc2436da initial work on browser-check plugin, WIP 2021-10-07 15:39:37 -04:00
bjoluc
9af1b541d4 Update package-lock.json 2021-10-07 00:23:01 +02:00
bjoluc
347e7f6765 Setup initial survey plugin draft 2021-10-07 00:11:17 +02:00
bjoluc
da654079f0 Update release workflow 2021-10-03 15:03:13 +02:00
bjoluc
bc92967e25 Update @jspsych/config dependencies and fix type errors in plugin-preload tests 2021-10-02 02:23:15 +02:00
bjoluc
27efa71e1d Remove circular dependency in @jspsych/test-utils 2021-10-02 00:41:07 +02:00
bjoluc
8b279d1dbf Add directory to repository field in package.json files 2021-10-01 19:32:43 +02:00
bjoluc
2c95fac678 Update package.json in @jspsych/config 2021-10-01 19:10:13 +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
Josh de Leeuw
a913b62ead remove the plugins that moved to contrib 2021-09-29 12:06:59 -04:00
bjoluc
ff2827d8c9 Move test utility functions into @jspsych/test-utils 2021-09-28 20:04:19 +02:00
bjoluc
e720b4ebb1 Add standalone babel dependencies to @jspsych/config
They are used by non-typescript plugins in jspsych-contrib
2021-09-14 22:29:32 +02:00
bjoluc
ab7b3545cf Add @jspsych/config dev dependency to packages 2021-08-25 22:08:45 +02:00
bjoluc
6006fec96a Prepare @jspsych/config for external use 2021-08-25 21:57:28 +02:00
Josh de Leeuw
b3b9f5fd5e
Create modular versions of extensions (#2053)
Extensions are now passed to the `JsPsych` constructor via an `extensions` option.
Along the way, the webgazer plugins and plugin-html-button-response have been modularized as well.

Co-authored-by: bjoluc <mail@bjoluc.de>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2021-08-20 11:15:33 +02:00
bjoluc
105b041255 Configure husky to run prettier via lint-staged 2021-08-13 22:04:28 +02:00
bjoluc
559f60c83e Add Gulp script to create a dist archive 2021-08-09 09:35:48 +02:00
bjoluc
8cfbba526a Use classes to avoid global state
Instead of a global `jsPsych` object, there is a `JsPsych` class now
which can be instantiated with the parameters that were previously
accepted by `jsPsych.init`. Upon instantiation, the `JsPsych` class also
instantiates classes for stateful modules (`jsPsych.data` and
`jsPsych.pluginAPI`) and passes relevant `JsPsych` instance information
to them. Plugins are expected to be classes now that are instantiated
for each trial and receive the `JsPsych` instance as their only
constructor argument.
2021-07-12 18:15:37 +02:00
bjoluc
91e7b1e3ff Migrate to TypeScript 2021-07-06 17:55:42 +02:00
bjoluc
d12052c774 Decompose jspsych core into ES6 modules 2021-07-01 12:46:41 +02:00
bjoluc
744e67b0a5 Setup monorepo and switch to ES6 modules
* Convert jsPsych and plugins to ES6 modules
* Create packages for each plugin, the core library, and config files
* Setup rollup, jest, and babel configurations
* Update jsPsych to load plugin objects directly from the `type` field
* Update tests to use the ES6 modules
2021-06-23 22:39:38 +02:00
Josh de Leeuw
54dad43b7f update jest to 26.6 2020-10-20 14:37:37 -04:00
Josh de Leeuw
40f433651b bump jest v22 -> v24 2019-07-05 11:49:30 -04:00
Josh de Leeuw
501a5be52a update all to performance.now() - #492 2018-10-09 16:13:59 -04:00
Josh de Leeuw
e89c947de7 jest upgrade, fixing tests to work with upgrade of jsdom 2017-12-28 16:07:15 -05:00
KristinDiep
9e715e2457 iat-image, iat-html, image-keyboard-response tests done 2017-07-07 14:46:33 -04:00