{"id":18576111,"url":"https://github.com/thiagodp/concordialang-plugin","last_synced_at":"2026-02-05T23:31:57.724Z","repository":{"id":45073164,"uuid":"177206027","full_name":"thiagodp/concordialang-plugin","owner":"thiagodp","description":"🔌 Concordia Compiler plug-in interface","archived":false,"fork":false,"pushed_at":"2022-01-11T00:12:47.000Z","size":780,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T19:51:29.278Z","etag":null,"topics":["api","concordia","concordia-lang","concordialang","plug-in","plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thiagodp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-22T20:37:45.000Z","updated_at":"2022-01-11T00:14:52.000Z","dependencies_parsed_at":"2022-09-03T23:40:25.797Z","dependency_job_id":null,"html_url":"https://github.com/thiagodp/concordialang-plugin","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/thiagodp/concordialang-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fconcordialang-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fconcordialang-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fconcordialang-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fconcordialang-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagodp","download_url":"https://codeload.github.com/thiagodp/concordialang-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fconcordialang-plugin/sbom","scorecard":{"id":880767,"data":{"date":"2025-08-11","repo":{"name":"github.com/thiagodp/concordialang-plugin","commit":"f217818634dcaf7bab8e9d198dd4446167a2387b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/thiagodp/concordialang-plugin/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/thiagodp/concordialang-plugin/test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:26","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"27 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T08:06:16.857Z","repository_id":45073164,"created_at":"2025-08-24T08:06:16.857Z","updated_at":"2025-08-24T08:06:16.857Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29138375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T23:14:48.546Z","status":"ssl_error","status_checked_at":"2026-02-05T23:14:35.724Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","concordia","concordia-lang","concordialang","plug-in","plugin"],"created_at":"2024-11-06T23:23:37.315Z","updated_at":"2026-02-05T23:31:57.708Z","avatar_url":"https://github.com/thiagodp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://img.shields.io/github/workflow/status/thiagodp/concordialang-plugin/Test?style=for-the-badge)](https://github.com/thiagodp/concordialang-plugin/actions)\n[![npm version](https://img.shields.io/npm/v/concordialang-plugin.svg?style=for-the-badge\u0026color=green\u0026label=NPM)](https://badge.fury.io/js/concordialang-plugin)\n[![GitHub last commit](https://img.shields.io/github/last-commit/thiagodp/concordialang-plugin.svg?style=for-the-badge)](https://github.com/thiagodp/concordialang-plugin/releases)\n\n# concordialang-plugin\n\n\u003e 🔌 Concordia Compiler plug-in interface\n\n## How to create a plug-in\n\n\u003e 👉 The following procedure requires Concordia Compiler `2.0.0-alpha-19` or later\n\n1. Choose wisely your plug-in name, making sure that it starts with `concordialang-`. We recommend that it contains the target frameworks - _e.g._ `concordialang-foo-bar` if you will use the (hypothetical) frameworks `\"foo\"` and `\"bar\"`.\n2. Create a new repository and clone it.\n3. Create a new file `package.json` (_e.g._, `npm init`).\n4. Install the packages `concordialang-types` and `concordialang-plugin` as dependencies (_e.g._, `npm i concordialang-types concordialang-plugin`).\n5. Add the property `\"concordiaPlugin\": true` to your `package.json`.\n6. Create a file (_e.g._, `src/index.ts`) with a class that implements the interface `Plugin` (see [API](#api)).\n7. Make sure that the created class has a `default` export (_i.e_, `export default class`).\n8. Set the property `\"main\"` from your `package.json` to the JS file that contains the created class (_e.g._, `\"dist/index.js\"`).\n9. Check your plug-in execution (see some tips below).\n10. Publish your package if you desire to install it by name.\n\n**Note**: You can use JavaScript instead of TypeScript.\n\n\n## How to check your plug-in execution\n\n1. Create a new project with the file `package.json` (_e.g._, `npm init --yes`).\n2. Create a simple Concordia feature file (_e.g._, `features/example.feature`).\n3. Install Concordia Compiler (`npm i -D concordialang`) and run the init command (`npx concordia --init`).\n4. Install your plug-in from its directory (_e.g._, `npm i -D /path/to/your-plugin`)\n5. Run Concordia with your plug-in (_e.g._, `npx concordia -p your-plugin`) and see with it is executed correctly.\n\n\n## How to publish your plug-in\n\n1. Make sure you have an [NPM](https://www.npmjs.com/) account.\n2. Enter your project folder and run `npm login`.\n3. Create a property `\"files\"` into your `package.json` that indicates the (source code) files to distribute.\n4. Make sure the property `\"version\"` of your package file was set correctly.\n5. Run `npm publish --dry-run` to simulate the publishing.\n6. Make sure its all correct and then run `npm publish`.\n\n\n## Example\n\nSee [fake-plugin](https://github.com/concordialang/fake-plugin) for a simple example.\n\n\n## API\n\n```typescript\nexport interface Plugin {\n\n    //\n    // Test Generation and Execution\n    //\n\n    /**\n     * Multi-platform command to start a testing server, if needed.\n     *\n     * 👉 Set its value only if the testing framework does need a testing server.\n     *\n     * @example\n     *      \"selenium-standalone start\"\n     */\n    serveCommand?: string;\n\n    /**\n     * Generates source code from abstract test scripts, according to the given options.\n     *\n     * @param abstractTestScripts Abstract test scripts\n     * @param options Options\n     * @return Generation results.\n     */\n    generateCode?: (\n        abstractTestScripts: AbstractTestScript[],\n        options: TestScriptGenerationOptions\n    ) =\u003e Promise\u003c TestScriptGenerationResult \u003e;\n\n    /**\n     * Executes test scripts, according to the given options.\n     *\n     * @param options Execution options.\n     * @return Execution results.\n     */\n    executeCode?: ( options: TestScriptExecutionOptions ) =\u003e Promise\u003c TestScriptExecutionResult \u003e;\n\n    /**\n     * Converts a file produced by the execution of test scripts (e.g. a JSON or a XML file).\n     *\n     * @param filePath Input file.\n     * @return Execution results.\n     */\n    convertReportFile?: ( filePath: string ) =\u003e Promise\u003c TestScriptExecutionResult \u003e;\n\n    //\n    // Events\n    //\n\n    /**\n     * Event that happens before the compiler reports the test script results.\n     *\n     * @param result Test script execution result.\n     * @param options Test script execution options.\n     */\n\tbeforeReporting?: ( result?: TestScriptExecutionResult, options?: TestScriptExecutionOptions ) =\u003e Promise\u003c void \u003e;\n\n    /**\n     * Event that happens after the compiler reports the test script results.\n     *\n     * @param result Test script execution result.\n     * @param options Test script execution options.\n     */\n    afterReporting?: ( result?: TestScriptExecutionResult, options?: TestScriptExecutionOptions ) =\u003e Promise\u003c void \u003e;\n\n}\n```\n\nPlease see the `src` folder for more information about the used types.\n\n## License\n\n![AGPL](https://www.gnu.org/graphics/agplv3-88x31.png) © [Thiago Delgado Pinto](https://github.com/thiagodp)\n\n[GNU Affero General Public License version 3](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagodp%2Fconcordialang-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagodp%2Fconcordialang-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagodp%2Fconcordialang-plugin/lists"}