Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@alpaca-travel/cra-template-typescript-apollo-codegen
Advanced tools
This template is for use with Create React App. It add in typescript and GraphQL using Apollo and codegeneration for a type-safe development environment.
This template is for use with Create React App. It add in typescript and GraphQL using Apollo and codegeneration for a type-safe development environment.
The following template configuration includes;
Install react via the recommended method:
npx create-react-app my-app --template="@alpaca-travel/typescript-apollo-codegen"
Once your react application is created, create an .env.local with updated settings for your project, including the Alpaca Travel API Keys.
REACT_APP_GRAPHQL_ACCESS_TOKEN=pk/sk...
You can access the documentation for the Alpaca Travel GraphQL
Create a folder src/graphql
and write your GraphQL documents there. You
can run the code-generation from the script yarn graphql-codegen
.
The codegen is configured to output the Typescript types to
src/graphql/types.ts
and also create corresponding Apollo Hooks for your
Application.
FAQs
This template is for use with Create React App. It add in typescript and GraphQL using Apollo and codegeneration for a type-safe development environment.
We found that @alpaca-travel/cra-template-typescript-apollo-codegen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.