0.5.3 • Published 5 years ago

alpha-genesis v0.5.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

logo

WHAT: Proxy for library-genesis, file-genesis, content-genesis

WHY: Make it easy to use these disparate libraries in conjunction

WHO: Someone creating generators

Build Status


Install


yarn add alpha-genesis

Use


import { Library, File, template } from "alpha-genesis";
Library

library-genesis repository

const { myLibConfig } = require("./path/to/my-config.js");
const { Library } = require("alpha-genesis");
Library(myLibConfig).generate();
File

file-genesis repository

const path = require("path");
const { File } = require("alpha-genesis");
const gitignore = `
  .DS_Store
  node_modules
`;
let filepathPlain = path.join(__dirname, ".gitignore");
File(filepathPlain).plain(gitignore);
Content

content-genesis repository

const { template } = require("alpha-genesis");
let foo = { variable1: "Foo", variable2: "Bar" };
let fooTemplate = template("/path/to/template", foo);

Goal


  • Prepare for subsequent CLI project
  • Simplify imports for related projects utilizing the genesis module series.
  • Provide buffer between independent versioning across multiple projects to mitigate hotpatch rollbacks on this project

Docs


  • todo

    Tasks by release version


Related


0.5.3

5 years ago

0.5.2

6 years ago

0.5.1

6 years ago