Skip to content

Commit

Permalink
chore: prettier everything! (#4114)
Browse files Browse the repository at this point in the history
* chore(format): prettier everything (except HTML/CSS)

* chore: format with prettier

* chore: use prettier on CSS files

* chore: explain why we don't format HTML files
  • Loading branch information
wjhsf authored Mar 28, 2024
1 parent 27cd262 commit a45afdc
Show file tree
Hide file tree
Showing 89 changed files with 567 additions and 567 deletions.
6 changes: 3 additions & 3 deletions .git2gus/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"productTag": "a1aB0000000g309IAA",
"defaultBuild": "250",
"hideWorkItemUrl": true
"productTag": "a1aB0000000g309IAA",
"defaultBuild": "250",
"hideWorkItemUrl": true
}
99 changes: 52 additions & 47 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,52 @@
---
name: Bug
about: Create an issue to help us improve

---

### Description

#### Steps to Reproduce


<!--
If LWC specific issue, update link with your example
-->
https://playground.lwc.dev

<!--
if specific code snippet, paste the example here
-->
```js
const your => (code) => here;
```

#### Expected Results
<!-- Example: No error is throw -->

#### Actual Results
<!-- Example: Error is thrown -->

### Browsers Affected
<!-- List of browsers and versions affected -->

### Version
<!--
Node project
package.json
versions < 0.17: "lwc-engine": "0.16.8"
versions >= 0.17: "lwc-engine": "0.17.2"
-->
- LWC: x.x.x


**Possible Solution**
<!--- Only if you have suggestions on a fix for the bug -->

**Additional context/Screenshots**
Add any other context about the problem here. If applicable, add screenshots to help explain.
---
name: Bug
about: Create an issue to help us improve
---

### Description

#### Steps to Reproduce

<!--
If LWC specific issue, update link with your example
-->

https://playground.lwc.dev

<!--
if specific code snippet, paste the example here
-->

```js
const your => (code) => here;
```

#### Expected Results

<!-- Example: No error is throw -->

#### Actual Results

<!-- Example: Error is thrown -->

### Browsers Affected

<!-- List of browsers and versions affected -->

### Version

<!--
Node project
package.json
versions < 0.17: "lwc-engine": "0.16.8"
versions >= 0.17: "lwc-engine": "0.17.2"
-->

- LWC: x.x.x

**Possible Solution**

<!--- Only if you have suggestions on a fix for the bug -->

**Additional context/Screenshots**
Add any other context about the problem here. If applicable, add screenshots to help explain.
33 changes: 16 additions & 17 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Feature request
about: Suggest an idea for this project
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
48 changes: 24 additions & 24 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@ name: Run Best benchmark
# We could run on every PR, but there is not much need right now.
# By running on every push to master, we get historical Best data for the master branch.
on:
push:
branches: [ master ]
push:
branches: [master]

env:
BEST_FRONTEND_CLIENT_TOKEN: ${{secrets.BEST_FRONTEND_CLIENT_TOKEN}}
BEST_FRONTEND_HOSTNAME: ${{secrets.BEST_FRONTEND_HOSTNAME}}
BEST_HUB_CLIENT_TOKEN: ${{secrets.BEST_HUB_CLIENT_TOKEN}}
BEST_HUB_HOSTNAME: ${{secrets.BEST_HUB_HOSTNAME}}
PUPPETEER_SKIP_DOWNLOAD: "true" # only needed for @best/runner-local, unused here
BEST_FRONTEND_CLIENT_TOKEN: ${{secrets.BEST_FRONTEND_CLIENT_TOKEN}}
BEST_FRONTEND_HOSTNAME: ${{secrets.BEST_FRONTEND_HOSTNAME}}
BEST_HUB_CLIENT_TOKEN: ${{secrets.BEST_HUB_CLIENT_TOKEN}}
BEST_HUB_HOSTNAME: ${{secrets.BEST_HUB_HOSTNAME}}
PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here

jobs:
run-best-performance-tests:
# It is important to use this image so that we have a consistent IP address that can be allowlisted by Best infra
runs-on: salesforce-Ubuntu
steps:
- name: Checkout repository
uses: actions/checkout@v3
run-best-performance-tests:
# It is important to use this image so that we have a consistent IP address that can be allowlisted by Best infra
runs-on: salesforce-Ubuntu
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.18.0"
cache: 'yarn'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.18.0'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build benchmarks
run: yarn build:performance
- name: Build benchmarks
run: yarn build:performance

- name: Run benchmarks
run: yarn test:performance:best:ci
- name: Run benchmarks
run: yarn test:performance:best:ci
84 changes: 42 additions & 42 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
name: Run WebDriverIO integration tests

on:
push:
branches:
- master
- release
- 'spring*'
- 'summer*'
- 'winter*'
pull_request:
branches:
- master
- release
- 'spring*'
- 'summer*'
- 'winter*'
push:
branches:
- master
- release
- 'spring*'
- 'summer*'
- 'winter*'
pull_request:
branches:
- master
- release
- 'spring*'
- 'summer*'
- 'winter*'

env:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
SAUCE_TUNNEL_ID: github-action-tunnel-karma-${{github.run_id}}
PUPPETEER_SKIP_DOWNLOAD: "true" # only needed for @best/runner-local, unused here
GITHUB_RUN_ID: ${{github.run_id}}
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
SAUCE_TUNNEL_ID: github-action-tunnel-karma-${{github.run_id}}
PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here
GITHUB_RUN_ID: ${{github.run_id}}

jobs:
run-integration-tests:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./packages/@lwc/integration-tests
steps:
- name: Checkout repository
uses: actions/checkout@v3
run-integration-tests:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./packages/@lwc/integration-tests
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.18.0"
cache: 'yarn'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.18.0'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./

- uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
- uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}

- run: yarn sauce:prod --browsers chrome
- run: yarn sauce:dev --browsers chrome
- run: yarn sauce:prod --browsers chrome
- run: yarn sauce:dev --browsers chrome
Loading

0 comments on commit a45afdc

Please sign in to comment.