@casterly/utils
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -0,1 +1,2 @@ | ||
export declare const appDirectory: string; | ||
export declare const moduleFileExtensions: string[]; | ||
@@ -2,0 +3,0 @@ export declare const typescriptFileExtensions: string[]; |
@@ -23,8 +23,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.appNodePath = exports.appNodeModules = exports.appTsConfig = exports.appSrc = exports.appPackageJson = exports.appRoutesJs = exports.appBrowserEntry = exports.appServerEntry = exports.appPublic = exports.appPublicBuildFolder = exports.appServerBuildFolder = exports.appBuildFolder = exports.appPath = exports.dotenv = exports.resolveModule = exports.typescriptFileExtensions = exports.moduleFileExtensions = void 0; | ||
exports.appNodePath = exports.appNodeModules = exports.appTsConfig = exports.appSrc = exports.appPackageJson = exports.appRoutesJs = exports.appBrowserEntry = exports.appServerEntry = exports.appPublic = exports.appPublicBuildFolder = exports.appServerBuildFolder = exports.appBuildFolder = exports.appPath = exports.dotenv = exports.resolveModule = exports.typescriptFileExtensions = exports.moduleFileExtensions = exports.appDirectory = void 0; | ||
const fs = __importStar(require("fs")); | ||
const path = __importStar(require("path")); | ||
const userConfig_1 = require("./userConfig"); | ||
const appDirectory = fs.realpathSync(process.cwd()); | ||
const resolveApp = (relativePath) => path.resolve(appDirectory, relativePath); | ||
exports.appDirectory = fs.realpathSync(process.cwd()); | ||
const resolveApp = (relativePath) => path.resolve(exports.appDirectory, relativePath); | ||
exports.moduleFileExtensions = ['mjs', 'js', 'json', 'jsx']; | ||
@@ -31,0 +31,0 @@ exports.typescriptFileExtensions = ['ts', 'tsx']; |
{ | ||
"name": "@casterly/utils", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "Common utilities used throughout Casterly packages", | ||
@@ -41,3 +41,3 @@ "author": "Lucas Cordeiro <ecdb.lucas@gmail.com>", | ||
}, | ||
"gitHead": "74401d887b7f024940e6ab21af5224d974b23375" | ||
"gitHead": "84afd47283b3abb6d4523101c3792bcb1399216c" | ||
} |
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
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
15074
265