Socket
Socket
Sign inDemoInstall

@kikoda/generated-config

Package Overview
Dependencies
5
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @kikoda/generated-config

Generate a config file from a base config and a set of config layers


Version published
Maintainers
2
Install size
1.45 MB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 30 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc