@stencila/dockter
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -79,3 +79,3 @@ "use strict"; | ||
// execute the installation-from-DESCRIPTION script. | ||
return `bash -c "Rscript <(curl -s https://stencila.github.io/dockter/install.R)"`; | ||
return `bash -c "Rscript <(curl -s https://unpkg.com/@stencila/dockter/src/install.R)"`; | ||
} | ||
@@ -82,0 +82,0 @@ } |
{ | ||
"name": "@stencila/dockter", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A Docker image builder for researchers", | ||
@@ -22,7 +22,8 @@ "main": "dist/index.js", | ||
"commit": "git-cz", | ||
"prepublishOnly": "npm run build-dist" | ||
"prepublishOnly": "npm run build-dist", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/stencila/dockter.git" | ||
"url": "https://github.com/stencila/dockter.git" | ||
}, | ||
@@ -43,2 +44,7 @@ "keywords": [ | ||
"devDependencies": { | ||
"@semantic-release/commit-analyzer": "^6.1.0", | ||
"@semantic-release/git": "^7.0.5", | ||
"@semantic-release/github": "^5.2.0", | ||
"@semantic-release/npm": "^5.0.5", | ||
"@semantic-release/release-notes-generator": "^7.1.1", | ||
"@types/dockerode": "^2.5.5", | ||
@@ -58,2 +64,3 @@ "@types/express": "^4.16.0", | ||
"pkg": "^4.3.4", | ||
"semantic-release": "^15.10.5", | ||
"semantic-release-cli": "^4.0.9", | ||
@@ -85,3 +92,30 @@ "ts-jest": "^23.10.3", | ||
} | ||
}, | ||
"release": { | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/npm", | ||
"@semantic-release/git", | ||
[ | ||
"@semantic-release/github", | ||
{ | ||
"assets": [ | ||
{ | ||
"path": "build/docktor-linux-x64.tar.gz", | ||
"label": "Linux CLI binary" | ||
}, | ||
{ | ||
"path": "build/docktor-macos-x64.tar.gz", | ||
"label": "MacOS CLI binary" | ||
}, | ||
{ | ||
"path": "build/docktor-win-x64.zip", | ||
"label": "Windows CLI binary" | ||
} | ||
] | ||
} | ||
] | ||
] | ||
} | ||
} |
@@ -37,2 +37,6 @@ # Dockter : a Docker image builder for researchers | ||
- [Develop](#develop) | ||
* [Linting and testing](#linting-and-testing) | ||
* [Documentation generation](#documentation-generation) | ||
* [Commit messages](#commit-messages) | ||
* [Continuous integration](#continuous-integration) | ||
- [See also](#see-also) | ||
@@ -350,3 +354,3 @@ - [FAQ](#faq) | ||
- [`alibaba/derrick`](https://github.com/alibaba/derrick) | ||
- [`jupyter/repro2docker`](https://github.com/jupyter/repo2docker) | ||
- [`jupyter/repo2docker`](https://github.com/jupyter/repo2docker) | ||
- [`Gueils/whales`](https://github.com/Gueils/whales) | ||
@@ -357,3 +361,3 @@ - [`o2r-project/containerit`](https://github.com/o2r-project/containerit) | ||
Dockter is similar to `repro2docker`, `containerit`, and `reprozip` in that it is aimed at researchers doing data analysis (and supports R) whereas most other tools are aimed at software developers (and don't support R). Dockter differs to these projects principally in that by default (but optionally) it installs the necessary Stencila language packages so that the image can talk to Stencila client interfaces an provide code execution services. Like `repro2docker` it allows for multi-language images but has the additional features of package dependency analysis of source code, managed builds and generated of image meta-data. | ||
Dockter is similar to `repo2docker`, `containerit`, and `reprozip` in that it is aimed at researchers doing data analysis (and supports R) whereas most other tools are aimed at software developers (and don't support R). Dockter differs to these projects principally in that by default (but optionally) it installs the necessary Stencila language packages so that the image can talk to Stencila client interfaces an provide code execution services. Like `repo2docker` it allows for multi-language images but has the additional features of package dependency analysis of source code, managed builds and generated of image meta-data. | ||
@@ -368,2 +372,2 @@ ## FAQ | ||
Dockter was inspired by similar tools for researchers including [`binder`](https://github.com/binder-project/binder) and [`repro2docker`](https://github.com/jupyter/repo2docker). It relies on [`dockerode`](https://www.npmjs.com/package/dockerode), [`docker-file-parser`](https://www.npmjs.com/package/docker-file-parser), and of course [Docker](https://www.docker.com/). | ||
Dockter was inspired by similar tools for researchers including [`binder`](https://github.com/binder-project/binder) and [`repo2docker`](https://github.com/jupyter/repo2docker). It relies on [`dockerode`](https://www.npmjs.com/package/dockerode), [`docker-file-parser`](https://www.npmjs.com/package/docker-file-parser), and of course [Docker](https://www.docker.com/). |
@@ -79,3 +79,3 @@ import Generator from './Generator' | ||
// execute the installation-from-DESCRIPTION script. | ||
return `bash -c "Rscript <(curl -s https://stencila.github.io/dockter/install.R)"` | ||
return `bash -c "Rscript <(curl -s https://unpkg.com/@stencila/dockter/src/install.R)"` | ||
} | ||
@@ -82,0 +82,0 @@ } |
@@ -62,4 +62,4 @@ import fixture from './fixture' | ||
COPY .DESCRIPTION DESCRIPTION | ||
RUN bash -c "Rscript <(curl -s https://stencila.github.io/dockter/install.R)" | ||
RUN bash -c "Rscript <(curl -s https://unpkg.com/@stencila/dockter/src/install.R)" | ||
`) | ||
}) |
@@ -51,3 +51,3 @@ import fixture from './fixture' | ||
COPY .DESCRIPTION DESCRIPTION | ||
RUN bash -c "Rscript <(curl -s https://stencila.github.io/dockter/install.R)" | ||
RUN bash -c "Rscript <(curl -s https://unpkg.com/@stencila/dockter/src/install.R)" | ||
`) | ||
@@ -86,3 +86,3 @@ }) | ||
COPY .DESCRIPTION DESCRIPTION | ||
RUN bash -c \"Rscript <(curl -s https://stencila.github.io/dockter/install.R)\" | ||
RUN bash -c \"Rscript <(curl -s https://unpkg.com/@stencila/dockter/src/install.R)\" | ||
@@ -89,0 +89,0 @@ COPY main.R main.R |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
370
3
188781
27
87
3489
1