Commit Graph

27 Commits

Author SHA1 Message Date
Becky Gilbert
74cc2ece69 add updatePluginVersion gulp task 2022-05-03 14:18:37 -07:00
github-actions[bot]
90c844f890 chore(release): version packages 2022-03-12 23:29:17 +00:00
bjoluc
0cdff1984f
Merge pull request #2505 from jspsych/patch-fix-dist-archive-css-paths
Fix css path rewriting in `createCoreDistArchive` Gulp task
2022-02-08 18:33:56 +01:00
bjoluc
9486bc509f Fix css path rewriting in createCoreDistArchive Gulp task 2022-02-08 17:31:04 +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
6f2613cc5c Setup turborepo 2021-12-11 23:28:07 +01:00
github-actions[bot]
8f2eee87d0 chore(release): version packages 2021-11-29 20:50:45 +00:00
bjoluc
c44ac2024a Add a VERSION.md file to the release archives 2021-11-24 19:29:49 +01:00
bjoluc
bc92967e25 Update @jspsych/config dependencies and fix type errors in plugin-preload tests 2021-10-02 02:23:15 +02:00
github-actions[bot]
6840b932ad chore(release): version packages 2021-10-01 22:45:10 +00: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
ff2827d8c9 Move test utility functions into @jspsych/test-utils 2021-09-28 20:04:19 +02:00
bjoluc
60ae24a932 Enable usage of test utils in external packages 2021-09-28 10:15:36 +02:00
bjoluc
09b61d40d1 Simplify root tsconfig.json 2021-09-28 09:05:49 +02:00
bjoluc
2319a9a211 Fix createCoreDistArchive gulp task on windows 2021-09-17 15:44:13 +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
6006fec96a Prepare @jspsych/config for external use 2021-08-25 21:57:28 +02:00
bjoluc
82fa8e3f29 Add explicit include option to TS configs
So VS Code ignores the `dist` folders
2021-07-13 09:54:29 +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
9afacdfd90 Fix paths in TS configs 2021-07-08 23:32:30 +02:00
bjoluc
91e7b1e3ff Migrate to TypeScript 2021-07-06 17:55:42 +02:00
bjoluc
584a8879ef Highlight plugin projects in jest test runs 2021-07-01 13:07:28 +02:00
bjoluc
d12052c774 Decompose jspsych core into ES6 modules 2021-07-01 12:46:41 +02:00
bjoluc
83f449c635 Utilize jest's monorepo support 2021-06-30 19:29:38 +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