File tree Expand file tree Collapse file tree 8 files changed +3635
-4101
lines changed
packages/playground/kit-node/__tests__ Expand file tree Collapse file tree 8 files changed +3635
-4101
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" :
" https://unpkg.com/@changesets/[email protected] /schema.json" ,
3
- "changelog" : " @changesets/cli/ changelog" ,
3
+ "changelog" : " @changesets/changelog-github " ,
4
4
"commit" : false ,
5
5
"linked" : [],
6
6
"access" : " public" ,
Original file line number Diff line number Diff line change 31
31
uses : actions/checkout@v2
32
32
33
33
- name : install pnpm
34
- run : npm i -g pnpm@5
34
+ run : npm i -g pnpm@6
35
35
- name : set pnpm store-dir
36
36
run : pnpm config set store-dir ${{ env.pnpm_store_path }}
37
37
- name : pnpm-store
82
82
path : ${{ env.pnpm_store_path }}
83
83
key : ${{ matrix.os }}-node-v${{ matrix.node }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
84
84
- name : install pnpm
85
- run : npm i -g pnpm@5
85
+ run : npm i -g pnpm@6
86
86
- name : set pnpm store-dir
87
87
run : pnpm config set store-dir ${{ env.pnpm_store_path }}
88
88
- name : install
@@ -117,7 +117,7 @@ jobs:
117
117
path : ${{ env.pnpm_store_path }}
118
118
key : ${{ matrix.os }}-node-v${{ matrix.node }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
119
119
- name : install pnpm
120
- run : npm i -g pnpm@5
120
+ run : npm i -g pnpm@6
121
121
- name : set pnpm store-dir
122
122
run : pnpm config set store-dir ${{ env.pnpm_store_path }}
123
123
- name : install
@@ -150,7 +150,7 @@ jobs:
150
150
key : ${{ matrix.os }}-node-v${{ matrix.node }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
151
151
152
152
- name : install pnpm
153
- run : npm i -g pnpm@5
153
+ run : npm i -g pnpm@6
154
154
- name : set pnpm store-dir
155
155
run : pnpm config set store-dir ${{ env.pnpm_store_path }}
156
156
- name : install
@@ -209,7 +209,7 @@ jobs:
209
209
path : ${{ env.pnpm_store_path }}
210
210
key : ${{ matrix.os }}-node-v${{ matrix.node }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
211
211
- name : install pnpm
212
- run : npm i -g pnpm@5
212
+ run : npm i -g pnpm@6
213
213
- name : set pnpm store-dir
214
214
run : pnpm config set store-dir ${{ env.pnpm_store_path }}
215
215
- name : install
Original file line number Diff line number Diff line change 26
26
node-version : 14
27
27
# install pnpm and try to reuse cache from ci action by using same cache keys
28
28
- name : install pnpm
29
- run : npm i -g pnpm@5
29
+ run : npm i -g pnpm@6
30
30
- name : set pnpm store-dir
31
31
run : pnpm config set store-dir ${{ env.pnpm_store_path }}
32
32
- name : pnpm-store
Original file line number Diff line number Diff line change
1
+ engine-strict = true
File renamed without changes.
Original file line number Diff line number Diff line change 24
24
"format:fix" : " pnpm format -- --write" ,
25
25
"fixup" : " run-s lint:fix format:fix" ,
26
26
"update-deps" : " ncu -u" ,
27
- "release" : " pnpm run build && pnpx changeset publish"
27
+ "release" : " pnpm run build && pnpx --no changeset publish"
28
28
},
29
29
"devDependencies" : {
30
+ "@changesets/changelog-github" : " ^0.3.0" ,
30
31
"@changesets/cli" : " ^2.15.0" ,
31
32
"@microsoft/api-extractor" : " ^7.13.2" ,
32
33
"@types/fs-extra" : " ^9.0.10" ,
59
60
"npm-check-updates" : " ^11.3.0" ,
60
61
"npm-run-all" : " ^4.1.5" ,
61
62
"playwright-core" : " ^1.10.0" ,
62
- "pnpm" : " ^5.18.9 " ,
63
+ "pnpm" : " ^6.0.1 " ,
63
64
"prettier" : " ^2.2.1" ,
64
65
"prettier-plugin-svelte" : " ^2.2.0" ,
65
66
"rimraf" : " ^3.0.2" ,
87
88
]
88
89
},
89
90
"engines" : {
90
- "pnpm" : " >=5 " ,
91
+ "pnpm" : " >=6 " ,
91
92
"yarn" : " forbidden, use pnpm" ,
92
- "npm" : " forbidden, use pnpm"
93
+ "npm" : " forbidden, use pnpm" ,
94
+ "node" : " >=12.17.0"
93
95
}
94
96
}
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ describe('kit-node', () => {
84
84
85
85
it ( 'should render additional child components' , async ( ) => {
86
86
let buttons = await page . $$ ( 'button' ) ;
87
- expect ( buttons . length ) . toBe ( 1 ) ;
87
+ expect ( buttons ) . toHaveLength ( 1 ) ;
88
88
expect ( await getText ( buttons [ 0 ] ) ) . toBe ( 'Clicks: 0' ) ;
89
89
await updateIndexSvelte ( ( content ) =>
90
90
content . replace (
@@ -93,7 +93,7 @@ describe('kit-node', () => {
93
93
)
94
94
) ;
95
95
buttons = await page . $$ ( 'button' ) ;
96
- expect ( buttons . length ) . toBe ( 2 ) ;
96
+ expect ( buttons ) . toHaveLength ( 2 ) ;
97
97
expect ( await getText ( buttons [ 0 ] ) ) . toBe ( 'Clicks: 0' ) ;
98
98
expect ( await getText ( buttons [ 1 ] ) ) . toBe ( 'Clicks: 0' ) ;
99
99
await buttons [ 1 ] . click ( ) ;
@@ -103,7 +103,7 @@ describe('kit-node', () => {
103
103
content . replace ( '<Counter id="hmr-test-counter"/>\n' , '' )
104
104
) ;
105
105
buttons = await page . $$ ( 'button' ) ;
106
- expect ( buttons . length ) . toBe ( 1 ) ;
106
+ expect ( buttons ) . toHaveLength ( 1 ) ;
107
107
expect ( await getText ( buttons [ 0 ] ) ) . toBe ( 'Clicks: 0' ) ;
108
108
} ) ;
109
109
You can’t perform that action at this time.
0 commit comments