Files
directus/api/package.json
Rijk van Zanten 2983e61870 The Great TypeScript Modernization Program Season 3 Episode 6: The Big One (#18014)
* Step 1

* Step 2

* False sense of confidence

* Couple more before dinner

* Update schema package

* Update format-title

* Upgrade specs file

* Close

* Replace ts-node-dev with tsx, and various others

* Replace lodash with lodash-es

* Add lodash-es types

* Update knex import

* More fun is had

* FSE

* Consolidate repos

* Various tweaks and fixes

* Fix specs

* Remove dependency on knex-schema-inspector

* Fix wrong imports of inspector

* Move shared exceptions to new package

* Move constants to separate module

* Move types to new types package

* Use directus/types

* I believe this is no longer needed

* [WIP] Start moving utils to esm

* ESMify Shared

* Move shared utils to  @directus/utils

* Use @directus/utils instead of @directus/shared/utils

* It runs!

* Use correct schemaoverview type

* Fix imports

* Fix the thing

* Start on new update-checker lib

* Use new update-check package

* Swap out directus/shared in app

* Pushing through the last bits now

* Dangerously make extensions SDK ESM

* Use @directus/types in tests

* Copy util function to test

* Fix linter config

* Add missing import

* Hot takes

* Fix build

* Curse these default exports

* No tests in constants

* Add tests

* Remove tests from types

* Add tests for exceptions

* Fix test

* Fix app tests

* Fix import in test

* Fix various tests

* Fix specs export

* Some more tests

* Remove broken integration tests

These were broken beyond repair.. They were also written before we really knew what we we're doing with tests, so I think it's better to say goodbye and start over with these

* Regenerate lockfile

* Fix imports from merge

* I create my own problems

* Make sharp play nice

* Add vitest config

* Install missing blackbox dep

* Consts shouldn't be in types

tsk tsk tsk tsk

* Fix type/const usage in extensions-sdk

* cursed.default

* Reduce circular deps

* Fix circular dep in items service

* vvv

* Trigger testing for all vendors

* Add workaround for rollup

* Prepend the file protocol for the ESM loader to be compatible with Windows
"WARN: Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'"

* Fix postgres

* Schema package updates

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Resolve cjs/mjs extensions

* Clean-up eslint config

* fixed extension concatination

* using string interpolation for consistency

* Revert MySQL optimisation

* Revert testing for all vendors

* Replace tsx with esbuild-kit/esm-loader

Is a bit faster and we can rely on the built-in `watch` and `inspect`
functionalities of Node.js

Note: The possibility to watch other files (.env in our case) might be
added in the future, see https://github.com/nodejs/node/issues/45467

* Use exact version for esbuild-kit/esm-loader

* Fix import

---------

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-04 17:41:56 -04:00

232 lines
5.8 KiB
JSON

{
"name": "directus",
"version": "9.24.0",
"description": "Directus is a real-time API and App dashboard for managing SQL database content",
"type": "module",
"keywords": [
"directus",
"realtime",
"database",
"content",
"api",
"rest",
"graphql",
"app",
"dashboard",
"headless",
"cms",
"mysql",
"postgresql",
"cockroachdb",
"sqlite",
"framework",
"vue"
],
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "api"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "GPL-3.0-only",
"author": {
"name": "Monospace Inc",
"email": "info@monospace.io",
"url": "https://monospace.io"
},
"maintainers": [
{
"name": "Rijk van Zanten",
"email": "rijkvanzanten@me.com",
"url": "https://github.com/rijkvanzanten"
},
{
"name": "Ben Haynes",
"email": "ben@rngr.org",
"url": "https://github.com/benhaynes"
}
],
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"bin": {
"directus": "cli.js"
},
"files": [
"dist",
"!**/*.test.js",
"!**/__*__/"
],
"scripts": {
"build": "tsc --build && copyfiles \"src/**/*.{yaml,liquid}\" -u 1 dist",
"cli": "NODE_ENV=development SERVE_APP=false node --loader @esbuild-kit/esm-loader src/cli/run.ts",
"dev": "NODE_ENV=development SERVE_APP=false node --loader @esbuild-kit/esm-loader --watch --inspect=0 src/start.ts",
"start": "node cli.js start",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"dependencies": {
"@authenio/samlify-node-xmllint": "2.0.0",
"@aws-sdk/client-ses": "3.292.0",
"@directus/app": "workspace:*",
"@directus/constants": "workspace:*",
"@directus/exceptions": "workspace:*",
"@directus/extensions-sdk": "workspace:*",
"@directus/format-title": "10.0.0",
"@directus/schema": "workspace:*",
"@directus/specs": "workspace:*",
"@directus/storage": "workspace:*",
"@directus/storage-driver-azure": "workspace:*",
"@directus/storage-driver-cloudinary": "workspace:*",
"@directus/storage-driver-gcs": "workspace:*",
"@directus/storage-driver-local": "workspace:*",
"@directus/storage-driver-s3": "workspace:*",
"@directus/update-check": "workspace:*",
"@directus/utils": "workspace:*",
"@godaddy/terminus": "4.11.2",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-virtual": "3.0.1",
"argon2": "0.30.3",
"async": "3.2.4",
"axios": "1.3.4",
"busboy": "1.6.0",
"bytes": "3.1.2",
"camelcase": "6.3.0",
"chalk": "4.1.2",
"chokidar": "3.5.3",
"commander": "9.5.0",
"cookie-parser": "1.4.6",
"cors": "2.8.5",
"csv-parser": "3.0.0",
"date-fns": "2.29.3",
"deep-diff": "1.0.2",
"destroy": "1.2.0",
"dotenv": "16.0.3",
"encodeurl": "1.0.2",
"eventemitter2": "6.4.9",
"execa": "5.1.1",
"exif-reader": "1.2.0",
"express": "4.18.2",
"fast-redact": "3.1.2",
"flat": "5.0.2",
"fs-extra": "11.1.0",
"globby": "11.1.0",
"graphql": "16.6.0",
"graphql-compose": "9.0.10",
"helmet": "6.0.1",
"icc": "2.0.0",
"inquirer": "8.2.5",
"ioredis": "5.3.1",
"joi": "17.8.4",
"js-yaml": "4.1.0",
"js2xmlparser": "5.0.0",
"json2csv": "5.0.7",
"jsonwebtoken": "9.0.0",
"keyv": "4.5.2",
"knex": "2.4.2",
"ldapjs": "2.3.3",
"liquidjs": "10.6.1",
"lodash-es": "4.17.21",
"marked": "4.2.12",
"micromustache": "8.0.3",
"mime-types": "2.1.35",
"ms": "2.1.3",
"nanoid": "3.3.4",
"node-cron": "3.0.2",
"node-machine-id": "1.1.12",
"nodemailer": "6.9.1",
"object-hash": "3.0.0",
"openapi3-ts": "3.2.0",
"openid-client": "5.4.0",
"ora": "5.4.1",
"otplib": "12.0.1",
"pino": "8.11.0",
"pino-http": "8.3.3",
"pino-http-print": "3.1.0",
"pino-pretty": "10.0.0",
"qs": "6.11.1",
"rate-limiter-flexible": "2.4.1",
"rollup": "3.19.1",
"samlify": "2.8.10",
"sanitize-html": "2.10.0",
"sharp": "0.31.3",
"snappy": "7.2.2",
"stream-json": "1.7.5",
"strip-bom-stream": "4.0.0",
"tmp-promise": "3.0.3",
"uuid": "9.0.0",
"uuid-validate": "0.0.3",
"vm2": "3.9.14",
"wellknown": "0.5.0"
},
"devDependencies": {
"@directus/tsconfig": "0.0.6",
"@directus/types": "workspace:*",
"@esbuild-kit/esm-loader": "2.5.5",
"@ngneat/falso": "6.4.0",
"@types/async": "3.2.18",
"@types/busboy": "1.5.0",
"@types/bytes": "3.1.1",
"@types/cookie-parser": "1.4.3",
"@types/cors": "2.8.13",
"@types/deep-diff": "1.0.2",
"@types/destroy": "1.0.0",
"@types/encodeurl": "1.0.0",
"@types/exif-reader": "1.0.0",
"@types/express": "4.17.17",
"@types/express-serve-static-core": "4.17.33",
"@types/fast-redact": "3.0.2",
"@types/flat": "5.0.2",
"@types/fs-extra": "11.0.1",
"@types/inquirer": "8.2.6",
"@types/js-yaml": "4.0.5",
"@types/json2csv": "5.0.3",
"@types/jsonwebtoken": "9.0.1",
"@types/keyv": "3.1.4",
"@types/ldapjs": "2.2.5",
"@types/lodash-es": "4.17.7",
"@types/marked": "4.0.8",
"@types/mime-types": "2.1.1",
"@types/ms": "0.7.31",
"@types/node": "18.15.3",
"@types/node-cron": "3.0.7",
"@types/nodemailer": "6.4.7",
"@types/object-hash": "3.0.2",
"@types/qs": "6.9.7",
"@types/sanitize-html": "2.9.0",
"@types/sharp": "0.31.1",
"@types/stream-json": "1.7.3",
"@types/uuid": "9.0.1",
"@types/uuid-validate": "0.0.1",
"@types/wellknown": "0.5.4",
"@vitest/coverage-c8": "0.29.3",
"copyfiles": "2.4.1",
"form-data": "4.0.0",
"knex-mock-client": "2.0.0",
"typescript": "4.9.5",
"vitest": "0.29.3"
},
"optionalDependencies": {
"@keyv/redis": "2.5.6",
"keyv-memcache": "1.3.3",
"memcached": "2.2.2",
"mysql": "2.18.1",
"nodemailer-mailgun-transport": "2.1.5",
"nodemailer-sendgrid": "1.0.3",
"pg": "8.10.0",
"sqlite3": "5.1.6",
"tedious": "15.1.3"
},
"engines": {
"node": ">=12.20.0"
}
}