Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@toptal/davinci-engine

Package Overview
Dependencies
Maintainers
0
Versions
1522
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toptal/davinci-engine

Build tool for frontend projects

  • 12.1.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@toptal/davinci-engine

Starts and builds your project. Under the hood, it covers webpack with the default webpack configuration.

Usage

Use it by installing yarn add @toptal/davinci-engine in your project.

Commands
  • start: start a development server for the current Davinci project
  • build: build the current Davinci project
  • size: check bundle size
  • analyze: analyze bundle and check dependencies
  • compile-package: compile the current project into a package directory
  • publish-package: publish the current package directory to NPM
  • sentry-upload-source-maps: upload the project source maps to Sentry
Environment variables

We filter environment variables to be sure that only needed variables are handled, so if you want to have variables passed, you need to

  • use DAVINCI_ prefix. E.g. DAVINCI_PLATFORM_URL=http://localhost:3000
  • use .env file. davinci-engine reads all variables from .env irrespective of DAVINCI_ prefix. If --dotenv argument set to auto value, the variables are loaded from the environment-specific files in the following order:
    • .env.[NODE_ENV].local - for untracked, local overrides
    • .env.[NODE_ENV]
    • .env
Available environment variables

There is a global DAVINCI_RELEASE_VERSION variable that you can use inside your application, it is a unique release tag that you can pass to Sentry or Rollbar to associate javascript errors with particular releases. It is passed down on release stage of deployment process. Please don't forget to provide default value for other environments.

Setting up a reverse proxy

You can learn more about setting up and configuring Davinci's reverse proxy here.

Webpack aliases

Davinci is using resolve-ts-aliases which proxies aliases in the project's tsconfig go to the webpack config.

IDE Tooling

This package can be used directly in your IDE through these extensions

FAQs

Package last updated on 27 Nov 2024

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc