Commit Graph

48 Commits

Author SHA1 Message Date
ba0294cbcd Use uris over using node paths module
vscode.Uri.joinPath is the prefered method for working with paths as it supports web properly
2020-08-06 13:55:57 -07:00
9819038c9e Recomend eslint for all samples 2020-05-29 14:20:07 -07:00
4efd427258 Enable semicolon rule for eslint 2020-05-29 14:13:32 -07:00
2c377b7828 Update extensions to build with typescript 3.9.4
Also fixing some compile errors in configuration-sample
2020-05-29 14:11:10 -07:00
7b9a0a8c4c Use eslint instead of tslint
Fixes #266
2020-05-29 14:01:37 -07:00
cd6c33d101 Updates to target es2019
Fixes #265

Also excludes dom typings from the lib files so that dom methods are not suggested
2020-05-06 12:14:11 -07:00
e8da8b531a Update tslint version to 5.19
This fixeds a few vulnerabilities listed when running `npm i`
2020-04-14 18:05:51 -07:00
209a84c1af Bump all samples to use TS 3.8.3
Also required bumping `@types/node` to 12.12.x
2020-04-14 18:01:21 -07:00
708bc30908 Use asWebviewUri instead of vscode-resource directly 2019-09-13 16:37:37 -07:00
104c10a3f2 Add repository field 2019-09-13 16:32:43 -07:00
4c2ba979fc Us TS 3.5.1 for all samples 2019-05-31 11:51:11 -07:00
d835433d33 Remove extra space in compile task 2019-05-30 18:28:15 -07:00
dce3875a93 Don't set explicit lib in tsconfigs
The one we get from the `target` is correct in almost all cases for VS Code
2019-05-30 18:24:08 -07:00
5553fee13b Fixing lint errors for many of the projects 2019-05-10 14:43:54 -07:00
03cf5fa9f1 Enable strict mode for many samples 2019-05-10 14:34:54 -07:00
f4f21dcb03 Bump tslint versions
Fixes some npm audit issues
2019-05-09 17:04:08 -07:00
139fa5b39a Use latest TS version across examples 2019-05-09 16:59:56 -07:00
0b26276bb6 Use vscode/@types for most extension samples
Fixes #180

Changes from using `vscode` to `@types/vscode` for the majority of extension samples. The `@types/vscode` package is much smaller and does not pull in any dependencies.

Other changes:

- Remove so empty test files
- Bump engine versions to match @types/vscode versions
- Use `npm run compile` for most `vscode:prepublish` scripts
2019-05-09 14:52:38 -07:00
8143df9875 Enforce tab indentation 2019-03-26 15:53:36 -07:00
49efdab65c Fixed typo 2019-03-25 10:57:10 -04:00
9d00b5d98d List vscode as a dev-dependecy, not a regular dep 2019-02-19 11:48:35 -08:00
7b88eb6897 fix typo 2019-01-30 18:57:15 +09:00
8ea8620555 Merge pull request #130 from Microsoft/octref/ext-docs-links
[DO NOT MERGE] Update all links for Microsoft/vscode-docs#2165
2018-12-21 13:41:53 -08:00
8fd574f895 Normalize main to 'extension.js' 2018-12-17 10:21:13 -08:00
a7420d7d1a Update all links for Microsoft/vscode-docs#2165 2018-12-16 21:08:20 -08:00
97f49bd82a Remove all tslint recommendation per #110 2018-11-26 12:06:31 -08:00
e41516360c Various cleanup 2018-11-08 10:50:21 -08:00
e361ab05b5 Add tslint as devDependency for all samples 2018-11-08 10:39:34 -08:00
4950d8df62 Fix main for updated tsconfig
Caused by 47900d3c89
2018-11-01 16:54:13 -07:00
7a15f004cd Drop prettier extension recommendation 2018-10-23 22:25:55 -07:00
140ebceff9 Drop one more rule from tslint 2018-10-23 22:17:55 -07:00
b72fae94fa Revert "Pretter for each ts file"
This reverts commit 23674b2cfe.
2018-10-23 22:14:56 -07:00
47900d3c89 Update webview sample for Sample Guideline 2018-10-17 12:21:12 -07:00
7501ea71a4 Convert all samples to use vscode-samples Microsoft/vscode-vsce#299 2018-10-15 11:53:21 -07:00
23674b2cfe Pretter for each ts file 2018-10-10 09:37:51 -07:00
154ad38e3f Convert indentation to tabs for all JSON files 2018-10-08 15:37:24 -07:00
252e6b2f71 Update deps 2018-07-18 18:58:26 -07:00
f63e84e288 Update to target VS Code 1.25+ 2018-07-18 18:56:52 -07:00
45ba81ef63 Adding state persist example 2018-06-28 16:39:29 -07:00
f1d57cecd7 Fixed task.json for webview sample 2018-06-26 22:15:29 +02:00
aa2c2aea69 fix github reported vulnerability #49146 2018-05-04 08:59:19 +02:00
1190718581 Fixing launch json 2018-04-26 14:01:18 -07:00
96abcf9805 Fixing some comments 2018-04-26 14:01:18 -07:00
50e23a2acd Update for api changes and to use nonce 2018-04-25 23:13:29 -07:00
6d6ff7d191 Distinguish between watch and compile 2018-04-25 11:25:10 -07:00
52d64963ad Add note about csp 2018-04-24 15:29:16 -07:00
0f0fdb03b1 Small cleanup 2018-04-24 15:13:55 -07:00
c8cbd892ac Add webview sample 2018-04-24 15:11:50 -07:00