Skip to content

Commit 24383e7

Browse files
authored
Added the unplugin-icons for icon management (#420)
1 parent d21c72b commit 24383e7

File tree

98 files changed

+3788
-2157
lines changed

Some content is hidden

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

98 files changed

+3788
-2157
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"forwardPorts": [5173],
1616

1717
// Use 'postCreateCommand' to run commands after the container is created.
18-
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
18+
"postCreateCommand": "./.devcontainer/postCreateCommand.sh"
1919

2020
// Configure tool-specific properties.
2121
// "customizations": {},

.eslintrc.cjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ module.exports = {
44
extends: [
55
"eslint:recommended",
66
"plugin:@typescript-eslint/recommended",
7-
"prettier"
7+
"prettier",
88
],
99
plugins: ["svelte3", "@typescript-eslint"],
1010
ignorePatterns: ["*.cjs"],
1111
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
1212
settings: {
13-
"svelte3/typescript": () => require("typescript")
13+
"svelte3/typescript": () => require("typescript"),
1414
},
1515
parserOptions: {
1616
sourceType: "module",
17-
ecmaVersion: 2019
17+
ecmaVersion: 2019,
1818
},
1919
env: {
2020
browser: true,
2121
es2017: true,
22-
node: true
23-
}
22+
node: true,
23+
},
2424
};

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ body:
2626
- Microsoft Edge Beta/Dev/Canary
2727
- Other - list in description
2828
validations:
29-
required: true
29+
required: true
3030
- type: textarea
3131
attributes:
3232
label: Description

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
## Description
2+
23
<!-- Describe your changes here -->
34

45
## Motivation and Context
6+
57
<!-- Why are those changes required? If it fixes an open issue, please link the issue using the syntax "Closes #1234" or "Fixes #1234" -->
68

79
## Screenshots (if appropriate):
8-
<!-- If you are making visual changes to a Control or adding a new Control, please include screenshots showing the result. -->
10+
11+
<!-- If you are making visual changes to a Control or adding a new Control, please include screenshots showing the result. -->

.prettierrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"useTabs": true,
3-
"semi": true,
4-
"trailingComma": "none",
53
"arrowParens": "avoid",
6-
"endOfLine": "lf"
4+
"plugins": ["prettier-plugin-svelte"],
5+
"pluginSearchDirs": ["."],
6+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
77
}

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["svelte.svelte-vscode", "lokalise.i18n-ally"]
2+
"recommendations": ["svelte.svelte-vscode", "lokalise.i18n-ally", "antfu.iconify"]
33
}

CODE_OF_CONDUCT.md

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,28 @@ If you see someone who is making an extra effort to ensure our community is welc
2020

2121
The following behaviors are expected and requested of all community members:
2222

23-
* Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
24-
* Exercise consideration and respect in your speech and actions.
25-
* Attempt collaboration before conflict.
26-
* Refrain from demeaning, discriminatory, or harassing behavior and speech.
27-
* Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
28-
* Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
23+
- Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
24+
- Exercise consideration and respect in your speech and actions.
25+
- Attempt collaboration before conflict.
26+
- Refrain from demeaning, discriminatory, or harassing behavior and speech.
27+
- Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
28+
- Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
2929

3030
## 4. Unacceptable Behavior
3131

3232
The following behaviors are considered harassment and are unacceptable within our community:
3333

34-
* Violence, threats of violence or violent language directed against another person.
35-
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
36-
* Posting or displaying sexually explicit or violent material.
37-
* Posting or threatening to post other people's personally identifying information ("doxing").
38-
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
39-
* Inappropriate photography or recording.
40-
* Inappropriate physical contact. You should have someone's consent before touching them.
41-
* Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
42-
* Deliberate intimidation, stalking or following (online or in person).
43-
* Advocating for, or encouraging, any of the above behavior.
44-
* Sustained disruption of community events, including talks and presentations.
34+
- Violence, threats of violence or violent language directed against another person.
35+
- Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
36+
- Posting or displaying sexually explicit or violent material.
37+
- Posting or threatening to post other people's personally identifying information ("doxing").
38+
- Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
39+
- Inappropriate photography or recording.
40+
- Inappropriate physical contact. You should have someone's consent before touching them.
41+
- Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
42+
- Deliberate intimidation, stalking or following (online or in person).
43+
- Advocating for, or encouraging, any of the above behavior.
44+
- Sustained disruption of community events, including talks and presentations.
4545

