🚀 Socket Launch Week 🚀 Day 1: Introducing .NET Support in Socket.Learn More
Socket
Sign inDemoInstall
Socket

@beardeddudes-dev/strapi-types

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@beardeddudes-dev/strapi-types

Additional Strapi typescript definitions

0.1.13
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Strapi Type Definitions

This package includes additional Strapi types, including plugins and entities.

How to use it

To use this Stripe types in your project, you can install it via npm or yarn:

# Using npm
npm install --save-dev @beardeddudes-dev/strapi-types

# Using yarn
yarn add --dev @beardeddudes-dev/strapi-types

Or add to your package.json:

{
  "devDependencies": {
    "@beardeddudes-dev/strapi-types": "<version>"
  }
}

After, check that file tsconfig.json exists in project root with similar content in Strapi working directory:

{
  "compilerOptions": {
    "outDir": "dist",
    "rootDir": ".",
    "resolveJsonModule": true,
    "types": [
      "@beardeddudes-dev/strapi-types"
    ]
  },
  "exclude": [
    "**/*.test.ts",
    ".cache/",
    "build/",
    "node_modules/",
    "src/admin/",
    "src/plugins/**"
  ],
  "extends": "@strapi/typescript-utils/tsconfigs/server",
  "include": [
    "./",
    "src/**/*.json"
  ]
}

This configuration provides a set of common Strapi types that align with Bearded Dudes preferences.

That's all and have a good coding.

Best wishes,
Bearded Dudes team!

Keywords

strapi

FAQs

Package last updated on 04 Feb 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