Installations
npm install mercurius-codegen
Releases
mercurius-codegen@6.0.0
Published on 18 Sept 2024
mercurius-codegen@5.0.5
Published on 11 Jun 2024
mercurius-codegen@5.0.4
Published on 06 Feb 2024
mercurius-codegen@5.0.3
Published on 11 May 2023
mercurius-codegen@5.0.2
Published on 13 Mar 2023
mercurius-codegen@5.0.1
Published on 30 Nov 2022
Developer
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
20.17.0
NPM Version
10.8.2
Statistics
71 Stars
991 Commits
18 Forks
3 Watching
10 Branches
8 Contributors
Updated on 28 Nov 2024
Bundle Size
573.88 kB
Minified
153.40 kB
Minified + Gzipped
Languages
TypeScript (99.69%)
JavaScript (0.18%)
Shell (0.13%)
Total Downloads
Cumulative downloads
Total Downloads
533,308
Last day
-39.5%
562
Compared to previous day
Last week
-6.8%
4,641
Compared to previous week
Last month
10.1%
17,862
Compared to previous month
Last year
-7.4%
175,853
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
12
Dev Dependencies
27
mercurius-typescript
Examples
All the examples are available in the examples folder
Libraries
- Mercurius Codegen - Integration with GraphQL Code Generator to get automatic type-safety and autocompletion.
Contributing
This project uses pnpm workspaces
But the examples are just basic Node.js packages, but for development and to test them yourself, you will need to install it and then execute
1pnpm i
To install all the required dependencies
And then execute:
1pnpm test
To tests all the projects
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
2 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Warn: no topLevel permission defined: .github/workflows/tests.yaml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/mercurius-js/mercurius-typescript/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/mercurius-js/mercurius-typescript/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/mercurius-js/mercurius-typescript/release.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/mercurius-js/mercurius-typescript/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mercurius-js/mercurius-typescript/tests.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mercurius-js/mercurius-typescript/tests.yaml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/release.yml:29
- Warn: npmCommand not pinned by hash: .github/workflows/tests.yaml:20
- Info: 0 out of 5 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 30 are checked with a SAST tool
Score
4.2
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to mercurius-codegen
@fastivite/graphql
Create monolithic app made easy by using combination of fastify + mercurius + mercurius-codegen and vite + graphql-codegen
@amapili/mercurius-codegen
[![npm version](https://badge.fury.io/js/mercurius-codegen.svg)](https://badge.fury.io/js/mercurius-codegen)
mercurius
Fastify GraphQL adapter with subscription support
@protobufjs/codegen
A minimalistic code generation utility.