{"id":19475468,"url":"https://github.com/artdecocode/yarn-s","last_synced_at":"2026-05-17T07:38:03.812Z","repository":{"id":57403277,"uuid":"226186736","full_name":"artdecocode/yarn-s","owner":"artdecocode","description":"Run Multiple Yarn Commands In Series.","archived":false,"fork":false,"pushed_at":"2020-02-03T02:31:34.000Z","size":98,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-18T14:41:12.304Z","etag":null,"topics":["serial","series","yarn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artdecocode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-05T20:50:04.000Z","updated_at":"2020-02-03T02:31:36.000Z","dependencies_parsed_at":"2022-09-15T14:40:57.969Z","dependency_job_id":null,"html_url":"https://github.com/artdecocode/yarn-s","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"mnpjs/package","purl":"pkg:github/artdecocode/yarn-s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fyarn-s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fyarn-s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fyarn-s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fyarn-s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdecocode","download_url":"https://codeload.github.com/artdecocode/yarn-s/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdecocode%2Fyarn-s/sbom","scorecard":{"id":208922,"data":{"date":"2025-08-11","repo":{"name":"github.com/artdecocode/yarn-s","commit":"e77dda86a571148ca8f1f5312f7d90de142885f5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/16 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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: LICENSE:0"],"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":10,"reason":"0 existing vulnerabilities detected","details":null,"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-17T00:21:27.591Z","repository_id":57403277,"created_at":"2025-08-17T00:21:27.591Z","updated_at":"2025-08-17T00:21:27.591Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33131001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: 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":["serial","series","yarn"],"created_at":"2024-11-10T19:33:00.639Z","updated_at":"2026-05-17T07:38:03.779Z","avatar_url":"https://github.com/artdecocode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yarn-s\n\n[![npm version](https://badge.fury.io/js/yarn-s.svg)](https://www.npmjs.com/package/yarn-s)\n\n`yarn-s` is Run Multiple Yarn Commands In Series.\n\n```sh\nyarn add yarn-s\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`async yarnS(config: !Config): !Array\u003c!ScriptResult\u003e`](#async-yarnsconfig-config-arrayscriptresult)\n  * [`Config`](#type-config)\n  * [`ScriptResult`](#type-scriptresult)\n- [CLI](#cli)\n- [Copyright \u0026 License](#copyright--license)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/0.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## API\n\nThe package is available by importing its default function:\n\n```js\nimport yarnS from 'yarn-s'\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/1.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## \u003ccode\u003easync \u003cins\u003eyarnS\u003c/ins\u003e(\u003c/code\u003e\u003csub\u003e\u003cbr/\u003e\u0026nbsp;\u0026nbsp;`config: !Config,`\u003cbr/\u003e\u003c/sub\u003e\u003ccode\u003e): \u003ci\u003e!Array\u003c!ScriptResult\u003e\u003c/i\u003e\u003c/code\u003e\nRun Multiple Yarn Commands In Series.\n\n - \u003ckbd\u003e\u003cstrong\u003econfig*\u003c/strong\u003e\u003c/kbd\u003e \u003cem\u003e\u003ccode\u003e\u003ca href=\"#type-config\" title=\"Options for the program.\"\u003e!Config\u003c/a\u003e\u003c/code\u003e\u003c/em\u003e: The config.\n\n__\u003ca name=\"type-config\"\u003e`Config`\u003c/a\u003e__: Options for the program.\n\n\n|     Name     |             Type              |       Description       |\n| ------------ | ----------------------------- | ----------------------- |\n| __scripts*__ | \u003cem\u003e!Array\u0026lt;string\u0026gt;\u003c/em\u003e | The scripts to execute. |\n\n\n__\u003ca name=\"type-scriptresult\"\u003e`ScriptResult`\u003c/a\u003e__: The result of a script.\n\n\n|    Name     |      Type       |        Description         |\n| ----------- | --------------- | -------------------------- |\n| __code*__   | \u003cem\u003enumber\u003c/em\u003e | The exit code.             |\n| __stdout*__ | \u003cem\u003estring\u003c/em\u003e | The stdout of the program. |\n| __stderr*__ | \u003cem\u003estring\u003c/em\u003e | The stderr of the program. |\n\n```js\nimport yarnS from 'yarn-s'\n\n(async () =\u003e {\n  const res = await yarnS({\n    scripts: ['pass'],\n  })\n  console.log(res)\n})()\n```\n```\n$ node test/fixture/pass\nthis file is fine\n[ { code: 0,\n    stdout: '$ node test/fixture/pass\\nthis file is fine\\n',\n    stderr: '' } ]\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/2.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## CLI\n\nThe package can also be used from the CLI.\n\n\u003ctable\u003e\n \u003cthead\u003e\n  \u003ctr\u003e\n   \u003cth\u003eArgument\u003c/th\u003e \n   \u003cth\u003eShort\u003c/th\u003e\n   \u003cth\u003eDescription\u003c/th\u003e\n  \u003c/tr\u003e\n \u003c/thead\u003e\n  \u003ctr\u003e\n   \u003ctd\u003escripts\u003c/td\u003e\n   \u003ctd\u003e\u003c/td\u003e\n   \u003ctd\u003eThe scripts to execute in series.\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n   \u003ctd\u003e--help\u003c/td\u003e\n   \u003ctd\u003e-h\u003c/td\u003e\n   \u003ctd\u003ePrint the help information and exit.\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n   \u003ctd\u003e--version\u003c/td\u003e\n   \u003ctd\u003e-v\u003c/td\u003e\n   \u003ctd\u003eShow the version's number and exit.\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n```\nRun Multiple Yarn Commands In Series.\n\n  yarn-s script[,script,...]\n\n\tscripts      \tThe scripts to execute in series.\n\t--help, -h   \tPrint the help information and exit.\n\t--version, -v\tShow the version's number and exit.\n\n  Example:\n\n    yarn-s script-1 script-2\n```\n\nThe program will exit with status code 1 if one of the scripts exited with non-zero code.\n\n\u003ctable\u003e\n\u003ctr\u003e\u003cth\u003epass\u003c/th\u003e\u003cth\u003efail\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\n\n```js\nprocess.stdout.write('this file is fine\\n')\n```\n\u003c/td\u003e\n\u003ctd\u003e\n\n```js\nprocess.stdout.write('hello wor')\nprocess.exit(1)\n```\n\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n**yarn-s pass fail**\n\n```\n$ node test/fixture/pass\nthis file is fine\n$ node test/fixture/fail\nhello worinfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\nCommand \"fail\" existed with code 1\n```\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/3.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e\n\n## Copyright \u0026 License\n\nGNU Affero General Public License v3.0\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/38815725?v=4\u0026amp;s=100\" alt=\"artdecocode\"\u003e\u003c/td\u003e\n    \u003ctd\u003e© \u003ca href=\"https://www.artd.eco\"\u003eArt Deco™\u003c/a\u003e 2020\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#table-of-contents\"\u003e\n  \u003cimg src=\"/.documentary/section-breaks/-1.svg?sanitize=true\"\u003e\n\u003c/a\u003e\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdecocode%2Fyarn-s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartdecocode%2Fyarn-s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdecocode%2Fyarn-s/lists"}