open-index/open-npm huggingface dataset:
npm package: @talentui/component-webpack-config
Description: webpack不仅提供了的项目打包的流程，也支持创建一个外部库，同时可以通过webpack强大的插件机制解决加载非js模块的问题。这样使我们开发组件和开发项目有一样的流程和体验。
Author: Li Guoming
Latest version: 1.0.0

# 用来开发和打包组件的webpack配置
webpack不仅提供了的项目打包的流程，也支持创建一个外部库，同时可以通过webpack强大的插件机制解决加载非js模块的问题。这样使我们开发组件和开发项目有一样的流程和体验。

## 使用方法
首先，使用`talent-ui-component-webpack-config`可以通过传递简单的参数，来得到全套的webpack组件开发的配置。所以我们要在组件项目中配置使用webpack.

### 添加webpack.config.js
```js
const path = require('path');
module.exports = require('../index.js')({
    root: path.resolve(__dirname),
    entry: './src/index.js'
})
```

### 开发组件代码

### 构建项目
> 在构建项目的时候，`talent-ui-component-webpack-config`会读取项目package.json中的name字段作为library的名字，比如package.json中的名字叫作example-component，那么library就叫做exampleComponent

> 同时会了达到最好的兼容性，libraryTarget的值设置为了umd。

> 输出目录为dist, 输出文件分为三部分， dist/js, [style.css和assets (放置字段图片等其他资源)]。组件的package.json中的main应该指向dist/index.js。如果要引入组件的css，请在**项目**执行下面的引用

```js
    import css from 'example-component/dist/style.css'
    //other code
```

## 配置参数

> `root` 组件项目的根目录，物理路径

> entry: 组件的入口文件，必须

> name: library的名字，可不传，默认为package.json中的name字段

> compress: 是否启用压缩，默认为flase
npm package: @talentui/dll-ethos
Description: 目前包含的几个库有： ```js  "@beisen/base-button",   "@beisen/beisen-scroll-bar",   "@beisen/checkbox-list",   "@beisen/common-input",   "@beisen/common-label",   "@beisen/common-mount",   "@beisen/common-pop",   "@beisen/date-time",   "@beisen/dropdown",   "@beise
Latest version: 1.0.13

# 将upss-portal项目中，pagebuilder组件所依赖的基础组件打包出来的dll包

目前包含的几个库有：
```js
 "@beisen/base-button",
  "@beisen/beisen-scroll-bar",
  "@beisen/checkbox-list",
  "@beisen/common-input",
  "@beisen/common-label",
  "@beisen/common-mount",
  "@beisen/common-pop",
  "@beisen/date-time",
  "@beisen/dropdown",
  "@beisen/dropdown-button",
  "@beisen/dropdown-list",
  "@beisen/es6-promise-debounce",
  "@beisen/input-box",
  "@beisen/loading",
  "@beisen/nade-style",
  "@beisen/paging",
  "@beisen/pb-svg",
  "@beisen/pop-layer",
  "@beisen/radio-list",
  "@beisen/react-width-provider",
  "@beisen/search",
  "@beisen/selected-component",
  "@beisen/tab-component",
  "@beisen/text-area",
  "@beisen/text-box",
  "@beisen/time-picker",
  "@beisen/tool-tip",
  "@beisen/tree",
  "@beisen/upaas-portal-common-css",
  "@beisen/user-selector",
```

## 遇到的几个问题：

1. 在打包ethos组件的时候，基础组件内部的静态资源，如svg文件等如何处理？使用webpack publicPath配置
2. 打包出来的style css文件
3. 将打包出来的dist下的文件同步到服务器，包括：js css file


## changelog

### 1.0.10
考虑到基础组件prop-types的问题，基于react 15 重新打包

### 1.0.9 
基于新的dll-naming 打包
npm package: @talentui/external-component-bootstrap
Description: > pageBuilder组件开发模版启动和打包项目的核心模版代码，方便更新和发版
Author: lihe3
Latest version: 1.0.5

> pageBuilder组件开发模版启动和打包项目的核心模版代码，方便更新和发版

问题：
1. webpack.config.js 中的entry使用相对路径不行  为啥  './src/app.js'
npm package: @talentui/external-component-template-core
Description: > pageBuilder组件开发模版启动和打包项目的核心模版代码，方便更新和发版
Author: lihe3
Latest version: 1.0.4

> pageBuilder组件开发模版启动和打包项目的核心模版代码，方便更新和发版

问题：
1. webpack.config.js 中的entry使用相对路径不行  为啥  './src/app.js'
npm package: @talesmgodois/trex
Description: Terminal-based tool for HTTP requests (Trex)
Author: talesmgodois
Latest version: 0.2.3

# trex

## Install
```bash
bun install
```

## Run
Trex starts a small CLI from `src/index.ts`.

Examples:
```bash
# list registered requests/functions (from config)
bun run ./src/index.ts list

# execute a request by name
bun run ./src/index.ts req getTodo

# run with a jq filter (jq syntax)
bun run ./src/index.ts req getTodo --filter .title
```

## Configuration (`trex.config.ts`)
Trex loads a config file on startup and executes it once.

- Default config location: `src/trex.config.ts`
- Custom config: pass `--config <path>`
  - `bun run ./src/index.ts --config ./samples/trex.config.ts req getTodo`

### What you put in `trex.config.ts`
Your config should register:

1. Environments
```ts
import { env, regEnv } from "../src/trex.lib.ts";

regEnv("public", { JSON_BASE_URL: "https://jsonplaceholder.typicode.com" });
env("public"); // selects the active env
```

2. HTTP requests (public APIs, etc.)
Use `addHttpFunc()` (recommended for testing):
```ts
import { addHttpFunc } from "../src/trex.lib.ts";

addHttpFunc("getTodo", {
  method: "GET",
  url: "{{JSON_BASE_URL}}/todos/1",
});
```

3. Pure TS/JS functions (optional)
```ts
import { addFunction } from "../src/trex.lib.ts";

export const sum = addFunction("sum", ({ a, b }: { a: number; b: number }) => a + b);
```

### Templates
The engine supports:

- `{{VAR_NAME}}` -> replaced from the active environment vars
- `[[requestName.path]]` -> replaced from the data saved by a previous request (after `req <requestName>`)

## Samples
This repo includes `samples/trex.config.ts`, which hits JSONPlaceholder (public test API).

Run it:
```bash
bun run ./src/index.ts --config ./samples/trex.config.ts list
bun run ./src/index.ts --config ./samples/trex.config.ts req getTodo
bun run ./src/index.ts --config ./samples/trex.config.ts req getTodosForUser1
bun run ./src/index.ts --config ./samples/trex.config.ts req createPostSample
```

Tip: try `--filter` too:
```bash
bun run ./src/index.ts --config ./samples/trex.config.ts req getTodo --filter .title
```
npm package: @talesoft/circle
Description: @talesoft/try-catch =====================
Latest version: 0.1.1-alpha.0

@talesoft/try-catch
=====================

A simple functional wrapper for a try-catch statement.

Makes it easier to handle exceptions immutably.

Usage
=====

```ts
import tryCatch from '@talesoft/try-catch'

function somethingThatCanThrow() {

  if (amIWrong()) {

    throw new Error('I\'m wrong!')
  }

  return 'Some result'
}

const result = tryCatch(somethingThatCanThrow)

// result is of type `string | Error`

const alwaysResult = tryCatch(somethingThatCanThrow, () => 'Other result')

// alwaysResult is of type `string` ('Some result' or 'Other result')

const alwaysResult = tryCatch(somethingThatCanThrow, error => error.message)

// alwaysResult is of type `string` ('Some result' or 'I\'m wrong!')
```
npm package: @talesoft/env
Description: @talesoft/try-catch =====================
Latest version: 0.1.1-alpha.0

@talesoft/try-catch
=====================

A simple functional wrapper for a try-catch statement.

Makes it easier to handle exceptions immutably.

Usage
=====

```ts
import tryCatch from '@talesoft/try-catch'

function somethingThatCanThrow() {

  if (amIWrong()) {

    throw new Error('I\'m wrong!')
  }

  return 'Some result'
}

const result = tryCatch(somethingThatCanThrow)

// result is of type `string | Error`

const alwaysResult = tryCatch(somethingThatCanThrow, () => 'Other result')

// alwaysResult is of type `string` ('Some result' or 'Other result')

const alwaysResult = tryCatch(somethingThatCanThrow, error => error.message)

// alwaysResult is of type `string` ('Some result' or 'I\'m wrong!')
```
npm package: @talesoft/json-pointer
Description: @talesoft/json-pointer ======================
Latest version: 0.1.2

@talesoft/json-pointer
======================

Utilities for JSON-pointers.

Install
=======

```bash
// Yarn
yarn add @talesoft/json-pointer

// NPM
npm i @talesoft/json-pointer
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

```ts
import { resolve } from '@talesoft/json-pointer'

const value = resolve('/someProperty/2', { someProperty: ['a', 'b', 'c', 'd']}) // "c"
```
npm package: @talesoft/react-css-tools
Description: Some utilities to ease up React development with pure CSS or SCSS
Author: Torben Köhn
Latest version: 0.1.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

https://github.com/Talesoft/react-css-tools-js/blob/master/README.md
npm package: @talesoft/rectangle
Description: @talesoft/try-catch =====================
Latest version: 0.1.1-alpha.0

@talesoft/try-catch
=====================

A simple functional wrapper for a try-catch statement.

Makes it easier to handle exceptions immutably.

Usage
=====

