warframe-nexus-query 2.3.9 → 3.0.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 +10 -5
- package/dist/basedir.d.mts +3 -0
- package/dist/basedir.mjs +7 -0
- package/dist/index.d.mts +868 -0
- package/dist/index.mjs +1778 -0
- package/package.json +31 -17
- package/basedir.js +0 -4
- package/index.js +0 -172
- package/lib/AttachmentCreator.js +0 -198
- package/lib/Settings.js +0 -53
- package/lib/market/v2/MarketFetcherV2.js +0 -447
- package/lib/market/v2/constants.js +0 -60
- package/lib/market/v2/index.js +0 -12
- package/lib/market/v2/models/Item.js +0 -135
- package/lib/market/v2/models/Order.js +0 -197
- package/lib/market/v2/models/Summary.js +0 -165
- package/lib/market/v2/types.d.ts +0 -137
- package/lib/market/v2/utils/cache.js +0 -291
- package/lib/market/v2/utils/http.js +0 -246
- package/lib/market/v2/utils/i18n.js +0 -40
- package/lib/market/v2/utils/statistics.js +0 -185
- package/lib/priceCheckOptions.js +0 -71
- package/lib/promiseTimeout.js +0 -19
- package/types/index.d.ts +0 -522
package/README.md
CHANGED
|
@@ -328,19 +328,24 @@ await querier.stopUpdating();
|
|
|
328
328
|
## Testing
|
|
329
329
|
|
|
330
330
|
```bash
|
|
331
|
-
#
|
|
331
|
+
# Build, then run tests
|
|
332
332
|
npm test
|
|
333
333
|
|
|
334
|
-
#
|
|
335
|
-
npm run
|
|
334
|
+
# Coverage (Coveralls consumes coverage/lcov.info)
|
|
335
|
+
npm run test:coverage
|
|
336
336
|
|
|
337
|
-
#
|
|
338
|
-
npm run
|
|
337
|
+
# Lint and auto-fix. Formatting comes from ESLint Stylistic.
|
|
338
|
+
npm run lint
|
|
339
|
+
npm run lint:fix
|
|
339
340
|
|
|
340
341
|
# Generate API documentation
|
|
341
342
|
npm run build:docs
|
|
342
343
|
```
|
|
343
344
|
|
|
345
|
+
## Docs
|
|
346
|
+
|
|
347
|
+
Typedoc writes HTML to `docs/`. Pull requests build the docs. Pushes to `master` publish them to GitHub Pages.
|
|
348
|
+
|
|
344
349
|
## Development
|
|
345
350
|
|
|
346
351
|
```bash
|
package/dist/basedir.mjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { dirname } from "node:path";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
// basedir.ts
|
|
4
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
5
|
+
/** Directory containing package.json. Source lives at the repo root; the build emits this file under dist/. */
|
|
6
|
+
var basedir_default = here.endsWith("/dist") ? dirname(here) : here;
|
|
7
|
+
export { basedir_default as default };
|