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

corede-core

Package Overview
Dependencies
0
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

corede-core

Core functionalities for cocrm project


Version published
Maintainers
0
Created

Readme

Source

Corede common package

App specific data

  • NOTE: below data may change depending on the application

    • in src/data/enums/Role.ts
      • Role
    • in src/graphql/typeDefs/commonTypeDefs.ts
      • Role
    • in src/graphql/typeDefs/attachmentTypeDefs.ts
      • AttachmentType

Debugging and Initial configuration setup

  1. npm symlink for debugging:

     $> cd {workspace}/corede
     $> npm link
     $> cd {workspace}/microservice
     $> npm link corede
    
  2. add below in microservice's package.json:

     "dependencies": [
       ...
       "corede": "file:../corede",
       ...
     ]
    
  3. insert below in launch.json for microservice debug/run configuration:

     “runtimeArgs”: [ 
       “--preserve-symlinks” 
       "--preserve-symlinks-main",
     ]
    
  4. ref: Understanding npm-link

When corede package is updated

  1. build corede package:

     $> cd {workspace}/corede
     $> npm run build
    
  2. install corede package to all microservices that are using the package:

     $> cd {workspace}/microservice
     $> npm i corede
    
  3. finally before dockerizing, increment corede package version in package.json:

     "version": "1.0.47" => "version": "1.0.48"
    

FAQs

Package last updated on 21 Jul 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc