Git Product home page Git Product logo

kikoda-generated-config's Introduction

Kikoda Generated Config

NPM License

Use this Kikoda Generated Config package to generate layered configurations and runtime configuration manifest files for webpack builds configured with CRACO.

Install from NPM:

yarn add --dev @kikoda/generated-config

# or

npm install @kikoda/generated-config --save-dev

Usage

Generaged Config for webpack apps

Use this package and plugin in conjunction with CRACO to inject config values depending on environment.

CRACO

Add this to your craco.config.js:

import { GeneratedConfig } from '@kikoda/generated-config';

const { fileName } = new GeneratedConfig({
  stage: "<stage-name>",
  servicePath: './app',
});
โ€‹
module.exports = {
  plugins: [{ plugin: ConfigManifestPlugin(fileName) }],
};

Verbose Logging

Enable verbose logging by setting the DEBUG environment variable to 'true'

Opening Issues

If you encounter a bug with this package, we want to hear about it. Before opening a new issue, search the existing issues to avoid duplicates.

When opening an issue, include the Kikoda Construct Library version, Node version, and stack trace if available. In addition, include the steps to reproduce when appropriate.

You can also open an issue for a feature request.

Contributing

If you find an issue with this package and have a fix, please feel free to open a pull request following the procedures.

Testing

If you contribute to this package you can run the tests using yarn test.

License

Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.

This product includes software developed at Kikoda (https://www.kikoda.com). Copyright 2022 Kikoda, LLC.

kikoda-generated-config's People

Contributors

nathantcz avatar tj-harris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.