File tree 3 files changed +42
-2
lines changed
3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 8
8
" chilled-baboons-battle" ,
9
9
" cool-dingos-provide" ,
10
10
" dull-candles-exercise" ,
11
+ " eight-fishes-enjoy" ,
11
12
" many-spies-fix" ,
12
13
" rude-berries-rescue" ,
13
14
" shy-turkeys-count" ,
14
- " silly-seas-impress"
15
+ " silly-seas-impress" ,
16
+ " tasty-radios-rhyme" ,
17
+ " two-pets-rescue"
15
18
]
16
19
}
Original file line number Diff line number Diff line change 1
1
# @heymp/scratchpad
2
2
3
+ ## 1.0.0-next.7
4
+
5
+ ### Minor Changes
6
+
7
+ - c31a8f9: Expose Playwright runtime context to scratchpad.config.js [ #40 ] ( https://github.com/heyMP/scratchpad/issues/40 )
8
+
9
+ ` scratchpad.config.js `
10
+
11
+ ``` js
12
+ export default /** @type {import('@heymp/scratchpad/config').Config} */ ({
13
+ devtools: true ,
14
+ playwright: async (args ) => {
15
+ const { context , page } = args;
16
+ // block esmodule shims
17
+ await context .route (/ es-module-shims\. js/ , async (route ) => {
18
+ await route .abort ();
19
+ });
20
+ await page .goto (" https://ux.redhat.com" );
21
+ },
22
+ });
23
+ ```
24
+
25
+ - f6fb1f2: Add option for writing the js output to a file based on the compiled
26
+ ts target. Use ` --ts-write ` as a boolean flag in the cli.
27
+
28
+ ### Patch Changes
29
+
30
+ - c31a8f9: Add typings for scratchpad.config.js [ #37 ] ( https://github.com/heyMP/scratchpad/issues/37 )
31
+
32
+ ``` js
33
+ export default /** @type {import('@heymp/scratchpad/config').Config} */ ({
34
+ devtools: true ,
35
+ headless: true ,
36
+ url: " https://google.com" ,
37
+ });
38
+ ```
39
+
3
40
## 1.0.0-next.6
4
41
5
42
### Minor Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @heymp/scratchpad" ,
3
- "version" : " 1.0.0-next.6 " ,
3
+ "version" : " 1.0.0-next.7 " ,
4
4
"main" : " bin/cli.js" ,
5
5
"type" : " module" ,
6
6
"bin" : {
You can’t perform that action at this time.
0 commit comments