Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to tmpl template repository version 0.11.0 #62

Merged
merged 1 commit into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
40 changes: 0 additions & 40 deletions .github/dependabot.yml

This file was deleted.

31 changes: 22 additions & 9 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 <[email protected]>
# Copyright (c) 2018-present Sven Greb <[email protected]>
# 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
run: npm ci
- name: Run linters in CI/CD mode
run: npm run lint:ci
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# multi-consumer projects when any later versions of a used dependency, or its transitive dependencies, is not
# compatible with the own project anymore.
# See https://github.com/svengreb/tmpl/issues/70 for more details.
package-lock=false
package-lock=true

# Resolve to the latest minor and patch updates.
# Enable to automatically pin dependencies to exact versions instead of resolving to latest minor and patch updates.
Expand Down
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
Loading
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
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:md": "remark --no-stdout . \".github/**/*.md\"",
"lint:js": "eslint .",
"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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.