Files
directus/api/package.json
Rijk van Zanten 27cc3e1bec Move repo to pnpm based workflow (#14350)
* Use pnpm instead of npm

* Setup workspace

* Replace scripts / lerna root stuff

* Add todo file

* Update lock, start updating packages

* Update todo

* [WIP] Keep going on module resolution in pnpm

* Fix final missing deps/types for complete build

* [WIP] Replace npm commands with pnpm alternatives

* Update jest config for v28

* Fix missing package under schema

* Update workflow

* Run CI on fork

* Use local reference

* Remove version from local workflow

* Add build to prepare

* Add Node's max old space size flag to linter

* Idemdito for codeql

* Hyphens? Underscores?

* Bang

* Only build one thing at a time

* Underscores after all?

* Match 7gb of GH

* Set env on prepare

* Jest is driving me nuts

* Downgrade jest

* Add root jest

* We'll get there, eventually.

* 🥳

* Het houdt niet op, niet vanzelf

* attempt to fix e2e

* fix unit test & shared import

* add `debug: true` to CodeQL action

* Fix dev call in shared

* Add missing cross-env

* Add missing geo-json dependency for app

* add flag to prepare action to skip build

* remove debug flag from codeql action

* fix invalid env syntax

* add tslib to app dependencies for tests

* another attempt

* Added missing rimraf dependency for the api prebuild/cleanup scripts

* Added missing ts-node dependency for the api cli script

* update E2E tests readme to use pnpm

* Undo move of extensions sdk

* Fixes nested groups in accordions not rendering fields (#14369)

* initial fix for nested groups in accordions

* removed debug code

* Fix strict relative dates showing "incorrect" (#14390)

* Set rounding method of relative formatted date to floor when strict option is selected

* Add round fn as an option

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Don't use locales in generated camelCased values from env (#14401)

Ref https://github.com/directus/directus/discussions/14122

* Fix list panel descending sort (#14396)

* fix list panel descending sort

* Handle missing or explicit desc value

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix query primary field for system tables (#14402)

* New Crowdin updates (#14403)

* Update source file en-US.yaml

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (French, Canada)

* Fix/wysiwyg context menu (#14404)

* New translations en-US.yaml (Polish) (#14407)

* Encoded the url using encodeURIComponent, so that the url gets sanitzed and so, we did not get 404 error. (#14418)

* Encoded the url using encodeURIComponent, so that the url gets sanitized and we did not get 404 error.

* Added required changes as stated by the reviewer

* Used encodeURI instead of encodeURIComponent to encode the params only

* Solved linting error

* Solved linting errors

* checked with npm run lint, no linting errors found

* fix generateJoi error due to empty permissions when creating new role (#14416)

* fix empty permissions when creating new role

* basic test

* move logic up

* additional test

* Update api/tests/utils/filter-items.test.ts

Co-authored-by: ian <licitdev@gmail.com>

Co-authored-by: ian <licitdev@gmail.com>

* Recreate lockfile

* Fix build of extensions-sdk

* Add missing dependency

* Add some more missing deps

* Update blackbox to use pnpm

* Update workflow to use main

* Update pack to work with pnpm

* Simplify commands

* Remove todo file (completed)

* ADd missing types dep

* Use local test version

* Remove version from local reference

* Call super with context

* Add missing dep

* Simplify workflows

Ref https://github.com/directus/organization/issues/135

* Simplify some more

* Linter is on root

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Gerard Lamusse <gerardlamo@gmail.com>
Co-authored-by: José Varela <joselcvarela@gmail.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Zeel Pathak <60271095+zeel-pathak@users.noreply.github.com>
2022-07-15 17:41:49 -04:00

234 lines
5.9 KiB
JSON

{
"name": "directus",
"version": "9.14.1",
"license": "GPL-3.0-only",
"homepage": "https://github.com/directus/directus#readme",
"description": "Directus is a real-time API and App dashboard for managing SQL database content.",
"keywords": [
"directus",
"realtime",
"database",
"content",
"api",
"rest",
"graphql",
"app",
"dashboard",
"headless",
"cms",
"mysql",
"postgresql",
"cockroachdb",
"sqlite",
"framework",
"vue"
],
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"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"
}
],
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js",
"./package.json": "./package.json"
},
"bin": {
"directus": "cli.js"
},
"scripts": {
"start": "npx directus start",
"prebuild": "pnpm cleanup",
"build": "tsc --build && copyfiles \"src/**/*.*\" -e \"src/**/*.ts\" -u 1 dist",
"cleanup": "rimraf dist",
"dev": "cross-env NODE_ENV=development SERVE_APP=false ts-node-dev --files --transpile-only --respawn --watch \".env\" --inspect=0 --exit-child -- src/start.ts",
"cli": "cross-env NODE_ENV=development SERVE_APP=false ts-node --script-mode --transpile-only src/cli/run.ts",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"engines": {
"node": ">=12.20.0"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"dependencies": {
"@aws-sdk/client-ses": "^3.107.0",
"@directus/app": "workspace:*",
"@directus/drive": "workspace:*",
"@directus/drive-azure": "workspace:*",
"@directus/drive-gcs": "workspace:*",
"@directus/drive-s3": "workspace:*",
"@directus/extensions-sdk": "^9.14.1",
"@directus/format-title": "^9.15.0",
"@directus/schema": "workspace:*",
"@directus/shared": "workspace:*",
"@directus/specs": "workspace:*",
"@godaddy/terminus": "^4.10.2",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-virtual": "^2.1.0",
"argon2": "^0.28.5",
"async": "^3.2.4",
"async-mutex": "^0.3.2",
"axios": "^0.27.2",
"busboy": "^1.6.0",
"bytes": "^3.1.2",
"camelcase": "^6.2.0",
"chalk": "^4.1.1",
"chokidar": "^3.5.3",
"commander": "^8.0.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"csv-parser": "^3.0.0",
"date-fns": "^2.28.0",
"deep-diff": "^1.0.2",
"deep-map": "^2.0.0",
"destroy": "^1.2.0",
"dotenv": "^10.0.0",
"eventemitter2": "^6.4.5",
"execa": "^5.1.1",
"exifr": "^7.1.3",
"express": "^4.18.1",
"fast-redact": "^3.1.1",
"flat": "^5.0.2",
"fs-extra": "^10.1.0",
"globby": "^11.0.4",
"graphql": "^15.5.0",
"graphql-compose": "^9.0.8",
"helmet": "^4.6.0",
"inquirer": "^8.2.4",
"ioredis": "^4.27.6",
"joi": "^17.6.0",
"js-yaml": "^4.1.0",
"js2xmlparser": "^4.0.2",
"json2csv": "^5.0.7",
"jsonwebtoken": "^8.5.1",
"keyv": "^4.3.0",
"knex": "^2.1.0",
"knex-schema-inspector": "^2.0.3",
"ldapjs": "^2.3.3",
"liquidjs": "^9.37.0",
"lodash": "^4.17.21",
"macos-release": "^2.4.1",
"marked": "^4.0.16",
"micromustache": "^8.0.3",
"mime-types": "^2.1.35",
"ms": "^2.1.3",
"nanoid": "^3.1.23",
"node-cron": "^3.0.1",
"node-machine-id": "^1.1.12",
"nodemailer": "^6.7.5",
"object-hash": "^2.2.0",
"openapi3-ts": "^2.0.2",
"openid-client": "^5.1.6",
"ora": "^5.4.0",
"otplib": "^12.0.1",
"pino": "6.13.3",
"pino-colada": "^2.2.2",
"pino-http": "5.8.0",
"qs": "^6.10.5",
"rate-limiter-flexible": "^2.3.7",
"resolve-cwd": "^3.0.0",
"rollup": "^2.75.6",
"sanitize-html": "^2.7.0",
"sharp": "^0.30.6",
"stream-json": "^1.7.4",
"strip-bom-stream": "^4.0.0",
"supertest": "^6.2.3",
"tmp-promise": "^3.0.3",
"update-check": "^1.5.4",
"uuid": "^8.3.2",
"uuid-validate": "0.0.3",
"wellknown": "^0.5.0"
},
"optionalDependencies": {
"@keyv/redis": "^2.3.6",
"keyv-memcache": "^1.2.5",
"memcached": "^2.2.2",
"mysql": "^2.18.1",
"nodemailer-mailgun-transport": "^2.1.4",
"oracledb": "5.3.0",
"pg": "^8.7.3",
"sqlite3": "^5.0.8",
"tedious": "^13.0.0"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"devDependencies": {
"@otplib/preset-default": "^12.0.1",
"@types/async": "3.2.13",
"@types/body-parser": "1.19.2",
"@types/busboy": "1.5.0",
"@types/bytes": "3.1.1",
"@types/cookie-parser": "1.4.3",
"@types/cors": "2.8.12",
"@types/deep-diff": "1.0.1",
"@types/destroy": "1.0.0",
"@types/express": "4.17.13",
"@types/express-pino-logger": "4.0.3",
"@types/express-serve-static-core": "^4.17.29",
"@types/express-session": "1.17.4",
"@types/fast-redact": "^3.0.1",
"@types/flat": "5.0.2",
"@types/fs-extra": "9.0.13",
"@types/inquirer": "8.2.1",
"@types/ioredis": "^4.28.10",
"@types/jest": "27.5.2",
"@types/js-yaml": "4.0.5",
"@types/json2csv": "5.0.3",
"@types/jsonwebtoken": "8.5.8",
"@types/keyv": "3.1.4",
"@types/ldapjs": "2.2.2",
"@types/lodash": "4.14.182",
"@types/marked": "4.0.3",
"@types/mime-types": "2.1.1",
"@types/ms": "0.7.31",
"@types/node": "16.11.9",
"@types/node-cron": "2.0.5",
"@types/nodemailer": "6.4.4",
"@types/object-hash": "2.2.1",
"@types/pino": "6.3.12",
"@types/pino-http": "5.8.1",
"@types/qs": "6.9.7",
"@types/sanitize-html": "2.6.2",
"@types/sharp": "0.30.4",
"@types/stream-json": "1.7.2",
"@types/supertest": "2.0.12",
"@types/uuid": "8.3.4",
"@types/uuid-validate": "0.0.1",
"@types/wellknown": "0.5.3",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"form-data": "^4.0.0",
"jest": "28.1.2",
"knex-mock-client": "1.8.4",
"rimraf": "3.0.2",
"ts-jest": "28.0.5",
"ts-node": "^10.8.2",
"ts-node-dev": "1.1.8",
"typescript": "4.7.3"
}
}