package changes

This commit is contained in:
Michael Shanks 2019-09-10 06:14:45 +01:00
parent 4748ce0ed5
commit a6f6e75215
16 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
{
"name": "budibase-core",
"name": "@budibase/core",
"version": "1.0.0",
"description": "",
"main": "budibase-core.umd.js",

View File

@ -37,7 +37,7 @@ export default {
{
file: 'dist/budibase-core.umd.js',
format: 'umd',
name: "budibase-core",
name: "@budibase/core",
sourcemap: 'inline',
globals
}

View File

@ -1,4 +1,4 @@
import {eventsList} from "budibase-core";
import {eventsList} from "@budibase/core";
import {filter,union,has,map} from "lodash/fp";
import records from "./records";

View File

@ -1,4 +1,4 @@
import {getAppApis, getTemplateApi, setupDatastore} from "budibase-core";
import {getAppApis, getTemplateApi, setupDatastore} from "@budibase/core";
import {action} from "./helpers";
const addField = templateApi => type => (record, name) => {

View File

@ -2,7 +2,7 @@ const { tmpdir } = require("os");
const { join } = require("path");
const uuid = require("uuid/v1");
const { take, takeRight, last } = require("lodash/fp");
const { splitKey, $, joinKey } = require("budibase-core").common;
const { splitKey, $, joinKey } = require("@budibase/core").common;
const { unzipTarGzPackageToRuntime } = require("../../utilities/targzAppPackage");
const { getRuntimePackageDirectory } = require("../../utilities/runtimePackages");
const { pathExists } = require("fs-extra");

View File

@ -2,7 +2,7 @@ const {
initialiseData,
setupDatastore,
common
} = require("budibase-core");
} = require("@budibase/core");
const getDatabaseManager = require("../utilities/databaseManager");
const { applictionVersionPackage } = require("../utilities/createAppPackage");
const { last } = require("lodash/fp");

View File

@ -1,4 +1,4 @@
const {initialiseData, setupDatastore} = require("budibase-core");
const {initialiseData, setupDatastore} = require("@budibase/core");
const constructHierarchy = require("../utilities/constructHierarchy");
const getDatabaseManager = require("../utilities/databaseManager");
const {getApisForUser, getApisWithFullAccess} = require("../utilities/budibaseApi");

View File

@ -1,7 +1,7 @@
const statusCodes = require("../utilities/statusCodes");
const constructHierarchy = require("../utilities/constructHierarchy");
const { readFile } = require("fs-extra");
const { hierarchy } = require("budibase-core");
const { hierarchy } = require("@budibase/core");
const { take } = require("lodash/fp");
const masterAppDefinition = constructHierarchy(
require("../appPackages/master/appDefinition.json"));

View File

@ -1,7 +1,7 @@
const statusCodes = require("../utilities/statusCodes");
const constructHierarchy = require("../utilities/constructHierarchy");
const { readFile } = require("fs-extra");
const {getRecordApi, getAuthApi} = require("budibase-core");
const {getRecordApi, getAuthApi} = require("@budibase/core");
const masterAppDefinition = constructHierarchy(
require("../appPackages/master/appDefinition.json"));
const {getApisWithFullAccess} = require("../utilities/budibaseApi");

View File

@ -1,5 +1,5 @@
const crypto = require("../nodeCrypto");
const {getAppApis, getTemplateApi} = require("budibase-core");
const {getAppApis, getTemplateApi} = require("@budibase/core");
const getDatastore = require("./datastore");
const { masterAppPackage } = require("../utilities/createAppPackage");
const getDatabaseManager = require("../utilities/databaseManager");

View File

@ -16,7 +16,7 @@ const {
join,
dirname
} = require("path");
const { $ } = require("budibase-core").common;
const { $ } = require("@budibase/core").common;
const {
keyBy
} = require("lodash/fp");

View File

@ -1,4 +1,4 @@
const {getTemplateApi} = require("budibase-core");
const {getTemplateApi} = require("@budibase/core");
const templateApi = getTemplateApi({});
module.exports = (appDefinition) => {
appDefinition.hierarchy = templateApi.constructHierarchy(appDefinition.hierarchy);

View File

@ -1,6 +1,6 @@
const { resolve, join } = require("path");
const constructHierarchy = require("./constructHierarchy");
const { common } = require("budibase-core");
const { common } = require("@budibase/core");
const { getRuntimePackageDirectory } = require("../utilities/runtimePackages");
const injectPlugins = require("./injectedPlugins");
const { cwd } = require("process");

View File

@ -1,4 +1,4 @@
const {common, getAppApis} = require("budibase-core");
const {common, getAppApis} = require("@budibase/core");
const {getDatabaseManager} = require("./databaseManager");
module.exports = async (productSetId, productId, versionId) => {

View File

@ -1,4 +1,4 @@
const {getDatabaseManager} = require("budibase-core");
const {getDatabaseManager} = require("@budibase/core");
module.exports = (datastoreModule, datastoreConfig) =>
getDatabaseManager(datastoreModule.databaseManager(datastoreConfig));

View File

@ -5,7 +5,7 @@ const {
} = require("./budibaseApi");
const getDatastore = require("./datastore");
const getDatabaseManager = require("./databaseManager");
const {$, splitKey} = require("budibase-core").common;
const {$, splitKey} = require("@budibase/core").common;
const { keyBy, last, filter } = require("lodash/fp");
const {
masterAppPackage,