fix(core): update
This commit is contained in:
		
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -16,4 +16,5 @@ dist_web/
 | 
			
		||||
dist_serve/
 | 
			
		||||
dist_ts_web/
 | 
			
		||||
 | 
			
		||||
# custom
 | 
			
		||||
# custom
 | 
			
		||||
test/
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										43
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										43
									
								
								README.md
									
									
									
									
									
								
							@@ -1,25 +1,20 @@
 | 
			
		||||
# npmdocker
 | 
			
		||||
 | 
			
		||||
# @gitzone/npmdocker
 | 
			
		||||
develop npm modules cross platform with docker
 | 
			
		||||
 | 
			
		||||
## Availabililty
 | 
			
		||||
 | 
			
		||||
[](https://www.npmjs.com/package/npmdocker)
 | 
			
		||||
[](https://GitLab.com/gitzone/npmdocker)
 | 
			
		||||
[](https://github.com/gitzone/npmdocker)
 | 
			
		||||
[](https://gitzone.gitlab.io/npmdocker/)
 | 
			
		||||
## Availabililty and Links
 | 
			
		||||
* [npmjs.org (npm package)](https://www.npmjs.com/package/@gitzone/npmdocker)
 | 
			
		||||
* [gitlab.com (source)](https://gitlab.com/gitzone/npmdocker)
 | 
			
		||||
* [github.com (source mirror)](https://github.com/gitzone/npmdocker)
 | 
			
		||||
* [docs (typedoc)](https://gitzone.gitlab.io/npmdocker/)
 | 
			
		||||
 | 
			
		||||
## Status for master
 | 
			
		||||
 | 
			
		||||
[](https://GitLab.com/gitzone/npmdocker/commits/master)
 | 
			
		||||
[](https://GitLab.com/gitzone/npmdocker/commits/master)
 | 
			
		||||
[](https://www.npmjs.com/package/npmdocker)
 | 
			
		||||
[](https://david-dm.org/gitzonetools/npmdocker)
 | 
			
		||||
[](https://www.bithound.io/github/gitzonetools/npmdocker/master/dependencies/npm)
 | 
			
		||||
[](https://www.bithound.io/github/gitzonetools/npmdocker)
 | 
			
		||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
			
		||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
			
		||||
[](http://standardjs.com/)
 | 
			
		||||
[](https://gitlab.com/gitzone/npmdocker/commits/master)
 | 
			
		||||
[](https://gitlab.com/gitzone/npmdocker/commits/master)
 | 
			
		||||
[](https://www.npmjs.com/package/@gitzone/npmdocker)
 | 
			
		||||
[](https://snyk.io/test/npm/@gitzone/npmdocker)
 | 
			
		||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
 | 
			
		||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
 | 
			
		||||
[](https://prettier.io/)
 | 
			
		||||
 | 
			
		||||
## Usage
 | 
			
		||||
 | 
			
		||||
@@ -34,10 +29,10 @@ Usually this is the default i CI, but locally behaviour tends to defer.
 | 
			
		||||
 | 
			
		||||
The npmdocker package works in everywhere where the docker cli is available. e.g.:
 | 
			
		||||
 | 
			
		||||
* docker toolbox
 | 
			
		||||
* native docker application
 | 
			
		||||
* docker in docker
 | 
			
		||||
* mounted docker.sock
 | 
			
		||||
- docker toolbox
 | 
			
		||||
- native docker application
 | 
			
		||||
- docker in docker
 | 
			
		||||
- mounted docker.sock
 | 
			
		||||
 | 
			
		||||
### How do I use it?
 | 
			
		||||
 | 
			
		||||
@@ -62,6 +57,6 @@ create a npmextra.json in the project's root directory
 | 
			
		||||
For further information read the linked docs at the top of this readme.
 | 
			
		||||
 | 
			
		||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
 | 
			
		||||
> | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
 | 
			
		||||
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
 | 
			
		||||
 | 
			
		||||
[](https://git.zone)
 | 
			
		||||
[](https://maintainedby.lossless.com)
 | 
			
		||||
 
 | 
			
		||||
@@ -57,4 +57,4 @@
 | 
			
		||||
    "@pushrocks/smartstring": "^3.0.10",
 | 
			
		||||
    "@types/shelljs": "^0.8.5"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
@@ -78,7 +78,9 @@ export let run = () => {
 | 
			
		||||
    });
 | 
			
		||||
    logger.log('ok', `Starting vscode in cwd ${paths.cwd}`);
 | 
			
		||||
    await smartshellInstance.execAndWaitForLine(
 | 
			
		||||
      `docker run -p 127.0.0.1:8443:8443 -v "${paths.cwd}:/home/coder/project" registry.gitlab.com/hosttoday/ht-docker-vscode --allow-http --no-auth`,
 | 
			
		||||
      `docker run -p 127.0.0.1:8443:8443 -v "${
 | 
			
		||||
        paths.cwd
 | 
			
		||||
      }:/home/coder/project" registry.gitlab.com/hosttoday/ht-docker-vscode --allow-http --no-auth`,
 | 
			
		||||
      /Connected to shared process/
 | 
			
		||||
    );
 | 
			
		||||
    await plugins.smartopen.openUrl('testing-vscode.git.zone:8443');
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ export interface IConfig {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const getQenvKeyValueObject = async () => {
 | 
			
		||||
  let qenvKeyValueObjectArray: {[key: string]: string | number};
 | 
			
		||||
  let qenvKeyValueObjectArray: { [key: string]: string | number };
 | 
			
		||||
  if (plugins.smartfile.fs.fileExistsSync(plugins.path.join(paths.cwd, 'qenv.yml'))) {
 | 
			
		||||
    qenvKeyValueObjectArray = new plugins.qenv.Qenv(paths.cwd, '.nogit/').keyValueObject;
 | 
			
		||||
  } else {
 | 
			
		||||
@@ -19,7 +19,7 @@ const getQenvKeyValueObject = async () => {
 | 
			
		||||
  return qenvKeyValueObjectArray;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const buildConfig = async (qenvKeyValueObjectArg: {[key: string]: string | number}) => {
 | 
			
		||||
const buildConfig = async (qenvKeyValueObjectArg: { [key: string]: string | number }) => {
 | 
			
		||||
  const npmextra = new plugins.npmextra.Npmextra(paths.cwd);
 | 
			
		||||
  const config = npmextra.dataFor<IConfig>('npmdocker', {
 | 
			
		||||
    baseImage: 'hosttoday/ht-docker-node:npmdocker',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user