Skip to content

Commit

Permalink
chore: major prettier update (#208)
Browse files Browse the repository at this point in the history
This PR only contains config changes. The post-prettier-ran after
effects are in #209 where all the CI checks are green.

* Updated prettier to v3.0
* Added `prettier-plugin-sort-imports` to sort imports

The main files to review are the root `.prettierrc` and root
`package.json`. The other package.json updates are just mirrors of the
root.

---------

Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
  • Loading branch information
yusinto and LaunchDarklyReleaseBot authored Jul 28, 2023
1 parent 94e34e0 commit 4a14933
Show file tree
Hide file tree
Showing 254 changed files with 1,001 additions and 831 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/akamai-base, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/akamai-base, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/akamai-edgekv, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/akamai-edgekv, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/akamai-edgeworker-sdk, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/akamai-edgeworker-sdk, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/package-sdk-cloudflare--bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/cloudflare, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/cloudflare, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/server-node, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: 'package: sdk/server-node, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/package-sdk-vercel--bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/vercel, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: sdk/vercel, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/package-shared-common--bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: shared/common, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: 'package: shared/common, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: shared/sdk-server, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: 'package: package-b, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: shared/sdk-server-edge, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: shared/sdk-server-edge, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: 'package: store/node-server-sdk-redis, bug'
assignees: ''

---

**Is this a support request?**
Expand Down Expand Up @@ -34,4 +33,4 @@ For instance, Go 1.11 or Ruby 2.5.3. If you are using a language that requires a
For instance, Ubuntu 16.04, Windows 10, or Android 4.0.3. If your code is running in a browser, please also include the browser type and version.

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: 'package: store/node-server-sdk-redis, feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context about the feature request here.
Add any other context about the feature request here.
4 changes: 2 additions & 2 deletions .github/workflows/manual-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'

- name: "Setup Redis"
- name: 'Setup Redis'
if: ${{ inputs.workspace_path == 'packages/store/node-server-sdk-redis' }}
run: |
sudo apt-get update
sudo apt-get install redis-server
sudo service redis-server start
- name: "Setup DynamoDB"
- name: 'Setup DynamoDB'
if: ${{ inputs.workspace_path == 'packages/store/node-server-sdk-dynamodb' }}
run: |
sudo docker run -d -p 8000:8000 amazon/dynamodb-local
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- name: "Setup Redis"
- name: 'Setup Redis'
if: ${{ inputs.workspace_path == 'packages/store/node-server-sdk-redis' }}
run: |
sudo apt-get update
sudo apt-get install redis-server
sudo service redis-server start
- name: "Setup DynamoDB"
- name: 'Setup DynamoDB'
if: ${{ inputs.workspace_path == 'packages/store/node-server-sdk-dynamodb' }}
run: |
sudo docker run -d -p 8000:8000 amazon/dynamodb-local
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ docs/
coverage
.next
.vscode
**/*/CHANGELOG.md
packages/sdk/akamai-edgekv/src/edgekv/edgekv.js
7 changes: 6 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"singleQuote": true,
"printWidth": 100
"printWidth": 100,
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"importOrder": ["^@launchdarkly/(.*)$", "^[./]"],
"importOrderCaseInsensitive": true,
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
14 changes: 13 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
{"packages/shared/common":"1.0.2","packages/shared/sdk-server":"1.0.6","packages/sdk/server-node":"8.1.0","packages/sdk/cloudflare":"2.0.7","packages/shared/sdk-server-edge":"1.0.6","packages/sdk/vercel":"1.0.1","packages/sdk/akamai-base":"1.0.0","packages/sdk/akamai-edgekv":"1.0.0","packages/shared/akamai-edgeworker-sdk":"0.2.5","packages/store/node-server-sdk-dynamodb":"5.0.4","packages/store/node-server-sdk-redis":"3.0.4"}
{
"packages/shared/common": "1.0.2",
"packages/shared/sdk-server": "1.0.6",
"packages/sdk/server-node": "8.1.0",
"packages/sdk/cloudflare": "2.0.7",
"packages/shared/sdk-server-edge": "1.0.6",
"packages/sdk/vercel": "1.0.1",
"packages/sdk/akamai-base": "1.0.0",
"packages/sdk/akamai-edgekv": "1.0.0",
"packages/shared/akamai-edgeworker-sdk": "0.2.5",
"packages/store/node-server-sdk-dynamodb": "5.0.4",
"packages/store/node-server-sdk-redis": "3.0.4"
}
Loading

0 comments on commit 4a14933

Please sign in to comment.