Skip to content

Commit

Permalink
Update to tmpl template repository version 0.11.0 (#62)
Browse files Browse the repository at this point in the history
Updated to `tmpl` version `0.11.0` [1], including the versions in
between starting from 0.10.0 [2]:

1. Optimized GitHub action workflow scope [3].
2. Updated Node.js packages & GitHub actions [4] [^1] [^2].
3. Opts-in the Dependabot version update configuration [5].

This also includes changes required for any linter matches.

[1]: https://github.com/svengreb/tmpl/releases/tag/v0.11.0
[2]: https://github.com/svengreb/tmpl/releases/tag/v0.10.0
[3]: svengreb/tmpl#84
[4]: svengreb/tmpl#86
[5]: svengreb/tmpl#94

[^1]: svengreb/tmpl#78
[^2]: svengreb/tmpl#83

GH-61
  • Loading branch information
svengreb committed May 12, 2022
1 parent 2199bb5 commit ecb646b
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 58 deletions.
40 changes: 0 additions & 40 deletions .github/dependabot.yml

This file was deleted.

29 changes: 21 additions & 8 deletions .github/workflows/ci.yml → .github/workflows/ci-node.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
# Copyright (c) 2018-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2018-present Sven Greb <development@svengreb.de>
# This source code is licensed under the MIT license found in the LICENSE file.

# GitHub Action Workflow for continuous integration jobs.
# See https://docs.github.com/en/actions and https://github.com/features/actions for more details.

name: ci
name: ci-node
on:
push:
paths:
- "**.js"
- "**.json"
- "**.md"
- "**.yaml"
- "**.yml"
branches:
- main
tags:
- v*
pull_request:
paths:
- "**.js"
- "**.json"
- "**.md"
- "**.yaml"
- "**.yml"

jobs:
lint-node:
lint:
runs-on: ubuntu-latest
steps:
- name: Print metadata and context information
Expand All @@ -24,11 +36,12 @@ jobs:
echo "Workflow Actor: $GITHUB_ACTOR"
- name: Checkout repository
uses: actions/checkout@v2
- name: "Setup Node.js version 15"
uses: actions/setup-node@v2.1.5
- name: Setup Node.js version 16
uses: actions/setup-node@v2.4.1
with:
node-version: "15"
node-version: "16"
cache: "npm"
- name: Install Node modules
run: npm install
- name: Run linters
run: npm run lint
- name: Run linters in CI/CD mode
run: npm run lint:ci
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<p align="center"><a href="https://www.npmjs.com/package/@arcticicestudio/remark-preset-lint" target="_blank" rel="noreferrer"><img src="https://img.shields.io/npm/v/@arcticicestudio/remark-preset-lint.svg?style=flat-square&label=@arcticicestudio/remark-preset-lint&logoColor=eceff4&colorA=4c566a&colorB=88c0d0&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2Q4ZGVlOSIgZD0iTTEyIDE0SDRhMiAyIDAgMCAxLTItMlY0YTIgMiAwIDAgMSAyLTJoOGEyIDIgMCAwIDEgMiAydjhhMiAyIDAgMCAxLTIgMnpNNCAzLjMzMkEuNjcuNjcgMCAwIDAgMy4zMzIgNHY4YzAgLjM2Ny4zLjY2OC42NjguNjY4aDhhLjY3LjY3IDAgMCAwIC42NjgtLjY2OFY0QS42Ny42NyAwIDAgMCAxMiAzLjMzMnptMCAwIi8+PHBhdGggZmlsbD0iI2Q4ZGVlOSIgZD0iTTggNmgyLjY2OHY2LjY2OEg4em0wIDAiLz48L3N2Zz4K"/></a></p>

<p align="center"><a href="https://github.com/arcticicestudio/styleguide-markdown/actions" target="_blank" rel="noreferrer"><img src="https://img.shields.io/github/workflow/status/arcticicestudio/styleguide-markdown/ci?style=flat-square&label=CI&logoColor=eceff4&colorA=4c566a&logo=github-actions"/></a></p>
<p align="center"><a href="https://github.com/arcticicestudio/styleguide-markdown/actions" target="_blank" rel="noreferrer"><img src="https://img.shields.io/github/workflow/status/arcticicestudio/styleguide-markdown/ci-node?style=flat-square&label=CI%20Node&logoColor=eceff4&colorA=4c566a&logo=github-actions"/></a></p>

Every major open source project has its own style guide, a set of standards and conventions for the writing and design of code, documentations and assets. It is much easier to understand a large codebase when all the code in it is in a consistent style.

Expand Down
Empty file modified assets/images/badge-codestyle.svg
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/badge.svg
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"license": "MIT",
"private": true,
"engines": {
"node": "^15.13.0",
"npm": "^7.7.0"
"node": ">=15.13",
"npm": ">=7.7"
},
"workspaces": [
"packages/@arcticicestudio/*"
Expand All @@ -37,26 +37,28 @@
"format": "run-s format:pretty format:fix",
"format:fix": "eslint --fix .",
"format:pretty": "prettier --write .",
"lint": "npm-run-all lint:*",
"lint": "run-s lint:*",
"lint:ci": "run-s lint:md lint:ci:*",
"lint:ci:pretty": "prettier --loglevel silent --check .",
"lint:js": "eslint .",
"lint:md": "remark --no-stdout . .github/**/*.md",
"lint:md": "remark --no-stdout . \".github/**/*.md\"",
"lint:pretty": "prettier --check .",
"prepare": "run-s prepare:*",
"prepare:husky": "husky install",
"test": "npm --workspaces run test"
},
"devDependencies": {
"@arcticicestudio/eslint-config-base": ">=0.9.0 <1.0.0",
"@arcticicestudio/eslint-config-base": ">=0.11.0 <1.0.0",
"del-cli": "^3.0.1",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"gitbook-cli": "2.3.2",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"husky": "^7.0.4",
"lint-staged": "^12.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"remark-cli": "^9.0.0"
"prettier": "^2.4.1",
"remark-cli": "^10.0.1"
}
}
Empty file modified src/assets/snowflake.png
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ecb646b

Please sign in to comment.