Matt Bierner
104275cb9f
Add tsconfig.strictNullChecks.json
...
Part of #60565
Adds a new `tsconfig.strictNullChecks.json` project that does not emit anything and is only used for enabling strict null checks on a subset of the vscode codebase.
Opt `iterator.ts` into strict null checking.
Fix our build scripts to properly handle `extends`
2018-10-10 14:55:06 -07:00
Alex Dima
d729e50521
Fix standalone editor gulp scripts.
...
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution
Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Johannes Rieken
ba0448d8bf
add missing compile
2018-10-05 11:48:42 +02:00
Matt Bierner
4b2aed7bb2
let -> const
2018-10-04 19:01:34 -07:00
Matt Bierner
8ecebfb761
var -> let
2018-10-04 19:01:34 -07:00
Matt Bierner
e8475ad59f
Enable noUnusedParameters in build scripts
2018-10-03 17:26:47 -07:00
Matt Bierner
5de9c9bf8b
Compile build in strict mode
2018-10-03 17:26:47 -07:00
Matt Bierner
494395f62f
Adding correct typings for event-stream this values
2018-10-03 17:26:47 -07:00
Matt Bierner
86fbc62cf1
Remove some unused types and variables
2018-10-03 17:26:47 -07:00
Matt Bierner
b3f85e5f19
Add explicit any typings for this
...
Prep to compile build in strict mode
2018-10-03 17:26:47 -07:00
Matt Bierner
f7456ebf90
Switch to use standard @types/node types instead of our customized version
...
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:
- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number
These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here
This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07:00
Matt Bierner
63e3162bc9
Switch to use @types
for pump
2018-10-03 14:18:36 -07:00
Matt Bierner
38fbec9568
Converting some require
imports to import from
imports
...
This ensures we pick up the correct typings for these imports
2018-10-03 14:18:36 -07:00
Matt Bierner
7026335451
Switching to use @types where possible in build
2018-10-03 10:47:32 -07:00
Matt Bierner
ac737307d7
Enable noImplicitAny in build
2018-10-03 10:47:32 -07:00
Matt Bierner
fe45a7d21f
Fix remaining strict null errors in build scripts
2018-10-03 10:47:32 -07:00
Matt Bierner
5862b41657
Fixing strict null rules in tslint
2018-10-03 10:47:32 -07:00
Matt Bierner
31e0752065
Fixing strict null checks in build util
2018-10-03 10:47:32 -07:00
Matt Bierner
ddc5eeee01
Fixing more strict null errors in build
2018-10-03 10:47:32 -07:00
Matt Bierner
6b9ec57923
Fix bundle.ts for strict null checks
2018-10-03 10:47:32 -07:00
Matt Bierner
0434bd7915
Clean up type inclusion logic
2018-10-02 15:59:35 -07:00
Matt Bierner
f5850c9510
Try using @types for typings instead of our custom versions in src/typings
2018-10-02 14:07:19 -07:00
Matt Bierner
fb51020ae3
Switch to use node module resolution
...
This is the modern form of module resolution recommend by typescript
2018-10-02 10:24:20 -07:00
Joao Moreno
13436602b1
Revert "build script: log dowload finished"
...
This reverts commit 3cfe173979
.
2018-10-01 12:44:39 +02:00
Joao Moreno
707787c5b8
update yarn.lock files to use integrity
2018-09-30 16:34:43 +02:00
Martin Aeschlimann
3cfe173979
build script: log dowload finished
2018-09-29 20:54:20 +02:00
Joao Moreno
ece59d53dc
build: sequentialize extension packaging
2018-09-26 15:05:10 +02:00
Joao Moreno
bd0e3aa0cc
fix reporter
2018-09-26 14:55:38 +02:00
Joao Moreno
47bf9b65e8
build
2018-09-26 14:41:56 +02:00
Johannes Rieken
f429984045
try-catch for build stats telemetry
2018-09-24 12:55:32 +02:00
Benjamin Pasero
33911f0634
fix #45749
2018-09-24 07:40:35 +02:00
Ramya Rao
ae526292df
Upgrade appinsights ( #58999 )
...
* Upgrade appinsights
* Env, global updates before starting shared process
* Disable console logging from appinsights Fixes #55417
* Move workaround to helper
2018-09-22 23:09:48 -07:00
Joao Moreno
45200866c0
fixes #58589
2018-09-21 12:16:30 +02:00
Joao Moreno
aa5bcf3565
💄
2018-09-21 08:04:02 +02:00
Johannes Rieken
6c12277bf8
better error printing when vsce fails
2018-09-20 12:06:55 +02:00
Benjamin Pasero
df2af5cc51
add compilation leftover
2018-09-12 08:59:56 +02:00
kieferrm
3193ed3168
correcting GDPR annotations
2018-09-11 16:47:45 -07:00
Johannes Rieken
b118d76826
bundle stats - include all extensions
2018-09-07 11:33:53 +02:00
Johannes Rieken
f8e67cef5d
bundle stats - include commit
2018-09-07 10:26:36 +02:00
Johannes Rieken
934593d7fd
bundle stats: JSON stringify before sending data
2018-09-06 20:02:37 +02:00
Johannes Rieken
9c3d240c9b
build stats - send one object with size and count properties
2018-09-06 18:41:31 +02:00
Johannes Rieken
94c4825153
bundle stats, rename event, tweak gdpr comment
2018-09-06 11:40:52 +02:00
Johannes Rieken
9536dde3b4
app insights challanges
2018-09-06 10:25:45 +02:00
Johannes Rieken
3885d4613e
Merge branch 'master' into joh/vsce-next
2018-09-05 14:06:12 +02:00
Johannes Rieken
cf94186168
tweak event name, add GDPR comment
2018-09-05 10:30:12 +02:00
Matt Bierner
cb81c2c241
Build using ts 3.0 ( #57906 )
...
* Build VS Code using TS 3.0
Fixes #57151
2018-09-04 15:25:39 -07:00
Johannes Rieken
293b1a4eef
stats - send telemetry event about bundle size and file count in extensions
2018-09-04 14:12:26 +02:00
Johannes Rieken
ccec2c9543
use vsce packagedDependencies
2018-09-04 12:29:23 +02:00
Johannes Rieken
07141d4e6b
print all stats at the end of the package task
2018-09-03 11:51:26 +02:00
Johannes Rieken
165bb1aa63
tweaks, add the stream to the bundle step
2018-08-31 13:28:24 +02:00