```ts
import tryCatch from '@talesoft/try-catch'

function somethingThatCanThrow() {

  if (amIWrong()) {

    throw new Error('I\'m wrong!')
  }

  return 'Some result'
}

const result = tryCatch(somethingThatCanThrow)

// result is of type `string | Error`

const alwaysResult = tryCatch(somethingThatCanThrow, () => 'Other result')

// alwaysResult is of type `string` ('Some result' or 'Other result')

const alwaysResult = tryCatch(somethingThatCanThrow, error => error.message)

// alwaysResult is of type `string` ('Some result' or 'I\'m wrong!')
```
npm package: @talesoft/schema
Description: @talesoft/schema ================
Latest version: 0.1.2

@talesoft/schema
================

A very clean and lightweight implementation of the [JSON-Schema](https://json-schema.org/) standard.

It provides easy construction of schemas and a full, blazing-fast validator.

Especially for TypeScript users it also provides clean and proper typing for JSON-Schemas.

Install
=======

```bash
// Yarn
yarn add @talesoft/schema

// NPM
npm i @talesoft/schema
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

### Type a schema

This library comes with a lot of ready-to-use types for common schemas.

For most common use-cases you can fully rely on the `Schema`-type, which
includes all properties known to the JSON-Schema standard.

```ts
import type { Schema } from '@talesoft/schema'

const user: Schema = {
  type: 'object',
  properties: {
    email: { type: 'string', format: 'email' },
    password: { type: 'string', minLength: 5 },
  },
}
```

### Build schemas easily with factories

With a set of factories you can build fully-fledged schemas a lot easier.

We avoid bringing in complex, reference-based builders so that you can use
the factories in functional programming patterns for even smarter and faster
schema creation.

```ts
import { object, string } from '@talesoft/schema'

const user = object({
  properties: {
    email: string({ format: 'email' }),
    password: string({ minLength: 5 }),
  },
  required: ['email'],
})
```

#### Showcasing some factories (find more in the docs)

```ts
// Primitives
import {
  schemaNull,
  boolean,
  string,
  number,
  integer,
  arrayOf,
  objectOf,
  nullable,
} from '@talesoft/schema'

const product = objectOf({
  title: string({ minLength: 5 }),
  description: oneOf(string(), schemaNull()),
  shortDescription: nullable(string()),
  price: number({ minimum: 0, maximum: 1000 }),
  stock: integer({ minimum: 0 }),
  tags: arrayOf(string(), { maxItems: 5 }),
}, { required: ['title', 'price', 'tags'] })
```

#### Composition of schemas

See [the official JSON-Schema docs](https://json-schema.org/understanding-json-schema/reference/combining.html) for
more information.

```ts
import { allOf, anyOf, oneOf, not, ... } from '@talesoft/schema'

allOf(string(), { minLength: 5 }) // { allOf: [{ type: 'string' }, { minLength: 5 }] }
anyOf(string(), number(), schemaNull()) // { anyOf: [{ type: 'string' }, { type: 'number' }, { type: 'null' }]}
oneOf(string(), schemaNull()) // { anyOf: [{ type: 'string' }, { type: 'number' }, { type: 'null' }]}
not(anyOf(string(), number()))
```
npm package: @talesoft/try-catch
Description: @talesoft/try-catch =====================
Latest version: 0.1.2

@talesoft/try-catch
=====================

A simple functional wrapper for a try-catch statement.

Makes it easier to handle exceptions immutably.

Usage
=====

```ts
import tryCatch from '@talesoft/try-catch'

function somethingThatCanThrow() {

  if (amIWrong()) {

    throw new Error('I\'m wrong!')
  }

  return 'Some result'
}

const result = tryCatch(somethingThatCanThrow)

// result is of type `string | Error`

const alwaysResult = tryCatch(somethingThatCanThrow, () => 'Other result')

// alwaysResult is of type `string` ('Some result' or 'Other result')

const alwaysResult = tryCatch(somethingThatCanThrow, error => error.message)

// alwaysResult is of type `string` ('Some result' or 'I\'m wrong!')
```
npm package: @talesoft/types
Description: @talesoft/types ================
Latest version: 0.1.2

@talesoft/types
================

Minimalistic and strict utility functions for JavaScript's primitive types.

Install
=======

```bash
// Yarn
yarn add @talesoft/types

// NPM
npm i @talesoft/types
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

#### Predicates for simple type checks

```ts
import {
  isUndefined,
  isNull,
  isNullOrUndefined,
  isBoolean,
  isString,
  isNumber,
  isInteger,
  isNumeric,
  isArray,
  isObject,
  isFunction,
} from '@talesoft/types'

isUndefined('test') // false
isUndefined(undefined) // true
isUndefined(null) // false

isNull('test') // false
isNull(null) // true
isNull(undefined) // false


// etc...
```
npm package: @talesxx/midscene-core
Description: Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.
Latest version: 0.20.1

## Documentation

Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.