Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb512ae3

Browse files
author
markzegarelli
authored
Merge pull requestsegmentio#1981 from segmentio/develop
Release 21.39.3
2 parents8a548b4 +ff341e0 commitb512ae3

File tree

7 files changed

+34
-597
lines changed

7 files changed

+34
-597
lines changed

‎netlify.toml‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
2-
#command = "jekyll algolia && yarn build"
2+
command ="jekyll algolia && yarn build"
33
# Ignore builds unless [netlify-build] is present in commit message
44
# ignore = "git log -1 --pretty=%B | ( ! grep -q '\[netlify\-build\]' )"
55
# Ignore if [netlify-ignore] is present
@@ -12,15 +12,11 @@
1212
ignore ="./scripts/ignore.sh"
1313

1414
[context.branch-deploy]
15-
command ="yarn develop-inc"
15+
command ="yarn develop"
1616
ignore ="./scripts/ignore.sh"
1717

18-
[[context.branch-deploy.plugins]]
19-
package ="netlify-plugin-jekyll-cache"
20-
21-
[context.branch-deploy.plugins.inputs]
22-
jekyllSource ="/src"
23-
18+
[context.develop]
19+
command ="yarn develop"
2420

2521

2622
[[redirects]]

‎scripts/catalog_papi.js‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const path = require('path');
33
constfs=require('fs');
44
constfm=require('front-matter');
55
constyaml=require('js-yaml');
6+
const{ type}=require('os');
67

78
require('dotenv').config();
89

@@ -393,11 +394,31 @@ const updateDestinations = async () => {
393394
})
394395

395396
letsettings=destination.options
397+
396398
settings.sort((a,b)=>{
397399
if(a.name.toLowerCase()<b.name.toLowerCase()){return-1;}
398400
if(a.name.toLowerCase()>b.name.toLowerCase()){return1;}
399401
return0;
400402
})
403+
404+
405+
// Here we are dealing with settings that should not be exposed
406+
settings.forEach(setting=>{
407+
if(setting.name=='directChannels'||setting.name=='endpoint'||setting.name=='batchApiLocation'){
408+
deletesetting.name
409+
deletesetting.type
410+
deletesetting.defaultValue
411+
deletesetting.description
412+
deletesetting.required
413+
deletesetting.label
414+
deletesetting
415+
416+
}
417+
});
418+
419+
settings=settings.filter(value=>JSON.stringify(value)!=='{}')
420+
421+
// end settings removal block
401422

402423
constclone=(obj)=>Object.assign({},obj)
403424
constrenameKey=(object,key,newKey)=>{

‎src/_data/catalog/destination_categories.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2021-10-05
2+
# destination categories last updated 2021-10-08
33
items:
44
-display_name:A/B Testing
55
slug:a-b-testing

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp