@botpress/sdk 4.15.6 → 4.15.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ import rootConfig from '../../eslint.config.mjs'
2
+
3
+ export default [
4
+ ...rootConfig,
5
+ {
6
+ languageOptions: {
7
+ parserOptions: {
8
+ project: ['./tsconfig.json'],
9
+ tsconfigRootDir: import.meta.dirname,
10
+ },
11
+ },
12
+ },
13
+ ]
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@botpress/sdk",
3
- "version": "4.15.6",
3
+ "version": "4.15.8",
4
4
  "description": "Botpress SDK",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
8
8
  "scripts": {
9
- "check:type": "tsc --noEmit",
10
- "build:type": "tsc --emitDeclarationOnly --declaration",
9
+ "check:type": "tsc -p ./tsconfig.json --noEmit",
10
+ "build:type": "tsc -p ./tsconfig.package.json --emitDeclarationOnly --declaration",
11
11
  "build:browser": "ts-node -T ./build.ts --browser",
12
12
  "build:node": "ts-node -T ./build.ts --node",
13
13
  "build": "pnpm build:type && pnpm build:node && pnpm build:browser"
@@ -16,7 +16,7 @@
16
16
  "author": "",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@botpress/client": "1.24.1",
19
+ "@botpress/client": "1.24.2",
20
20
  "browser-or-node": "^2.1.1"
21
21
  },
22
22
  "devDependencies": {
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "baseUrl": ".",
5
+ "rootDir": "src",
6
+ "outDir": "dist"
7
+ },
8
+ "include": ["src/**/*"],
9
+ "exclude": ["dist"]
10
+ }