Skip to content

Commit 07df2bb

Browse files
authored
fix: replace the domain with the default GitHub one (#806)
* fix: replace the domain with the default GitHub one * Fix GitHub Actions Can't believe I have to do this manually, for shame, GitHub * Upgrade pnpm to v10 * Stupid fucking Corepack piece of shit * Fix the Docusaurus build * Fix the lockfile
1 parent 90457f2 commit 07df2bb

14 files changed

+7106
-10222
lines changed

.github/workflows/deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- run: corepack enable
19+
- run: |
20+
npm install -g corepack@latest
21+
corepack enable
2022
2123
- uses: actions/setup-node@v4
2224
with:

.github/workflows/testing.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- run: corepack enable
17+
- run: |
18+
npm install -g corepack@latest
19+
corepack enable
1820
1921
- uses: actions/setup-node@v4
2022
with:
2123
node-version: 22.x
24+
cache: pnpm
2225

2326
- name: Install dependencies
2427
run: pnpm install
@@ -43,11 +46,14 @@ jobs:
4346
steps:
4447
- uses: actions/checkout@v4
4548

46-
- run: corepack enable
49+
- run: |
50+
npm install -g corepack@latest
51+
corepack enable
4752
4853
- uses: actions/setup-node@v4
4954
with:
5055
node-version: 22.x
56+
cache: pnpm
5157

5258
- name: Install dependencies
5359
run: pnpm install

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ In FSD 2.0 we explained how to identify entities and features in your applicatio
3333

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

36-
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).
36+
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).
3737

3838
### What else happened since the last release?
3939

40-
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).
40+
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).
4141

4242
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.
4343

CNAME

-1
This file was deleted.

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<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" />
1+
<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" />
22

33

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

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

44-
[![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/)
44+
[![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/)
4545

4646
[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=
4747

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

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

6060
[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=
6161

6262
----
6363

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

6767
[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==
6868

6969
----
7070

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

7474
[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=
7575

7676
----
7777

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

8181
[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=
8282
```

blog/2022-06-04-rebranding.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors:
88
url: https://github.com/azinit
99
image_url: https://github.com/azinit.png
1010
tags: [brand, promo]
11-
image: https://feature-sliced.design/img/blog/rebranding-stable.png
11+
image: https://feature-sliced.github.io/documentation/img/blog/rebranding-stable.png
1212
hide_table_of_contents: false
1313
---
1414

blog/2022-07-25-international-community.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors:
88
url: https://github.com/unordinarity
99
image_url: https://github.com/unordinarity.png
1010
tags: [community, discord, promo]
11-
image: https://feature-sliced.design/img/blog/international-community.png
11+
image: https://feature-sliced.github.io/documentation/img/blog/international-community.png
1212
hide_table_of_contents: false
1313
---
1414

config/docusaurus/consts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const CATEGORIES = {
88
};
99

1010
module.exports = {
11-
DOMAIN: "https://feature-sliced.design/",
11+
DOMAIN: "https://feature-sliced.github.io/",
1212
GITHUB_ORG: "https://github.com/feature-sliced",
1313
GITHUB_DOCS: "https://github.com/feature-sliced/documentation",
1414
TELEGRAM: "https://t.me/feature_sliced",

docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
projectName: "documentation", // Usually your repo name.
2525
url: cfg.consts.DOMAIN,
2626
favicon: "img/favicon/classic.png",
27-
baseUrl: "/",
27+
baseUrl: "/documentation/",
2828
// Extensions
2929
i18n: cfg.i18n,
3030
presets: cfg.presets,

package.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,14 @@
9595
"stylelint-config-standard-scss": "^13.1.0",
9696
"typescript": "^5.6.3"
9797
},
98-
"packageManager": "[email protected]"
98+
"packageManager": "[email protected]+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6",
99+
"pnpm": {
100+
"onlyBuiltDependencies": [
101+
"@parcel/watcher",
102+
"@swc/core",
103+
"core-js",
104+
"core-js-pure",
105+
"sharp"
106+
]
107+
}
99108
}

0 commit comments

Comments
 (0)