mirror of
https://github.com/directus/directus.git
synced 2026-02-13 08:54:54 -05:00
* Start setting up @directus/pressure * Build pressure middleware * Add basic readme * Install @directus/pressure * Fix this binding * Experiment * Add defaults util * Cleanup * Fix export * Use directus defaults * Start tests * Add random-utils package * Finish testing for monitor * Add prod deployment * Stop building test files in prod * My favorite * Integrate pressure handler * Add decent defaults * Add retry header + custom error support * Clean-up merge conflict & sort imports * Fix build * Remove default value for retry after * Verify sampleInterval value * ran eslint * updated package lock * updated vitest * Create slimy-zebras-jam.md * Added basic docs for config options * updated pnpm lock and changeset * Update & align new packages * Update .changeset/slimy-zebras-jam.md --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Brainslug <tim@brainslug.nl>
42 lines
951 B
JSON
42 lines
951 B
JSON
{
|
|
"name": "@directus/pressure",
|
|
"version": "10.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.prod.json",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest --watch=false"
|
|
},
|
|
"description": "Pressure based rate limiter",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/directus/directus.git",
|
|
"directory": "packages/pressure"
|
|
},
|
|
"funding": "https://github.com/directus/directus?sponsor=1",
|
|
"license": "GPL-3.0",
|
|
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "dist/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@directus/random": "workspace:*",
|
|
"@directus/tsconfig": "0.0.7",
|
|
"@types/express": "4.17.17",
|
|
"@vitest/coverage-c8": "0.31.0",
|
|
"typescript": "5.0.4",
|
|
"vitest": "0.31.0"
|
|
},
|
|
"dependencies": {
|
|
"@directus/utils": "workspace:*"
|
|
}
|
|
}
|