From f33fe2dc00e2ab48e33a753a1b34a6a79a2f83a8 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sat, 15 Jan 2022 08:53:52 -0500 Subject: [PATCH] fix(ci): update some parameters [skip ci] --- .github/scripts/build.mjs | 6 ++- .github/scripts/files/examples.yml | 2 + .github/workflows/examples.yml | 54 +++++++++--------------- source/app/metrics/metadata.mjs | 51 ++++++++++++++++------ source/plugins/core/examples.yml | 2 +- source/plugins/introduction/README.md | 2 +- source/plugins/introduction/examples.yml | 4 +- source/plugins/music/examples.yml | 6 ++- source/plugins/pagespeed/README.md | 3 ++ source/plugins/pagespeed/examples.yml | 3 ++ source/plugins/projects/README.md | 2 +- source/plugins/projects/examples.yml | 2 +- source/plugins/stock/README.md | 2 +- source/plugins/stock/examples.yml | 2 +- source/plugins/traffic/examples.yml | 2 +- source/plugins/tweets/examples.yml | 7 --- source/templates/repository/README.md | 2 +- source/templates/repository/examples.yml | 2 +- tests/cases/introduction.plugin.yml | 2 +- tests/cases/pagespeed.plugin.yml | 3 ++ tests/cases/stock.plugin.yml | 2 +- tests/secrets.json | 4 +- 22 files changed, 93 insertions(+), 72 deletions(-) diff --git a/.github/scripts/build.mjs b/.github/scripts/build.mjs index 23c1af07..83ac1ae6 100644 --- a/.github/scripts/build.mjs +++ b/.github/scripts/build.mjs @@ -46,10 +46,11 @@ for (const step of ["config", "documentation"]) { //Plugins for (const id of Object.keys(plugins)) { - const {examples, options, readme, tests} = await plugin(id) + const {examples, options, readme, tests, header} = await plugin(id) //Readme await fs.writeFile(readme.path, readme.content + .replace(/()[\s\S]*()/g, `$1\n${header}\n$2`) .replace(/()[\s\S]*()/g, `$1\n${examples.map(({test, prod, ...step}) => ["```yaml", yaml.dump(step), "```"].join("\n")).join("\n")}\n$2`) .replace(/()[\s\S]*()/g, `$1\n${options}\n$2`) ) @@ -121,7 +122,8 @@ async function plugin(id) { path:tests }, examples:fss.existsSync(examples) ? yaml.load(await fs.readFile(examples), "utf8") ?? [] : [], - options:plugins[id].readme.table + options:plugins[id].readme.table, + header:plugins[id].readme.header } } diff --git a/.github/scripts/files/examples.yml b/.github/scripts/files/examples.yml index 062abe61..a2ac4d96 100644 --- a/.github/scripts/files/examples.yml +++ b/.github/scripts/files/examples.yml @@ -23,6 +23,7 @@ jobs: <%- steps.split("\n").map(line => ` ${line}`).join("\n") %> - name: Publish examples + if: ${{ success() || failure() }} run: | set +e sudo mv /metrics_renders/* ./ @@ -128,6 +129,7 @@ jobs: delay: 120 - name: Publish examples + if: ${{ success() || failure() }} run: | set +e sudo mv /metrics_renders/* ./ diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index fbf3154a..8d13f08c 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -33,7 +33,7 @@ jobs: uses: lowlighter/metrics@master with: user: github - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} base: header, repositories plugins_errors_fatal: 'yes' output_action: none @@ -340,7 +340,7 @@ jobs: - name: 🗂️ Active projects - Project from a repository uses: lowlighter/metrics@master with: - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} plugin_projects: 'yes' plugin_projects_repositories: lowlighter/metrics/projects/1 plugin_projects_descriptions: 'yes' @@ -447,7 +447,7 @@ jobs: - name: 🧮 Repositories traffic - Repositories traffic uses: lowlighter/metrics@master with: - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -471,10 +471,10 @@ jobs: output_action: none delay: 120 if: ${{ success() || failure() }} - - name: 🙋 Introduction - User introduction + - name: 🙋 Introduction - Organization introduction uses: lowlighter/metrics@master with: - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -539,6 +539,7 @@ jobs: token: NOT_NEEDED plugin_pagespeed: 'yes' plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -550,6 +551,7 @@ jobs: plugin_pagespeed: 'yes' plugin_pagespeed_detailed: 'yes' plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -561,6 +563,7 @@ jobs: plugin_pagespeed: 'yes' plugin_pagespeed_screenshot: 'yes' plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -638,30 +641,6 @@ jobs: output_action: none delay: 120 if: ${{ success() || failure() }} - - name: 🎼 Music plugin - Youtube Music - Recently listed - uses: lowlighter/metrics@master - with: - token: NOT_NEEDED - plugin_music_token: ${{ secrets.YOUTUBE_MUSIC_TOKENS }} - plugin_music: 'yes' - plugin_music_mode: recent - plugin_music_provider: youtube - plugins_errors_fatal: 'yes' - output_action: none - delay: 120 - if: ${{ success() || failure() }} - - name: 🎼 Music plugin - Last.fm - Recently listed - uses: lowlighter/metrics@master - with: - token: NOT_NEEDED - plugin_music_token: ${{ secrets.LASTFM_TOKEN }} - plugin_music: 'yes' - plugin_music_provider: lastfm - plugin_music_user: RJ - plugins_errors_fatal: 'yes' - output_action: none - delay: 120 - if: ${{ success() || failure() }} - name: 🗨️ Stackoverflow plugin - Top answers from stackoverflow uses: lowlighter/metrics@master with: @@ -716,7 +695,10 @@ jobs: - name: 🐤 Latest tweets - Latest tweets uses: lowlighter/metrics@master with: - user: botlighter + token: NOT_NEEDED + plugin_tweets: 'yes' + plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} + plugin_tweets_user: github plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -724,7 +706,11 @@ jobs: - name: 🐤 Latest tweets - Latest tweets including attachments uses: lowlighter/metrics@master with: - user: botlighter + token: NOT_NEEDED + plugin_tweets: 'yes' + plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} + plugin_tweets_attachments: 'yes' + plugin_tweets_user: github plugins_errors_fatal: 'yes' output_action: none delay: 120 @@ -776,7 +762,7 @@ jobs: with: token: NOT_NEEDED plugin_stock: 'yes' - plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }} + plugin_stock_token: ${{ secrets.STOCK_TOKEN }} plugin_stock_symbol: TSLA plugins_errors_fatal: 'yes' output_action: none @@ -808,7 +794,7 @@ jobs: uses: lowlighter/metrics@master with: template: repository - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} user: lowlighter repo: metrics plugin_lines: 'yes' @@ -914,6 +900,7 @@ jobs: - name: Publish examples + if: ${{ success() || failure() }} run: | set +e sudo mv /metrics_renders/* ./ @@ -1019,6 +1006,7 @@ jobs: delay: 120 - name: Publish examples + if: ${{ success() || failure() }} run: | set +e sudo mv /metrics_renders/* ./ diff --git a/source/app/metrics/metadata.mjs b/source/app/metrics/metadata.mjs index 99e53094..c2162543 100644 --- a/source/app/metrics/metadata.mjs +++ b/source/app/metrics/metadata.mjs @@ -268,6 +268,30 @@ metadata.plugin = async function({__plugins, name, logger}) { const raw = `${await fs.promises.readFile(path.join(__plugins, name, "README.md"), "utf-8")}` const demo = raw.match(/(?[\s\S]*?<[/]table>)/)?.groups?.demo?.replace(/<[/]?(?:table|tr)>/g, "")?.trim() ?? "" + //Header table + const header = [ + "
", + ` `, + ` `, + " ", + ' ', + //` `, + " ", + " ", + ` `, + " ", + " ", + ` `, + " ", + " ", + " ", + "

${meta.name}

${(meta.description ?? "").replaceAll("\n", "
")}
Supported features
→ Full specification
${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `${plugins[id].icon}`).join(" ")}${meta.formats?.includes("markdown") ? " ✓ embed()" : ""}
${[ + meta.supports?.includes("user") ? "👤 Users" : "", + meta.supports?.includes("organization") ? "👥 Organizations" : "", + meta.supports?.includes("repository") ? "📓 Repositories" : "" + ].filter(v => v).join(", ")}
${[...(meta.scopes ?? []).map(scope => `🔑 ${scope}`), ...Object.entries(inputs).filter(([_, {type}]) => type === "token").map(([token]) => `🗝️ ${token}`)].join(", ")}
" + ].join("\n") + //Options table let flags = new Set() const table = [ @@ -348,7 +372,7 @@ metadata.plugin = async function({__plugins, name, logger}) { ].flat(Infinity).filter(s => s).join("\n") //Readme descriptor - meta.readme = {demo, table} + meta.readme = {demo, table, header} } //Icon @@ -368,7 +392,6 @@ metadata.template = async function({__templates, name, plugins, logger}) { try { //Load meta descriptor const raw = fs.existsSync(path.join(__templates, name, "metadata.yml")) ? `${await fs.promises.readFile(path.join(__templates, name, "metadata.yml"), "utf-8")}` : "" - const readme = fs.existsSync(path.join(__templates, name, "README.md")) ? `${await fs.promises.readFile(path.join(__templates, name, "README.md"), "utf-8")}` : "" const meta = yaml.load(raw) ?? {} //Compatibility @@ -383,7 +406,7 @@ metadata.template = async function({__templates, name, plugins, logger}) { } //Demo for main and individual readmes - function demo({colspan = null} = {}) { + function demo({colspan = null} = {}) { //eslint-disable-line no-inner-declarations return [ ` `, `${Object.entries(meta.examples ?? {}).map(([text, link]) => { @@ -394,8 +417,8 @@ metadata.template = async function({__templates, name, plugins, logger}) { } return ` ${img}` }).join("\n")}`, - ` `, - ` ` + ' ', + " " ].join("\n") } @@ -404,18 +427,18 @@ metadata.template = async function({__templates, name, plugins, logger}) { "", ` `, ` `, - ` `, - ` `, + " ", + ' ', ` `, - ` `, - ` `, + " ", + " ", ` `, - ` `, - ` `, + " ", + " ", ` `, - ` `, - ` `, + " ", + " ", demo({colspan:2}), - ` `, + " ", "

${meta.name ?? "(unnamed template)"}

${(meta.description ?? "").replaceAll("\n", "
")}
Supported features
→ Full specification
Supported features
→ Full specification
${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `${plugins[id].icon}`).join(" ")}${meta.formats?.includes("markdown") ? " ✓ embed()" : ""}
${[ meta.supports?.includes("user") ? "👤 Users" : "", meta.supports?.includes("organization") ? "👥 Organizations" : "", meta.supports?.includes("repository") ? "📓 Repositories" : "" ].filter(v => v).join(", ")}
${[ meta.formats?.includes("svg") ? "*️⃣ SVG" : "", meta.formats?.includes("png") ? "*️⃣ PNG" : "", @@ -424,10 +447,10 @@ metadata.template = async function({__templates, name, plugins, logger}) { meta.formats?.includes("markdown") ? "🔠 Markdown" : "", meta.formats?.includes("markdown-pdf") ? "🔠 Markdown (PDF)" : "", ].filter(v => v).join(", ")}
" ].join("\n") diff --git a/source/plugins/core/examples.yml b/source/plugins/core/examples.yml index a6b3e211..47b52fe4 100644 --- a/source/plugins/core/examples.yml +++ b/source/plugins/core/examples.yml @@ -3,7 +3,7 @@ with: filename: metrics.organization.svg user: github - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} base: header, repositories - name: Large display diff --git a/source/plugins/introduction/README.md b/source/plugins/introduction/README.md index caac482f..0c94f7f1 100644 --- a/source/plugins/introduction/README.md +++ b/source/plugins/introduction/README.md @@ -32,7 +32,7 @@ It is mostly intended for metrics used outside of GitHub, since these informatio ```yaml -name: User introduction +name: Organization introduction uses: lowlighter/metrics@latest with: filename: metrics.plugin.introduction.svg diff --git a/source/plugins/introduction/examples.yml b/source/plugins/introduction/examples.yml index 677974cc..3981c9c5 100644 --- a/source/plugins/introduction/examples.yml +++ b/source/plugins/introduction/examples.yml @@ -1,4 +1,4 @@ -- name: User introduction +- name: Organization introduction uses: lowlighter/metrics@latest with: filename: metrics.plugin.introduction.svg @@ -8,7 +8,7 @@ plugin_introduction: yes prod: with: - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} - name: Repository introduction uses: lowlighter/metrics@latest diff --git a/source/plugins/music/examples.yml b/source/plugins/music/examples.yml index 089e49c2..5650c786 100644 --- a/source/plugins/music/examples.yml +++ b/source/plugins/music/examples.yml @@ -63,6 +63,8 @@ plugin_music: yes plugin_music_mode: recent plugin_music_provider: youtube + prod: + skip: true - name: Last.fm - Recently listed uses: lowlighter/metrics@latest @@ -71,4 +73,6 @@ plugin_music_token: ${{ secrets.LASTFM_TOKEN }} plugin_music: yes plugin_music_provider: lastfm - plugin_music_user: RJ \ No newline at end of file + plugin_music_user: RJ + prod: + skip: true \ No newline at end of file diff --git a/source/plugins/pagespeed/README.md b/source/plugins/pagespeed/README.md index d90e8589..eabc5536 100644 --- a/source/plugins/pagespeed/README.md +++ b/source/plugins/pagespeed/README.md @@ -55,6 +55,7 @@ with: token: NOT_NEEDED plugin_pagespeed: 'yes' plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io ``` ```yaml @@ -66,6 +67,7 @@ with: plugin_pagespeed: 'yes' plugin_pagespeed_detailed: 'yes' plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io ``` ```yaml @@ -77,6 +79,7 @@ with: plugin_pagespeed: 'yes' plugin_pagespeed_screenshot: 'yes' plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io ``` diff --git a/source/plugins/pagespeed/examples.yml b/source/plugins/pagespeed/examples.yml index 6ad7f28a..ea3d658c 100644 --- a/source/plugins/pagespeed/examples.yml +++ b/source/plugins/pagespeed/examples.yml @@ -5,6 +5,7 @@ token: NOT_NEEDED plugin_pagespeed: yes plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io - name: Detailed report uses: lowlighter/metrics@latest @@ -14,6 +15,7 @@ plugin_pagespeed: yes plugin_pagespeed_detailed: yes plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io - name: Screenshot uses: lowlighter/metrics@latest @@ -23,4 +25,5 @@ plugin_pagespeed: yes plugin_pagespeed_screenshot: yes plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }} + plugin_pagespeed_url: https://lecoq.io diff --git a/source/plugins/projects/README.md b/source/plugins/projects/README.md index 7ac48c00..0d9b5b00 100644 --- a/source/plugins/projects/README.md +++ b/source/plugins/projects/README.md @@ -63,7 +63,7 @@ name: Project from a repository uses: lowlighter/metrics@latest with: filename: metrics.plugin.projects.svg - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} base: '' plugin_projects: 'yes' plugin_projects_repositories: lowlighter/metrics/projects/1 diff --git a/source/plugins/projects/examples.yml b/source/plugins/projects/examples.yml index 72b6c08d..03b5c053 100644 --- a/source/plugins/projects/examples.yml +++ b/source/plugins/projects/examples.yml @@ -2,7 +2,7 @@ uses: lowlighter/metrics@latest with: filename: metrics.plugin.projects.svg - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} base: "" plugin_projects: yes plugin_projects_repositories: lowlighter/metrics/projects/1 diff --git a/source/plugins/stock/README.md b/source/plugins/stock/README.md index 53f2c3d7..6a04f03d 100644 --- a/source/plugins/stock/README.md +++ b/source/plugins/stock/README.md @@ -47,7 +47,7 @@ with: token: NOT_NEEDED base: '' plugin_stock: 'yes' - plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }} + plugin_stock_token: ${{ secrets.STOCK_TOKEN }} plugin_stock_symbol: TSLA ``` diff --git a/source/plugins/stock/examples.yml b/source/plugins/stock/examples.yml index 9cdbf626..6501dde6 100644 --- a/source/plugins/stock/examples.yml +++ b/source/plugins/stock/examples.yml @@ -5,5 +5,5 @@ token: NOT_NEEDED base: "" plugin_stock: yes - plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }} + plugin_stock_token: ${{ secrets.STOCK_TOKEN }} plugin_stock_symbol: TSLA diff --git a/source/plugins/traffic/examples.yml b/source/plugins/traffic/examples.yml index 0d823f8a..a110d119 100644 --- a/source/plugins/traffic/examples.yml +++ b/source/plugins/traffic/examples.yml @@ -7,4 +7,4 @@ plugin_traffic: yes prod: with: - token: ${{ secrets.METRICS_BOT_TOKEN }} \ No newline at end of file + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} \ No newline at end of file diff --git a/source/plugins/tweets/examples.yml b/source/plugins/tweets/examples.yml index 6f708e38..16f085f1 100644 --- a/source/plugins/tweets/examples.yml +++ b/source/plugins/tweets/examples.yml @@ -6,9 +6,6 @@ plugin_tweets: yes plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} plugin_tweets_user: github - prod: - with: - user: botlighter - name: Latest tweets including attachments uses: lowlighter/metrics@latest @@ -19,7 +16,3 @@ plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} plugin_tweets_attachments: yes plugin_tweets_user: github - prod: - with: - user: botlighter - diff --git a/source/templates/repository/README.md b/source/templates/repository/README.md index 16bdefd6..437f9a87 100644 --- a/source/templates/repository/README.md +++ b/source/templates/repository/README.md @@ -45,7 +45,7 @@ uses: lowlighter/metrics@latest with: template: repository filename: metrics.repository.svg - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} user: lowlighter repo: metrics plugin_lines: 'yes' diff --git a/source/templates/repository/examples.yml b/source/templates/repository/examples.yml index 6997462b..b0a946f3 100644 --- a/source/templates/repository/examples.yml +++ b/source/templates/repository/examples.yml @@ -3,7 +3,7 @@ with: template: repository filename: metrics.repository.svg - token: ${{ secrets.METRICS_BOT_TOKEN }} + token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }} user: lowlighter repo: metrics plugin_lines: yes diff --git a/tests/cases/introduction.plugin.yml b/tests/cases/introduction.plugin.yml index 283a7253..5f2cdb06 100644 --- a/tests/cases/introduction.plugin.yml +++ b/tests/cases/introduction.plugin.yml @@ -1,4 +1,4 @@ -- name: 🙋 Introduction - User introduction +- name: 🙋 Introduction - Organization introduction uses: lowlighter/metrics@latest with: token: MOCKED_TOKEN diff --git a/tests/cases/pagespeed.plugin.yml b/tests/cases/pagespeed.plugin.yml index ea7093de..9736c04f 100644 --- a/tests/cases/pagespeed.plugin.yml +++ b/tests/cases/pagespeed.plugin.yml @@ -4,6 +4,7 @@ token: NOT_NEEDED plugin_pagespeed: 'yes' plugin_pagespeed_token: MOCKED_TOKEN + plugin_pagespeed_url: https://lecoq.io - name: ⏱️ Website performances - Detailed report uses: lowlighter/metrics@latest with: @@ -11,6 +12,7 @@ plugin_pagespeed: 'yes' plugin_pagespeed_detailed: 'yes' plugin_pagespeed_token: MOCKED_TOKEN + plugin_pagespeed_url: https://lecoq.io - name: ⏱️ Website performances - Screenshot uses: lowlighter/metrics@latest with: @@ -18,3 +20,4 @@ plugin_pagespeed: 'yes' plugin_pagespeed_screenshot: 'yes' plugin_pagespeed_token: MOCKED_TOKEN + plugin_pagespeed_url: https://lecoq.io diff --git a/tests/cases/stock.plugin.yml b/tests/cases/stock.plugin.yml index 6c0da233..e0ff8009 100644 --- a/tests/cases/stock.plugin.yml +++ b/tests/cases/stock.plugin.yml @@ -3,5 +3,5 @@ with: token: NOT_NEEDED plugin_stock: 'yes' - plugin_stock_token: MOCKED_TOKEN + plugin_stock_token: undefined plugin_stock_symbol: TSLA diff --git a/tests/secrets.json b/tests/secrets.json index 0d5936f2..5a95009b 100644 --- a/tests/secrets.json +++ b/tests/secrets.json @@ -1,6 +1,6 @@ { "METRICS_TOKEN":"MOCKED_TOKEN", - "METRICS_BOT_TOKEN":"MOCKED_TOKEN", + "METRICS_TOKEN_WITH_SCOPES":"MOCKED_TOKEN", "PAGESPEED_TOKEN":"MOCKED_TOKEN", "SPOTIFY_TOKENS":"MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN", "YOUTUBE_MUSIC_TOKENS":"SAPISID=MOCKED_COOKIE; OTHER_PARAM=OTHER_VALUE;", @@ -9,5 +9,5 @@ "WAKATIME_TOKEN":"MOCKED_TOKEN", "WAKATIME_TOKEN_NO_PROJECTS":"MOCKED_TOKEN_NO_PROJECTS", "TWITTER_TOKEN":"MOCKED_TOKEN", - "RAPIDAPI_TOKEN":"MOCKED_TOKEN" + "STOCK_TOKEN":"MOCKED_TOKEN" } \ No newline at end of file