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 8 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
2 changes: 2 additions & 0 deletions changelog_unreleased/javascript/12350.md
@@ -0,0 +1,2 @@
Updated the State of JS Survey Results in order to comply with the 2021 Survey.
I have removed unused dependecies with depcheck and where applicable, have infered parameter types from usage for type checking. (#12350 by @Harry-Hopkinson)
Copy link
Member

Choose a reason for hiding this comment

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

"JavaScript" isn't the right changelog subdirectory. Turns out we don't yet have a changelog category for this kind of changes. Please add a misc directory (with .gitkeep) in changelog_unreleased and then add it to scripts/draft-blog-post.mjs and scripts/utils/changelog-categories.mjs.

Copy link
Member

@kachkaev kachkaev Feb 23, 2022

Choose a reason for hiding this comment

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

Do we need to have CHANGELOG at all, assuming that the PR is only about docs? I thought CHANGELOG was related to prettier library only.

Copy link
Member

Choose a reason for hiding this comment

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

I thought it might be useful for encouraging non-code contributions like this. Now if someone contributes, for example, to the docs, they won't get any credits at all when the next release happens.

10 changes: 5 additions & 5 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,10 +293,10 @@ 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 more than <strong>83%</strong> of question
respondents from the State of JS 2021
</p>
<Button href="https://2020.stateofjs.com/en-US/other-tools/utilities">
<Button href="https://2021.stateofjs.com/en-US/other-tools/#utilities">
Go to Survey Results
</Button>
</div>
Expand All @@ -312,7 +312,7 @@ const UsersSection = ({ language }) => {
<div style={{ marginLeft: ".7em", width: "260px" }}>
<p>
More than{" "}
<strong data-placeholder="dependent-github">3.5 million</strong>{" "}
<strong data-placeholder="dependent-github">3.8 million</strong>{" "}
dependent repositories on GitHub
</p>
<Button href="https://github.com/prettier/prettier/network/dependents">
Expand Down
17 changes: 9 additions & 8 deletions website/pages/en/users/index.js
Expand Up @@ -29,17 +29,18 @@ 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">
State&nbsp;of&nbsp;JS&nbsp;2020
Prettier is regularly used by more than <strong>83%</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>{" "}
survey (14880&nbsp;developers out of 20974).
survey (10282&nbsp;developers out of 12360).
</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