mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
convert the sql services extension to use yarn (#9891)
* convert the sql services extensions to use yarn * update
This commit is contained in:
1
samples/sqlservices/.gitignore
vendored
1
samples/sqlservices/.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
*.vsix
|
*.vsix
|
||||||
|
typings/*
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
6576
samples/sqlservices/package-lock.json
generated
6576
samples/sqlservices/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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())
|
||||||
|
|||||||
4296
samples/sqlservices/yarn.lock
Normal file
4296
samples/sqlservices/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user