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

Updated the State of JS Survey Results #12350

Merged
merged 49 commits into from Mar 24, 2022
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9b84e72
Removed unused dependecies with depcheck. Infered parameter types fro…
Harry-Hopkinson Feb 22, 2022
8422dfd
Updated the State of JS Survery Results to the 2021 Survey.
Harry-Hopkinson Feb 22, 2022
58ad5b6
Changelog
Harry-Hopkinson Feb 22, 2022
0ffb259
Only one change
Harry-Hopkinson Feb 22, 2022
81e1879
Revert
Harry-Hopkinson Feb 22, 2022
588f980
Updated the Utilities Section and Links
Harry-Hopkinson Feb 22, 2022
85e5210
Updated Links
Harry-Hopkinson Feb 22, 2022
00e530b
Changed rewording
Harry-Hopkinson Feb 22, 2022
2f651e6
ran prettier
Harry-Hopkinson Feb 22, 2022
8d9a161
Updated spelling
Harry-Hopkinson Feb 23, 2022
95b12ef
Removed changelog as requested
Harry-Hopkinson Feb 23, 2022
986b4ac
Updated changelogs
Harry-Hopkinson Feb 23, 2022
534dcf2
Changed Zeit.co to Vercel due to its recent name change.
Harry-Hopkinson Mar 5, 2022
ad6038e
If the number of Unformatted Files is Greater than 2, print out how m…
Harry-Hopkinson Mar 5, 2022
8595ead
Add a Changelog
Harry-Hopkinson Mar 5, 2022
2e326d5
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 5, 2022
334afe4
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 7, 2022
265e93e
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 7, 2022
c19ec0d
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 11, 2022
eb2ece9
Revert
Harry-Hopkinson Mar 11, 2022
ceff0cb
Updated Snapshots
Harry-Hopkinson Mar 12, 2022
545bc98
Remove CLI News
Harry-Hopkinson Mar 12, 2022
5ef5478
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 13, 2022
61ff96b
Revert Zeit Changes
Harry-Hopkinson Mar 13, 2022
625e728
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 13, 2022
71a0e18
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 13, 2022
b6eca39
Update Links
Harry-Hopkinson Mar 13, 2022
ff96317
Update Surveys to use both the State of JS 2021 and the State of JS 2…
Harry-Hopkinson Mar 13, 2022
5284b7c
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 13, 2022
570064b
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 14, 2022
d9c0bfd
Update Buttons and Links to Include Two sets of data for the State of…
Harry-Hopkinson Mar 15, 2022
18fe838
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 15, 2022
4028928
Suggested Changes and Updated the Image
Harry-Hopkinson Mar 15, 2022
7ec05df
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 15, 2022
4556c2d
Delete .gitkeep
Harry-Hopkinson Mar 15, 2022
63ea19d
Merge branch 'main' into main
Harry-Hopkinson Mar 16, 2022
6f5949d
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 17, 2022
4765f5c
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 20, 2022
ee2667b
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 20, 2022
150d42d
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 21, 2022
d2121ab
Linted File
Harry-Hopkinson Mar 21, 2022
2cee959
Revert irrelevant changes.
Harry-Hopkinson Mar 22, 2022
9e37284
Update image to the State of JS 2021.
Harry-Hopkinson Mar 22, 2022
de68131
Made the image responsive with scaling
Harry-Hopkinson Mar 22, 2022
91297ae
Update Who's Using this Image to the State of JS 2021.
Harry-Hopkinson Mar 22, 2022
9cdc3a2
Merge branch 'prettier:main' into main
Harry-Hopkinson Mar 23, 2022
a75dbad
Commited Suggested Changes.
Harry-Hopkinson Mar 23, 2022
0b038f3
Update
fisker Mar 24, 2022
1267210
Clean images
fisker Mar 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Empty file.
1 change: 1 addition & 0 deletions scripts/draft-blog-post.mjs
Expand Up @@ -49,6 +49,7 @@ const categories = [
{ dir: "yaml", title: "YAML" },
{ dir: "api", title: "API" },
{ dir: "cli", title: "CLI" },
{ dir: "misc", title: "MISC" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we no longer need this change as well as the diff in scripts/utils/changelog-categories.mjs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was told to create a misc folder in order for other non code changes to the website like mine.

Copy link
Member

@kachkaev kachkaev Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IC. I guess that’s done in https://github.com/prettier/prettier/pull/12412/files#diff-f35f14f178b81f6f55c22d476409f83519ce5d78b53bdca17d53b147698adc3eR52 now.

We can safely undo both files because we are not using the new section for anything practical in this PR.

];

const categoriesByDir = new Map(
Expand Down
1 change: 1 addition & 0 deletions scripts/utils/changelog-categories.mjs
Expand Up @@ -17,4 +17,5 @@ export const CHANGELOG_CATEGORIES = [
"typescript",
"vue",
"yaml",
"misc",
];
31 changes: 22 additions & 9 deletions website/pages/en/index.js
Expand Up @@ -283,7 +283,7 @@ const UsersSection = ({ language }) => {
>
<div style={{ display: "flex", marginTop: "22px" }}>
<a
href="https://2020.stateofjs.com/en-US/other-tools/utilities"
href="https://2021.stateofjs.com/en-US/other-tools/utilities"
className="growOnHover"
>
<img
Harry-Hopkinson marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -293,12 +293,19 @@ const UsersSection = ({ language }) => {
</a>
<div style={{ marginLeft: ".7em", width: "260px" }}>
<p>
Regularly used by more than <strong>70%</strong> of respondents
to State of JS 2020
Regularly used by: <br />
<a href="https://2021.stateofjs.com/en-US/other-tools/#utilities">
<strong>
More than 83% of respondents to State of JS 2021.
</strong>
</a>
<br />
<a href="https://2020.stateofjs.com/en-US/other-tools/#utilities">
<strong>
More than 70% of respondents to State of JS 2020.
</strong>
</a>
Copy link
Sponsor Member

@fisker fisker Mar 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
</a>
<ul>
<li></li>
<li></li>

?

And remove <strong> please

Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to use <ul> element here, why are you ignoring it without any reason?

</p>
<Button href="https://2020.stateofjs.com/en-US/other-tools/utilities">
Go to Survey Results
</Button>
</div>
</div>

Expand All @@ -312,8 +319,11 @@ const UsersSection = ({ language }) => {
<div style={{ marginLeft: ".7em", width: "260px" }}>
<p>
More than{" "}
<strong data-placeholder="dependent-github">3.5 million</strong>{" "}
dependent repositories on GitHub
<strong data-placeholder="dependent-github">3.8 million</strong>{" "}
dependent repositories on{" "}
<a href="https://github.com/prettier/prettier">
<strong>GitHub</strong>
</a>
Harry-Hopkinson marked this conversation as resolved.
Show resolved Hide resolved
</p>
<Button href="https://github.com/prettier/prettier/network/dependents">
Check Them Out
Expand All @@ -331,7 +341,10 @@ const UsersSection = ({ language }) => {
<div style={{ marginLeft: ".7em", width: "260px" }}>
<p>
More than <strong data-placeholder="dependent-npm">10k</strong>{" "}
dependent packages on npm
dependent packages on{" "}
<a href="https://www.npmjs.com/package/prettier">
<strong>npm</strong>
</a>
</p>
<Button href="https://www.npmjs.com/browse/depended/prettier">
See them all
Expand Down
18 changes: 11 additions & 7 deletions website/pages/en/users/index.js
Expand Up @@ -29,17 +29,21 @@ class Users extends React.Component {
}}
>
<div className="prose">
Prettier is regularly used by more than <strong>70%</strong>
&nbsp;of the respondents to the “Utilities” section of
the&nbsp;
<a href="https://2020.stateofjs.com/en-US/other-tools/utilities">
Prettier is regularly used by more than <strong>83%</strong>{" "}
and <strong>70%</strong>&nbsp;of the question respondents from
the “Utilities” section of the&nbsp;
<a href="https://2021.stateofjs.com/en-US/other-tools/#utilities">
State&nbsp;of&nbsp;JS&nbsp;2021
</a>{" "}
and
<a href="https://2020.stateofjs.com/en-US/other-tools/#utilities">
State&nbsp;of&nbsp;JS&nbsp;2020
</a>{" "}
survey (14880&nbsp;developers out of 20974).
surveys.
</div>
<a href="https://2020.stateofjs.com">
<a href="https://2021.stateofjs.com">
<img
title="State of JS 2020"
title="State of JS 2021"
src="/images/state_of_js.svg"
width="180"
style={{ background: "#222429", borderRadius: 5 }}
Expand Down