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

corede-core

Package Overview
Dependencies
Maintainers
0
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corede-core

Core functionalities for cocrm project

  • 6.5.14-cocrm
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
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 22 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