chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:48 +08:00
commit 77bb5bf71f
3762 changed files with 353249 additions and 0 deletions
@@ -0,0 +1,27 @@
import * as sdk from '@botpress/sdk'
import integrationWithEntityDependency from './bp_modules/integration-with-entity-dependency'
import pluginWithInterfaceDependency from './bp_modules/plugin-with-interface-dependency'
export default new sdk.BotDefinition({})
.addIntegration(integrationWithEntityDependency, {
alias: 'integration-with-entity-dep',
enabled: true,
configuration: {},
})
.addPlugin(pluginWithInterfaceDependency, {
alias: 'plugin-alias',
configuration: {
foo: 'bar',
item: {
id: 'foo',
name: 'Foo',
color: 'blue',
},
},
dependencies: {
'interface-alias': {
integrationAlias: 'integration-with-entity-dep',
integrationInterfaceAlias: Object.keys(integrationWithEntityDependency.definition.interfaces)[0]!,
},
},
})
@@ -0,0 +1,18 @@
{
"name": "cli-fixtures-bot-with-plugin-dependency",
"scripts": {
"check:type": "tsc --noEmit"
},
"private": true,
"dependencies": {
"@botpress/sdk": "workspace:*"
},
"devDependencies": {
"@types/node": "^22.16.4",
"typescript": "^5.6.3"
},
"bpDependencies": {
"integration-with-entity-dependency": "../../integrations/integration-with-entity-dependency",
"plugin-with-interface-dependency": "../../plugins/plugin-with-interface-dependency"
}
}
@@ -0,0 +1,7 @@
import * as bp from '.botpress'
const bot = new bp.Bot({
actions: {},
})
export default bot
@@ -0,0 +1,28 @@
{
"compilerOptions": {
"lib": ["es2022"],
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedParameters": true,
"target": "es2017",
"paths": { "*": ["./*"] },
"outDir": "dist",
"checkJs": false,
"incremental": true,
"exactOptionalPropertyTypes": false,
"resolveJsonModule": true,
"noPropertyAccessFromIndexSignature": false,
"noUnusedLocals": false
},
"include": [".botpress/**/*", "src/**/*", "*.ts", "*.json"]
}