open-index/open-npm huggingface dataset:
npm package: @lahmjs/plugin-basic-ssl
Description: A plugin to generate untrusted certificates which still allows to access the page after proceeding a wall with warning.
Author: NKDuy
Latest version: 1.1.0

# @lahmjs/plugin-basic-ssl [![npm](https://img.shields.io/npm/v/@lahmjs/plugin-basic-ssl.svg)](https://npmjs.com/package/@lahmjs/plugin-basic-ssl)

A plugin to generate untrusted certificates which still allows to access the page after proceeding a wall with warning.

In most scenarios, it is recommended to generate a secure trusted certificate instead and use it to configure [`server.https`](https://lahmjs.web.app/config/server-options.html#server-https)

## Usage

```js
// lahm.config.js
import basicSsl from '@lahmjs/plugin-basic-ssl'

export default {
  plugins: [
    basicSsl({
      /** name of certification */
      name: 'test',
      /** custom trust domains */
      domains: ['*.custom.com'],
      /** custom certification directory */
      certDir: '/Users/.../.devServer/cert'
    })
  ]
}
```

## License

MIT
npm package: @lahmjs/release-scripts
Description: @lahmjs release scripts
Latest version: 1.3.1

# @lahmjs/release-scripts

This repo is used to share release & publish scripts for the org. Scripts should be executed from the workspace root via `tsx scripts/release.ts`

## release

```ts
import { release } from "@lahmjs/release-scripts";

release({
  // Name of the repo for CI link
  repo: "release-scripts",
  // List of options. Choice will be available in following callback as `pkg`
  packages: ["release-scripts"],
  toTag: (pkg, version) =>
    pkg === "lahm" ? `v${version}` : `${pkg}@${version}`,
  // Not shared until we find a new changelog process
  logChangelog: (pkg) =>
    console.log(
      execSync(
        "git log $(git describe --tags --abbrev=0)..HEAD --oneline",
      ).toString(),
    ),
  generateChangelog: (pkg, version) => {},
  // Use getPkgDir when not using a monorepo. Default to `packages/${pkg}`
  getPkgDir: (pkg) => ".",
});
```

## publish

```ts
import { publish } from "@lahmjs/release-scripts";

publish({
  // Used when tag is not `pkg@version`
  defaultPackage: "release-scripts",
  // Use getPkgDir when not in a monorepo. Default to `packages/${pkg}`
  getPkgDir: (pkg) => ".",
  // Publish with provenance https://docs.npmjs.com/generating-provenance-statements
  provenance: true,
  // Package manager that runs the publish command
  packageManager: "pnpm",
});
```