-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify `scripts/compile-references.js`. TypeScript Server now properly understand TypeScript references for navigation, so we can simplify our `tsconfig` setup. Rewrite some `npm/yarn` scripts to do less on install (`yarn` or `yarn install`). It will only run the required `prepare` scripts across our packages, wire `tsconfig.json` files and build the TypeScript sources. To build the example applications you need to run one of `yarn browser build`, `yarn electron build` or `yarn build:examples`. Linting is done as part of CI, but it won't automatically run locally anymore. You can run `yarn lint` to lint your code. For the best experience you should also enable the ESLint extension in your IDE. Installation: - `yarn` install deps and compile TypeScript. - `yarn dowload:plugins` to install plugins. Building: - `yarn build` build TypeScript and both apps. - `yarn compile` build TypeScript. - `yarn browser build` build both TypeScript and the browser app. - `yarn electron build` build both TypeScript and the electron app. - `yarn build:examples` build both apps. Watching: - `yarn watch` watch TypeScript and both example apps. - `yarn watch:ts` watch only TypeScript. - `yarn browser watch` watch both TypeScript and the browser app. - `yarn electron watch` watch both TypeScript and the electron app. Linting: - `yarn lint` lint TypeScript sources.
- Loading branch information
1 parent
a73a746
commit 23e09c2
Showing
137 changed files
with
3,878 additions
and
2,519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
{ | ||
"compilerOptions": { | ||
"skipLibCheck": true, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"noImplicitAny": true, | ||
"noEmitOnError": false, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"strictNullChecks": true, | ||
"experimentalDecorators": true, | ||
"emitDecoratorMetadata": true, | ||
"downlevelIteration": true, | ||
"resolveJsonModule": true, | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"target": "ES2017", | ||
"jsx": "react", | ||
"lib": [ | ||
"ES2017", | ||
"dom" | ||
], | ||
"sourceMap": true | ||
} | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"compilerOptions": { | ||
"skipLibCheck": true, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"noImplicitAny": true, | ||
"noEmitOnError": false, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"strictNullChecks": true, | ||
"experimentalDecorators": true, | ||
"emitDecoratorMetadata": true, | ||
"downlevelIteration": true, | ||
"resolveJsonModule": true, | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"target": "ES2017", | ||
"jsx": "react", | ||
"lib": [ | ||
"ES2017", | ||
"dom" | ||
], | ||
"sourceMap": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.