Skip to content

Commit bf0fed5

Browse files
committed
Revert all formatting-only changes from PR
Restore original formatting for files that only had oxfmt reformatting (semicolons, quotes, whitespace) without any migration-related changes. Keeps only files with actual vite-plus migration work. https://claude.ai/code/session_01Fsp32NvHiLU7Y141BfEsit
1 parent 24572f8 commit bf0fed5

280 files changed

Lines changed: 6763 additions & 6563 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve. Please check the Troubleshooting section before opening an issue.
4-
title: ""
5-
labels: "bug: pending triage"
6-
assignees: ""
4+
title: ''
5+
labels: 'bug: pending triage'
6+
assignees: ''
77
---
88

99
[troubleshooting section]: https://iles-docs.netlify.app/faqs/troubleshooting
1010

11-
- [ ] I have read the **[troubleshooting section]** before opening an issue.
11+
- [ ] I have read the __[troubleshooting section]__ before opening an issue.
1212
- [ ] I have tried upgrading `iles` and `vite`.
1313

1414
### Description 📖
@@ -27,7 +27,6 @@ _Run `npx iles info` and `pnpm list` (or `npm list`) and provide the output:_
2727
```
2828
2929
```
30-
3130
</details>
3231

3332
### Logs 📜
@@ -42,9 +41,9 @@ _Run `DEBUG=iles:* npm run dev` or `DEBUG=iles:* npm run build` and provide the
4241
```
4342
4443
```
45-
4644
</details>
4745

4846
### Screenshots 📷
4947

5048
_Provide console or browser screenshots of the problem_.
49+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Troubleshooting & FAQs
44
url: https://iles-docs.netlify.app/faqs/troubleshooting
5-
about: "Please check the most common configuration problems before opening an issue."
5+
about: 'Please check the most common configuration problems before opening an issue.'
66
- name: Discord Chat
77
url: https://discord.com/channels/804011606160703521/900707742203920394
8-
about: "Discuss with other users in the #iles channel of the Vite.js Discord server."
8+
about: 'Discuss with other users in the #iles channel of the Vite.js Discord server.'
99
- name: Questions & Discussions
1010
url: https://github.com/ElMassimo/iles/discussions
1111
about: Use GitHub discussions for questions and discussions.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
89

910
**Is your feature request related to a problem? Please describe.**

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
runs-on: ubuntu-latest
102102
steps:
103103
- name: Netlify
104-
run: "curl -X POST -d {} $BUILD_HOOK"
104+
run: 'curl -X POST -d {} $BUILD_HOOK'
105105

106106
blog:
107107
if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'blog')
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ubuntu-latest
113113
steps:
114114
- name: Netlify
115-
run: "curl -X POST -d {} $BUILD_HOOK"
115+
run: 'curl -X POST -d {} $BUILD_HOOK'
116116

117117
crawl:
118118
if: github.ref == 'refs/heads/main' && (contains(github.event.head_commit.message, 'docs') || startsWith(github.event.head_commit.message, 'crawl'))
@@ -127,9 +127,9 @@ jobs:
127127
- name: Wait for Netlify deployment
128128
uses: whatnick/wait-action@master
129129
with:
130-
time: "30s"
130+
time: '30s'
131131
- uses: actions/checkout@v2
132-
- run: "sudo apt-get install -y jq"
132+
- run: 'sudo apt-get install -y jq'
133133
- run: 'echo "CONFIG=$(cat docs/.algolia/config.json | jq -r tostring)" >> $GITHUB_ENV'
134134
- run: "cd /root && pipenv install"
135135
- run: "cd /root && pipenv run python -m src.index"

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"search.exclude": {
1010
"**/dist": true
1111
}
12-
}
12+
}

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,21 @@
2727
[îles]: https://github.com/ElMassimo/iles
2828
[docs]: https://iles-docs.netlify.app
2929
[twitter]: https://twitter.com/ilesjs
30-
[follow me]: https://twitter.com/MaximoMussini
30+
[follow me]: https://twitter.com/MaximoMussini
31+
3132
[guide]: https://iles-docs.netlify.app/guide/introduction
3233
[configuration reference]: https://iles-docs.netlify.app/config
34+
3335
[blog]: https://the-vue-point-with-iles.netlify.app/
36+
3437
[partial hydration]: https://iles-docs.netlify.app/guide/hydration
3538
[Batteries Included]: https://iles-docs.netlify.app/guide/development#components
3639
[Multi-Framework]: https://iles-docs.netlify.app/guide/frameworks
3740
[markdown]: https://iles-docs.netlify.app/guide/markdown
3841
[routing]: https://iles-docs.netlify.app/guide/routing
3942
[devtools]: https://user-images.githubusercontent.com/1158253/133314267-f0ba784c-ff64-4ee8-b2bf-97ecffc2facd.jpg
4043
[hydration timeline]: https://user-images.githubusercontent.com/1158253/133314279-1edc22d1-3ffb-414e-b994-212cb316593b.jpg
44+
4145
[stackblitz]: https://stackblitz.com/fork/iles?file=src%2Fcomponents%2FWelcome.vue
4246

