diff --git a/package-lock.json b/package-lock.json index 9502cd75d2..1e95593037 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@changesets/changelog-github": "^0.4.7", "@changesets/cli": "^2.25.2", "@jspsych/config": "^3.0.0", - "husky": "^8.0.2", + "husky": "^8.0.3", "import-sort-style-module": "^6.0.0", "lint-staged": "^13.0.3", "prettier": "^2.7.1", @@ -4567,6 +4567,15 @@ "node": ">= 8" } }, + "node_modules/app-root-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz", + "integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/aproba": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", @@ -16066,6 +16075,7 @@ "@types/gulp": "4.0.17", "@types/jest": "29.5.8", "alias-hq": "6.2.4", + "app-root-path": "^3.1.0", "canvas": "^2.11.2", "esbuild": "0.23.1", "gulp": "5.0.0", diff --git a/package.json b/package.json index e121b677a7..59f64d9be2 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@changesets/changelog-github": "^0.4.7", "@changesets/cli": "^2.25.2", "@jspsych/config": "^3.0.0", - "husky": "^8.0.2", + "husky": "^8.0.3", "import-sort-style-module": "^6.0.0", "lint-staged": "^13.0.3", "prettier": "^2.7.1", diff --git a/packages/config/generateCitations.js b/packages/config/generateCitations.js index 935ac846e4..e24f42ef42 100644 --- a/packages/config/generateCitations.js +++ b/packages/config/generateCitations.js @@ -3,8 +3,10 @@ import "@citation-js/plugin-software-formats"; import "@citation-js/plugin-csl"; import fs from "node:fs"; +import path from "node:path"; import { Cite } from "@citation-js/core"; +import appRootPath from "app-root-path"; import yaml from "yaml"; /** @@ -18,18 +20,24 @@ export default function generateCitations() { // Try to find CITATION.cff file and look for preferred-citation const citationCff = (() => { + let rawCff; try { - const rawCff = fs.readFileSync("./CITATION.cff", "utf-8").toString(); + rawCff = fs.readFileSync("./CITATION.cff", "utf-8").toString(); const cffData = yaml.parse(rawCff); if (cffData["preferred-citation"]) { preferredCitation = true; } return yaml.stringify(rawCff); } catch (error) { - console.log( - `No CITATION.cff file found: ${error.message}. If you would like to include a citation, please create a CITATION.cff file in the root of your repository.` - ); - return null; + try { + rawCff = fs.readFileSync(path.join(appRootPath.path, "CITATION.cff"), "utf-8").toString(); + return yaml.stringify(rawCff); + } catch (error) { + console.warn( + `No CITATION.cff file found: ${error.message}. If you would like to include a citation, please create a CITATION.cff file in the root of your repository.` + ); + return null; + } } })(); diff --git a/packages/config/package.json b/packages/config/package.json index a27a8131e8..46e1c41b26 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -46,6 +46,7 @@ "@types/gulp": "4.0.17", "@types/jest": "29.5.8", "alias-hq": "6.2.4", + "app-root-path": "^3.1.0", "canvas": "^2.11.2", "esbuild": "0.23.1", "gulp": "5.0.0", diff --git a/packages/extension-record-video/src/index.ts b/packages/extension-record-video/src/index.ts index 1774cfdbb9..19a5a0da51 100644 --- a/packages/extension-record-video/src/index.ts +++ b/packages/extension-record-video/src/index.ts @@ -16,6 +16,7 @@ class RecordVideoExtension implements JsPsychExtension { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; constructor(private jsPsych: JsPsych) { diff --git a/packages/extension-webgazer/src/index.ts b/packages/extension-webgazer/src/index.ts index 56f02a4496..1c102a5d97 100644 --- a/packages/extension-webgazer/src/index.ts +++ b/packages/extension-webgazer/src/index.ts @@ -91,6 +91,7 @@ class WebGazerExtension implements JsPsychExtension { }, }, }, + citations: "__CITATIONS__", }; constructor(private jsPsych: JsPsych) {} diff --git a/packages/plugin-animation/src/index.ts b/packages/plugin-animation/src/index.ts index 405f4eb382..76db9ce3e5 100644 --- a/packages/plugin-animation/src/index.ts +++ b/packages/plugin-animation/src/index.ts @@ -96,6 +96,7 @@ const info = { }, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-audio-button-response/src/index.ts b/packages/plugin-audio-button-response/src/index.ts index 96ad72ecf7..1a3ee010d5 100644 --- a/packages/plugin-audio-button-response/src/index.ts +++ b/packages/plugin-audio-button-response/src/index.ts @@ -110,6 +110,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-audio-keyboard-response/src/index.ts b/packages/plugin-audio-keyboard-response/src/index.ts index 50544500bd..a6857c0771 100644 --- a/packages/plugin-audio-keyboard-response/src/index.ts +++ b/packages/plugin-audio-keyboard-response/src/index.ts @@ -82,6 +82,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-audio-slider-response/src/index.ts b/packages/plugin-audio-slider-response/src/index.ts index f43e376f94..ac7a8f6a12 100644 --- a/packages/plugin-audio-slider-response/src/index.ts +++ b/packages/plugin-audio-slider-response/src/index.ts @@ -117,6 +117,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-browser-check/src/index.ts b/packages/plugin-browser-check/src/index.ts index 1613fe3a5a..97df5ec0ff 100644 --- a/packages/plugin-browser-check/src/index.ts +++ b/packages/plugin-browser-check/src/index.ts @@ -173,6 +173,7 @@ const info = { type: ParameterType.BOOL, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-call-function/src/index.ts b/packages/plugin-call-function/src/index.ts index 90ba161097..626ab86f2d 100644 --- a/packages/plugin-call-function/src/index.ts +++ b/packages/plugin-call-function/src/index.ts @@ -27,6 +27,7 @@ const info = { default: undefined, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-canvas-button-response/src/index.ts b/packages/plugin-canvas-button-response/src/index.ts index dddeda2833..86cf65bccc 100644 --- a/packages/plugin-canvas-button-response/src/index.ts +++ b/packages/plugin-canvas-button-response/src/index.ts @@ -113,6 +113,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-canvas-keyboard-response/src/index.ts b/packages/plugin-canvas-keyboard-response/src/index.ts index f2aecfd6de..c4c45c9f56 100644 --- a/packages/plugin-canvas-keyboard-response/src/index.ts +++ b/packages/plugin-canvas-keyboard-response/src/index.ts @@ -78,6 +78,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-canvas-slider-response/src/index.ts b/packages/plugin-canvas-slider-response/src/index.ts index 0d202d6e3f..976152d555 100644 --- a/packages/plugin-canvas-slider-response/src/index.ts +++ b/packages/plugin-canvas-slider-response/src/index.ts @@ -90,6 +90,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-categorize-animation/src/index.ts b/packages/plugin-categorize-animation/src/index.ts index 2abfc45148..4fca364184 100644 --- a/packages/plugin-categorize-animation/src/index.ts +++ b/packages/plugin-categorize-animation/src/index.ts @@ -90,6 +90,7 @@ const info = { type: ParameterType.BOOL, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-categorize-html/src/index.ts b/packages/plugin-categorize-html/src/index.ts index e3092d5d95..40aa67d78f 100644 --- a/packages/plugin-categorize-html/src/index.ts +++ b/packages/plugin-categorize-html/src/index.ts @@ -95,6 +95,7 @@ const info = { type: ParameterType.BOOL, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-categorize-image/src/index.ts b/packages/plugin-categorize-image/src/index.ts index e6b36c9371..fe320c89c3 100644 --- a/packages/plugin-categorize-image/src/index.ts +++ b/packages/plugin-categorize-image/src/index.ts @@ -96,6 +96,7 @@ const info = { type: ParameterType.BOOL, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-cloze/src/index.ts b/packages/plugin-cloze/src/index.ts index 28c2023564..ffcb97a8ba 100644 --- a/packages/plugin-cloze/src/index.ts +++ b/packages/plugin-cloze/src/index.ts @@ -39,6 +39,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-external-html/src/index.ts b/packages/plugin-external-html/src/index.ts index 87879c2461..e19610434c 100644 --- a/packages/plugin-external-html/src/index.ts +++ b/packages/plugin-external-html/src/index.ts @@ -48,6 +48,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-free-sort/src/index.ts b/packages/plugin-free-sort/src/index.ts index 9deaba5dac..490af4740f 100644 --- a/packages/plugin-free-sort/src/index.ts +++ b/packages/plugin-free-sort/src/index.ts @@ -167,6 +167,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-fullscreen/src/index.ts b/packages/plugin-fullscreen/src/index.ts index 44642af0e7..9e1835cb93 100644 --- a/packages/plugin-fullscreen/src/index.ts +++ b/packages/plugin-fullscreen/src/index.ts @@ -46,6 +46,7 @@ const info = { description: "Time in milliseconds until the user entered fullscreen mode.", }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-html-audio-response/src/index.ts b/packages/plugin-html-audio-response/src/index.ts index dc56b782bf..1e673e4775 100644 --- a/packages/plugin-html-audio-response/src/index.ts +++ b/packages/plugin-html-audio-response/src/index.ts @@ -75,6 +75,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-html-button-response/src/index.ts b/packages/plugin-html-button-response/src/index.ts index 81b3dda8fb..ad1db1cd52 100644 --- a/packages/plugin-html-button-response/src/index.ts +++ b/packages/plugin-html-button-response/src/index.ts @@ -85,6 +85,7 @@ const info = { type: ParameterType.HTML_STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-html-slider-response/src/index.ts b/packages/plugin-html-slider-response/src/index.ts index 1351cb25ff..00ababf161 100644 --- a/packages/plugin-html-slider-response/src/index.ts +++ b/packages/plugin-html-slider-response/src/index.ts @@ -92,6 +92,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-html-video-response/src/index.ts b/packages/plugin-html-video-response/src/index.ts index 0c0b0acad3..62aa85c806 100644 --- a/packages/plugin-html-video-response/src/index.ts +++ b/packages/plugin-html-video-response/src/index.ts @@ -80,6 +80,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-iat-html/src/index.ts b/packages/plugin-iat-html/src/index.ts index b6d5946c27..b211f60c51 100644 --- a/packages/plugin-iat-html/src/index.ts +++ b/packages/plugin-iat-html/src/index.ts @@ -111,6 +111,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-iat-image/src/index.ts b/packages/plugin-iat-image/src/index.ts index b67dcb63d0..c95448d52b 100644 --- a/packages/plugin-iat-image/src/index.ts +++ b/packages/plugin-iat-image/src/index.ts @@ -111,6 +111,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-image-button-response/src/index.ts b/packages/plugin-image-button-response/src/index.ts index 02481de7fc..5934638a8f 100644 --- a/packages/plugin-image-button-response/src/index.ts +++ b/packages/plugin-image-button-response/src/index.ts @@ -124,6 +124,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-image-keyboard-response/src/index.ts b/packages/plugin-image-keyboard-response/src/index.ts index 4e879abf49..58da79eac9 100644 --- a/packages/plugin-image-keyboard-response/src/index.ts +++ b/packages/plugin-image-keyboard-response/src/index.ts @@ -88,6 +88,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-image-slider-response/src/index.ts b/packages/plugin-image-slider-response/src/index.ts index 2e5c77aecd..83e91c5a4f 100644 --- a/packages/plugin-image-slider-response/src/index.ts +++ b/packages/plugin-image-slider-response/src/index.ts @@ -128,6 +128,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-initialize-camera/src/index.ts b/packages/plugin-initialize-camera/src/index.ts index f1ba6637d5..f786853e81 100644 --- a/packages/plugin-initialize-camera/src/index.ts +++ b/packages/plugin-initialize-camera/src/index.ts @@ -48,6 +48,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-initialize-microphone/src/index.ts b/packages/plugin-initialize-microphone/src/index.ts index f14a272a21..17cd9746f9 100644 --- a/packages/plugin-initialize-microphone/src/index.ts +++ b/packages/plugin-initialize-microphone/src/index.ts @@ -23,6 +23,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-instructions/src/index.ts b/packages/plugin-instructions/src/index.ts index 248ea53789..42aaa0860f 100644 --- a/packages/plugin-instructions/src/index.ts +++ b/packages/plugin-instructions/src/index.ts @@ -92,6 +92,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-maxdiff/src/index.ts b/packages/plugin-maxdiff/src/index.ts index 1455952955..3a49b991ce 100644 --- a/packages/plugin-maxdiff/src/index.ts +++ b/packages/plugin-maxdiff/src/index.ts @@ -75,6 +75,7 @@ const info = { }, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-mirror-camera/src/index.ts b/packages/plugin-mirror-camera/src/index.ts index bc169f5f4f..8a161ca01c 100644 --- a/packages/plugin-mirror-camera/src/index.ts +++ b/packages/plugin-mirror-camera/src/index.ts @@ -38,6 +38,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-reconstruction/src/index.ts b/packages/plugin-reconstruction/src/index.ts index 4ac16efd84..5388b4bc48 100644 --- a/packages/plugin-reconstruction/src/index.ts +++ b/packages/plugin-reconstruction/src/index.ts @@ -52,6 +52,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-resize/src/index.ts b/packages/plugin-resize/src/index.ts index b29b0a17bf..4e19f865ae 100644 --- a/packages/plugin-resize/src/index.ts +++ b/packages/plugin-resize/src/index.ts @@ -50,6 +50,7 @@ const info = { type: ParameterType.FLOAT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-same-different-html/src/index.ts b/packages/plugin-same-different-html/src/index.ts index 94a0653447..af2ea6bc83 100644 --- a/packages/plugin-same-different-html/src/index.ts +++ b/packages/plugin-same-different-html/src/index.ts @@ -76,6 +76,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-same-different-image/src/index.ts b/packages/plugin-same-different-image/src/index.ts index b1f621b45b..f32b9c88dc 100644 --- a/packages/plugin-same-different-image/src/index.ts +++ b/packages/plugin-same-different-image/src/index.ts @@ -78,6 +78,7 @@ const info = { type: ParameterType.STRING, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-serial-reaction-time-mouse/src/index.ts b/packages/plugin-serial-reaction-time-mouse/src/index.ts index 4cec040509..3c81af05c9 100644 --- a/packages/plugin-serial-reaction-time-mouse/src/index.ts +++ b/packages/plugin-serial-reaction-time-mouse/src/index.ts @@ -88,6 +88,7 @@ const info = { type: ParameterType.BOOL, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-serial-reaction-time/src/index.ts b/packages/plugin-serial-reaction-time/src/index.ts index 8b87ef75a7..4c34e63720 100644 --- a/packages/plugin-serial-reaction-time/src/index.ts +++ b/packages/plugin-serial-reaction-time/src/index.ts @@ -98,6 +98,7 @@ const info = { type: ParameterType.BOOL, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-sketchpad/src/index.ts b/packages/plugin-sketchpad/src/index.ts index 33e4e8ecbc..ee646d77e8 100644 --- a/packages/plugin-sketchpad/src/index.ts +++ b/packages/plugin-sketchpad/src/index.ts @@ -255,6 +255,7 @@ const info = { }, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-survey-html-form/src/index.ts b/packages/plugin-survey-html-form/src/index.ts index 72871d0156..f8925ce55a 100644 --- a/packages/plugin-survey-html-form/src/index.ts +++ b/packages/plugin-survey-html-form/src/index.ts @@ -60,6 +60,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-survey-likert/src/index.ts b/packages/plugin-survey-likert/src/index.ts index b5c7551433..3a9f24e230 100644 --- a/packages/plugin-survey-likert/src/index.ts +++ b/packages/plugin-survey-likert/src/index.ts @@ -88,6 +88,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-survey-multi-choice/src/index.ts b/packages/plugin-survey-multi-choice/src/index.ts index 69c35f99b2..cb784f40a8 100644 --- a/packages/plugin-survey-multi-choice/src/index.ts +++ b/packages/plugin-survey-multi-choice/src/index.ts @@ -105,6 +105,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-survey-multi-select/src/index.ts b/packages/plugin-survey-multi-select/src/index.ts index b327543cbe..90c542bef4 100644 --- a/packages/plugin-survey-multi-select/src/index.ts +++ b/packages/plugin-survey-multi-select/src/index.ts @@ -110,6 +110,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-survey-text/src/index.ts b/packages/plugin-survey-text/src/index.ts index 112dd0945e..fe764a23e3 100644 --- a/packages/plugin-survey-text/src/index.ts +++ b/packages/plugin-survey-text/src/index.ts @@ -108,6 +108,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-survey/src/index.ts b/packages/plugin-survey/src/index.ts index 9b724ae6c7..2bd9d77000 100644 --- a/packages/plugin-survey/src/index.ts +++ b/packages/plugin-survey/src/index.ts @@ -66,6 +66,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-video-button-response/src/index.ts b/packages/plugin-video-button-response/src/index.ts index 07997d907a..542deb9d78 100644 --- a/packages/plugin-video-button-response/src/index.ts +++ b/packages/plugin-video-button-response/src/index.ts @@ -162,6 +162,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-video-keyboard-response/src/index.ts b/packages/plugin-video-keyboard-response/src/index.ts index d98156e928..9de74e3382 100644 --- a/packages/plugin-video-keyboard-response/src/index.ts +++ b/packages/plugin-video-keyboard-response/src/index.ts @@ -109,6 +109,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-video-slider-response/src/index.ts b/packages/plugin-video-slider-response/src/index.ts index 1e8466b050..4735c8782f 100644 --- a/packages/plugin-video-slider-response/src/index.ts +++ b/packages/plugin-video-slider-response/src/index.ts @@ -164,6 +164,7 @@ const info = { type: ParameterType.FLOAT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-virtual-chinrest/src/index.ts b/packages/plugin-virtual-chinrest/src/index.ts index 44bfab4a83..be621f9a90 100644 --- a/packages/plugin-virtual-chinrest/src/index.ts +++ b/packages/plugin-virtual-chinrest/src/index.ts @@ -170,6 +170,7 @@ const info = { type: ParameterType.FLOAT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-visual-search-circle/src/index.ts b/packages/plugin-visual-search-circle/src/index.ts index 0024e8178b..8bca1c78e7 100644 --- a/packages/plugin-visual-search-circle/src/index.ts +++ b/packages/plugin-visual-search-circle/src/index.ts @@ -133,6 +133,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-webgazer-calibrate/src/index.ts b/packages/plugin-webgazer-calibrate/src/index.ts index 1718a48b59..c642295388 100644 --- a/packages/plugin-webgazer-calibrate/src/index.ts +++ b/packages/plugin-webgazer-calibrate/src/index.ts @@ -62,6 +62,7 @@ const info = { data: { // no data collected }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-webgazer-init-camera/src/index.ts b/packages/plugin-webgazer-init-camera/src/index.ts index d9c0c56341..6c64f4d733 100644 --- a/packages/plugin-webgazer-init-camera/src/index.ts +++ b/packages/plugin-webgazer-init-camera/src/index.ts @@ -30,6 +30,7 @@ const info = { type: ParameterType.INT, }, }, + citations: "__CITATIONS__", }; type Info = typeof info; diff --git a/packages/plugin-webgazer-validate/src/index.ts b/packages/plugin-webgazer-validate/src/index.ts index 78a1f26874..41c096a12b 100644 --- a/packages/plugin-webgazer-validate/src/index.ts +++ b/packages/plugin-webgazer-validate/src/index.ts @@ -103,6 +103,7 @@ const info = { array: true, }, }, + citations: "__CITATIONS__", }; type Info = typeof info;