fix build
This commit is contained in:
parent
0ebe0b8275
commit
ac0443a876
|
@ -3,14 +3,14 @@
|
||||||
import { plugins } from "stores/portal"
|
import { plugins } from "stores/portal"
|
||||||
|
|
||||||
let authOptions = {
|
let authOptions = {
|
||||||
|
URL: ["Headers", "URL"],
|
||||||
NPM: ["URL"],
|
NPM: ["URL"],
|
||||||
Github: ["Github Token", "URL"],
|
Github: ["Github Token", "URL"],
|
||||||
URL: ["Headers", "URL"],
|
|
||||||
"File Upload": ["File Upload"],
|
"File Upload": ["File Upload"],
|
||||||
}
|
}
|
||||||
let file
|
let file
|
||||||
let sourceValue = "NPM"
|
let sourceValue = "URL"
|
||||||
let typeValue = "Datasource"
|
let typeValue = "Component"
|
||||||
let dynamicValues = {}
|
let dynamicValues = {}
|
||||||
|
|
||||||
let validation
|
let validation
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import fetch from "node-fetch"
|
|
||||||
import {
|
import {
|
||||||
createTempFolder,
|
createTempFolder,
|
||||||
getPluginMetadata,
|
getPluginMetadata,
|
||||||
|
@ -8,6 +7,7 @@ import {
|
||||||
deleteFolderFileSystem,
|
deleteFolderFileSystem,
|
||||||
} from "../../../utilities/fileSystem"
|
} from "../../../utilities/fileSystem"
|
||||||
import { join } from "path"
|
import { join } from "path"
|
||||||
|
const fetch = require("node-fetch")
|
||||||
|
|
||||||
export const uploadedFilePlugin = async file => {
|
export const uploadedFilePlugin = async file => {
|
||||||
if (!file.name.endsWith(".tar.gz")) {
|
if (!file.name.endsWith(".tar.gz")) {
|
||||||
|
|
Loading…
Reference in New Issue