Skip to content

Commit

Permalink
Version Packages (next) (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 2, 2024
1 parent c31a8f9 commit 41365b8
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
"chilled-baboons-battle",
"cool-dingos-provide",
"dull-candles-exercise",
"eight-fishes-enjoy",
"many-spies-fix",
"rude-berries-rescue",
"shy-turkeys-count",
"silly-seas-impress"
"silly-seas-impress",
"tasty-radios-rhyme",
"two-pets-rescue"
]
}
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# @heymp/scratchpad

## 1.0.0-next.7

### Minor Changes

- c31a8f9: Expose Playwright runtime context to scratchpad.config.js [#40](https://github.com/heyMP/scratchpad/issues/40)

`scratchpad.config.js`

```js
export default /** @type {import('@heymp/scratchpad/config').Config} */ ({
devtools: true,
playwright: async (args) => {
const { context, page } = args;
// block esmodule shims
await context.route(/es-module-shims\.js/, async (route) => {
await route.abort();
});
await page.goto("https://ux.redhat.com");
},
});
```

- f6fb1f2: Add option for writing the js output to a file based on the compiled
ts target. Use `--ts-write` as a boolean flag in the cli.

### Patch Changes

- c31a8f9: Add typings for scratchpad.config.js [#37](https://github.com/heyMP/scratchpad/issues/37)

```js
export default /** @type {import('@heymp/scratchpad/config').Config} */ ({
devtools: true,
headless: true,
url: "https://google.com",
});
```

## 1.0.0-next.6

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heymp/scratchpad",
"version": "1.0.0-next.6",
"version": "1.0.0-next.7",
"main": "bin/cli.js",
"type": "module",
"bin": {
Expand Down

0 comments on commit 41365b8

Please sign in to comment.