1.1.0 • Published 2 years ago
readable-to-string v1.1.0
workspace
A pnpm workspace boilerplate for Typescript projects.
Features
- Managed with
pnpm, ensuring efficient package management. - ESLint configuration extending
eslint-config-dsfx3d. - Sample module
fooexported in the main index.
Workspace Structure
The workspace is structured as follows:
- Main packages are located in the
packages/directory. - Additional components can be added in the
components/directory. - Packages inside
testdirectories are excluded.
Installation
To set up the workspace:
pnpm bootstrapScripts
bootstrap: Update packages and install Husky hooks.
Dependencies
- Development:
@commitlint/cli@commitlint/config-conventionaleslinteslint-config-dsfx3dhuskyprettiertypescript
packageName
This is my package description.
Usage
Install package:
# npm
npm install packageName
# yarn
yarn add packageName
# pnpm
pnpm install packageNameImport:
// ESM
import {} from "packageName";
// CommonJS
const {} = require("packageName");Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable - Install dependencies using
pnpm install - Run interactive tests using
pnpm dev
License
Made with 💛
Published under MIT License.