4646
## 5. Weapons Policy
4747

@@ -59,15 +59,11 @@ If a community member engages in unacceptable behavior, the community organizers
5959

6060
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. [email protected].
6161

62-
63-
6462
Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.
6563

6664
## 8. Addressing Grievances
6765

68-
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify files-community with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
69-
70-
66+
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify files-community with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
7167

7268
## 9. Scope
7369

@@ -81,7 +77,7 @@ [email protected]
8177

8278
## 11. License and attribution
8379

84-
The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
80+
The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
8581

8682
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).
8783

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,16 @@ This repository contains the source code for the new [Files website](https://fil
5252
# Development
5353

5454
## GitHub Codespaces
55+
5556
You can develop this project using GitHub Codespaces.
56-
For this, click on the "Code" button on the main GitHub page of this repository.
57+
For this, click on the "Code" button on the main GitHub page of this repository.
5758

5859
Then click on "Codespaces" and then on "Create codespace on main".
5960

6061
After the Codespace has initialized, you can run `pnpm dev` and are ready to go!
6162

62-
6363
## Local development
64+
6465
### Prerequisites
6566

6667
- [Git](https://git-scm.com)

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,35 @@
1313
},
1414
"devDependencies": {
1515
"@fec/remark-a11y-emoji": "^3.1.0",
16-
"@fluentui/svg-icons": "^1.1.197",
16+
"@iconify-json/fluent": "^1.1.19",
1717
"@neodrag/svelte": "^2.0.3",
1818
"@sveltejs/adapter-cloudflare": "^2.2.0",
19-
"@sveltejs/kit": "^1.13.0",
20-
"@typescript-eslint/eslint-plugin": "^5.56.0",
21-
"@typescript-eslint/parser": "^5.56.0",
19+
"@sveltejs/kit": "^1.15.9",
20+
"@typescript-eslint/eslint-plugin": "^5.59.1",
21+
"@typescript-eslint/parser": "^5.59.1",
2222
"autoprefixer": "^10.4.14",
23-
"cssnano": "^5.1.15",
24-
"eslint": "^8.36.0",
23+
"cssnano": "^6.0.0",
24+
"eslint": "^8.39.0",
2525
"eslint-config-prettier": "^8.8.0",
2626
"eslint-plugin-svelte3": "^4.0.0",
2727
"fluent-svelte": "^1.6.0",
2828
"mdsvex": "^0.10.6",
29-
"postcss": "^8.4.21",
29+
"postcss": "^8.4.23",
3030
"postcss-media-minmax": "^5.0.0",
31-
"prettier": "^2.8.6",
31+
"prettier": "^2.8.8",
3232
"prettier-plugin-svelte": "^2.10.0",
3333
"remark-gfm": "^3.0.1",
3434
"remark-github": "^11.2.4",
3535
"remark-slug": "^7.0.1",
36-
"sass": "^1.59.3",
37-
"svelte": "^3.57.0",
38-
"svelte-check": "^3.1.4",
36+
"sass": "^1.62.1",
37+
"svelte": "^3.58.0",
38+
"svelte-check": "^3.2.0",
3939
"svelte-i18n": "^3.6.0",
4040
"svelte-preprocess": "^5.0.3",
4141
"tslib": "^2.5.0",
42-
"typescript": "^5.0.2",
43-
"vite": "^4.2.1"
42+
"typescript": "^5.0.4",
43+
"unplugin-icons": "0.16.1",
44+
"vite": "^4.3.3"
4445
},
4546
"type": "module"
46-
}
47+
}

0 commit comments

Comments
 (0)