Skip to content

Commit 6095521

Browse files
committed
Adapt remaining arcticicestudio "fade-out" changes
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]: nordtheme/web#241 [3]: svengreb/styleguide-git#12 [4]: svengreb/styleguide-javascript#88 [5]: svengreb/styleguide-markdown#63 GH-17
1 parent a6d5b38 commit 6095521

12 files changed

+2057
-1712
lines changed

.eslintignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ node_modules/
1111
# ESLint automatically applies ignore pattern for "dotfiles" by default to prevent accidentally lint over paths like
1212
# `.git` or any other critical paths.
1313
!**/.eslintrc.js
14-
!.remarkrc.js
15-
!lint-staged.config.js
16-
!prettier.config.js
14+
!.remarkrc.mjs

.eslintrc.js

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
/*
22
* Copyright (c) 2016-present Sven Greb <[email protected]>
3-
* This source code is licensed under the MIT license found in the license file.
3+
* This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.
44
*/
55

66
/**
77
* Configurations for ESLint.
88
* @see https://eslint.org/docs/latest/use/configure
99
* @see https://eslint.org/docs/latest/use/configure/#using-configuration-files
1010
* @see https://eslint.org/docs/latest/use/configure/#specifying-environments
11-
* @see https://eslint.org/docs/latest/use/configure/#configuring-plugins
1211
* @see https://eslint.org/docs/latest/rules
1312
*/
1413
module.exports = {
1514
root: true,
16-
extends: ["@arcticicestudio/eslint-config-base", "@arcticicestudio/eslint-config-base/prettier"],
15+
extends: [
16+
"@svengreb/eslint-config-base",
17+
/*
18+
* Enable support for projects using Prettier.
19+
* Note that this must always be placed after the `@svengreb/eslint-config-base` preset to take precedence, otherwise it won't prevent errors
20+
* due to useless and possibly conflicting rules!
21+
*/
22+
"@svengreb/eslint-config-base/prettier",
23+
],
1724
overrides: [
1825
{
1926
files: ["*.js"],

.gitattributes

-6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,3 @@
1010
# Automatically perform line feed (LF) normalization for files detected as text and
1111
# leave all files detected as binary untouched.
1212
* text=auto eol=lf
13-
14-
# +--------+
15-
# + Assets +
16-
# +--------+
17-
*.ai binary
18-
*.png binary

.husky/pre-commit

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#!/bin/sh
22

33
# Copyright (c) 2016-present Sven Greb <[email protected]>
4-
# This source code is licensed under the MIT license found in the license file.
4+
# This source code is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license found in the license file.
5+
6+
# Git "pre-commit" hook for husky.
7+
# References:
8+
# 1. https://github.com/typicode/husky
9+
# 2. https://git-scm.com/docs/githooks#_pre_commit
510

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

.npmrc

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
# Configurations for npm.
55
# See https://docs.npmjs.com/cli/v7/configuring-npm/npmrc for more details.
66

7+
# Disable the vulnerability auditing and checks which includes often way too many false-positives, insignificant
8+
# problems that are only for local development, and many other warnings that are overhelming.
9+
# Use dedicated vulnerability tools instead to filter and identify issue that really impact the project.
10+
# References:
11+
# 1. https://docs.npmjs.com/cli/v9/commands/npm-audit
12+
audit=false
13+
714
# Only use a lockfile for single-consumer projects, like applications, but not for multi-consumer projects like
815
# libraries.
916
# It helps to pin dependency versions, improves the security through integrity checksums, prevents possible errors

.remarkignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
# See https://github.com/unifiedjs/unified-engine/blob/HEAD/doc/ignore.md for more details.
66

77
node_modules/
8+
license

.remarkrc.js renamed to .remarkrc.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
* @see https://github.com/remarkjs/remark-lint
99
* @see https://remark.js.org
1010
*/
11-
module.exports = {
12-
plugins: ["@arcticicestudio/remark-preset-lint"],
11+
export default {
12+
plugins: ["@svengreb/remark-preset-lint"],
1313
};

changelog.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<p align="center">
22
<a href="https://www.nordtheme.com/ports/xcode" target="_blank">
33
<picture>
4-
<source srcset="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/xcode/repository-hero.svg?sanitize=true" width="100%" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
5-
<img srcset="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/xcode/repository-hero.svg?sanitize=true" width="100%" />
4+
<source srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/xcode/repository-hero.svg?sanitize=true" width="100%" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
5+
<img srcset="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/xcode/repository-hero.svg?sanitize=true" width="100%" />
66
</picture>
77
</a>
88
</p>
@@ -56,10 +56,10 @@ Please see the [corresponding issue in the Nord Docs repository][gh-nord-docs#18
5656
See [Nord's official documentation to learn how to use the color set][nord-docs-ports-xcode-asset_catalog].
5757

5858
<p align="center">Asset Catalog Color Set</p>
59-
<p align="center"><a href="https://www.nordtheme.com/docs/ports/xcode/asset_catalog" target="_blank"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/xcode/ui-asset_catalog.png" alt="Preview: Nord Xcode Asset Catalog Color Set"/></a></p>
59+
<p align="center"><a href="https://www.nordtheme.com/docs/ports/xcode/asset_catalog" target="_blank"><img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/xcode/ui-asset_catalog.png" alt="Preview: Nord Xcode Asset Catalog Color Set"/></a></p>
6060

6161
<p align="center">Xcode Interface Builder with Nord</p>
62-
<p align="center"><a href="https://www.nordtheme.com/docs/ports/xcode/asset_catalog" target="_blank"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-docs/main/assets/images/ports/xcode/ui-interface_builder.png" alt="Preview: Nord Xcode Interface Builder with Nord"/></a></p>
62+
<p align="center"><a href="https://www.nordtheme.com/docs/ports/xcode/asset_catalog" target="_blank"><img src="https://raw.githubusercontent.com/nordtheme/web/main/assets/images/ports/xcode/ui-interface_builder.png" alt="Preview: Nord Xcode Interface Builder with Nord"/></a></p>
6363

6464
## Improvements
6565

@@ -156,7 +156,7 @@ _2017-04-23_
156156

157157
<!-- v0.22.0 -->
158158

159-
[gh-nord-docs#182]: https://github.com/arcticicestudio/nord-docs/issues/182
159+
[gh-nord-docs#182]: https://github.com/nordtheme/web/issues/182
160160
[gh-nord#55]: https://github.com/nordtheme/nord/issues/55
161161
[gh-nord#94]: https://github.com/nordtheme/nord/issues/94
162162
[gh-user-ornithocoder]: https://github.com/ornithocoder

lint-staged.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
module.exports = {
1111
"*.{json,xccolortheme}": "prettier --check --ignore-unknown --no-editorconfig",
12-
"*.js": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"],
12+
"*.{js,mjs}": ["eslint", "prettier --check --ignore-unknown --no-editorconfig"],
1313
"*.md": ["remark --no-stdout", "prettier --check --ignore-unknown --no-editorconfig"],
1414
".husky/pre-*": "prettier --check --ignore-unknown --no-editorconfig",
1515
};

0 commit comments

Comments
 (0)