Skip to content

Commit e17935d

Browse files
committed
Run Prettier format on entire repo
1 parent 2677560 commit e17935d

28 files changed

+269
-577
lines changed

.github/ISSUE_TEMPLATE/issue-template.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
---
22
name: Issue Template
33
about: An issue template.
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
Description for the issue.
1110

1211
### Related Issues
1312

14-
-
13+
-
1514

1615
```[tasklist]
1716
### Acceptance Criteria

.github/pull_request_template.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,41 @@
22
<!-- Examples: Updates pull request template -->
33

44
## Intent
5+
56
<!-- Describe what problem you are addressing in this pull request. -->
67
<!-- If this change is associated with an open issue, please link to it here. -->
78
<!-- Example: "Resolves #24" -->
89
<!-- See https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue -->
910

1011
## Type of Change
12+
1113
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->
1214
<!-- If you check more than one box, you may need to refactor this change into separate pull requests -->
1315

14-
* - [ ] Bug Fix <!-- A change which fixes an existing issue -->
15-
* - [ ] New Feature <!-- A change which adds additional functionality -->
16-
* - [ ] Breaking Change <!-- A breaking change which causes existing functionality to change -->
17-
* - [ ] Documentation <!-- User or developer documentation -->
18-
* - [ ] Refactor <!-- Code restructuring -->
19-
* - [ ] Tooling <!-- Build, CI, or release scripts and configuration -->
16+
- - [ ] Bug Fix <!-- A change which fixes an existing issue -->
17+
- - [ ] New Feature <!-- A change which adds additional functionality -->
18+
- - [ ] Breaking Change <!-- A breaking change which causes existing functionality to change -->
19+
- - [ ] Documentation <!-- User or developer documentation -->
20+
- - [ ] Refactor <!-- Code restructuring -->
21+
- - [ ] Tooling <!-- Build, CI, or release scripts and configuration -->
2022

2123
## Approach
24+
2225
<!-- Describe how you solved this problem and any trade-offs you encountered. -->
2326
<!-- Link any additional documentation associated with this change here -->
2427

2528
## Automated Tests
29+
2630
<!-- Describe the automated tests associated with this change. -->
2731
<!-- If automated tests are not included in this change, please state why. -->
2832

2933
## Directions for Reviewers
34+
3035
<!-- Provide steps for reviewers to validate this change manually. -->
3136

3237
## Checklist
38+
3339
<!--- Go over all the following points, and put an `x` in all the boxes that apply: -->
3440
<!--- If you need clarification on any of these, feel free to ask. We're here to help! -->
41+
3542
- [ ] I have updated [CHANGELOG.md](../CHANGELOG.md) to cover notable changes.

.github/workflows/bats.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
with:
2323
repository: rstudio/connect-content
24-
path: 'test/content'
24+
path: "test/content"
2525
sparse-checkout: bundles
2626
sparse-checkout-cone-mode: false
2727
token: ${{ secrets.CONNECT_PAT }}
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/checkout@v4
5757
with:
5858
repository: rstudio/connect-content
59-
path: 'test/content'
59+
path: "test/content"
6060
sparse-checkout: bundles
6161
sparse-checkout-cone-mode: false
6262
token: ${{ secrets.CONNECT_PAT }}

.github/workflows/contract.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v4
3636
with:
3737
repository: rstudio/connect-content
38-
path: 'test/content'
38+
path: "test/content"
3939
sparse-checkout: bundles
4040
sparse-checkout-cone-mode: false
4141
token: ${{ secrets.CONNECT_PAT }}

.github/workflows/lint.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
10-
- uses: extractions/setup-just@v2
11-
- uses: actions/setup-node@v4
12-
with:
13-
node-version: '20'
14-
cache: 'npm'
15-
cache-dependency-path: '**/package-lock.json'
16-
- run: just npm-install
17-
- run: just check-format
9+
- uses: actions/checkout@v4
10+
- uses: extractions/setup-just@v2
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: "20"
14+
cache: "npm"
15+
cache-dependency-path: "**/package-lock.json"
16+
- run: just npm-install
17+
- run: just check-format
1818

19-
- run: just vscode deps
20-
- run: just vscode lint
19+
- run: just vscode deps
20+
- run: just vscode lint
2121

22-
- run: just web install
23-
- run: just web lint
22+
- run: just web install
23+
- run: just web lint
2424

25-
- run: just test/cy install
26-
- run: just test/cy lint
25+
- run: just test/cy install
26+
- run: just test/cy lint

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- archive
3434
- package
3535
uses: ./.github/workflows/upload.yaml
36-
with:
36+
with:
3737
nightly: true
3838
secrets: inherit
3939

.github/workflows/ui.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- run: just cy install
2424
- run: just cy test
2525

26-
2726
# Videos are captured whether the suite fails or passes
2827
- name: Save videos
2928
uses: actions/upload-artifact@v4

.github/workflows/upload.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Upload
22
on:
33
workflow_call:
4-
inputs:
5-
nightly:
6-
description: 'Is this a nightly upload?'
4+
inputs:
5+
nightly:
6+
description: "Is this a nightly upload?"
77
required: false
88
default: false
99
type: boolean
1010
permissions:
1111
id-token: write # This is required for requesting the JWT
12-
contents: read # This is required for actions/checkout
12+
contents: read # This is required for actions/checkout
1313
jobs:
1414
upload:
1515
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,30 @@ Deployment Records and Configurations can now be created, opened, and in the
2525
case of Configurations edited directly via the Extension's views.
2626

2727
### Added
28+
2829
- Include links to documentation and feedback channel (#1140)
2930
- Add comments to deployment records indicating they should not editted by users (#1092)
3031
- Deployment staged logs view in the bottom VSCode panel
3132
- Ability to select a Configuration when deploying
3233

3334
### Changed
35+
3436
- Use relative paths for the configuration `entrypoint` for Quarto projects (#960)
3537

3638
### Fixed
39+
3740
- Fix being unable to ignore subdirectories in `.positignore` (#1117)
3841
- Improve error serialization with errors from Connect or networking (#1074)
3942
- Fixed cases where an unnamed `.toml` deployment record was created (#1076, #1113)
4043

4144
### Removed
45+
4246
- Stand-alone webview opened via an Editor button on files
4347

4448
## [1.0.alpha2]
4549

4650
### Added
51+
4752
- VSCode extension package includes the publisher binary (#737)
4853
- `publisher init` recognizes Quarto projects (jupyter and markdown engines only) (#814)
4954
- `publisher init` recognizes Bottle and Pycnic apps as WSGI/Flask variants (#794)
@@ -53,19 +58,22 @@ case of Configurations edited directly via the Extension's views.
5358
- Deployment history includes the URLs where the deployed content can be accessed (#742), error information if the deployment failed (#747), and the date/time the deployment was created (#639, #836, #839)
5459

5560
### Changed
61+
5662
- Require the user to choose an account, if they have more than one (#636)
5763
- Use CONNECT_SERVER and CONNECT_API_KEY environment variables if they are defined and no account is selected (#722)
5864
- Deployment names in the UI are now case-insensitive (#808)
5965
- Record new deployments immediately, instead of waiting until Deploy is clicked (#773, #775, #776, #777)
6066

6167
### Fixed
68+
6269
- Improve UI navigation, especially when going back or viewing progress/logs (#788, #824)
6370
- Enable copy/paste in the VSCode publisher window (#612)
6471
- Enable command palette in the VSCode publisher window (#633)
6572
- Enable clickable links in the VSCode publisher window (#589, #609, #759)
6673
- Improve messages for TOML parsing/validation errors (#631)
6774

6875
### Removed
76+
6977
- Light/dark mode selection menu when running in VSCode (#804)
7078

7179
## [1.0.alpha1]

CONTRIBUTING.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
- [Pre-Releases](#pre-releases)
2626
- [Release Lifecycle](#release-lifecycle)
2727

28-
2928
The get this project up and running on your local machine, execute the following Just commands:
3029

3130
```console
@@ -74,7 +73,7 @@ just run
7473

