
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
@map-colonies/code-generator
Advanced tools
code-generator is using 'ts-morph' (https://www.npmjs.com/package/ts-morph) os package to generate ts classes, interfaces, enum, etc. dynamically based on map-colonies/mc-models (https://github.com/MapColonies/mc-models) profiles.
the package can be installed with npm install @map-colonies/mc-code-generator.
run npm install to install project dependencies.
to create local package tgz file run npm pack after the build
in your project package.json add script for generate:
generate: 'node **/index.js -tf='path/to/file -p=your-project-name (raster, 3d, etc..) -gt=type-of-source (orm, graphQl, etc..)
-p --project - name of the project, available values: raster, 3d, polygonParts. (no default)
-tf --targetFile - path to the generated file, override file if exists. (no default)
-gt --generateType - type of the wished generated code, avaiable values: orm, graphQl. (no default)
-ormd --ORMDecorators - ORM additional decorators of the wished generated file, avaiable values: index, check. (no default)
FAQs
This is template for map colonies typescript packages
The npm package @map-colonies/code-generator receives a total of 5 weekly downloads. As such, @map-colonies/code-generator popularity was classified as not popular.
We found that @map-colonies/code-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?

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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.