diff --git a/.changeset/wise-months-raise.md b/.changeset/wise-months-raise.md new file mode 100644 index 0000000..0d39ed0 --- /dev/null +++ b/.changeset/wise-months-raise.md @@ -0,0 +1,5 @@ +--- +"@jspsych/plugin-emoji-screen": patch +--- + +add moon emoji to default emoji options diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000..cfa73bf --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,34 @@ +name: OSSF Scorecard + +on: + push: + branches: [main] + pull_request: + schedule: + - cron: "0 0 * * 0" + +permissions: + contents: read + security-events: write + actions: read + +jobs: + scorecard: + name: OSSF Scorecard action + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: OSSF Scorecard action + uses: ossf/scorecard-action@v2.4.3 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + + - name: Upload SARIF results + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: results.sarif \ No newline at end of file diff --git a/packages/plugin-button-click-counter/tsconfig.json b/packages/plugin-button-click-counter/tsconfig.json index 8a84508..f0ddca8 100644 --- a/packages/plugin-button-click-counter/tsconfig.json +++ b/packages/plugin-button-click-counter/tsconfig.json @@ -5,4 +5,4 @@ "resolveJsonModule": true }, "include": ["src"] -} +} \ No newline at end of file diff --git a/packages/plugin-emoji-screen/examples/index.html b/packages/plugin-emoji-screen/examples/index.html index d540376..859dbf3 100644 --- a/packages/plugin-emoji-screen/examples/index.html +++ b/packages/plugin-emoji-screen/examples/index.html @@ -15,7 +15,7 @@ var trial = { type: jsPsychEmojiScreen, - emojis: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸"], + emojis: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸","🌙"], key_to_finish: "Enter", prompt: "

Click anywhere to place emojis. Press Enter when you are done.

", }; diff --git a/packages/plugin-emoji-screen/src/index.ts b/packages/plugin-emoji-screen/src/index.ts index 87d2050..211f41d 100644 --- a/packages/plugin-emoji-screen/src/index.ts +++ b/packages/plugin-emoji-screen/src/index.ts @@ -17,7 +17,7 @@ const info = { emojis: { type: ParameterType.STRING, array: true, - default: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸"], + default: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸","🌙"], }, /** The key that ends the trial and records the final emoji arrangement. */ key_to_finish: {