New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

corede-core

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corede-core

Core functionalities for cocrm project

  • 6.4.18-cocrm
  • npm
  • Socket score

Version published
Weekly downloads
145
decreased by-77.27%
Maintainers
0
Weekly downloads
 
Created

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 14 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