@beemo/config-constants
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,11 +0,3 @@ | ||
export declare const CASE_SENSITIVE = false; | ||
export declare const ECMA_VERSION = 2020; | ||
export declare const IGNORE_LIST: string[]; | ||
export declare const ALL_FILES_GLOB = "**/{src,tests,__tests__}/**/*.{ts,tsx}"; | ||
export declare const SOURCE_FILES_GLOB = "**/src/**/*.{ts,tsx}"; | ||
export declare const TEST_FILES_GLOB = "**/{tests,__tests__}/**/*.test.{ts,tsx}"; | ||
export declare const TEST_UTILS_GLOB = "**/{tests,__tests__}/**/*.{ts,tsx}"; | ||
export declare const TESTS_LIST: string[]; | ||
export declare const NON_TS_REGEX = "\\.{css,sass,scss,less,gif,png,jpg,jpeg,svg,gql,graphql,yml,yaml}$"; | ||
export declare const TS_PATH_PREFIX_REGEX = "^:[a-z]"; | ||
export * from './constants'; | ||
export * from './helpers'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,31 +7,25 @@ // Generated with Packemon: https://packemon.dev | ||
value: true | ||
}); // Support consistent sorting across the board | ||
// Its off since simple-import-sort doesnt support it! | ||
}); | ||
const CASE_SENSITIVE = false; // Latest ECMA version and syntax to support | ||
var constants = require('./constants.js'); | ||
const ECMA_VERSION = 2020; // Files and folders to always ignore | ||
var helpers = require('./helpers.js'); | ||
const IGNORE_LIST = ['node_modules/', 'build/', 'cjs/', 'coverage/', 'dist/', 'esm/', 'lib/', 'mjs/']; // Globs for finding source files, test files, and test utility files | ||
const ALL_FILES_GLOB = '**/{src,tests,__tests__}/**/*.{ts,tsx}'; | ||
const SOURCE_FILES_GLOB = '**/src/**/*.{ts,tsx}'; | ||
const TEST_FILES_GLOB = '**/{tests,__tests__}/**/*.test.{ts,tsx}'; | ||
const TEST_UTILS_GLOB = '**/{tests,__tests__}/**/*.{ts,tsx}'; // List of globs to find all test related files | ||
const TESTS_LIST = [TEST_UTILS_GLOB, 'test.{ts,tsx}']; // Pattern of non-JS/TS file extensions | ||
const NON_TS_REGEX = '\\.{css,sass,scss,less,gif,png,jpg,jpeg,svg,gql,graphql,yml,yaml}$'; // Pattern to find all custom TypeScript paths | ||
const TS_PATH_PREFIX_REGEX = '^:[a-z]'; | ||
exports.ALL_FILES_GLOB = ALL_FILES_GLOB; | ||
exports.CASE_SENSITIVE = CASE_SENSITIVE; | ||
exports.ECMA_VERSION = ECMA_VERSION; | ||
exports.IGNORE_LIST = IGNORE_LIST; | ||
exports.NON_TS_REGEX = NON_TS_REGEX; | ||
exports.SOURCE_FILES_GLOB = SOURCE_FILES_GLOB; | ||
exports.TESTS_LIST = TESTS_LIST; | ||
exports.TEST_FILES_GLOB = TEST_FILES_GLOB; | ||
exports.TEST_UTILS_GLOB = TEST_UTILS_GLOB; | ||
exports.TS_PATH_PREFIX_REGEX = TS_PATH_PREFIX_REGEX; | ||
exports.ALL_FILES_GLOB = constants.ALL_FILES_GLOB; | ||
exports.CASE_SENSITIVE = constants.CASE_SENSITIVE; | ||
exports.ECMA_VERSION = constants.ECMA_VERSION; | ||
exports.IGNORE_LIST = constants.IGNORE_LIST; | ||
exports.NON_TS_REGEX = constants.NON_TS_REGEX; | ||
exports.PACKAGE_JSON_PATH = constants.PACKAGE_JSON_PATH; | ||
exports.ROOT = constants.ROOT; | ||
exports.SOURCE_FILES_GLOB = constants.SOURCE_FILES_GLOB; | ||
exports.TESTS_LIST = constants.TESTS_LIST; | ||
exports.TEST_FILES_GLOB = constants.TEST_FILES_GLOB; | ||
exports.TEST_UTILS_GLOB = constants.TEST_UTILS_GLOB; | ||
exports.TSCONFIG_JSON_PATH = constants.TSCONFIG_JSON_PATH; | ||
exports.TS_PATH_PREFIX_REGEX = constants.TS_PATH_PREFIX_REGEX; | ||
exports.getRootPackageJSON = helpers.getRootPackageJSON; | ||
exports.getRootProjectReferences = helpers.getRootProjectReferences; | ||
exports.getRootTSConfig = helpers.getRootTSConfig; | ||
exports.getTargetNodeRuntime = helpers.getTargetNodeRuntime; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@beemo/config-constants", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Reusable constants for Beemo configurations.", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "243c9fd3ea3720f2159c11ad633d3c70a7b9ce46" | ||
"gitHead": "9be32a5ecc6219939444f0b7c529bc1290b8399b" | ||
} |
@@ -1,33 +0,2 @@ | ||
// Support consistent sorting across the board | ||
// Its off since simple-import-sort doesnt support it! | ||
export const CASE_SENSITIVE = false; | ||
// Latest ECMA version and syntax to support | ||
export const ECMA_VERSION = 2020; | ||
// Files and folders to always ignore | ||
export const IGNORE_LIST = [ | ||
'node_modules/', | ||
'build/', | ||
'cjs/', | ||
'coverage/', | ||
'dist/', | ||
'esm/', | ||
'lib/', | ||
'mjs/', | ||
]; | ||
// Globs for finding source files, test files, and test utility files | ||
export const ALL_FILES_GLOB = '**/{src,tests,__tests__}/**/*.{ts,tsx}'; | ||
export const SOURCE_FILES_GLOB = '**/src/**/*.{ts,tsx}'; | ||
export const TEST_FILES_GLOB = '**/{tests,__tests__}/**/*.test.{ts,tsx}'; | ||
export const TEST_UTILS_GLOB = '**/{tests,__tests__}/**/*.{ts,tsx}'; | ||
// List of globs to find all test related files | ||
export const TESTS_LIST = [TEST_UTILS_GLOB, 'test.{ts,tsx}']; | ||
// Pattern of non-JS/TS file extensions | ||
export const NON_TS_REGEX = '\\.{css,sass,scss,less,gif,png,jpg,jpeg,svg,gql,graphql,yml,yaml}$'; | ||
// Pattern to find all custom TypeScript paths | ||
export const TS_PATH_PREFIX_REGEX = '^:[a-z]'; | ||
export * from './constants'; | ||
export * from './helpers'; |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
14004
16
226
3
1