File tree 7 files changed +11
-10
lines changed
7 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 18
18
- ' packages/endpoint/src/schemas/**'
19
19
- ' packages/core/src/**'
20
20
- ' examples/benchmark/**'
21
+ - ' .github/workflows/benchmark.yml'
21
22
jobs :
22
23
benchmark :
23
24
29
30
fetch-depth : 1
30
31
- uses : actions/setup-node@v4
31
32
with :
32
- node-version : ' 20 '
33
+ node-version : ' 22 '
33
34
cache : ' yarn'
34
35
- name : Install packages
35
36
run : |
Original file line number Diff line number Diff line change 16
16
- uses : actions/checkout@v4
17
17
- uses : actions/setup-node@v4
18
18
with :
19
- node-version : ' 20 '
19
+ node-version : ' 22 '
20
20
cache : ' yarn'
21
21
- name : Install packages
22
22
run : |
Original file line number Diff line number Diff line change 1
- import data from './data.json' assert { type : 'json ' } ;
1
+ import data from './data.json' with { type : 'json' } ;
2
2
import {
3
3
createReducer ,
4
4
initialState ,
@@ -17,7 +17,7 @@ import {
17
17
User ,
18
18
ProjectSchemaCollection ,
19
19
} from './schemas.js' ;
20
- import userData from './user.json' assert { type : 'json ' } ;
20
+ import userData from './user.json' with { type : 'json' } ;
21
21
22
22
export default function addReducerSuite ( suite ) {
23
23
let state = initialState ;
Original file line number Diff line number Diff line change 1
- import data from './data.json' assert { type : 'json ' } ;
1
+ import data from './data.json' with { type : 'json' } ;
2
2
import { Entity } from './dist/index.js' ;
3
3
import { printStatus } from './printStatus.js' ;
4
4
import {
Original file line number Diff line number Diff line change 1
- import data from './data.json' assert { type : 'json ' } ;
1
+ import data from './data.json' with { type : 'json' } ;
2
2
import {
3
3
Entity ,
4
4
normalize ,
@@ -16,7 +16,7 @@ import {
16
16
ProjectSchemaMixin ,
17
17
User ,
18
18
} from './schemas.js' ;
19
- import userData from './user.json' assert { type : 'json ' } ;
19
+ import userData from './user.json' with { type : 'json' } ;
20
20
21
21
const { result, entities } = normalize ( data , ProjectSchema ) ;
22
22
const queryState = normalize ( data , ProjectQuery ) ;
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import {
5
5
ProjectWithBuildTypesDescription ,
6
6
User ,
7
7
} from './schemas.js' ;
8
- import data from '../data.json' assert { type : 'json ' } ;
8
+ import data from '../data.json' with { type : 'json' } ;
9
9
import { initialState } from '../dist/index.js' ;
10
10
import { printStatus } from '../printStatus.js' ;
11
- import userData from '../user.json' assert { type : 'json ' } ;
11
+ import userData from '../user.json' with { type : 'json' } ;
12
12
13
13
const { result, entities } = normalize ( data , ProjectSchema ) ;
14
14
Original file line number Diff line number Diff line change 1
- import linkData from './sidebars-endpoint.json' assert { type : 'json' } ;
1
+ import linkData from './sidebars-endpoint.json' with { type : 'json' } ;
2
2
3
3
const redirects = linkData
4
4
. filter ( ( { id } ) => id !== 'api/Index' )
You can’t perform that action at this time.
0 commit comments