Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
12d31533f5 | |||
f9b8a356e4 | |||
408b6f8fc5 | |||
80dd3ee970 | |||
717e1d29ed | |||
a8254e6962 | |||
35ee69981d | |||
bd66e9a897 |
@@ -24,18 +24,6 @@ mirror:
|
|||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
|
||||||
snyk:
|
|
||||||
image: registry.gitlab.com/hosttoday/ht-docker-node:snyk
|
|
||||||
stage: security
|
|
||||||
script:
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci command npm install --ignore-scripts
|
|
||||||
- npmci command snyk test
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
|
|
||||||
# ====================
|
# ====================
|
||||||
# test stage
|
# test stage
|
||||||
# ====================
|
# ====================
|
||||||
|
30
.snyk
30
.snyk
@@ -21,4 +21,34 @@ ignore:
|
|||||||
- parcel-bundler > htmlnano > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp > minimist:
|
- parcel-bundler > htmlnano > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp > minimist:
|
||||||
reason: None given
|
reason: None given
|
||||||
expires: '2020-04-12T17:46:49.672Z'
|
expires: '2020-04-12T17:46:49.672Z'
|
||||||
|
- parcel-bundler > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:01:44.139Z'
|
||||||
|
- parcel-bundler > @parcel/fs > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:01:44.139Z'
|
||||||
|
- parcel-bundler > htmlnano > svgo > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:01:44.139Z'
|
||||||
|
- parcel-bundler > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:01:44.139Z'
|
||||||
|
- parcel-bundler > htmlnano > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:01:44.139Z'
|
||||||
|
- parcel-bundler > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:07:10.923Z'
|
||||||
|
- parcel-bundler > @parcel/fs > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:07:10.923Z'
|
||||||
|
- parcel-bundler > htmlnano > svgo > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:07:10.923Z'
|
||||||
|
- parcel-bundler > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:07:10.923Z'
|
||||||
|
- parcel-bundler > htmlnano > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp > minimist:
|
||||||
|
reason: None given
|
||||||
|
expires: '2020-04-12T18:07:10.923Z'
|
||||||
patch: {}
|
patch: {}
|
||||||
|
1970
package-lock.json
generated
1970
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tswatch",
|
"name": "@gitzone/tswatch",
|
||||||
"version": "1.0.36",
|
"version": "1.0.40",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "watch typescript projects during development",
|
"description": "watch typescript projects during development",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@@ -42,11 +42,6 @@ export class TsWatch {
|
|||||||
console.log(
|
console.log(
|
||||||
'bundling TypeScript files to "dist_watch" Note: This is for development only!'
|
'bundling TypeScript files to "dist_watch" Note: This is for development only!'
|
||||||
);
|
);
|
||||||
this.smartserve = new plugins.smartserve.SmartServe({
|
|
||||||
port: 3001,
|
|
||||||
injectReload: true,
|
|
||||||
serveDir: plugins.path.join(paths.cwd, './dist_watch/')
|
|
||||||
});
|
|
||||||
const parcel = new Parcel();
|
const parcel = new Parcel();
|
||||||
await parcel.start();
|
await parcel.start();
|
||||||
break;
|
break;
|
||||||
|
@@ -65,7 +65,7 @@ export class Watcher {
|
|||||||
if (typeof this.options.commandToExecute === 'string') {
|
if (typeof this.options.commandToExecute === 'string') {
|
||||||
if (this.currentExecution) {
|
if (this.currentExecution) {
|
||||||
logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
logger.log('ok', `reexecuting ${this.options.commandToExecute}`);
|
||||||
process.kill(-this.currentExecution.childProcess.pid);
|
process.kill(this.currentExecution.childProcess.pid, 'SIGQUIT');
|
||||||
} else {
|
} else {
|
||||||
logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
logger.log('ok', `executing ${this.options.commandToExecute} for the first time`);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user