ogi-addon 1.2.2 → 1.3.0
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/README.md +15 -7
- package/build/EventResponse.cjs +3 -3
- package/build/EventResponse.cjs.map +1 -1
- package/build/EventResponse.js +3 -3
- package/build/EventResponse.js.map +1 -1
- package/build/SearchEngine.cjs.map +1 -1
- package/build/SearchEngine.d.cts +1 -0
- package/build/SearchEngine.d.ts +1 -0
- package/build/config/Configuration.cjs +37 -22
- package/build/config/Configuration.cjs.map +1 -1
- package/build/config/Configuration.js +37 -22
- package/build/config/Configuration.js.map +1 -1
- package/build/config/ConfigurationBuilder.cjs +28 -19
- package/build/config/ConfigurationBuilder.cjs.map +1 -1
- package/build/config/ConfigurationBuilder.d.cts +2 -2
- package/build/config/ConfigurationBuilder.d.ts +2 -2
- package/build/config/ConfigurationBuilder.js +28 -19
- package/build/config/ConfigurationBuilder.js.map +1 -1
- package/build/main.cjs +177 -73
- package/build/main.cjs.map +1 -1
- package/build/main.d.cts +59 -18
- package/build/main.d.ts +59 -18
- package/build/main.js +177 -73
- package/build/main.js.map +1 -1
- package/package.json +3 -2
- package/schema.json +4 -1
- package/src/EventResponse.ts +22 -11
- package/src/SearchEngine.ts +2 -2
- package/src/config/Configuration.ts +53 -13
- package/src/config/ConfigurationBuilder.ts +79 -56
- package/src/main.ts +381 -141
- package/tsconfig.json +4 -10
- package/tsup.config.js +2 -2
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
// project options
|
|
4
|
-
"lib": [
|
|
5
|
-
"ESNext",
|
|
6
|
-
"DOM"
|
|
7
|
-
], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
|
|
4
|
+
"lib": ["ESNext", "DOM"], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
|
|
8
5
|
"removeComments": false, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
|
|
9
6
|
"target": "ESNext", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)
|
|
10
7
|
"declaration": true,
|
|
@@ -29,11 +26,8 @@
|
|
|
29
26
|
// Linter Checks
|
|
30
27
|
"noImplicitReturns": true,
|
|
31
28
|
"noUnusedLocals": true, // Report errors on unused local variables.
|
|
32
|
-
"noUnusedParameters": true
|
|
29
|
+
"noUnusedParameters": true // Report errors on unused parameters in functions
|
|
33
30
|
},
|
|
34
31
|
"include": ["./**/*.ts"],
|
|
35
|
-
"exclude": [
|
|
36
|
-
|
|
37
|
-
"build/**/*"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
32
|
+
"exclude": ["node_modules/**/*", "build/**/*"]
|
|
33
|
+
}
|
package/tsup.config.js
CHANGED