{"id":18283318,"url":"https://github.com/doki-theme/doki-build-source","last_synced_at":"2025-04-05T07:30:32.638Z","repository":{"id":49601061,"uuid":"347425765","full_name":"doki-theme/doki-build-source","owner":"doki-theme","description":"You think I maintain 60+ themes manually? These are the common building blocks for constructing all the Doki themes","archived":false,"fork":false,"pushed_at":"2023-03-02T00:23:28.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T23:41:56.817Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/doki-theme.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-03-13T16:50:23.000Z","updated_at":"2023-08-30T07:50:46.000Z","dependencies_parsed_at":"2023-01-29T16:30:15.106Z","dependency_job_id":null,"html_url":"https://github.com/doki-theme/doki-build-source","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doki-theme%2Fdoki-build-source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doki-theme%2Fdoki-build-source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doki-theme%2Fdoki-build-source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doki-theme%2Fdoki-build-source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doki-theme","download_url":"https://codeload.github.com/doki-theme/doki-build-source/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305123,"owners_count":20917191,"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","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-05T13:08:49.568Z","updated_at":"2025-04-05T07:30:32.309Z","avatar_url":"https://github.com/doki-theme.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Doki Theme Build Source\n---\n\nYou think I maintain 50+ themes manually? These are the common building blocks for constructing all the Doki themes\n\n# Required Software\n\n- Yarn Package Manager\n\n# Getting Started\n\nOnce you have cloned this repository, you'll need to install the required dependencies to run\nthe [scripts defined here](https://github.com/doki-theme/doki-build-source/blob/main/package.json#L10).\n\nThis can be accomplished by running this command at the root of this repository:\n\n```shell\nyarn\n```\n\n# Developing\n\nThe bread and butter of this library needs to be created in order for this code base to be useful. Running the `build`\nscript will generate the `lib/` directory at the root of this repo that will contain all the transpiled typescript code.\n\n```shell\nyarn build\n```\n\nAll the node scripts used by the various Doki theme plugins will be using the `Common JS` code.\n\n## Handy Development Setup\n\nIf you have created a theme and need to make changes on the fly, you can\nalways [link](https://classic.yarnpkg.com/en/docs/cli/link/)\nthis repository into the `node_modules` of the plugin you are working on's `buildSrc` directory.\n\nThis can be accomplished by running this command at the root of this repository,\n\n```shell\nyarn link\n```\n\nThen to use this in, for instance, the VS-Code plugin, then you'll run this command\nin `\u003cyour-workspace\u003e/doki-theme-vscode/buildSrc` directory:\n\n```shell\nyarn link doki-build-source\n```\n\nHowever, that is half the battle. If you want to see your changes take place, you can run `yarn build` every time you\nmake changes. We do have technology though, `yarn watch:cjs` will start a process that will watch the typescript files\nand transpile the new build javascript on changes.\n\nIt's also important to remember the above when you come back to a project and are wondering why you are not seeing your\nchanges in the build source.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoki-theme%2Fdoki-build-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoki-theme%2Fdoki-build-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoki-theme%2Fdoki-build-source/lists"}