Commit Graph

53 Commits

Author SHA1 Message Date
2bc23042f1 Update samples to build with TS 4.5.5 2022-02-09 11:38:40 -08:00
7923482046 Fix the 'Cancel' button in comment-sample (#492)
The code behind 'Cancel' was identical to the code for 'Save'. Since the
commenting API is modifying the body of the comment, we need to save the
previous value in the Comment object.
2022-01-24 14:21:01 +01:00
355d5851a8 Build extensions using TS 4.4 2021-10-04 12:24:14 -07:00
8cbec81b9d Bump ansi-regex from 5.0.0 to 5.0.1 in /comment-sample
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 20:31:45 +00:00
95618adb09 Bump minor TS version 2021-07-13 18:48:28 -07:00
a92db32ca1 Adding repo and license fields to samples that were missing them 2021-06-11 17:10:40 -07:00
f842e7a008 Audit fix 2021-06-11 17:01:56 -07:00
1f9cfe91f1 Bump samples to TS 4.3 2021-06-11 17:00:34 -07:00
0257458185 Bump lodash from 4.17.20 to 4.17.21 in /comment-sample
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 09:21:51 +00:00
5489dd3629 Sorting installs 2021-03-02 16:02:01 -08:00
54053dd917 Pick up new eslint versions 2021-03-02 15:59:42 -08:00
32e50e81c0 Use TypeScript 4.2 for building all samples 2021-03-02 15:48:43 -08:00
9b8701dcea run npm audit fix for all sample projects 2020-09-10 15:26:54 -07:00
23e5167c2f Update samples to compile with TS 4.0.2 2020-09-10 15:20:30 -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
1e3ddac3e1 Fix the 'finishDraft' action 2019-10-16 11:53:12 -07:00
a03e8175c2 Use all comment related context keys in commenting sample, fixes https://github.com/microsoft/vscode/issues/74553 2019-10-16 09:48:43 -07:00
7b4d139f4b Fix #209 2019-08-21 16:17:01 -07:00
8b25a4bee3 Normalize comment sample 2019-08-01 14:28:12 -07:00
4f483e1b25 No yarn, only npm 2019-08-01 14:26:41 -07:00
5d4c7045ba Update comment sample 2019-08-01 10:50:38 -07:00
2d9a7922e9 dispose all comments 2019-07-19 11:07:03 -07:00
ea632dfeae Drop unused scripts 2019-06-26 14:55:03 -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
33d5dda337 Rename precondition to enablement in comments sample, fixes https://github.com/microsoft/vscode/issues/74541 2019-05-29 09:51:23 -07:00
08a74e7c97 Fix typings warning 2019-05-23 09:48:22 -07:00
9793ad11db use typings from master 2019-05-23 09:45:14 -07:00
0fdddb75e2 Merge pull request #185 from microsoft/rr/comments
update comments namespace
2019-05-23 09:43:11 -07:00
8d6054d932 update context key 2019-05-23 09:21:34 -07:00
bc3a287d6a update comments namespace 2019-05-21 12:03:32 -07:00
21f9ceff1c extract the note 2019-05-17 18:52:59 -07:00
cfcdec6f41 finish draft 2019-05-17 18:39:54 -07:00
78e140cbb0 start draft 2019-05-17 18:36:36 -07:00
be77259d24 Save comment 2019-05-17 18:31:33 -07:00
d13c018d78 new api 2019-05-17 16:40:30 -07:00
22a8ff0217 Use latest vscode or "@types/vscode" 2019-05-10 15:23:49 -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
ad8e77725b Update comments api. 2019-04-30 15:10:43 -07:00