small fixes

This commit is contained in:
natasha41575
2023-09-08 11:38:23 -05:00
parent 94181b1be7
commit a2ceaff053
4 changed files with 30 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
set -e
KUSTOMIZE_EXEC=kustomize
KUSTOMIZE_FLAGS="build --enable_alpha_plugins --enable-exec"
KUSTOMIZE_FLAGS="build --enable-exec --enable-alpha-plugins"
function build_label_namespace_exec {
cd label_namespace/execfn

View File

@@ -5,7 +5,8 @@ FROM alpine:latest
ENV BUILD_HOME=/usr/local/build
RUN apk update && apk add --no-cache git nodejs npm
RUN npm install -g typescript
COPY ["./package.json", "./package-lock.json", "./"]
RUN npm install -g
RUN mkdir -p $BUILD_HOME

View File

@@ -0,0 +1,16 @@
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"help": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/help/-/help-3.0.2.tgz",
"integrity": "sha512-jDd0MU+9xzvOQRC6CIzdjvb+agCvpzQY/Fp11quDnugDO4QQzh134EsLkRQMvFIJBleFkvnXagHFm4MTefkkpA=="
},
"typescript": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w=="
}
}
}

View File

@@ -0,0 +1,11 @@
{
"name": "execfn",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}