Skip to content

Commit

Permalink
Avoid ESM-related issues (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Jul 23, 2021
1 parent 3670c88 commit b8bc590
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,19 @@ module.exports = () => {
task: async () => {
await execa('npm', [
'install',
'meow',
'ink',
'meow@9',
'ink@3',
'react',
...dependencies
]);

return execa('npm', [
'install',
'--save-dev',
'xo',
'xo@0.39.1',
'ava',
'ink-testing-library',
'chalk',
'chalk@4',
'eslint-config-xo-react',
'eslint-plugin-react',
'eslint-plugin-react-hooks',
Expand Down
1 change: 1 addition & 0 deletions templates/ts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"module": "commonjs",
"jsx": "react",
"esModuleInterop": true,
"outDir": "dist"
Expand Down

0 comments on commit b8bc590

Please sign in to comment.