MCPcopy Create free account
hub / github.com/bigcommerce/stencil-cli / getGeneralConfig

Function getGeneralConfig

lib/StencilConfigManager.spec.js:9–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7const defaultConfigPath = path.join(defaultThemePath, 'config.stencil.json');
8const defaultSecretsPath = path.join(defaultThemePath, 'secrets.stencil.json');
9const getGeneralConfig = () => ({
10 customLayouts: {
11 brand: {
12 a: 'aaaa',
13 },
14 category: {},
15 page: {
16 b: 'bbbb',
17 },
18 product: {},
19 },
20 apiHost: 'https://api.bigcommerce.com',
21 normalStoreUrl: 'https://url-from-stencilConfig.mybigcommerce.com',
22 port: 3001,
23});
24const getSecretsConfig = () => ({
25 accessToken: 'accessToken_from_stencilConfig',
26 githubToken: 'githubToken_1234567890',

Callers 3

getStencilConfigFunction · 0.85
getFsUtilsStubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected