{"id":20371730,"url":"https://github.com/insuremo/rainbow-s2","last_synced_at":"2025-08-16T05:38:47.190Z","repository":{"id":255638636,"uuid":"850880819","full_name":"InsureMO/rainbow-s2","owner":"InsureMO","description":"vscode plugins for d9, o23 playground","archived":false,"fork":false,"pushed_at":"2024-11-11T15:37:08.000Z","size":6000,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T07:33:38.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InsureMO.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-02T02:23:18.000Z","updated_at":"2024-11-11T15:37:12.000Z","dependencies_parsed_at":"2025-01-15T05:34:16.175Z","dependency_job_id":"bc90ea7e-e020-456e-87f0-fa5786144148","html_url":"https://github.com/InsureMO/rainbow-s2","commit_stats":null,"previous_names":["insuremo/rainbow-s2"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/InsureMO/rainbow-s2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsureMO%2Frainbow-s2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsureMO%2Frainbow-s2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsureMO%2Frainbow-s2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsureMO%2Frainbow-s2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InsureMO","download_url":"https://codeload.github.com/InsureMO/rainbow-s2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsureMO%2Frainbow-s2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270672889,"owners_count":24626039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T01:09:20.291Z","updated_at":"2025-08-16T05:38:47.157Z","avatar_url":"https://github.com/InsureMO.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rainbow-s2\n\nEditors for [@rainbow/d9](https://github.com/InsureMO/rainbow-d9) and [@rainbow/o23](https://github.com/InsureMO/rainbow-o23)\n\n## Features\n\nThe editors for [@rainbow-d9](https://github.com/InsureMO/rainbow-d9) and [@rainbow-o23](https://github.com/InsureMO/rainbow-o23),\n\n- D9 Editor\n  ![d9-dark](./media/d9-dark.png)\n- O23 Editor\n  ![o23-dark](./media/o23-dark.png)\n  ![o23-light](./media/o23-light.png)\n\nAlso provided the file icons, which need to be activated manually,\n\n- Activate by extension page:\n  ![activate-by-extension-page](./media/file-icons-from-extension.png)\n- Activate by menu:\n  ![activate-by-menu](./media/file-icons-from-menu.png)\n- Activate by command palette:\n  ![activate-by-command-palette](./media/file-icons-from-command.png)\n\n\u003e @Rainbow file icons theme is based on Seti.\n\n### Extension Settings\n\nEach file can be extended by a `.mjs`, referring to the example in [/src/test](https://github.com/InsureMO/rainbow-s2/tree/main/src/test).\nThe `.mjs` file must follow these rules:\n\n- It can only use `export default`; other `export` methods, such as `export const x = 1;`, are not allowed.\n- `export default` must be at the end of the file, and no other content is permitted after it.\n\nFinding extension files is performed according to the following rules:\n\n- For `d9`: Look for a file with the same name in the same directory, but with the `.mjs` suffix. For example, if the file being edited is\n  `test.d9`, the extension file would be `test.d9.mjs`. If the file being edited is `test.md`, then the extension file would be\n  `test.md.mjs`.\n- For `o23`:\n\t- Look for a file with the same name in the same directory, but with the `.mjs` suffix. For example, if the file being edited is\n\t  `test.o23`, the extension file would be `test.o23.mjs`. If the file being edited is `test.yaml`, then the extension file would be\n\t  `test.yaml.mjs`.\n\t- If the extension file does not exist in the same directory, then look for the closest `.o23.mjs` file in the same directory as the\n\t  nearest `package.json` file.\n\n## Known Issues\n\n- The editor does not respond immediately to changes in the corresponding `.mjs` document; you must reopen it to apply the latest extension\n  settings. This situation occurs in scenarios where the editor remains continuously visible, such as in split views.\n- The editor loses its operational state when reactivated.\n\n[//]: # (## Release Notes)\n\n[//]: # (Users appreciate release notes as you update your extension.)\n\n[//]: # (### 1.0.0)\n\n[//]: # ()\n\n[//]: # (Initial release of ...)\n\n[//]: # ()\n\n[//]: # (### 1.0.1)\n\n[//]: # ()\n\n[//]: # (Fixed issue #.)\n\n[//]: # ()\n\n[//]: # (### 1.1.0)\n\n[//]: # ()\n\n[//]: # (Added features X, Y, and Z.)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsuremo%2Frainbow-s2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsuremo%2Frainbow-s2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsuremo%2Frainbow-s2/lists"}