-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
244e2b4
commit b049628
Showing
2 changed files
with
31 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Framework Development | ||
nav_order: 3 | ||
--- | ||
|
||
# Framework Development | ||
|
||
## Releasing this Playwright Framework | ||
|
||
When it comes to creating a new release for the Playwright Framework, run the following: | ||
|
||
1. `npx eslint .` and `npx eslint . --fix` | ||
2. `npm run build` | ||
3. Update the version number in `package.json` | ||
4. Commit result | ||
5. `git tag [version]` | ||
6. `git push origin main --tags` - this will publish to NPM | ||
|
||
## Local Development of the Playwright Framework | ||
|
||
1. Clone the repository down parallel to your project | ||
2. Run `npm install` | ||
2. Run `npm run pack` | ||
3. In your project, delete `node_modules/@liquidlight/playwright-framework` | ||
4. Update the `package.json` in the project to be `"@liquidlight/playwright-framework": "file:./../playwright-framework/liquidlight-playwright-framework-0.4.0-beta.1.tgz"` (or whatever the tgz file made is) | ||
5. Run `npm update` in the project | ||
|
||
If you make changes to the package, run `npm run pack` in the package and `npm update` in the project |