Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
37b724f
Add .lando.yml to gitignore and add basics to readme
Oct 15, 2020
c933321
committing base changes
Oct 15, 2020
581b4e5
Update stylint rules and postcss plugins and rerun the compiler
Oct 19, 2020
c409091
Add reporter option to clear messages from plugins
Oct 19, 2020
ed929cd
Merge pull request #101 from localgovdrupal/feature/improvements-to-g…
paulpopus Oct 20, 2020
0bea9ee
Bump lodash from 4.17.15 to 4.17.20
dependabot[bot] Oct 20, 2020
03dddd3
not sure, trying something
Oct 20, 2020
daff5d3
Reversing changes
Oct 20, 2020
3351309
Try composer command for minimum stability
Oct 20, 2020
f8948a7
Updating branch name with dev
Oct 20, 2020
e4d0592
Merge pull request #103 from localgovdrupal/fix/100-failing-tests
paulpopus Oct 20, 2020
6b5fe43
Add new stylesheet for CK editor iframes
Oct 20, 2020
3c40747
Add Mocha and Chai to run automated tests for the theme
Oct 20, 2020
753fac4
Add new gulp task for generate that doesn't include browsersync or wa…
Oct 20, 2020
cff0d70
Replace placeholder with theme set logo
andybroomfield Oct 15, 2020
7f7ea42
Merge pull request #97 from localgovdrupal/fix/95-enable-logo
andybroomfield Oct 20, 2020
7910366
Add github workflow test for NPM and CSS compilation test with Mocha
Oct 21, 2020
c181803
Fix workflows node actions version
Oct 21, 2020
a8a1f56
Add shell and working directory for github workflows
Oct 21, 2020
8b3392f
Fix indents in yml
Oct 21, 2020
af5fbb7
Remove github shell declarations
Oct 21, 2020
86f2c4a
Use npm ci instead of npm install
Oct 21, 2020
e85f404
Add actions/checkout for mocha tests
Oct 21, 2020
4b1d4f6
Remove other node versions
Oct 21, 2020
703dace
Fix script running and move it to npm test as per standard
Oct 21, 2020
db0b4a7
Updated tests to be synchronous and more predictable
Oct 21, 2020
7c5fa12
Fix linting issues and fix sourcemap URLs
Oct 21, 2020
c9a29f5
Merge pull request #110 from localgovdrupal/hotfix/fix-linting-and-so…
paulpopus Oct 21, 2020
7347f6d
reformat scss files to pass lint process also add ignore rules
cjstevens78 Oct 22, 2020
df75a49
add missing variables
cjstevens78 Oct 22, 2020
5100021
Simplify some helper functions in some places
Oct 22, 2020
0a819c2
Merge pull request #113 from localgovdrupal/feature/111-stylelint-fixes
cjstevens78 Oct 22, 2020
982c27b
Initial add primary menu as header component
andybroomfield Oct 15, 2020
67174ed
starterkit inital files
cjstevens78 Oct 22, 2020
a09048a
Restyle dropdown menu to remove Bootstrap defaults
andybroomfield Oct 15, 2020
ffe9ea7
Make the dropdown stand out better
andybroomfield Oct 15, 2020
5bf4c7b
Fix add services region to the mega row
andybroomfield Oct 20, 2020
79645ab
Force services menu to right
andybroomfield Oct 20, 2020
18895a9
Revert services menu name back to secondary menu
andybroomfield Oct 21, 2020
9f86f57
Align the menu items in the service mega row as a grid
andybroomfield Oct 21, 2020
54bbe58
Set menu template class to bootstrap standard
andybroomfield Oct 21, 2020
955064f
updated readme
cjstevens78 Oct 22, 2020
61d4fb9
update to scss readme
cjstevens78 Oct 22, 2020
09bb2d3
Remove unused import and add helper function for removing files
Oct 22, 2020
a10d56d
changed scss readme for starterkit
cjstevens78 Oct 22, 2020
da071eb
Merge pull request #102 from localgovdrupal/dependabot/npm_and_yarn/l…
paulpopus Oct 22, 2020
e8377af
Merge pull request #99 from localgovdrupal/feature/94-menu-navbar
andybroomfield Oct 22, 2020
bcb6fef
merge after pull Merge branch 'master' of https://github.com/localgo…
cjstevens78 Oct 23, 2020
b17104a
footer services and step by step
cjstevens78 Oct 23, 2020
b987c1c
added various changes for step by step campaigns and so on
cjstevens78 Oct 23, 2020
6d0b121
merged prior to push
cjstevens78 Oct 23, 2020
7057b53
restore variables in nav
cjstevens78 Oct 23, 2020
629dfb6
Add footer regions to footer templates
andybroomfield Oct 21, 2020
2c4f6aa
Fix stray nav and copyright align
andybroomfield Oct 23, 2020
d7f4034
Merge pull request #117 from localgovdrupal/feature/116-move-layout-f…
cjstevens78 Oct 26, 2020
7e30279
Merge pull request #105 from localgovdrupal/feature/90-create-wysiwyg…
paulpopus Oct 26, 2020
c9ec9ea
Merge pull request #107 from localgovdrupal/feature/automated-theme-t…
paulpopus Oct 26, 2020
c3470bd
Replace the croydon icon with a placeholder
Oct 26, 2020
47a7bc0
Merge pull request #112 from localgovdrupal/feature/96-footer-blocks
andybroomfield Oct 26, 2020
6272841
Merge pull request #118 from localgovdrupal/feature/115-replace-croyd…
paulpopus Oct 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions .github/workflows/localgov-drupal-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ master ]

jobs:
test:
DrupalUnitTests:

runs-on: ubuntu-latest

Expand Down Expand Up @@ -35,11 +35,31 @@ jobs:
run: echo "::set-env name=GIT_BRANCH::${GITHUB_HEAD_REF}"

- name: Grab test target
run: composer --working-dir=html require ${{ github.repository }}:"dev-${GIT_BRANCH} as dev-master"
run: composer --working-dir=html require ${{ github.repository }}:"dev-${GIT_BRANCH} as 1.0.x-dev"

- name: Start Docker environment
run: docker-compose up -d

- name: Run tests
run: ./run-tests.sh
shell: bash

MochaThemeTests:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install Node dependencies
run: npm install

- run: npm run health-check
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Ignore node files
/node_modules

# For the development of the theme
.lando.yml
10 changes: 10 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@
"assets/scss/lib/_variables.scss",
"assets/scss/lib/vendor/*"
],
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"rules": {
"declaration-colon-newline-after": null,
"no-descending-specificity": null,
"number-leading-zero": null,
"selector-pseudo-element-colon-notation": null,
"at-rule-no-unknown": null,
"block-closing-brace-newline-before": null,
"block-no-empty": null,
"color-no-invalid-hex": true,
"selector-list-comma-newline-after": "always",
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# LocalGov Drupal Theme

Feature rich base theme for LocalGov Drupal sites.

## Requirements

* node 10+
* yarn 1.13+ _or npm 6.4+_

## Setup

....

## Usage

`lando npm run dev` for development build

`lando npm run build` for production build
3 changes: 2 additions & 1 deletion assets/css/font-face.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/css/font-face.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/css/lib/ck_style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/css/lib/ck_style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion assets/css/lib/main.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/css/lib/main.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion assets/css/lib/vendor/bootstrap-ie8.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/css/lib/vendor/bootstrap-ie8.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion assets/css/lib/vendor/bootstrap-ie9.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading