fix: now publishes dependencies
This commit is contained in:
parent
987ad12fb5
commit
ea0dac2704
|
@ -1,7 +1,7 @@
|
||||||
local build = import 'lib/build.libsonnet';
|
local build = import 'lib/build.libsonnet';
|
||||||
local images = import 'lib/images.libsonnet';
|
local images = import 'lib/images.libsonnet';
|
||||||
local environment = import 'node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
local environment = import 'node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
||||||
local compose = import 'node_modules/@sigyl/jsonnet-compose/compose.libsonnet';
|
local compose = import 'lib/node_modules/@sigyl/jsonnet-compose/compose.libsonnet';
|
||||||
local util = import 'lib/util.libsonnet';
|
local util = import 'lib/util.libsonnet';
|
||||||
|
|
||||||
function(
|
function(
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local images = import 'images.libsonnet';
|
local images = import 'images.libsonnet';
|
||||||
local environment = import '../node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
local environment = import 'node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
||||||
|
|
||||||
function(secrets)
|
function(secrets)
|
||||||
images.docker {
|
images.docker {
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"name": "@sigyl/jsonnet-drone",
|
||||||
|
"description": "jsonnet to build and deploy with drone",
|
||||||
|
"dependencies": {
|
||||||
|
"@sigyl/jsonnet-compose": "^0.0.2",
|
||||||
|
"@sigyl/jsonnet-drone-environment": "0.0.5"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
local environment = import '../node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
local environment = import 'node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
||||||
{
|
{
|
||||||
ssh: {
|
ssh: {
|
||||||
settings +: {
|
settings +: {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local compose = import '../node_modules/@sigyl/jsonnet-compose/compose.libsonnet';
|
local compose = import 'node_modules/@sigyl/jsonnet-compose/compose.libsonnet';
|
||||||
local environment = import '../node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
local environment = import 'node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
||||||
{
|
{
|
||||||
printEnv(file, env): function(step) compose([
|
printEnv(file, env): function(step) compose([
|
||||||
environment.envSet(env),
|
environment.envSet(env),
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
"@sigyl/jsonnet-compose@^0.0.2":
|
||||||
|
version "0.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@sigyl/jsonnet-compose/-/jsonnet-compose-0.0.2.tgz#8900a21e8cd8109929b6042703f8645aacb9bcda"
|
||||||
|
integrity sha512-wWS3CgPeNi/o1pcS6n/4pafxlMD0KC9/RKMZr/ySmzeGNRW++sPuKuxajYse2TNd47uNDdeUSnk4aEeEIKL0zA==
|
||||||
|
|
||||||
|
"@sigyl/jsonnet-drone-environment@0.0.5":
|
||||||
|
version "0.0.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/@sigyl/jsonnet-drone-environment/-/jsonnet-drone-environment-0.0.5.tgz#9ea85e08904777bd21a3e4b30b0b91461d0285ff"
|
||||||
|
integrity sha512-xVGmdMO1pOyozAWUbJm6mzKBgsLPJ+1hWnGCK3AxPkr7kkDh18hu30+TLzlcQtqq76s5jUfvJUztezsGj/mIcw==
|
|
@ -4,9 +4,11 @@
|
||||||
"version": "0.0.2",
|
"version": "0.0.2",
|
||||||
"description": "jsonnet to build and deploy with drone",
|
"description": "jsonnet to build and deploy with drone",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"publish": "git push --follow-tags origin master && npm publish",
|
"publish-npm": "git push --follow-tags origin master && npm publish",
|
||||||
"release": "standard-version",
|
"release": "standard-version",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"install": "cd lib && yarn",
|
||||||
|
"prePublishOnly": "cd lib && yarn"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue