convert the sql services extension to use yarn (#9891)

* convert the sql services extensions to use yarn

* update
This commit is contained in:
Alan Ren
2020-04-07 15:59:31 -07:00
committed by GitHub
parent 6bc123d76b
commit fd314ec030
5 changed files with 4303 additions and 6584 deletions

View File

@@ -1,2 +1,3 @@
node_modules node_modules
*.vsix *.vsix
typings/*

View File

@@ -1,7 +1,7 @@
This is a sample extension that will show some basic model-backed UI scenarios. The long-term goal is to use SQL Service querying (e.g. see if Agent and other services are running) and visualize in interesting ways. Additional suggestions for improving this sample are welcome. This is a sample extension that will show some basic model-backed UI scenarios. The long-term goal is to use SQL Service querying (e.g. see if Agent and other services are running) and visualize in interesting ways. Additional suggestions for improving this sample are welcome.
## Useful development commands ## Run the following commands to produce an extension installation package
- Download `sqlops` API typings for local development: `gulp copytypings`
- Install dependencies: `npm install` - `yarn install` - to install the dependencies
- Compile: `gulp compile` or `gulp watch` to automatically recompile changes - `yarn build` - to build the code
- Package: `gulp package`. The packaged .vsix will be placed at `out/sqlservices.vsix`. - `vsce package` - to produce an extension installation package

File diff suppressed because it is too large Load Diff

View File

@@ -65,9 +65,7 @@ gulp.task('compile:src', function (done) {
gulp.task('compile:test', function (done) { gulp.task('compile:test', function (done) {
let srcFiles = [ let srcFiles = [
config.paths.project.root + '/test/**/*.ts', config.paths.project.root + '/test/**/*.ts'];
config.paths.project.root + '/typings/**/*.ts'
];
return gulp.src(srcFiles) return gulp.src(srcFiles)
.pipe(srcmap.init()) .pipe(srcmap.init())

File diff suppressed because it is too large Load Diff