File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 166166 "contracts:compile:v3" : " typechain --target ethers-v5 --out-dir src/types/v3 \" ./node_modules/@uniswap/**/artifacts/contracts/**/*.json\" " ,
167167 "contracts:compile" : " yarn contracts:compile:abi && yarn contracts:compile:v3" ,
168168 "graphql:generate" : " graphql-codegen --config codegen.yml" ,
169- "prei18n:extract" : " touch src/locales/en-US.po " ,
169+ "prei18n:extract" : " node prei18n-extract.js " ,
170170 "i18n:extract" : " lingui extract --locale en-US" ,
171171 "i18n:compile" : " yarn i18n:extract && lingui compile" ,
172172 "i18n:pseudo" : " lingui extract --locale pseudo && lingui compile" ,
Original file line number Diff line number Diff line change 1+ import { exec } from 'child_process'
2+ const isWindows = process . platform === 'win32' || / ^ ( m s y s | c y g w i n ) $ / . test ( process . env . OSTYPE )
3+
4+ if ( isWindows ) {
5+ exec ( `type nul > src/locales/en-US.po` )
6+ } else {
7+ exec ( `touch src/locales/en-US.po` )
8+ }
You can’t perform that action at this time.
0 commit comments