Skip to content

Commit

Permalink
type: fix tsconfig.json errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 31, 2021
1 parent 2674621 commit 95c2227
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: package/react-native-uiw
working-directory: package/react-native-uiw
run: yarn install && yarn run start
run: npm install && npm run start

- name: Is a tag created auto?
id: create_tag
Expand Down
11 changes: 7 additions & 4 deletions package/react-native-uiw/script/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,21 @@ function getPath(rootPath, result = []) {

const tsc = {
compilerOptions: {
// allowJs: true,
allowJs: false,
skipLibCheck: true,
esModuleInterop: true,
outDir: 'lib',
// isolatedModules: true,
declaration: true,
jsx: 'react-native',
lib: ['es6'],
resolveJsonModule: true,
isolatedModules: true,
moduleResolution: 'node',
allowSyntheticDefaultImports: true,
strict: true,
target: 'esnext',
typeRoots: ['node_modules/@types/'],
target: "esnext",
module: "esnext",
types: ["jest", "node"],
baseUrl: '.',
},
exclude: ['node_modules'],
Expand Down

0 comments on commit 95c2227

Please sign in to comment.