Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/botonic-dx-rs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

All notable changes to this package will be documented in this file.

## [0.45.0-alpha.0] - 2026-02-11

### Added

- Initial package setup for `@botonic/dx-rs`.
- Baseline config files for Rspack, Biome and Jest.
- `sample-config` files to consume and extend the shared baseline without copying it.
27 changes: 27 additions & 0 deletions packages/botonic-dx-rs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# @botonic/dx-rs

Developer-experience package that will progressively replace `@botonic/dx`.

## Setup

- Install this package:

```bash
npm install -D @botonic/dx-rs
```

- Copy the contents of `sample-config` to the root of your bot project.
- Extend any config file locally without duplicating baseline configs.

## Included baseline files

- `baseline/rspack.config.ts`
- `baseline/biome.json`
- `baseline/jest.config.js`

## Included sample-config files

- `sample-config/rspack.config.ts`
- `sample-config/biome.json`
- `sample-config/jest.config.js`
- `sample-config/package.json`
15 changes: 15 additions & 0 deletions packages/botonic-dx-rs/baseline/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.0/schema.json",
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
5 changes: 5 additions & 0 deletions packages/botonic-dx-rs/baseline/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('jest').Config} */
module.exports = {
clearMocks: true,
testEnvironment: 'node',
}
5 changes: 5 additions & 0 deletions packages/botonic-dx-rs/baseline/rspack.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from '@rspack/core'

export default defineConfig({
mode: 'production',
})
32 changes: 32 additions & 0 deletions packages/botonic-dx-rs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "@botonic/dx-rs",
"version": "0.45.0-alpha.0",
"description": "Developer experience baseline for the upcoming Botonic RS toolchain",
"scripts": {
"build": "echo Skipping build..."
},
"author": "",
"license": "MIT",
"keywords": [
"bot-framework",
"javascript",
"typescript",
"rspack",
"biome"
],
"dependencies": {
"@biomejs/biome": "^2.3.13",
"@rspack/core": "^1.7.3",
"jest": "^30.2.0"
},
"engines": {
"node": ">=22.19.0",
"npm": ">=10.0.0"
},
"files": [
"README.md",
"CHANGELOG.md",
"baseline/*",
"sample-config/*"
]
}
4 changes: 4 additions & 0 deletions packages/botonic-dx-rs/sample-config/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.0/schema.json",
"extends": ["./node_modules/@botonic/dx-rs/baseline/biome.json"]
}
8 changes: 8 additions & 0 deletions packages/botonic-dx-rs/sample-config/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('jest').Config} */
const config = require('@botonic/dx-rs/baseline/jest.config.js')

// Patch here your custom Jest configuration.
// Example:
// config.testPathIgnorePatterns = [...(config.testPathIgnorePatterns || []), 'tests/helpers']

module.exports = config
8 changes: 8 additions & 0 deletions packages/botonic-dx-rs/sample-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"scripts": {
"format": "biome format --write src/ tests/",
"lint": "biome lint --write src/ tests/",
"lint:check": "biome lint src/ tests/",
"test": "jest"
}
}
12 changes: 12 additions & 0 deletions packages/botonic-dx-rs/sample-config/rspack.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import baseConfig from '@botonic/dx-rs/baseline/rspack.config'

// Extend the shared Rspack baseline for your bot project.
// Example:
// export default {
// ...baseConfig,
// mode: 'development',
// }

export default {
...baseConfig,
}
Loading