{"id":20773837,"url":"https://github.com/neurocracy/drupal-omnipedia-site-theme","last_synced_at":"2026-04-11T00:49:07.930Z","repository":{"id":39746403,"uuid":"425104822","full_name":"neurocracy/drupal-omnipedia-site-theme","owner":"neurocracy","description":"The Drupal theme for Omnipedia.","archived":false,"fork":false,"pushed_at":"2024-10-29T20:00:35.000Z","size":1921,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"7.x","last_synced_at":"2024-10-29T22:39:46.606Z","etag":null,"topics":["drupal","drupal-theme","javascript","php","scss"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neurocracy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2021-11-05T22:55:56.000Z","updated_at":"2024-10-29T20:00:38.000Z","dependencies_parsed_at":"2023-10-15T02:42:59.446Z","dependency_job_id":"4baae10b-afcd-4df1-94ea-2d3008a65463","html_url":"https://github.com/neurocracy/drupal-omnipedia-site-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-site-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-site-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-site-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-site-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurocracy","download_url":"https://codeload.github.com/neurocracy/drupal-omnipedia-site-theme/tar.gz/refs/heads/7.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243112187,"owners_count":20238181,"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":["drupal","drupal-theme","javascript","php","scss"],"created_at":"2024-11-17T12:27:26.612Z","updated_at":"2025-12-25T00:41:34.273Z","avatar_url":"https://github.com/neurocracy.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"This contains the source files for the [Omnipedia](https://omnipedia.app/)\nDrupal theme.\n\n⚠️ ***[Why open source? / Spoiler warning](https://omnipedia.app/open-source)***\n\n----\n\n# Requirements\n\n* [Drupal 10](https://www.drupal.org/download)\n\n* PHP 8.1\n\n* [Composer](https://getcomposer.org/)\n\n## Drupal dependencies\n\nBefore attempting to install this, you must add the Composer repositories as\ndescribed in the installation instructions for these dependencies:\n\n* The [`ambientimpact_base` theme](https://github.com/Ambient-Impact/drupal-ambientimpact-base).\n\n* The [`ambientimpact_core`](https://github.com/Ambient-Impact/drupal-ambientimpact-core), [`ambientimpact_icon`](https://github.com/Ambient-Impact/drupal-ambientimpact-icon), and [`ambientimpact_ux`](https://github.com/Ambient-Impact/drupal-ambientimpact-ux) modules.\n\n* The [`omnipedia_block`](https://github.com/neurocracy/drupal-omnipedia-block), [`omnipedia_content`](https://github.com/neurocracy/drupal-omnipedia-content), [`omnipedia_main_page`](https://github.com/neurocracy/drupal-omnipedia-main-page), and [`omnipedia_media`](https://github.com/neurocracy/drupal-omnipedia-media) modules.\n\n## Front-end dependencies\n\nTo build front-end assets for this project, [Node.js](https://nodejs.org/) and\n[Yarn](https://yarnpkg.com/) are required.\n\n----\n\n# Installation\n\n## Composer\n\n### Set up\n\nEnsure that you have your Drupal installation set up with the correct Composer\ninstaller types such as those provided by [the `drupal/recommended-project`\ntemplate](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates#s-drupalrecommended-project).\nIf you're starting from scratch, simply requiring that template and following\n[the Drupal.org Composer\ndocumentation](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates)\nshould get you up and running.\n\n### Repository\n\nIn your root `composer.json`, add the following to the `\"repositories\"` section:\n\n```json\n\"drupal/omnipedia_site_theme\": {\n  \"type\": \"vcs\",\n  \"url\": \"https://github.com/neurocracy/drupal-omnipedia-site-theme.git\"\n}\n```\n\n### Installing\n\nOnce you've completed all of the above, run `composer require\n\"drupal/omnipedia_site_theme:^7.0@dev\"` in the root of your project to have\nComposer install this and its required dependencies for you.\n\n## Front-end assets\n\nTo build front-end assets for this project, you'll need to install\n[Node.js](https://nodejs.org/) and [Yarn](https://yarnpkg.com/).\n\nThis package makes use of [Yarn\nWorkspaces](https://yarnpkg.com/features/workspaces) and references other local\nworkspace dependencies. In the `package.json` in the root of your Drupal\nproject, you'll need to add the following:\n\n```json\n\"workspaces\": [\n  \"\u003cweb directory\u003e/themes/custom/*\"\n],\n```\n\nwhere `\u003cweb directory\u003e` is your public Drupal directory name, `web` by default.\nOnce those are defined, add the following to the `\"dependencies\"` section of\nyour top-level `package.json`:\n\n```json\n\"drupal-omnipedia-site-theme\": \"workspace:^7\"\n```\n\nThen run `yarn install` and let Yarn do the rest.\n\n### Optional: install yarn.BUILD\n\nWhile not required, [yarn.BUILD](https://yarn.build/) is recommended to make\nbuilding all of the front-end assets even easier.\n\n----\n\n# Building front-end assets\n\nThis uses [Webpack](https://webpack.js.org/) and [Symfony Webpack\nEncore](https://symfony.com/doc/current/frontend.html) to automate most of the\nbuild process. These will have been installed for you if you followed the Yarn\ninstallation instructions above.\n\nIf you have [yarn.BUILD](https://yarn.build/) installed, you can run:\n\n```\nyarn build\n```\n\nfrom the root of your Drupal site. If you want to build just this package, run:\n\n```\nyarn workspace drupal-omnipedia-site-theme run build\n```\n\n-----------------\n\n# Breaking changes\n\nThe following major version bumps indicate breaking changes:\n\n* 3.x - Changed Composer installer type to `drupal-custom-theme`; moved theme contents into root directory; renamed theme from `omnipedia_site` to `omnipedia_site_theme` for clarity.\n\n* 4.x - Front-end dependencies now installed via [Yarn](https://yarnpkg.com/), removing all use of [Asset Packagist](https://asset-packagist.org/); front-end build process ported to [Webpack](https://webpack.js.org/).\n\n* 5.x - Requires Drupal 9.5 or [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0).\n\n* 6.x:\n\n  * Requires [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0).\n\n  * Requires [`drupal/ambientimpact_core` 2.x](https://github.com/Ambient-Impact/drupal-ambientimpact-core/tree/2.x) for Drupal 10 support.\n\n  * Requires [`drupal/omnipedia_content` 6.x](https://github.com/neurocracy/drupal-omnipedia-content/tree/6.x) and [`drupal/omnipedia_media` 6.x](https://github.com/neurocracy/drupal-omnipedia-media/tree/6.x) for Drupal 10 support.\n\n  * Increases minimum version of `symfony/css-selector` and `symfony/dom-crawler` to ^6.2 as that's what's supported by Drupal 10.\n\n* 7.x:\n\n  * Much of the front-end JavaScript has been heavily reworked and modernized as object-oriented and self-contained so that they don't reference elements or other instances outside of behaviours. This makes them more robust and allows repeated detaching and re-attaching.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-site-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-site-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-site-theme/lists"}