File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
- import fs from 'fs/promises ' ;
2
+ import { promises as fs } from 'fs' ;
3
3
import path from 'path' ;
4
4
import { renderString , renderTemplateFile } from '../src' ;
5
5
Original file line number Diff line number Diff line change 87
87
"prepack" : " run-s validate build" ,
88
88
"test" : " ava" ,
89
89
"typeCheck" : " tsc --noEmit" ,
90
- "validate" : " run-p format-check lint typeCheck"
90
+ "validate" : " run-p test format-check lint typeCheck"
91
91
}
92
92
}
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
3
- import fs from 'fs/promises ' ;
3
+ import { promises as fs } from 'fs' ;
4
4
import _glob from 'glob' ;
5
5
import meow from 'meow' ;
6
6
import pLimit from 'p-limit' ;
Original file line number Diff line number Diff line change 1
1
import { get } from '@blakek/deep' ;
2
- import fs from 'fs/promises ' ;
2
+ import { promises as fs } from 'fs' ;
3
3
4
4
interface Data
5
5
extends Record <
You can’t perform that action at this time.
0 commit comments