Skip to content

Commit

Permalink
Adapt remaining arcticicestudio "fade-out" changes (#244)
Browse files Browse the repository at this point in the history
With the retirement of the "Arctic Ice Studio" personal & Nord project
brand [1] various migrations to the `svengreb` GitHub account [2] of
other projects were also completed within the last weeks. There are also
changes in Nord projects like `nordtheme/web` that other projects
depended on and can now be adapted as well.
Therefore all Nord projects must adapt these changes which includes...

- the migration and repository name change of
  `arcticicestudio/nord-docs`[2] - all references must be updated.
- the migration of the `arcticicestudio/styleguide-git` repository to
  the `svengreb` "real-in-person" identity [3] - all references and
  used npm packages must be updated.
- the migration of the `arcticicestudio/styleguide-javascript`
  repository to the `svengreb` "real-in-person" identity [4] - all
  references and used npm packages must be updated.
- the migration of the `arcticicestudio/styleguide-markdown` repository
  to the `svengreb` "real-in-person" identity [5] - all references and
  used npm packages must be updated.

[1]: https://github.com/orgs/nordtheme/discussions/183#retire-arctic-ice-studio-as-nord-brand
[2]: #241
[3]: svengreb/styleguide-git#12
[4]: svengreb/styleguide-javascript#88
[5]: svengreb/styleguide-markdown#63

GH-243
  • Loading branch information
svengreb committed May 3, 2023
1 parent c13c017 commit 60ecf4d
Show file tree
Hide file tree
Showing 11 changed files with 24,648 additions and 12,758 deletions.
23 changes: 15 additions & 8 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
# This source code is licensed under the MIT license found in the license file.

.cache/*
build/*
content/*
node_modules/*
public/*
static/*
# Path match pattern to ignore (i.e. not lint) certain files and folders.
# References:
# 1. https://eslint.org/docs/latest/use/configure/ignore

.cache/
build/
content/
node_modules/
public/
static/

# Explicitly include specific "dotfiles".
# ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like `.git` or any other critical paths.
!**/.eslintrc.js
!.gatsby
!.eslintrc.js
!.remarkrc.js
!.remarkrc.mjs
11 changes: 10 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ const { resolve } = require("path");
*/
module.exports = {
parser: "babel-eslint",
extends: ["@arcticicestudio/eslint-config", "@arcticicestudio/eslint-config/react-hooks", "@arcticicestudio/eslint-config-base/prettier"],
extends: [
"@svengreb/eslint-config",
"@svengreb/eslint-config/react-hooks",
/*
* Enable support for projects using Prettier.
* Note that this must always be placed after the `@svengreb/eslint-config-base` preset to take precedence, otherwise it won't prevent errors
* due to useless and possibly conflicting rules!
*/
"@svengreb/eslint-config-base/prettier",
],
plugins: ["babel"],
env: {
browser: true,
Expand Down
7 changes: 6 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/sh

# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
# This source code is licensed under the MIT license found in the license file.
# This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.

# Git "pre-commit" hook for husky.
# References:
# 1. https://github.com/typicode/husky
# 2. https://git-scm.com/docs/githooks#_pre_commit

. "$(dirname "$0")/_/husky.sh"

Expand Down
7 changes: 7 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
# Configurations for npm.
# See https://docs.npmjs.com/cli/v7/configuring-npm/npmrc for more details.

# Disable the vulnerability auditing and checks which includes often way too many false-positives, insignificant
# problems that are only for local development, and many other warnings that are overhelming.
# Use dedicated vulnerability tools instead to filter and identify issue that really impact the project.
# References:
# 1. https://docs.npmjs.com/cli/v9/commands/npm-audit
audit=false

# Only use a lockfile for single-consumer projects, like applications, but not for multi-consumer projects like
# libraries.
# It helps to pin dependency versions, improves the security through integrity checksums, prevents possible errors
Expand Down
1 change: 1 addition & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ build/
node_modules/
public/
static/
license
4 changes: 2 additions & 2 deletions .remarkrc.js → .remarkrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* @see https://github.com/remarkjs/remark-lint
* @see https://remark.js.org
*/
module.exports = {
plugins: ["@arcticicestudio/remark-preset-lint"],
export default {
plugins: ["@svengreb/remark-preset-lint"],
};
16 changes: 7 additions & 9 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2084,9 +2084,9 @@ It includes sections about
- enhancement suggestions
- pull requests
- style guides
- [JavaScript Style Guide][gh-styleguide-js]
- [Markdown Style Guide][gh-styleguide-md]
- [Git Style Guide][gh-styleguide-git]
- [JavaScript Style Guide][styleguide-javascript]
- [Markdown Style Guide][styleguide-markdown]
- [Git Style Guide][styleguide-git]
- credits

Read the [GitHub introduction blog post][gh-blog-intro-contrib-gl] and the [GitHub Help article][gh-help-contrib-gl] for more details about the provided integrations.
Expand Down Expand Up @@ -2467,7 +2467,7 @@ Note that packages marked with an double exclamation mark `‼` have been affect
[gh-94]: https://github.com/nordtheme/web/issues/94
[gh-96]: https://github.com/nordtheme/web/issues/96
[gh-98]: https://github.com/nordtheme/web/issues/98
[gh-arcland]: https://github.com/arcticicestudio/arctic-landscape
[gh-arcland]: https://github.com/svengreb/arctic-landscape
[gh-arcocfrac]: https://www.npmjs.com/package/arctic-ocean-fractal
[gh-axios]: https://github.com/axios/axios
[gh-babel-plugin-lodash]: https://github.com/lodash/babel-plugin-lodash
Expand Down Expand Up @@ -2502,9 +2502,6 @@ Note that packages marked with an double exclamation mark `‼` have been affect
[gh-rtl]: https://github.com/kentcdodds/react-testing-library
[gh-rw]: https://github.com/brigade/react-waypoint
[gh-sp]: https://github.com/GoogleChromeLabs/size-plugin
[gh-styleguide-git]: https://github.com/arcticicestudio/styleguide-git
[gh-styleguide-js]: https://github.com/arcticicestudio/styleguide-javascript
[gh-styleguide-md]: https://github.com/arcticicestudio/styleguide-markdown
[gh-sue]: https://github.com/yahoo/subscribe-ui-event
[git-crypt]: https://github.com/AGWA/git-crypt
[git-docs-gitattributes]: https://git-scm.com/docs/gitattributes
Expand Down Expand Up @@ -2595,8 +2592,9 @@ Note that packages marked with an double exclamation mark `‼` have been affect
[stc-docs-tooling-jest]: https://www.styled-components.com/docs/tooling#jest-integration
[stof-nord-tagged]: https://stackoverflow.com/questions/tagged/nord+or+nordtheme
[styled-components]: https://styled-components.com
[styleguide-javascript]: https://arcticicestudio.github.io/styleguide-javascript
[styleguide-markdown]: https://arcticicestudio.github.io/styleguide-markdown
[styleguide-javascript]: https://github.com/svengreb/styleguide-javascript
[styleguide-markdown]: https://github.com/svengreb/styleguide-markdown
[styleguide-git]: https://github.com/svengreb/styleguide-git
[svgr]: https://www.smooth-code.com/open-source/svgr
[tw-docs-cards]: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started.html
[typescript]: https://www.typescriptlang.org
Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
module.exports = {
"*.{json,mdx,svg,yaml,yml}": "prettier --check --ignore-unknown --no-editorconfig",
"*.{js,jsx}": ["eslint --ext .js,.jsx", "prettier --check --ignore-unknown --no-editorconfig"],
"*.{js,jsx,mjs}": ["eslint --ext .js,.jsx", "prettier --check --ignore-unknown --no-editorconfig"],
"*.md": ["remark --no-stdout", "prettier --check --ignore-unknown --no-editorconfig"],
".husky/pre-*": "prettier --check --ignore-unknown --no-editorconfig",
};
Loading

0 comments on commit 60ecf4d

Please sign in to comment.