@@ -76,48 +76,53 @@ export const defaults: StacksOptions = {
76
76
} ,
77
77
78
78
cloud : {
79
- type : 'serverless' ,
79
+ infrastructure : {
80
+ type : 'serverless' ,
81
+ driver : 'aws' ,
82
+ environments : [ 'production' , 'staging' , 'development' ] ,
80
83
81
- driver : 'aws' ,
82
-
83
- storage : { } ,
84
+ firewall : {
85
+ enabled : true ,
86
+ countryCodes : [ ] ,
87
+ ipAddresses : [ ] ,
88
+ queryString : [ ] ,
89
+ httpHeaders : [ ] ,
90
+ // ipSets: [],
91
+ rateLimitPerMinute : 1000 ,
92
+ useIpReputationLists : true ,
93
+ useKnownBadInputsRuleSet : true ,
94
+ } ,
84
95
85
- environments : [ 'production' , 'staging' , 'development' ] ,
96
+ cdn : {
97
+ allowedMethods : 'GET_HEAD' ,
98
+ cachedMethods : 'GET_HEAD' ,
99
+ minTtl : 0 ,
100
+ defaultTtl : 86400 ,
101
+ maxTtl : 31536000 ,
102
+ compress : true ,
103
+ priceClass : 'PriceClass_All' ,
104
+ originShieldRegion : 'us-east-1' ,
105
+ cookieBehavior : 'none' ,
106
+ allowList : {
107
+ cookies : [ ] ,
108
+ headers : [ ] ,
109
+ queryStrings : [ ] ,
110
+ } ,
111
+ realtimeLogs : {
112
+ enabled : true ,
113
+ samplingRate : 2 ,
114
+ } ,
115
+ } ,
86
116
87
- firewall : {
88
- enabled : true ,
89
- countryCodes : [ ] ,
90
- ipAddresses : [ ] ,
91
- queryString : [ ] ,
92
- httpHeaders : [ ] ,
93
- // ipSets: [],
94
- rateLimitPerMinute : 1000 ,
95
- useIpReputationLists : true ,
96
- useKnownBadInputsRuleSet : true ,
117
+ fileSystem : false ,
118
+ storage : { } ,
97
119
} ,
98
120
99
- cdn : {
100
- allowedMethods : 'GET_HEAD' ,
101
- cachedMethods : 'GET_HEAD' ,
102
- minTtl : 0 ,
103
- defaultTtl : 86400 ,
104
- maxTtl : 31536000 ,
105
- compress : true ,
106
- priceClass : 'PriceClass_All' ,
107
- originShieldRegion : 'us-east-1' ,
108
- cookieBehavior : 'none' ,
109
- allowList : {
110
- cookies : [ ] ,
111
- headers : [ ] ,
112
- queryStrings : [ ] ,
113
- } ,
114
- realtimeLogs : {
115
- enabled : true ,
116
- samplingRate : 2 ,
117
- } ,
121
+ // Default site configuration
122
+ sites : {
123
+ root : '' ,
124
+ path : '' ,
118
125
} ,
119
-
120
- fileSystem : false ,
121
126
} ,
122
127
123
128
database : {
@@ -322,69 +327,69 @@ export const defaults: StacksOptions = {
322
327
] ,
323
328
324
329
messages : {
325
- type : ' Select the type of change that you’ re committing:' ,
326
- scope : ' Select the SCOPE of this change (optional):' ,
327
- customScope : ' Select the SCOPE of this change:' ,
328
- subject : ' Write a SHORT, IMPERATIVE tense description of the change:\n' ,
329
- body : ' Provide a LONGER description of the change (optional). Use "| " to break new line:\n' ,
330
- breaking : ' List any BREAKING CHANGES (optional). Use "| " to break new line:\n' ,
331
- footerPrefixesSelect : ' Select the ISSUES type of the change list by this change (optional):' ,
332
- customFooterPrefixes : ' Input ISSUES prefix:' ,
333
- footer : ' List any ISSUES by this change. E.g.: #31, #34:\n' ,
334
- confirmCommit : ' Are you sure you want to proceed with the commit above?' ,
330
+ type : " Select the type of change that you' re committing:" ,
331
+ scope : " Select the SCOPE of this change (optional):" ,
332
+ customScope : " Select the SCOPE of this change:" ,
333
+ subject : " Write a SHORT, IMPERATIVE tense description of the change:\n" ,
334
+ body : " Provide a LONGER description of the change (optional). Use \"|\ " to break new line:\n" ,
335
+ breaking : " List any BREAKING CHANGES (optional). Use \"|\ " to break new line:\n" ,
336
+ footerPrefixesSelect : " Select the ISSUES type of the change list by this change (optional):" ,
337
+ customFooterPrefixes : " Input ISSUES prefix:" ,
338
+ footer : " List any ISSUES by this change. E.g.: #31, #34:\n" ,
339
+ confirmCommit : " Are you sure you want to proceed with the commit above?" ,
335
340
} ,
336
341
337
342
types : [
338
343
{
339
- value : ' feat' ,
340
- name : ' feat: ✨ A new feature' ,
341
- emoji : ' :sparkles:' ,
344
+ value : " feat" ,
345
+ name : " feat: ✨ A new feature" ,
346
+ emoji : " :sparkles:" ,
342
347
} ,
343
- { value : ' fix' , name : ' fix: 🐛 A bug fix' , emoji : ' :bug:' } ,
348
+ { value : " fix" , name : " fix: 🐛 A bug fix" , emoji : " :bug:" } ,
344
349
{
345
- value : ' docs' ,
346
- name : ' docs: 📝 Documentation only changes' ,
347
- emoji : ' :memo:' ,
350
+ value : " docs" ,
351
+ name : " docs: 📝 Documentation only changes" ,
352
+ emoji : " :memo:" ,
348
353
} ,
349
354
{
350
- value : ' style' ,
351
- name : ' style: 💄 Changes that do not affect the meaning of the code' ,
352
- emoji : ' :lipstick:' ,
355
+ value : " style" ,
356
+ name : " style: 💄 Changes that do not affect the meaning of the code" ,
357
+ emoji : " :lipstick:" ,
353
358
} ,
354
359
{
355
- value : ' refactor' ,
356
- name : ' refactor: ♻️ A code change that neither fixes a bug nor adds a feature' ,
357
- emoji : ' :recycle:' ,
360
+ value : " refactor" ,
361
+ name : " refactor: ♻️ A code change that neither fixes a bug nor adds a feature" ,
362
+ emoji : " :recycle:" ,
358
363
} ,
359
364
{
360
- value : ' perf' ,
361
- name : ' perf: ⚡️ A code change that improves performance' ,
362
- emoji : ' :zap:' ,
365
+ value : " perf" ,
366
+ name : " perf: ⚡️ A code change that improves performance" ,
367
+ emoji : " :zap:" ,
363
368
} ,
364
369
{
365
- value : ' test' ,
366
- name : ' test: ✅ Adding missing tests or adjusting existing tests' ,
367
- emoji : ' :white_check_mark:' ,
370
+ value : " test" ,
371
+ name : " test: ✅ Adding missing tests or adjusting existing tests" ,
372
+ emoji : " :white_check_mark:" ,
368
373
} ,
369
374
{
370
- value : ' build' ,
371
- name : ' build: 📦️ Changes that affect the build system or external dependencies' ,
372
- emoji : ' :package:' ,
375
+ value : " build" ,
376
+ name : " build: 📦️ Changes that affect the build system or external dependencies" ,
377
+ emoji : " :package:" ,
373
378
} ,
374
379
{
375
- value : 'ci' ,
376
- name : ' ci: 🎡 Changes to our CI configuration files and scripts' ,
377
- emoji : ' :ferris_wheel:' ,
380
+ value : "ci" ,
381
+ name : " ci: 🎡 Changes to our CI configuration files and scripts" ,
382
+ emoji : " :ferris_wheel:" ,
378
383
} ,
379
384
{
380
- value : ' chore' ,
381
- name : ' chore: 🔨 Other changes that don’ t modify src or test files' ,
382
- emoji : ' :hammer:' ,
385
+ value : " chore" ,
386
+ name : " chore: 🔨 Other changes that don' t modify src or test files" ,
387
+ emoji : " :hammer:" ,
383
388
} ,
384
389
{
385
- value : ' revert' ,
386
- name : ' revert: ⏪️ Reverts a previous commit' ,
387
- emoji : ' :rewind:' ,
390
+ value : " revert" ,
391
+ name : " revert: ⏪️ Reverts a previous commit" ,
392
+ emoji : " :rewind:" ,
388
393
} ,
389
394
] ,
390
395
} ,
0 commit comments