7574
## Testing
7675

77-
This project follows the guidance written by *Ham Vocke* in the *[The Practical Test Pyramid](https://martinfowler.com/articles/practical-test-pyramid.html).* Please read the article for a detailed overview of different test types and how they are utilized.
76+
This project follows the guidance written by _Ham Vocke_ in the _[The Practical Test Pyramid](https://martinfowler.com/articles/practical-test-pyramid.html)._ Please read the article for a detailed overview of different test types and how they are utilized.
7877

7978
### Unit Tests
8079

@@ -122,13 +121,12 @@ Execute `just -l` for a list of available commands and documentation.
122121

123122
When executing commands the following variables are accepted to change behavior.
124123

125-
| Variable | Default | Type | Description |
126-
|----------|---------|------|----------------------------------------------------------------------------------------------------------|
127-
| CI | false | bool | Enable CI mode. When set to true, multi-platform builds are enabled. |
128-
| DEBUG | false | bool | Enable DEBUG mode. When set to true, `set +x` is enabled for all Justfile targets. |
129-
| DOCKER | false | bool | Enable DOCKER mode. When set to true, all Justfile targets are executed in Docker. |
130-
| MODE | dev | enum | When set to `dev`, development is enabled. All other values disable development mode. |
131-
124+
| Variable | Default | Type | Description |
125+
| -------- | ------- | ---- | ------------------------------------------------------------------------------------- |
126+
| CI | false | bool | Enable CI mode. When set to true, multi-platform builds are enabled. |
127+
| DEBUG | false | bool | Enable DEBUG mode. When set to true, `set +x` is enabled for all Justfile targets. |
128+
| DOCKER | false | bool | Enable DOCKER mode. When set to true, all Justfile targets are executed in Docker. |
129+
| MODE | dev | enum | When set to `dev`, development is enabled. All other values disable development mode. |
132130

133131
#### Behavior in GitHub Actions
134132

@@ -137,7 +135,7 @@ When running in GitHub Actions, the env variable `CI` is set to `true` by GitHub
137135
This mode can be reproduced on your local machine by setting `CI=true`.
138136

139137
| Variable | Default |
140-
|----------|---------|
138+
| -------- | ------- |
141139
| DOCKER | true |
142140
| MODE | prod |
143141

@@ -155,7 +153,6 @@ To start a release create a semver compatible tag.
155153

156154
_For this example, we will use the tag `v0.0.dev0`. This tag already exists, so you will not be able run the following commands verbatim._
157155

158-
159156
**Step 1**
160157

161158
Create a proper SemVer compatible tag. Consult the [SemVer specification](https://semver.org/spec/v2.0.0.html) if you are unsure what this means.
@@ -209,7 +206,6 @@ An beta pre-release. Created to support closed external user testing. `N` starts
209206

210207
*https://peps.python.org/pep-0440/#pre-releases*
211208

212-
213209
**`X.Y.rcN`**
214210

215211
An release-candidate pre-release. Created to support open external user testing. `N` starts at **1** and increments by 1 (`X.Y.rc1`, `X.Y.rc2`, ..., `X.Y.rcN`).

build/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3'
1+
version: "3"
22

33
services:
44
connect:

docs/cli.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The client auto-detects the type of content in `DIRECTORY`.
2323

2424
For Python apps, `publisher` looks for a single Python source file in the
2525
directory to be the entrypoint. If there are multiple python files, one of them
26-
must be named `app.py`, `api.py`, `main.py`, or `streamlit_app.py`.
26+
must be named `app.py`, `api.py`, `main.py`, or `streamlit_app.py`.
2727

2828
For Quarto projects, `publisher` looks for a .qmd file with the same name as the
2929
project directory, or for a single .qmd file to be the entrypoint.
@@ -60,7 +60,6 @@ creates a record of the deployment in `.posit/publish/deployments/${NAME}.toml`
6060
([schema](https://cdn.posit.co/publisher/schemas/posit-publishing-record-schema-v3.json)).
6161
`DIRECTORY` is optional, and defaults to the current directory.
6262

63-
6463
It is OK to rename deployment files as long as they live in
6564
`.posit/publish/deployments` and have a `.toml` suffix. Deleting a deployment
6665
file is also OK, and will cause `publisher` to forget about that deployment.

0 commit comments

Comments
 (0)