Skip to content

Commit

Permalink
Merge branch 'release/5.0.0-alpha.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykolodziej committed Jan 5, 2021
2 parents 06d2d8e + 7f81d5a commit bc9ee62
Show file tree
Hide file tree
Showing 82 changed files with 16,635 additions and 557 deletions.
103 changes: 103 additions & 0 deletions .github/workflows/issue-dashboard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Build Dashboard

on:
issues:
types: [opened, edited, milestoned]
schedule:
- cron: 0 * * * *

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Check out GitHub Pages branch
uses: actions/checkout@v2
with:
ref: 'gh-pages'
path: 'out'

- name: 'Generate Dashboard'
uses: ethomson/issue-dashboard@v1.0.2
with:
config: |
title: 'Mission Control - ${{ github.repository }}'
output:
format: html
filename: 'out/dashboard.html'
sections:
- title: "Repository Health"
widgets:
- type: graph
elements:
- title: 'Open issues unassigned to a project'
issue_query: 'repo:${{ github.repository }} is:open is:issue no:project'
- title: 'Open Issues'
issue_query: 'repo:${{ github.repository }} is:issue is:open'
- title: 'Closed Issues'
issue_query: 'repo:${{ github.repository }} is:issue is:closed'
- title: "To Do"
description: "Issues in this section still need to be done. Help the project out by joining in with your area of expertise!"
widgets:
- type: 'table'
title: 'Wireframe'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Wireframe" sort:created-asc'
- type: 'table'
title: 'Design'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Design" sort:created-asc'
- type: 'table'
title: 'HTML/CSS'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: HTML/CSS" sort:created-asc'
- type: 'table'
title: 'JavaScript'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: JavaScript" sort:created-asc'
- type: 'table'
title: 'PHP'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: PHP" sort:created-asc'
- type: 'table'
title: 'Testing'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Testing" sort:created-asc'
- type: 'table'
title: 'Release'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Release" sort:created-asc'
- type: 'table'
title: 'Documentation'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Documentation" sort:created-asc'
- title: "Needs Input"
description: "Issues in this section need someone's input. Get their feedback to help move them along!"
widgets:
- type: 'table'
title: 'Client'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Client" sort:created-asc'
- type: 'table'
title: 'Creative Director'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Creative Director" sort:created-asc'
- type: 'table'
title: 'Designer'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Designer" sort:created-asc'
- type: 'table'
title: 'Developer'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Developer" sort:created-asc'
- type: 'table'
title: 'Producer'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Producer" sort:created-asc'
- type: 'table'
title: 'Strategist'
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Strategist" sort:created-asc'
- title: 'Pull Requests'
widgets:
- type: 'table'
title: 'New Pull Requests (This Week)'
issue_query: 'repo:${{ github.repository }} is:open is:issue created:>{{ date("-7 days") }} sort:created-asc'
token: ${{ github.token }}

- name: Publish Documentation
run: |
git add .
git config user.name 'Dashboard User'
git config user.email 'nobody@nowhere'
git commit -m 'Documentation update' --allow-empty
git push origin gh-pages
working-directory: out
159 changes: 159 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Publish Packages
on:
release:
types: [created]
jobs:
getPackages:
runs-on: ubuntu-latest
outputs:
burf-base-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[0].latestVersion.version }}
burf-theme-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[1].latestVersion.version }}
burf-tools-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[2].latestVersion.version }}
burf-customizations-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[3].latestVersion.version }}
steps:
- uses: octokit/graphql-action@v2.x
id: get_latest_package
with:
query: |
query packages($owner:String!,$repo:String!) {
repository(owner:$owner,name:$repo) {
packages(last: 3, names: ["burf-base", "burf-theme", "burf-tools", "burf-customizations"]) {
nodes {
name
latestVersion {
version
}
}
}
}
}
owner: 'bu-ist'
repo: ${{ github.event.repository.name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
getReleases:
runs-on: ubuntu-latest
outputs:
burf-base-version: ${{ fromJSON(steps.burf-base-release.outputs.content).version }}
burf-theme-version: ${{ fromJSON(steps.burf-theme-release.outputs.content).version }}
burf-tools-version: ${{ fromJSON(steps.burf-tools-release.outputs.content).version }}
burf-customizations-version: ${{ fromJSON(steps.burf-customizations-release.outputs.content).version }}
steps:
- uses: actions/checkout@v2
- name: Read burf-base package.json
id: burf-base-release
uses: juliangruber/read-file-action@v1
with:
path: ./burf-base/package.json
- uses: actions/checkout@v2
- name: Read burf-theme package.json
id: burf-theme-release
uses: juliangruber/read-file-action@v1
with:
path: ./burf-theme/package.json
- name: Read burf-tools package.json
id: burf-tools-release
uses: juliangruber/read-file-action@v1
with:
path: ./burf-tools/package.json
- name: Read burf-customizations package.json
id: burf-customizations-release
uses: juliangruber/read-file-action@v1
with:
path: ./burf-customizations/package.json
publishBase:
needs: [ getPackages, getReleases ]
runs-on: ubuntu-latest
steps:
- name: Print Version
run: |
echo 'Current package version for burf-base: ${{ needs.getPackages.outputs.burf-base-version }}'
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@bu-ist'
- name: Publish burf-base
if: ${{ needs.getReleases.outputs.burf-base-version != needs.getPackages.outputs.burf-base-version }}
run: |
echo "New version of burf-base detected: ${{ needs.getReleases.outputs.burf-base-version }}. Old version: ${{ needs.getPackages.outputs.burf-base-version }}. Publishing now..."
npm install --production
npm publish burf-base
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Skip publishing burf-base
if: ${{ needs.getReleases.outputs.burf-base-version == needs.getPackages.outputs.burf-base-version }}
run: 'echo "::warning file=package.json,line=3::No new version of burf-base detected. Continuing on..."'
publishTheme:
needs: [ getPackages, getReleases ]
runs-on: ubuntu-latest
steps:
- name: Print Version
run: |
echo 'Current package version for burf-theme: ${{ needs.getPackages.outputs.burf-theme-version }}'
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@bu-ist'
- name: Publish burf-theme
if: ${{ needs.getReleases.outputs.burf-theme-version != needs.getPackages.outputs.burf-theme-version }}
run: |
echo "New version of burf-theme detected: ${{ needs.getReleases.outputs.burf-theme-version }}. Old version: ${{ needs.getPackages.outputs.burf-theme-version }}. Publishing now..."
npm install --production
npm publish burf-theme
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Skip publishing burf-theme
if: ${{ needs.getReleases.outputs.burf-theme-version == needs.getPackages.outputs.burf-theme-version }}
run: 'echo "::warning file=package.json,line=3::No new version of burf-theme detected. Continuing on..."'
publishTools:
needs: [ getPackages, getReleases ]
runs-on: ubuntu-latest
steps:
- name: Print Version
run: |
echo 'Current package version for burf-tools: ${{ needs.getPackages.outputs.burf-tools-version }}'
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@bu-ist'
- name: Publish burf-tools
if: ${{ needs.getReleases.outputs.burf-tools-version != needs.getPackages.outputs.burf-tools-version }}
run: |
echo "New version of burf-tools detected: ${{ needs.getReleases.outputs.burf-tools-version }}. Old version: ${{ needs.getPackages.outputs.burf-tools-version }}. Publishing now..."
npm install --production
npm publish burf-tools
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Skip publishing burf-tools
if: ${{ needs.getReleases.outputs.burf-tools-version == needs.getPackages.outputs.burf-tools-version }}
run: 'echo "::warning file=package.json,line=3::No new version of burf-tools detected.'
publishCustomizations:
needs: [ getPackages, getReleases ]
runs-on: ubuntu-latest
steps:
- name: Print Version
run: |
echo 'Current package version for burf-customizations: ${{ needs.getPackages.outputs.burf-customizations-version }}'
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@bu-ist'
- name: Publish burf-customizations
if: ${{ needs.getReleases.outputs.burf-customizations-version != needs.getPackages.outputs.burf-customizations-version }}
run: |
echo "New version of burf-customizations detected: ${{ needs.getReleases.outputs.burf-customizations-version }}. Old version: ${{ needs.getPackages.outputs.burf-customizations-version }}. Publishing now..."
npm install --production
npm publish burf-customizations
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Skip publishing burf-customizations
if: ${{ needs.getReleases.outputs.burf-customizations-version == needs.getPackages.outputs.burf-customizations-version }}
run: 'echo "::warning file=package.json,line=3::No new version of burf-customizations detected.'
30 changes: 29 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
# Changelog

## Unreleased
## 5.0.0-alpha

* Fixes #235
* Removes BU Default Icons
* Adds FontAwesome Free and FontAwesome Brands
* Adds a new variable, `$font-weight-icon`, to control which set of FontAwesome icons loads
* `$widget-title-link-after` has been deprecated in favor of `$widget-title-link-icon`
* Removes pre-IE9 support for icons, per FontAwesome standard.
* Moves to Github Packages for releases.
* Renames `tools-cgb` to `tools-webpack`.
* Reorganizes foundation into `burf-base`, `burf-theme`, `burf-tools`, and a new `burf-customizations`
* Migrates the following partials from `burf-theme` to `burf-customizations`:
- `content/collapsibles`;
- `content/courses`;
- `profiles/profile-format-default`;
- `profiles/profile-format-basic`;
- `profiles/profile-format-advanced`;
- `profiles/profile-format-mini`;
- `content/slideshows`;
- `calendar/widget-calendar`;
- `calendar/calendar-picker`;
- `layout/branding`;
- `calendar/calendar-archive`;
- `profiles/profile-archive`;
- `calendar/calendar-single`;
- `profiles/profile-single`;
- `bulp/bulp-base`;
* Migrates the following partials from `burf-base` to `burf-customizations`:
- `fonts`;

## 4.0.1

Expand Down
14 changes: 12 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ module.exports = ( grunt ) => {
kssDocsCustomCSSPath: '_docs/css-dev/kss-custom.scss'
},
},
build: {
options: {
style: 'expanded',
},
files: {
'css/burf-base.css': 'css-dev/burf-base.scss',
'css/burf-theme.css': 'css-dev/burf-theme.scss',
},
},
},
postcss: {
defaults: {
Expand Down Expand Up @@ -164,7 +173,7 @@ module.exports = ( grunt ) => {
'css-dev/**/*.scss',
'css-dev/**/*.hbs',
],
tasks: [ 'kss' ],
//tasks: [ 'kss' ],
}
},
sasslint: {
Expand Down Expand Up @@ -204,7 +213,8 @@ module.exports = ( grunt ) => {
grunt.loadNpmTasks( 'grunt-gh-pages' );
grunt.loadNpmTasks( 'grunt-sass' );
grunt.loadNpmTasks( 'grunt-kss' );
grunt.registerTask( 'build', [ 'js', 'kss', 'copy' ] );
//grunt.registerTask( 'build', [ 'js', 'kss', 'copy' ] );
grunt.registerTask( 'build', [ 'js', 'copy' ] );
grunt.registerTask( 'deploy', [ 'build', 'gh-pages' ] );
grunt.registerTask( 'js', [ 'clean:js', 'babel', 'browserify', 'uglify' ] );
grunt.registerTask( 'serve', [ 'build', 'browserSync:current', 'watch' ] );
Expand Down
Loading

0 comments on commit bc9ee62

Please sign in to comment.