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

fix: replace the domain with the default GitHub one #806

Merged
merged 6 commits into from
Mar 15, 2025
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
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: corepack enable
- run: |
npm install -g corepack@latest
corepack enable

- uses: actions/setup-node@v4
with:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: corepack enable
- run: |
npm install -g corepack@latest
corepack enable

- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: pnpm

- name: Install dependencies
run: pnpm install
Expand All @@ -43,11 +46,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: corepack enable
- run: |
npm install -g corepack@latest
corepack enable

- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: pnpm

- name: Install dependencies
run: pnpm install
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ In FSD 2.0 we explained how to identify entities and features in your applicatio

### Is it hard to migrate from FSD 2.0?

This is a non-breaking change, so you don’t even necessarily need to migrate your current FSD projects to FSD 2.1, but we still think the new way of thinking will lead to a more cohesive and less opinionated structure. We’ve compiled a few steps you can take in [the migration guide](https://feature-sliced.design/docs/guides/migration/from-v2-0).
This is a non-breaking change, so you don’t even necessarily need to migrate your current FSD projects to FSD 2.1, but we still think the new way of thinking will lead to a more cohesive and less opinionated structure. We’ve compiled a few steps you can take in [the migration guide](https://feature-sliced.github.io/documentation/docs/guides/migration/from-v2-0).

### What else happened since the last release?

The cross-import notation (`@x`) that was an experimental proposal for a long time has now been standardized! Its official name is **Public API for cross-imports**. You can use it to create explicit connections between entities. There's [a new section in our documentation all about this new notation](https://feature-sliced.design/docs/reference/public-api#public-api-for-cross-imports).
The cross-import notation (`@x`) that was an experimental proposal for a long time has now been standardized! Its official name is **Public API for cross-imports**. You can use it to create explicit connections between entities. There's [a new section in our documentation all about this new notation](https://feature-sliced.github.io/documentation/docs/reference/public-api#public-api-for-cross-imports).

Another exciting new thing in the FSD ecosystem is our architectural linter, [Steiger](https://github.com/feature-sliced/steiger). It's still in active development, but it is production-ready.

Expand Down
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="https://discord.gg/S8MzWTUsmp" title="Discord"><img align="right" alt="Discord" src="./.github/assets/README-discord.svg" height="80" /></a><a href="https://t.me/feature_sliced" title="Telegram"><img align="right" alt="Telegram" src="./.github/assets/README-telegram.svg" height="80" /></a><a href="https://feature-sliced.design/"><img align="right" alt="Website" src="./.github/assets/README-website.svg" height="80" /></a><img alt="Feature-Sliced Design, an architectural methodology for frontend projects" src="./.github/assets/README-banner-light.svg#gh-light-mode-only" height="80" /><img alt="Feature-Sliced Design, an architectural methodology for frontend projects" src="./.github/assets/README-banner-dark.svg#gh-dark-mode-only" height="80" />
<a href="https://discord.gg/S8MzWTUsmp" title="Discord"><img align="right" alt="Discord" src="./.github/assets/README-discord.svg" height="80" /></a><a href="https://t.me/feature_sliced" title="Telegram"><img align="right" alt="Telegram" src="./.github/assets/README-telegram.svg" height="80" /></a><a href="https://feature-sliced.github.io/documentation/"><img align="right" alt="Website" src="./.github/assets/README-website.svg" height="80" /></a><img alt="Feature-Sliced Design, an architectural methodology for frontend projects" src="./.github/assets/README-banner-light.svg#gh-light-mode-only" height="80" /><img alt="Feature-Sliced Design, an architectural methodology for frontend projects" src="./.github/assets/README-banner-dark.svg#gh-dark-mode-only" height="80" />


<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
Expand Down Expand Up @@ -41,7 +41,7 @@ This methodology is not tied to a particular stack — it can be used for web or

To show off that your project uses FSD, you can use the GitHub topic `feature-sliced` and one of the following badges:

[![Feature-Sliced Design][shields-fsd-white]](https://feature-sliced.design/) [![Feature-Sliced Design][shields-fsd-pain]](https://feature-sliced.design/) [![Feature-Sliced Design][shields-fsd-domain]](https://feature-sliced.design/) [![Feature-Sliced Design][shields-fsd-feature]](https://feature-sliced.design/)
[![Feature-Sliced Design][shields-fsd-white]](https://feature-sliced.github.io/documentation/) [![Feature-Sliced Design][shields-fsd-pain]](https://feature-sliced.github.io/documentation/) [![Feature-Sliced Design][shields-fsd-domain]](https://feature-sliced.github.io/documentation/) [![Feature-Sliced Design][shields-fsd-feature]](https://feature-sliced.github.io/documentation/)

[shields-fsd-white]: https://img.shields.io/badge/Feature--Sliced-Design?style=for-the-badge&labelColor=262224&color=F2F2F2&logoWidth=10&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAACXBIWXMAAALFAAACxQGJ1n/vAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA/SURBVHgB7dKxCgAgCIThs/d/51JoNQIdDrxvqMXlR4FmFs92KDIX/wI7JSdDN+eHtkxIycnQvMNW8hN/crsDc5QgGX9NvT0AAAAASUVORK5CYII=

Expand All @@ -55,28 +55,28 @@ To show off that your project uses FSD, you can use the GitHub topic `feature-sl

```markdown
White:
[![Feature-Sliced Design][shields-fsd-white]](https://feature-sliced.design/)
[![Feature-Sliced Design][shields-fsd-white]](https://feature-sliced.github.io/documentation/)

[shields-fsd-white]: https://img.shields.io/badge/Feature--Sliced-Design?style=for-the-badge&labelColor=262224&color=F2F2F2&logoWidth=10&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAACXBIWXMAAALFAAACxQGJ1n/vAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA/SURBVHgB7dKxCgAgCIThs/d/51JoNQIdDrxvqMXlR4FmFs92KDIX/wI7JSdDN+eHtkxIycnQvMNW8hN/crsDc5QgGX9NvT0AAAAASUVORK5CYII=

----

Pain (red):
[![Feature-Sliced Design][shields-fsd-pain]](https://feature-sliced.design/)
[![Feature-Sliced Design][shields-fsd-pain]](https://feature-sliced.github.io/documentation/)

[shields-fsd-pain]: https://img.shields.io/badge/Feature--Sliced-Design?style=for-the-badge&labelColor=262224&color=F2F2F2&logoWidth=10&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAACXBIWXMAAALFAAACxQGJ1n/vAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABHSURBVHgB7dKxCQAgDETR08ZNHNBBHNBNrBQFuyCCKQK5V6QMfBJAWVij5zLwKbW6d0VYx2TZyXnBKxvEZJnDx2bylf1kdRM6tiAZsruQ/QAAAABJRU5ErkJggg==

----

Domain (blue):
[![Feature-Sliced Design][shields-fsd-domain]](https://feature-sliced.design/)
[![Feature-Sliced Design][shields-fsd-domain]](https://feature-sliced.github.io/documentation/)

[shields-fsd-domain]: https://img.shields.io/badge/Feature--Sliced-Design?style=for-the-badge&color=F2F2F2&labelColor=262224&logoWidth=10&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAACXBIWXMAAALFAAACxQGJ1n/vAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABISURBVHgB7dKxCQAgDETR0w2cws0cys2cwhEUBbsggikCuVekDHwSQFlYo7Q+8KnmtHdFWMdk2cl5wSsbxGSZw8dm8pX9ZHUTMBUgGU2F718AAAAASUVORK5CYII=

----

Feature (green):
[![Feature-Sliced Design][shields-fsd-feature]](https://feature-sliced.design/)
[![Feature-Sliced Design][shields-fsd-feature]](https://feature-sliced.github.io/documentation/)

[shields-fsd-feature]: https://img.shields.io/badge/Feature--Sliced-Design?style=for-the-badge&labelColor=262224&color=F2F2F2&logoWidth=10&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAACXBIWXMAAALFAAACxQGJ1n/vAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABISURBVHgB7dKxCQAgDETR00EcwYEc0IEcwUUUBbsggikCuVekDHwSQFlYo/Y88KmktndFWMdk2cl5wSsbxGSZw8dm8pX9ZHUTdIYgGbPdU2QAAAAASUVORK5CYII=
```
Expand Down
2 changes: 1 addition & 1 deletion blog/2022-06-04-rebranding.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
url: https://github.com/azinit
image_url: https://github.com/azinit.png
tags: [brand, promo]
image: https://feature-sliced.design/img/blog/rebranding-stable.png
image: https://feature-sliced.github.io/documentation/img/blog/rebranding-stable.png
hide_table_of_contents: false
---

Expand Down
2 changes: 1 addition & 1 deletion blog/2022-07-25-international-community.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
url: https://github.com/unordinarity
image_url: https://github.com/unordinarity.png
tags: [community, discord, promo]
image: https://feature-sliced.design/img/blog/international-community.png
image: https://feature-sliced.github.io/documentation/img/blog/international-community.png
hide_table_of_contents: false
---

Expand Down
2 changes: 1 addition & 1 deletion config/docusaurus/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const CATEGORIES = {
};

module.exports = {
DOMAIN: "https://feature-sliced.design/",
DOMAIN: "https://feature-sliced.github.io/",
GITHUB_ORG: "https://github.com/feature-sliced",
GITHUB_DOCS: "https://github.com/feature-sliced/documentation",
TELEGRAM: "https://t.me/feature_sliced",
Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
projectName: "documentation", // Usually your repo name.
url: cfg.consts.DOMAIN,
favicon: "img/favicon/classic.png",
baseUrl: "/",
baseUrl: "/documentation/",
// Extensions
i18n: cfg.i18n,
presets: cfg.presets,
Expand Down
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,14 @@
"stylelint-config-standard-scss": "^13.1.0",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@9.13.2"
"packageManager": "pnpm@10.6.3+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6",
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"@swc/core",
"core-js",
"core-js-pure",
"sharp"
]
}
}
Loading
Loading