You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@kikoda/generated-config

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

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
Weekly downloads
337
decreased by-7.67%
Maintainers
2
Created
Weekly downloads
 

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

Package last updated on 30 Sep 2022

Did you know?

Socket

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc