@sprucelabs/spruce-conversation-plugin 56.0.22 → 56.0.24
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.
- package/build/esm/topics/TopicLoader.js +1 -1
- package/build/topics/TopicLoader.js +1 -1
- package/package.json +120 -121
|
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import pathUtil from 'path';
|
|
11
|
+
import globby from '@sprucelabs/globby';
|
|
11
12
|
import { SchemaError } from '@sprucelabs/schema';
|
|
12
|
-
import globby from 'globby';
|
|
13
13
|
import SpruceError from '../errors/SpruceError.js';
|
|
14
14
|
export default class TopicLoader {
|
|
15
15
|
constructor() { }
|
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const path_1 = __importDefault(require("path"));
|
|
7
|
+
const globby_1 = __importDefault(require("@sprucelabs/globby"));
|
|
7
8
|
const schema_1 = require("@sprucelabs/schema");
|
|
8
|
-
const globby_1 = __importDefault(require("globby"));
|
|
9
9
|
const SpruceError_1 = __importDefault(require("../errors/SpruceError"));
|
|
10
10
|
class TopicLoader {
|
|
11
11
|
constructor() { }
|
package/package.json
CHANGED
|
@@ -1,123 +1,122 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"gitHead": "a4a3b72b97b61e9a8cfee4f7889b9953f637f750"
|
|
2
|
+
"name": "@sprucelabs/spruce-conversation-plugin",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"skill": {
|
|
7
|
+
"namespace": "conversation",
|
|
8
|
+
"upgradeIgnoreList": [
|
|
9
|
+
"@types/node",
|
|
10
|
+
"@sprucelabs/spruce-test-fixtures",
|
|
11
|
+
"inquirer",
|
|
12
|
+
"@types/inquirer"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"version": "56.0.24",
|
|
16
|
+
"files": [
|
|
17
|
+
"build/**/*",
|
|
18
|
+
"!build/__tests__",
|
|
19
|
+
"!build/esm/__tests__",
|
|
20
|
+
"tsconfig.json"
|
|
21
|
+
],
|
|
22
|
+
"main": "./build/index.js",
|
|
23
|
+
"types": "./build/index.d.ts",
|
|
24
|
+
"module": "./build/esm/index.js",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"description": "Spruce Conversation! 🎙",
|
|
28
|
+
"keywords": [
|
|
29
|
+
"node",
|
|
30
|
+
"sprucelabs"
|
|
31
|
+
],
|
|
32
|
+
"homepage": "https://github.com/sprucelabsai/spruce-features-workspace",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/sprucelabsai/spruce-features-workspace/issues"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build.ci": "yarn build.tsc && yarn build.resolve-paths && yarn lint",
|
|
38
|
+
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
|
|
39
|
+
"build.dev": "yarn build.tsc --sourceMap ; yarn resolve-paths.lint",
|
|
40
|
+
"build.dist": "tsc --project tsconfig.dist.json && yarn build.resolve-paths && mv build esm && yarn build.esm-postbuild && yarn build.tsc && yarn build.resolve-paths && mv esm build/ && yarn clean.dist",
|
|
41
|
+
"build.esm-postbuild": "esm-postbuild --target esm --patterns '**/*.js'",
|
|
42
|
+
"build.resolve-paths": "resolve-path-aliases --target build --patterns '**/*.js,**/*.d.ts'",
|
|
43
|
+
"build.tsc": "yarn build.copy-files && tsc",
|
|
44
|
+
"clean": "yarn clean.build",
|
|
45
|
+
"clean.all": "yarn clean.dependencies && yarn clean.build",
|
|
46
|
+
"clean.build": "rm -rf build/",
|
|
47
|
+
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
|
|
48
|
+
"clean.dist": "true",
|
|
49
|
+
"fix.lint": "cd ../ && yarn fix.lint",
|
|
50
|
+
"fix.lint.local": "eslint --fix --cache '**/*.ts'",
|
|
51
|
+
"lint": "eslint --cache '**/*.ts'",
|
|
52
|
+
"rebuild": "cd .. && yarn rebuild",
|
|
53
|
+
"resolve-paths.lint": "yarn build.resolve-paths ; yarn lint",
|
|
54
|
+
"test": "jest",
|
|
55
|
+
"update.dependencies": "cd ../ && yarn update.dependencies",
|
|
56
|
+
"post.watch.build": "yarn build.copy-files && yarn build.resolve-paths",
|
|
57
|
+
"spruce.upgrade": "spruce upgrade",
|
|
58
|
+
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn post.watch.build'",
|
|
59
|
+
"watch.lint": "concurrently 'yarn lint' \"chokidar 'src/**/*' -c 'yarn lint.tsc'\"",
|
|
60
|
+
"watch.rebuild": "yarn clean.all && yarn && yarn watch.build.dev",
|
|
61
|
+
"watch.tsc": "tsc -w",
|
|
62
|
+
"lint.tsc": "tsc -p . --noEmit"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@nlpjs/nlu": "^4.26.1",
|
|
66
|
+
"@sprucelabs/error": "^5.0.587",
|
|
67
|
+
"@sprucelabs/globby": "^0.0.7",
|
|
68
|
+
"@sprucelabs/mercury-core-events": "^18.0.20",
|
|
69
|
+
"@sprucelabs/schema": "^28.5.146",
|
|
70
|
+
"@sprucelabs/spruce-core-schemas": "^37.2.7",
|
|
71
|
+
"@sprucelabs/spruce-event-plugin": "^56.0.24",
|
|
72
|
+
"@sprucelabs/spruce-event-utils": "^34.0.18",
|
|
73
|
+
"@sprucelabs/spruce-skill-booter": "^56.0.24",
|
|
74
|
+
"@sprucelabs/spruce-skill-utils": "^28.1.102",
|
|
75
|
+
"@sprucelabs/spruce-test-fixtures": "^56.0.24",
|
|
76
|
+
"fuzzyset": "^1.0.7",
|
|
77
|
+
"inquirer": "^8.2.4",
|
|
78
|
+
"node-nlp": "^4.26.1",
|
|
79
|
+
"random": "^4.1.0"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@sprucelabs/esm-postbuild": "^3.0.7",
|
|
83
|
+
"@sprucelabs/jest-json-reporter": "^7.0.6",
|
|
84
|
+
"@sprucelabs/mercury-client": "^38.0.18",
|
|
85
|
+
"@sprucelabs/resolve-path-aliases": "^1.1.194",
|
|
86
|
+
"@sprucelabs/semantic-release": "^4.0.8",
|
|
87
|
+
"@sprucelabs/test": "^7.7.426",
|
|
88
|
+
"@sprucelabs/test-utils": "^3.4.18",
|
|
89
|
+
"@types/fuzzyset": "^1.0.4",
|
|
90
|
+
"@types/inquirer": "^8.2.1",
|
|
91
|
+
"@types/node": "17.0.5",
|
|
92
|
+
"chokidar-cli": "^3.0.0",
|
|
93
|
+
"concurrently": "^7.6.0",
|
|
94
|
+
"eslint": "^8.36.0",
|
|
95
|
+
"eslint-config-spruce": "^10.12.0",
|
|
96
|
+
"jest": "^29.5.0",
|
|
97
|
+
"jest-circus": "^29.5.0",
|
|
98
|
+
"prettier": "^2.8.4",
|
|
99
|
+
"ts-node": "^10.9.1",
|
|
100
|
+
"tsc-watch": "^6.0.0",
|
|
101
|
+
"tsconfig-paths": "^4.1.2",
|
|
102
|
+
"typescript": "^4.9.5"
|
|
103
|
+
},
|
|
104
|
+
"jest": {
|
|
105
|
+
"maxWorkers": 2,
|
|
106
|
+
"testTimeout": 300000,
|
|
107
|
+
"testEnvironment": "node",
|
|
108
|
+
"testPathIgnorePatterns": [
|
|
109
|
+
"<rootDir>/tmp/",
|
|
110
|
+
"<rootDir>/src/",
|
|
111
|
+
"<rootDir>/node_modules/",
|
|
112
|
+
"<rootDir>/build/esm/"
|
|
113
|
+
],
|
|
114
|
+
"testMatch": [
|
|
115
|
+
"**/__tests__/**/*.test.js?(x)"
|
|
116
|
+
],
|
|
117
|
+
"moduleNameMapper": {
|
|
118
|
+
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"gitHead": "eb450d31184fcc060c9b31017545225a6d8c6672"
|
|
123
122
|
}
|