Skip to content

Commit 6b323c4

Browse files
committed
releaseAutomat: release 4.1.0
1 parent 0cb1bcf commit 6b323c4

17 files changed

Lines changed: 19807 additions & 2978 deletions

.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ overrides:
1717
settings:
1818
disable/plugins:
1919
- jsdoc
20+
parser: '@babel/eslint-parser'
2021
parserOptions:
22+
requireConfigFile: false
23+
babelrc: false
24+
configFile: false
2125
ecmaVersion: latest
2226
sourceType: module
27+
presets: ['@babel/preset-env']
2328
processor: 'disable/disable'
2429
rules:
2530
'require-sort/require-sort': [warn, { 'ignoreCase': true }]

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
target-branch: "develop"
11+
schedule:
12+
interval: "weekly"

.github/workflows/codeql.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: 'CodeQL'
13+
14+
on:
15+
workflow_dispatch:
16+
push:
17+
branches: ['master', 'develop']
18+
pull_request:
19+
# The branches below must be a subset of the branches above
20+
branches: ['develop']
21+
schedule:
22+
- cron: '31 4 * * 6'
23+
24+
jobs:
25+
analyze:
26+
name: Analyze
27+
runs-on: ubuntu-latest
28+
permissions:
29+
actions: read
30+
contents: read
31+
security-events: write
32+
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
language: ['javascript']
37+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
38+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
39+
40+
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@v3
43+
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v2
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
53+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
54+
# queries: security-extended,security-and-quality
55+
56+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57+
# If this step fails, then you should remove it and run the build manually (see below)
58+
- name: Autobuild
59+
uses: github/codeql-action/autobuild@v2
60+
61+
# ℹ️ Command-line programs to run using the OS shell.
62+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63+
64+
# If the Autobuild fails above, remove it and uncomment the following three lines.
65+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
66+
67+
# - run: |
68+
# echo "Run, Build Application using script"
69+
# ./location_of_script_within_repo/buildscript.sh
70+
71+
- name: Perform CodeQL Analysis
72+
uses: github/codeql-action/analyze@v2

.release-it.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ plugins:
5353
- file: src/templates/layout-default.html
5454
search: data-version="\d+\.\d+\.\d+
5555
replace: data-version="{{versionWithoutPrerelease}}
56+
- file: gulpconfig.build.js
57+
search: version[:] '\d+\.\d+\.\d+'
58+
replace: "version: '{{versionWithoutPrerelease}}'"

.stylelintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ extends:
66
- '@visionappscz/stylelint-config'
77
- '@visionappscz/stylelint-config/order'
88
- '@visionappscz/stylelint-config/scss'
9+
- stylelint-config-recommended-scss
910

1011
rules:
1112
indentation: 2

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Front-end Gulp DevStack Changelog
22

3+
## Release [4.1.0](https://github.com/cebreus/gulp-devstack/compare/4.0.0...4.1.0) (2023-01-29)
4+
5+
> Code clen-up, npm up, extended code maintenance, Stylelint fixes, Babel update.
6+
7+
### 🚀 New Features
8+
9+
* feat: update Bootstrap to 5.2.3
10+
311
## Release [4.0.0](https://github.com/cebreus/gulp-devstack/compare/3.5.0...4.0.0) (2022-10-05)
412

513
### ⚠️ BREAKING CHANGES

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![Netlify](https://img.shields.io/netlify/80dd73b9-7dff-450b-a038-4fba020d577a)](https://app.netlify.com/sites/gulp-devstack/deploys)
2-
![Maintenance](https://img.shields.io/maintenance/yes/2022)
2+
![Maintenance](https://img.shields.io/maintenance/yes/2024)
33
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-green.svg)
44

55
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/16e0c62b123d4dbfb27c216f5107f464)](https://www.codacy.com/gh/cebreus/gulp-devstack/dashboard?utm_source=github.com\&utm_medium=referral\&utm_content=cebreus/gulp-devstack\&utm_campaign=Badge_Grade)

content/pages/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hero:
1111
<a class="btn btn-lg btn-outline-secondary mb-3" href="https://github.com/cebreus/gulp-devstack/releases/latest" target="_blank" rel="license noopener">Download</a>
1212
</div>
1313
14-
Currently **v4.0.0** &#160;·&#160; <a class="link-secondary" href="https://github.com/cebreus/gulp-devstack/releases" target="_blank" rel="license noopener">All releases</a>
14+
Currently **v4.1.0** &#160;·&#160; <a class="link-secondary" href="https://github.com/cebreus/gulp-devstack/releases" target="_blank" rel="license noopener">All releases</a>
1515
1616
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/16e0c62b123d4dbfb27c216f5107f464)](https://www.codacy.com/gh/cebreus/gulp-devstack/dashboard?utm_source=github.com\&utm_medium=referral\&utm_content=cebreus/gulp-devstack\&utm_campaign=Badge_Grade)
1717
![GitHub open issues](https://img.shields.io/github/issues/cebreus/gulp-devstack)

gulpconfig.build.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const faviconGenConfig = {
9999
orientation: 'portrait',
100100
scope: '/',
101101
start_url: '/index.html',
102-
version: 1.0,
102+
version: '0.0.0',
103103
logging: false,
104104
html: 'favicons.njk',
105105
pipeHTML: true,
@@ -116,17 +116,11 @@ const faviconGenConfig = {
116116
},
117117
};
118118

119-
// Files that need to be removed
120-
// --------------
121-
122-
const buildRevManifest = `${tempBase}/rev-manifest.json`;
123-
124119
// Exports
125120
// --------------
126121

127122
module.exports = {
128123
buildBase,
129-
buildRevManifest,
130124
contentBase,
131125
datasetPagesBuild,
132126
datasetPagesSource,

gulpfile.build.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ function cleanFolders() {
3131
return cleanFnc([config.tempBase, config.buildBase]);
3232
}
3333

34+
function cleanupBuild() {
35+
return cleanFnc([`${config.buildBase}/assets/favicons/favicons.njk`]);
36+
}
37+
3438
function copyStatic(done) {
3539
return copyStaticFnc(
3640
[`${config.staticBase}/*`, `${config.staticBase}/.*/*`],
@@ -309,7 +313,8 @@ gulp.task(
309313
purgecss,
310314
revision,
311315
replaceHash,
312-
htmlValidate
316+
htmlValidate,
317+
cleanupBuild
313318
)
314319
);
315320

0 commit comments

Comments
 (0)