https://github.com/clarin-eric/clarin-drupal-bootstrap-theme

A SASS subtheme for Drupal bootstrap barrio theme.

https://github.com/clarin-eric/clarin-drupal-bootstrap-theme

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

A SASS subtheme for Drupal bootstrap barrio theme.

Basic Info
  • Host: GitHub
  • Owner: clarin-eric
  • License: agpl-3.0
  • Language: Twig
  • Default Branch: 1.5
  • Size: 12.5 MB
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 4
  • Open Issues: 2
  • Releases: 0
Created over 5 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

CI

CONTENTS OF THIS FILE

  • Introduction
  • Development requirements
  • Setup environment
  • Run
  • Lint
  • Installation on a drupal site

INTRODUCTION

Source repository for the CLARIN Bootstrap Barrio sub-theme for Drupal 10.

The continuous integration system builds this repository and publishes the theme files to the theme distribution repository which can be used as a composer VCS.

For theme releases and instructions on how to install and use it in Drupal, check the the theme distribution repository instructions.

DEVELOPMENT REQUIREMENTS

SETUP ENVIRONMENT

  • You will need npm (see).

Run build.sh from inside clarin-drupal-bootstrap-theme directory. The script will run all required setup commands, build the project and create a distribution build inside dist/.

Alternatively you can setup the development environment manually:

  • Checkout this repository.

  • From inside clarin-drupal-bootstrap-theme folder run npm install.

  • Create a dist directory and extract the Bootstrap Barrio distribution in it: mkdir dist curl "https://ftp.drupal.org/files/projects/bootstrap_barrio-${BOOTSTRAP_BARRIO_VERSION}.tar.gz" | \ tar -x -z -p -C dist/

RUN

  • From inside clarin-drupal-bootstrap-theme run: gulp

Gulp will build the theme files to dist/clarin_bootstrap, launch a browsersync proxy and automatically listen for changes in the source files.

To view the full CLARIN website with the hot-deployed theme code go to: https://localhost:3000/ Browsersync will locally proxy the development server instance at https://grrr-www.clarin.eu/ and hot-deploy your code changes on top of that site.

  • SCSS -> CSS code changes are automatically injected after built.
  • JS and resource changes will trigger Gulp to automatically reload your browser after built.

To only build the output distribution without launching browsersync run: gulp dist

LINT

All SCSS and JS code is linted when running gulp [dist] and the build will fail in case of errors. You can also call gulp to only lint the code without building: * Lint javascript: gulp lintjs * Lint SCSS: gulp lintscss

Both subcommands accept a --fix flag which attempts to automactically fix the found issues.

INSTALLATION ON A DRUPAL SITE

Owner

  • Name: CLARIN ERIC
  • Login: clarin-eric
  • Kind: organization
  • Email: trac@clarin.eu
  • Location: Utrecht, The Netherlands

CLARIN central source code hub

GitHub Events

Total
  • Push event: 93
  • Pull request event: 1
  • Fork event: 1
  • Create event: 1
Last Year
  • Push event: 93
  • Pull request event: 1
  • Fork event: 1
  • Create event: 1

Dependencies

package-lock.json npm
  • 842 dependencies
package.json npm
  • @ronilaukkarinen/gulp-stylelint ^14.0.6 development
  • autoprefixer ^10.4.4 development
  • browser-sync ^2.27.9 development
  • del ^6.0.0 development
  • eslint ^8.12.0 development
  • eslint-config-drupal ^5.0.2 development
  • eslint-config-prettier ^8.5.0 development
  • eslint-plugin-import ^2.25.4 development
  • eslint-plugin-jsx-a11y ^6.5.1 development
  • eslint-plugin-react ^7.29.4 development
  • gulp ^4.0.2 development
  • gulp-clean-css 4.3.0 development
  • gulp-concat ^2.6.1 development
  • gulp-count ^1.0.0 development
  • gulp-eslint 6.0.0 development
  • gulp-if ^3.0.0 development
  • gulp-load-plugins ^2.0.7 development
  • gulp-postcss ^9.0.1 development
  • gulp-rename ^2.0.0 development
  • gulp-replace ^1.1.3 development
  • gulp-sass ^5.1.0 development
  • gulp-sourcemaps ^3.0.0 development
  • gulp-uglify-es ^3.0.0 development
  • lazypipe ^1.0.2 development
  • postcss ^8.4.12 development
  • postcss-inline-svg ^5.0.0 development
  • postcss-pxtorem ^6.0.0 development
  • sass 1.49.11 development
  • stylelint ^14.6.1 development
  • stylelint-config-sass-guidelines ^9.0.1 development
  • stylelint-config-standard ^25.0.0 development
  • stylelint-scss ^4.2.0 development
  • bootstrap ^4.6.1
composer.json packagist
  • drupal/bootstrap_barrio >=5.1.6
.github/workflows/main.yml actions
  • actions/checkout v3 composite
  • actions/create-release v1 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • actions/upload-release-asset v1 composite
  • eregon/publish-release v1 composite
  • s0/git-publish-subdir-action v2.5.0 composite