Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
chore: Update development information
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent 57e48f2 commit 3c3990d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
"type": "npm",
"script": "typecheck:all",
"problemMatcher": ["$tsc"]
},
{
"type": "npm",
"script": "userscript:watch",
"problemMatcher": [
// See: https://marketplace.visualstudio.com/items?itemName=eamodio.tsl-problem-matcher
"$ts-webpack-watch"
]
}
]
}
2 changes: 1 addition & 1 deletion .yarn/sdks/prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "2.3.0-pnpify",
"version": "2.3.2-pnpify",
"main": "./index.js",
"type": "commonjs"
}
8 changes: 7 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

## Active development on the script

The project is set up to be used with [VS Code](https://code.visualstudio.com/). While other editors will work fine, some integrations have been prepared to make the development process easier.

### Prerequisites

The development environment is expected to be a POSIX-compliant system. On Windows, WSL will do fine.

Additionally, you will need to have Docker available.
Additionally, you will need to have [Docker](https://www.docker.com/get-started) available.

### Development

Expand All @@ -26,6 +28,10 @@ yarn userscript:watch

You will need to manually reload the page after each build to get the latest changes in the browser.

### Type-checking

To fill the **Problems** panel in VS Code with all current, type-related errors, run the `typecheck:all` npm task in VS Code.

## Building a release of the userscript

1. Run the script to build the release:
Expand Down

0 comments on commit 3c3990d

Please sign in to comment.