@rapidmx/autodiscover-plugin 1.0.0-beta.1
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/LICENSE +382 -0
- package/README.md +90 -0
- package/dist/lib/AutodiscoverXml.js +137 -0
- package/dist/lib/AutodiscoverXml.js.map +1 -0
- package/dist/lib/BaseAutodiscoverRoute.js +205 -0
- package/dist/lib/BaseAutodiscoverRoute.js.map +1 -0
- package/dist/lib/index.js +28 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/mongo/AutodiscoverRouteMongo.js +31 -0
- package/dist/lib/mongo/AutodiscoverRouteMongo.js.map +1 -0
- package/dist/lib/mongo/index.js +6 -0
- package/dist/lib/mongo/index.js.map +1 -0
- package/dist/lib/mongo.js +6 -0
- package/dist/lib/mongo.js.map +1 -0
- package/dist/lib/sql/AutodiscoverRouteSQL.js +39 -0
- package/dist/lib/sql/AutodiscoverRouteSQL.js.map +1 -0
- package/dist/lib/sql/index.js +6 -0
- package/dist/lib/sql/index.js.map +1 -0
- package/dist/lib/sql.js +6 -0
- package/dist/lib/sql.js.map +1 -0
- package/dist/types/AutodiscoverXml.d.ts +58 -0
- package/dist/types/BaseAutodiscoverRoute.d.ts +79 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/mongo/AutodiscoverRouteMongo.d.ts +11 -0
- package/dist/types/mongo/index.d.ts +1 -0
- package/dist/types/mongo.d.ts +1 -0
- package/dist/types/sql/AutodiscoverRouteSQL.d.ts +15 -0
- package/dist/types/sql/index.d.ts +1 -0
- package/dist/types/sql.d.ts +1 -0
- package/package.json +105 -0
package/package.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rapidmx/autodiscover-plugin",
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
4
|
+
"description": "A RapidMX plugin that provides Autodiscover protocol support.",
|
|
5
|
+
"repository": "https://github.com/RapidMX/autodiscover.git",
|
|
6
|
+
"author": "RapidREST <rapidrests@gmail.com>",
|
|
7
|
+
"license": "MPL-2.0",
|
|
8
|
+
"contributors": [
|
|
9
|
+
"Jean-Philippe Steinmetz"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "yarn lint && rimraf dist && tsc",
|
|
13
|
+
"lint": "eslint ./src ./test",
|
|
14
|
+
"local-audit": "yarn install && yarn npm audit -A -R \"$@\"",
|
|
15
|
+
"checkup": "yarn dlx @yarnpkg/doctor \"$@\"",
|
|
16
|
+
"dependency-check": "yarn dlx depcheck \"$@\"",
|
|
17
|
+
"report-coverage": "cat ./coverage/lcov.info | coveralls",
|
|
18
|
+
"test": "vitest run",
|
|
19
|
+
"test:prod": "npm run lint && vitest run --coverage",
|
|
20
|
+
"test:watch": "vitest",
|
|
21
|
+
"release": "npx @rapidrest/cli release",
|
|
22
|
+
"prepublish": "yarn build"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@rapidmx/restapi": "0.x",
|
|
26
|
+
"@rapidrest/core": "5.x",
|
|
27
|
+
"@rapidrest/service-core": "2.x"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@rapidmx/restapi": "^0.9.0",
|
|
31
|
+
"@rapidrest/core": "^5.2.2",
|
|
32
|
+
"@rapidrest/service-core": "^2.0.0",
|
|
33
|
+
"@swc/core": "^1.16.2",
|
|
34
|
+
"@types/nconf": "^0.10.7",
|
|
35
|
+
"@types/node": "^26.5.0",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
37
|
+
"@typescript-eslint/parser": "^8.70.0",
|
|
38
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
39
|
+
"better-sqlite3": "^13.0.3",
|
|
40
|
+
"eslint": "^10.10.0",
|
|
41
|
+
"eslint-config-prettier": "^10.1.8",
|
|
42
|
+
"eslint-plugin-import": "^2.32.0",
|
|
43
|
+
"eslint-plugin-jsdoc": "^64.3.6",
|
|
44
|
+
"globals": "^17.12.0",
|
|
45
|
+
"lodash-es": "^4.18.1",
|
|
46
|
+
"mongodb": "^7.6.0",
|
|
47
|
+
"mongodb-memory-server": "^11.2.0",
|
|
48
|
+
"nconf": "^0.13.0",
|
|
49
|
+
"openapi3-ts": "^4.6.1",
|
|
50
|
+
"prom-client": "^15.1.3",
|
|
51
|
+
"redis": "^6.2.1",
|
|
52
|
+
"reflect-metadata": "^0.2.2",
|
|
53
|
+
"rimraf": "^6.1.3",
|
|
54
|
+
"ts-node": "^10.9.2",
|
|
55
|
+
"tsx": "^4.23.13",
|
|
56
|
+
"typeorm": "^1.1.1",
|
|
57
|
+
"typescript": "^6.0.3",
|
|
58
|
+
"unplugin-swc": "^1.6.0",
|
|
59
|
+
"vite": "^8.2.2",
|
|
60
|
+
"vitest": "^5.0.0",
|
|
61
|
+
"winston": "^3.19.0"
|
|
62
|
+
},
|
|
63
|
+
"packageManager": "yarn@4.5.3",
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=24.0.0"
|
|
66
|
+
},
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"registry": "https://registry.npmjs.org/"
|
|
69
|
+
},
|
|
70
|
+
"type": "module",
|
|
71
|
+
"main": "dist/lib/index.js",
|
|
72
|
+
"exports": {
|
|
73
|
+
".": {
|
|
74
|
+
"import": "./dist/lib/index.js",
|
|
75
|
+
"types": "./dist/types/index.d.ts"
|
|
76
|
+
},
|
|
77
|
+
"./mongo": {
|
|
78
|
+
"import": "./dist/lib/mongo.js",
|
|
79
|
+
"types": "./dist/types/mongo.d.ts"
|
|
80
|
+
},
|
|
81
|
+
"./sql": {
|
|
82
|
+
"import": "./dist/lib/sql.js",
|
|
83
|
+
"types": "./dist/types/sql.d.ts"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"typings": "dist/types/index.d.ts",
|
|
87
|
+
"files": [
|
|
88
|
+
"dist"
|
|
89
|
+
],
|
|
90
|
+
"rapidmx": {
|
|
91
|
+
"plugin": {
|
|
92
|
+
"apiVersion": 1,
|
|
93
|
+
"displayName": "Autodiscover",
|
|
94
|
+
"description": "Lets mail apps find this server's ActiveSync and MAPI addresses from just an email address (served at /autodiscover). Only advertises protocols whose plugins are installed.",
|
|
95
|
+
"settings": [
|
|
96
|
+
{
|
|
97
|
+
"key": "mail:autodiscover:public_url",
|
|
98
|
+
"label": "Public server URL",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"help": "The address clients reach this server at, for example https://mail.example.com. Nothing is advertised until this is set."
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|