1.4.15 • Published 5 years ago
@frontender-magazine/builder v1.4.15
Builder
Этот билдер создает из url статьи репозиторий на гитхабе и выполняет все сопутствующие действия.
Environment variables
createCards, createRepo, initGithub, uploadToRepo
- GITHUB_TOKEN
codepenTransform and codepenTransformIFrame
- GITHUB_LOGIN
- GITHUB_PASSW
detectLanguage
- DETECTLANGUAGE_KEY
getTags
- AWSAccessKeyId
- AWSSecretKey
You may ignore build stages and specific plugins
this.skip = {
plugins: [
{
name: 'TMPDir', // plugin TMPDir
stages: 'after', // will be ignored on after stage
},
{ name: 'uploadToRepo' }, // plugin uploadToRepo will be ignored on all stages
],
stages: [
'github:before', // stage will be ignored
],
};
You may create plugins
// File: /source/plugins/pluginName/pluginName.js
module.exports = deepmerge(pluginBase, {
meta: {
name: 'PluginName', // plugin name, required
dependency: ['PluginDep', 'PluginDep:StageName'], // plugin dependency, optional
domain: 'https://smashingmagazine.com' // plugin valid only for specific domain, optional
},
StageName: (unmodified) => {return modified;}, // methods for stage 'StageName'
[['StageName:before']]: (unmodified) => {return modified;}, // methods for stage 'StageName:before'
});
1.4.15
5 years ago
1.4.14
5 years ago
1.4.13
5 years ago
1.4.12
5 years ago
1.4.11
5 years ago
1.4.10
5 years ago
1.4.9
5 years ago
1.4.7
5 years ago
1.4.6
5 years ago
1.4.5
5 years ago
1.4.3
5 years ago
1.4.2
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.6
5 years ago
1.3.5
5 years ago
1.3.4
5 years ago
1.3.3
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago