Skip to content

Commit

Permalink
Merge pull request #17 from st3phhays/choco-theme/release/0.4.0
Browse files Browse the repository at this point in the history
(#15)(#16) Update gulp dependencies and code block
  • Loading branch information
st3phhays authored Apr 5, 2023
2 parents 67ae5e5 + 1af257d commit fa95870
Show file tree
Hide file tree
Showing 5 changed files with 1,103 additions and 1,476 deletions.
12 changes: 8 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const browserify = require('browserify');
const babelify = require('babelify');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');
const util = require('gulp-util');
const log = require('fancy-log');
const inlinesource = require('gulp-inline-source');
const bundleconfig = require('./bundleconfig.json');
const zendeskconfig = require('./zendeskconfig.json');
Expand Down Expand Up @@ -92,7 +92,7 @@ const compileJs = () => {
return b.bundle()
.pipe(source(bundle.outputFileName))
.pipe(buffer())
.on('error', util.log)
.on('error', error => { log.error(error.message); })
.pipe(dest('.'));
});

Expand All @@ -113,6 +113,7 @@ const purgeCss = () => {
return src(`${paths.assets}css/chocolatey.bundle.css`)
.pipe(purgecss({
content: [
`${paths.node_modules}scss/_zendesk-guide.scss`,
`${paths.templates}*.hbs`,
`${paths.globalpartials}*.hbs`,
`${paths.assets}js/*.*`,
Expand All @@ -137,7 +138,10 @@ const purgeCss = () => {
'text-bg-warning',
'text-bg-danger',
'text-bg-success',
'text-bg-info'
'text-bg-info',
'chocolatey-zendesk',
'article-body',
'pre'
],
keyframes: true,
variables: true
Expand Down Expand Up @@ -200,7 +204,7 @@ const delEnd = () => {
.pipe(clean({ force: true }));
};

// Independednt tasks
// Independent tasks
exports.del = del;

// Gulp series
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "choco-theme",
"author": "Chocolatey Software",
"version": "101.3.0",
"version": "101.4.0",
"api_version": 2,
"default_locale": "en-us",
"settings": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"choco-theme": "0.2.0",
"choco-theme": "0.4.0",
"husky": "^4.2.3",
"js-yaml": "^3.13.1",
"semantic-release": "^17.0.4"
Expand Down
6 changes: 3 additions & 3 deletions style.css

Large diffs are not rendered by default.

Loading

0 comments on commit fa95870

Please sign in to comment.