open-index/open-npm huggingface dataset:
npm package: @shtse8/bun-plugin-dts
Description: A Bun plugin to generate TypeScript declaration files (.d.ts) during build.
Latest version: 0.1.2

# @shtse8/bun-plugin-dts

[![npm version](https://badge.fury.io/js/%40shtse8%2Fbun-plugin-dts.svg)](https://badge.fury.io/js/%40shtse8%2Fbun-plugin-dts)
[![CI](https://github.com/shtse8/bun-plugin-dts/actions/workflows/publish.yml/badge.svg)](https://github.com/shtse8/bun-plugin-dts/actions/workflows/publish.yml)

A plugin for [Bun](https://bun.sh) that generates TypeScript declaration files
(`.d.ts`) during the `bun build` process.

## Problem

Bun's built-in bundler (`bun build`) is incredibly fast, but it currently does
not generate `.d.ts` files automatically. This makes it difficult to publish
TypeScript libraries built with Bun, as consumers rely on these files for type
checking and autocompletion.

`@shtse8/bun-plugin-dts` solves this by hooking into the build process and using
the TypeScript Compiler API to generate the necessary declaration files
alongside your JavaScript output.

## Installation

```bash
bun add --dev @shtse8/bun-plugin-dts
```

You also need `typescript` installed, which is likely already in your project:

```bash
bun add --dev typescript
```

## Usage

Import the plugin and add it to the `plugins` array in your `Bun.build`
configuration.

**Example `build.ts`:**

```typescript
import Bun from "bun";
import dts from "@shtse8/bun-plugin-dts"; // Import the plugin

await Bun.build({
    entrypoints: ["./src/index.ts"],
    outdir: "./dist",
    target: "bun", // Or your desired target
    plugins: [
        dts(), // Add the plugin here
    ],
    // ... other build options
});

console.log("Build complete!");
```

The plugin will automatically:

1. Find your `tsconfig.json` in the project `root`.
2. Read the entry points and output directory (`outdir`) from the `Bun.build`
   config.
3. Generate `.d.ts` files corresponding to your entry points within the
   specified `outdir`.

## Configuration (Optional)

Currently, the plugin automatically detects settings from your `tsconfig.json`
and `Bun.build` configuration. Explicit plugin options may be added in the
future if needed.

## Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull
request on the [GitHub repository](https://github.com/shtse8/bun-plugin-dts).

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
for details.
npm package: @shtse8/fireschema-runtime
Description: Runtime library for code generated by FireSchema (TypeScript)
Author: FireSchema Contributors
Latest version: 0.1.3

# @fireschema/ts-runtime

This package provides the runtime library for TypeScript code generated by the
[FireSchema](https://github.com/your_org/fireschema) tool. It contains the base
classes and utilities necessary for the generated Object Document Mapper (ODM)
code to interact with Google Firestore.

## Installation

You typically don't install this package directly. It will be added as a
dependency by the `fireschema` tool when generating TypeScript code.

However, if you need to install it manually:

```bash
npm install @fireschema/ts-runtime firebase
# or
yarn add @fireschema/ts-runtime firebase
# or
pnpm add @fireschema/ts-runtime firebase
```

**Note:** This package requires `firebase` (version 9, 10, or 11) as a peer
dependency.

## Usage

This package is intended for internal use by the code generated by `fireschema`.
The generated classes (e.g., `UsersCollection`, `UsersQueryBuilder`,
`UsersUpdateBuilder`) extend the base classes provided by this runtime
(`BaseCollectionRef`, `BaseQueryBuilder`, `BaseUpdateBuilder`).

Refer to the main
[FireSchema documentation](https://github.com/your_org/fireschema) for details
on how to use the generated code.

## Contributing

Please refer to the main
[FireSchema repository](https://github.com/your_org/fireschema) for contribution
guidelines.

## License

MIT
npm package: @shu-cli/front-end-utils
Description: front-end-utils
Latest version: 1.5.2

# front-end-utils

#### 介绍
cesiumJs和threeJs的工具库封装。

#### 软件架构
软件架构说明

├── config                                           # rollup 配置
|  ├── rollup.config.aio.js                          # umd 配置
|  ├── rollup.config.esm.js                          # es 模块配置
|  └── rollup.js                                     # banner, npm name
|
├── lib                                              # npm 发布入口
|  ├── index.esm.js                                  # es module
|  ├── index.cjs.js                                      # commonJs
|
├── src
|  └── index.ts                                      # ts源文件
|
└── tsconfig.json                                    # typescript配置

#### 使用说明

```shell
# 编译esm,commonJs版本
npm run build
```