Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ ignores:
- retry # Use OperationOptions from retry in templates but not recognized by depcheck
- '@types/retry' # Corresponds to retry
- '@openapitools/openapi-generator-cli' # Used by openapi-generator-cli in `npm run renderTemplates`
- '@types/node-fetch' # Used by multiple files for fetch types
- chai # Used by multiple files for testing
- sinon # Used by multiple files for testing
- nock # Used by multiple files for testing to mock API calls
- handlebars # Used by generation script to generate version.ts and top level index.ts files
- fs-extra # Used by generation script and updateApis script
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
renderedTemplates
dist/**/*.ts
node_modules
3 changes: 2 additions & 1 deletion base.tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"noErrorTruncation": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"preserveConstEnums": true
"preserveConstEnums": true,
"skipLibCheck": true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing we're skipping lib check because we removed some types from devDependencies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated these files as we didn't need certain changes, but the issue is that we were trying to transpile some typescript in the node_modules that was causing an error when you ran npm run build

> tsc && eslint dist --ext .ts,.js --quiet --fix

node_modules/@rdfjs/types/index.d.ts:3:1 - error TS1383: Only named exports may use 'export type'.

3 export type * from './data-model';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@rdfjs/types/index.d.ts:4:1 - error TS1383: Only named exports may use 'export type'.

4 export type * from './stream';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@rdfjs/types/index.d.ts:5:1 - error TS1383: Only named exports may use 'export type'.

5 export type * from './dataset';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@rdfjs/types/index.d.ts:6:1 - error TS1383: Only named exports may use 'export type'.

6 export type * from './query';

}
}
Loading