File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 - ' --dry-run'
1212 - ' --provenance --access public'
1313 - ' --provenance --access public --tag preview'
14- - ' --access public'
14+
15+ permissions :
16+ contents : read
17+ id-token : write
1518
1619jobs :
1720 build :
1821 runs-on : ubuntu-latest
19- permissions :
20- contents : read
21- id-token : write
2222 steps :
23- - uses : actions/checkout@v4
24- - uses : actions/setup-node@v4
23+ - uses : actions/checkout@v5
24+ - uses : actions/setup-node@v5
2525 with :
26- node-version : ' 18.x '
26+ node-version : ' 22 '
2727 registry-url : ' https://registry.npmjs.org'
2828 scope : ' @vtbag'
2929 - run : npm install -g npm
30+ - run : npm --version
3031 - run : npm ci
3132 - run : npm run build
3233 - run : npm publish ${OPTIONS}
3334 env :
3435 OPTIONS : ${{ inputs.options }}
35- NODE_AUTH_TOKEN : ${{ secrets.VTBAG_NPM_TOKEN }}
36+ NODE_AUTH_TOKEN : ${{ secrets.VTBOT_NPM_TOKEN }}
Original file line number Diff line number Diff line change 11declare global {
2- type UpdateCallback = undefined | ( ( ) => void | Promise < void > ) ;
3- type StartViewTransitionParameter = { types ?: string [ ] | Set < string > ; update ?: UpdateCallback } ;
4-
52 interface Document {
6- startViewTransition ?( param ?: StartViewTransitionParameter | UpdateCallback ) : ViewTransition ;
3+ startViewTransition ?(
4+ param ?: StartViewTransitionOptions | ViewTransitionUpdateCallback
5+ ) : ViewTransition ;
6+ }
7+ interface Element {
8+ startViewTransition ?(
9+ param ?: StartViewTransitionOptions | ViewTransitionUpdateCallback
10+ ) : ViewTransition ;
711 }
812 interface PageSwapEvent extends Event {
913 viewTransition ?: ViewTransition ;
@@ -31,6 +35,7 @@ declare global {
3135
3236 interface ViewTransition {
3337 readonly types ?: Set < string > ;
38+ readonly transitionRoot ?: Element ;
3439 }
3540 interface Window {
3641 navigation ?: Navigation ;
You can’t perform that action at this time.
0 commit comments