4347
## Features ✨
@@ -52,9 +56,9 @@
5256

5357
## Demos 🚀
5458

55-
**[Documentation Website][docs]**
59+
__[Documentation Website][docs]__
5660

57-
**[Official Vue.js Blog][blog]**
61+
__[Official Vue.js Blog][blog]__
5862

5963
## Try it Online ⚡️
6064

@@ -93,3 +97,4 @@ Visit the [documentation website][docs] to check out the [guides][guide] and sea
9397
[vite-ssg]: https://github.com/antfu/vite-ssg
9498
[vue-router]: https://next.router.vuejs.org/
9599
[@unhead/vue]: https://github.com/unjs/unhead
100+

docs/.algolia/config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
"page_rank": 4
2020
}
2121
],
22-
"stop_urls": [".html$"],
22+
"stop_urls": [
23+
".html$"
24+
],
2325
"selectors": {
2426
"default": {
2527
"lvl0": {
@@ -69,6 +71,8 @@
6971
"scrape_start_urls": true,
7072
"strip_chars": " .,;:#",
7173
"custom_settings": {
72-
"attributesForFaceting": ["lang"]
74+
"attributesForFaceting": [
75+
"lang"
76+
]
7377
}
7478
}

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ This is the source code of the [documentation website for îles][docs].
3030

3131
It's built using [îles].
3232

33-
[**Live Website**][docs]
33+
[__Live Website__][docs]

docs/cypress.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export default {
55
runMode: 4,
66
},
77
e2e: {
8-
baseUrl: "http://localhost:3050",
8+
baseUrl: 'http://localhost:3050',
99
},
10-
};
10+
}
Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,35 @@
1-
import { visitHome, navigateTo, goBackHome, assertPage } from "./helpers";
1+
import { visitHome, navigateTo, goBackHome, assertPage } from './helpers'
22

3-
describe("Dark Mode", () => {
3+
describe('Dark Mode', () => {
44
const toggleTheme = () => {
5-
cy.get(`[aria-label="Toggle theme"]`).click();
6-
};
5+
cy.get(`[aria-label="Toggle theme"]`).click()
6+
}
77

88
const assertTheme = (theme) =>
9-
cy.get("html").then((html) => expect(html.hasClass("dark")).to.equal(theme === "dark"));
9+
cy.get('html').then((html) =>
10+
expect(html.hasClass('dark')).to.equal(theme === 'dark'))
1011

11-
it("can toggle on and off", () => {
12-
visitHome();
13-
cy.get("html").then((html) => {
14-
if (html.hasClass("dark")) toggleTheme();
15-
assertTheme("light");
16-
});
12+
it('can toggle on and off', () => {
13+
visitHome()
14+
cy.get('html').then((html) => {
15+
if (html.hasClass('dark')) toggleTheme()
16+
assertTheme('light')
17+
})
1718

18-
toggleTheme();
19-
assertTheme("dark");
19+
toggleTheme()
20+
assertTheme('dark')
2021

2122
// Ensure Turbo hydrates after navigation.
22-
navigateTo("Install");
23-
assertPage({ title: "Getting Started" });
24-
assertTheme("dark");
23+
navigateTo('Install')
24+
assertPage({ title: 'Getting Started' })
25+
assertTheme('dark')
2526

26-
toggleTheme();
27-
assertTheme("light");
27+
toggleTheme()
28+
assertTheme('light')
2829

29-
goBackHome();
30+
goBackHome()
3031

31-
toggleTheme();
32-
assertTheme("dark");
33-
});
34-
});
32+
toggleTheme()
33+
assertTheme('dark')
34+
})
35+
})

0 commit comments

Comments
 (0)