Clean-up and unify all package.json files (#16447)

* Clean-up & unify all package.json files

* Sort all package.json files the same way

Using 'sort-package-json'

* Add funding link to packages
This commit is contained in:
Pascal Jufer
2022-11-15 17:35:28 +01:00
committed by GitHub
parent b0529d4951
commit adeabdfe7b
12 changed files with 274 additions and 271 deletions

View File

@@ -1,9 +1,7 @@
{
"name": "directus",
"version": "9.20.4",
"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.",
"description": "Directus is a real-time API and App dashboard for managing SQL database content",
"keywords": [
"directus",
"realtime",
@@ -23,13 +21,17 @@
"framework",
"vue"
],
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"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",
@@ -47,34 +49,31 @@
"url": "https://github.com/benhaynes"
}
],
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"bin": {
"directus": "cli.js"
},
"scripts": {
"start": "npx directus start",
"prebuild": "pnpm cleanup",
"build": "tsc --build && copyfiles \"src/**/*.{yaml,liquid}\" -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": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"engines": {
"node": ">=12.20.0"
},
"files": [
"dist",
"!**/*.test.js",
"!**/__*__/"
],
"scripts": {
"prebuild": "pnpm cleanup",
"build": "tsc --build && copyfiles \"src/**/*.{yaml,liquid}\" -u 1 dist",
"cleanup": "rimraf dist",
"cli": "cross-env NODE_ENV=development SERVE_APP=false ts-node --script-mode --transpile-only src/cli/run.ts",
"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",
"start": "npx directus 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.190.0",
@@ -167,18 +166,6 @@
"vm2": "3.9.11",
"wellknown": "0.5.0"
},
"optionalDependencies": {
"@keyv/redis": "2.5.2",
"keyv-memcache": "1.2.5",
"memcached": "2.2.2",
"mysql": "2.18.1",
"nodemailer-mailgun-transport": "2.1.5",
"nodemailer-sendgrid": "1.0.3",
"pg": "8.8.0",
"sqlite3": "5.1.2",
"tedious": "15.1.0"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"devDependencies": {
"@otplib/preset-default": "12.0.1",
"@types/async": "3.2.15",
@@ -231,5 +218,19 @@
"ts-node-dev": "2.0.0",
"typescript": "4.8.4",
"vitest": "0.25.1"
},
"optionalDependencies": {
"@keyv/redis": "2.5.2",
"keyv-memcache": "1.2.5",
"memcached": "2.2.2",
"mysql": "2.18.1",
"nodemailer-mailgun-transport": "2.1.5",
"nodemailer-sendgrid": "1.0.3",
"pg": "8.8.0",
"sqlite3": "5.1.2",
"tedious": "15.1.0"
},
"engines": {
"node": ">=12.20.0"
}
}

View File

@@ -1,33 +1,32 @@
{
"name": "@directus/app",
"version": "9.20.4",
"private": false,
"description": "Directus is an Open-Source Headless CMS & API for Managing Custom Databases",
"description": "App dashboard for Directus",
"homepage": "https://directus.io",
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "app"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"main": "dist/index.html",
"exports": {
".": "./dist/index.html",
"./package.json": "./package.json"
},
"main": "dist/index.html",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"build-storybook": "build-storybook",
"dev": "vite",
"serve": "vite preview",
"storybook": "start-storybook -p 6006",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"test:watch": "vitest"
},
"devDependencies": {
"@babel/core": "7.19.3",
@@ -151,5 +150,8 @@
"vuedraggable": "4.1.0",
"webpack": "5.74.0",
"wellknown": "0.5.0"
},
"publishConfig": {
"access": "public"
}
}

View File

@@ -1,26 +1,21 @@
{
"name": "directus-monorepo",
"private": true,
"version": "9.14.2",
"workspaces": [
"./app",
"./api",
"./packages/*"
],
"scripts": {
"lint": "eslint .",
"cli": "cross-env NODE_ENV=development SERVE_APP=false DOTENV_CONFIG_PATH=api/.env ts-node -r dotenv/config --script-mode --transpile-only api/src/cli/run.ts",
"format": "prettier --write \"**/*.{md,y?(a)ml,json}\"",
"test:e2e": "jest tests -c tests/jest.config.js",
"test:e2e:watch": "jest tests -c tests/jest.config.js --watch",
"posttest:e2e:watch": "ts-node --project ./tests/tsconfig.json --transpile-only ./tests/setup/teardown.ts",
"lint": "eslint .",
"test:blackbox": "jest tests -c tests-blackbox/jest.config.js",
"test:blackbox:watch": "jest tests -c tests-blackbox/jest.config.js --watch",
"posttest:blackbox:watch": "ts-node --project ./tests-blackbox/tsconfig.json --transpile-only ./tests-blackbox/setup/teardown.ts",
"cli": "cross-env NODE_ENV=development SERVE_APP=false DOTENV_CONFIG_PATH=api/.env ts-node -r dotenv/config --script-mode --transpile-only api/src/cli/run.ts"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.5.0"
"test:e2e": "jest tests -c tests/jest.config.js",
"test:e2e:watch": "jest tests -c tests/jest.config.js --watch",
"posttest:e2e:watch": "ts-node --project ./tests/tsconfig.json --transpile-only ./tests/setup/teardown.ts"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
@@ -29,10 +24,6 @@
"*.{js,ts,vue}": "eslint --fix",
"*.{md,y?(a)ml,json}": "prettier --write"
},
"volta": {
"node": "16.15.0",
"npm": "8.10.0"
},
"devDependencies": {
"@directus/shared": "workspace:*",
"@types/jest": "29.2.0",
@@ -63,5 +54,13 @@
"ts-jest": "29.0.3",
"typescript": "4.8.4",
"uuid": "9.0.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.5.0"
},
"volta": {
"node": "16.15.0",
"npm": "8.10.0"
}
}

View File

@@ -1,31 +1,36 @@
{
"name": "create-directus-extension",
"version": "9.20.4",
"description": "A small util that will scaffold a Directus extension.",
"main": "lib/index.js",
"repository": "directus/directus",
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"files": [
"lib/index.js"
],
"bin": {
"create-directus-extension": "./lib/index.js",
"cde": "./lib/index.js"
},
"description": "A small util that will scaffold a Directus extension",
"keywords": [
"directus",
"extensions"
],
"homepage": "https://directus.io",
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/create-directus-extension"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "GPL-3.0-only",
"author": "Nicola Krumschmidt",
"contributors": [
"Joonas Palosuo <joonas.palosuo@gmail.com>",
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"license": "GPL-3.0-only",
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"main": "lib/index.js",
"bin": {
"cde": "./lib/index.js",
"create-directus-extension": "./lib/index.js"
},
"files": [
"lib/index.js"
],
"dependencies": {
"@directus/extensions-sdk": "workspace:*",
"@directus/shared": "workspace:*",

View File

@@ -2,23 +2,29 @@
"name": "@directus/drive-azure",
"version": "9.20.4",
"description": "Azure Blob driver for @directus/drive",
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/drive-azure"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "MIT",
"main": "dist/index.js",
"author": "Robin Grundvåg <robgru52@gmail.com>",
"contributors": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"keywords": [
"storage",
"filesystem",
"file",
"azure",
"azure-blob",
"promise",
"async",
"spaces",
"drive",
"directus"
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
],
"scripts": {
"build": "tsc --project ./tsconfig.json",
@@ -29,14 +35,6 @@
"test": "jest --coverage",
"dev": "pnpm build -w --preserveWatchOutput --incremental"
},
"author": "Robin Grundvåg <robgru52@gmail.com>",
"contributors": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"files": [
"dist",
"!**/*.d.ts?(.map)"
],
"dependencies": {
"@azure/storage-blob": "12.12.0",
"@directus/drive": "workspace:*",
@@ -56,13 +54,5 @@
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd"
}
}

View File

@@ -2,27 +2,26 @@
"name": "@directus/drive-gcs",
"version": "9.20.4",
"description": "Google Cloud Storage driver for @directus/drive",
"license": "MIT",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"keywords": [
"storage",
"filesystem",
"file",
"promise",
"async",
"google",
"cloud",
"drive",
"directus"
],
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/drive-gcs"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "MIT",
"author": "Robin Grundvåg <robgru52@gmail.com>",
"contributors": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
@@ -57,13 +56,5 @@
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd"
}
}

View File

@@ -2,28 +2,26 @@
"name": "@directus/drive-s3",
"version": "9.20.4",
"description": "AWS S3 driver for @directus/drive",
"license": "MIT",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"keywords": [
"storage",
"filesystem",
"file",
"aws",
"s3",
"promise",
"async",
"spaces",
"drive",
"azure"
],
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/drive-s3"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "MIT",
"author": "Robin Grundvåg <robgru52@gmail.com>",
"contributors": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
@@ -57,13 +55,5 @@
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd"
}
}

View File

@@ -1,30 +1,26 @@
{
"name": "@directus/drive",
"version": "9.20.4",
"description": "Flexible and Fluent way to manage storage in Node.js.",
"description": "Object storage abstraction layer for Directus",
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/drive"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "MIT",
"main": "dist/index.js",
"contributors": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"keywords": [
"storage",
"filesystem",
"file",
"aws",
"s3",
"azure",
"promise",
"async",
"spaces",
"google",
"cloud",
"directus"
],
"contributors": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
@@ -42,17 +38,6 @@
"fs-extra": "10.1.0",
"node-exceptions": "4.0.1"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"devDependencies": {
"@types/fs-extra": "9.0.13",
"@types/jest": "29.2.0",
@@ -62,5 +47,8 @@
"npm-run-all": "4.1.5",
"ts-jest": "29.0.3",
"typescript": "4.8.4"
},
"publishConfig": {
"access": "public"
}
}

View File

@@ -1,13 +1,28 @@
{
"name": "@directus/extensions-sdk",
"version": "9.20.4",
"description": "A toolkit to develop extensions to extend Directus.",
"main": "dist/cjs/index.js",
"repository": "directus/directus",
"description": "A toolkit to develop extensions to extend Directus",
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/extensions-sdk"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"author": "Nicola Krumschmidt",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./cli": {
"import": "./dist/esm/cli/index.js",
@@ -15,15 +30,16 @@
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"bin": {
"directus-extension": "cli.js"
},
"files": [
"dist",
"templates",
"!**/*.d.ts.map"
],
"types": "dist/esm/index.d.ts",
"bin": {
"directus-extension": "cli.js"
},
"scripts": {
"build": "run-p \"build:* {@}\"",
"build:esm": "tsc --project ./tsconfig.json --module ES2015 --outDir ./dist/esm",
@@ -31,11 +47,6 @@
"cleanup": "rimraf ./dist",
"dev": "pnpm build -- -w --preserveWatchOutput --incremental"
},
"engines": {
"node": ">=12.20.0"
},
"author": "Nicola Krumschmidt",
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"dependencies": {
"@directus/shared": "workspace:*",
"@rollup/plugin-commonjs": "23.0.0",
@@ -59,5 +70,11 @@
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"typescript": "4.8.4"
},
"engines": {
"node": ">=12.20.0"
},
"publishConfig": {
"access": "public"
}
}

View File

@@ -2,33 +2,6 @@
"name": "@directus/schema",
"version": "9.20.4",
"description": "Utility for extracting information about existing DB schema",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc --build && echo \"Built successfully\"",
"dev": "npm-watch build"
},
"watch": {
"build": {
"patterns": [
"src/*"
],
"extensions": "ts",
"quiet": true,
"silent": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"keywords": [
"sql",
"knex",
@@ -39,20 +12,51 @@
"sqlite3",
"javascript"
],
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"license": "GPL-3.0",
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"homepage": "https://github.com/directus/directus#readme",
"devDependencies": {
"npm-watch": "0.11.0",
"typescript": "4.8.4"
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/schema"
},
"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",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc --build && echo \"Built successfully\"",
"dev": "npm-watch build"
},
"dependencies": {
"knex": "2.3.0",
"knex-schema-inspector": "3.0.0",
"lodash": "4.17.21"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd"
"devDependencies": {
"npm-watch": "0.11.0",
"typescript": "4.8.4"
},
"publishConfig": {
"access": "public"
},
"watch": {
"build": {
"patterns": [
"src/*"
],
"extensions": "ts",
"quiet": true,
"silent": true
}
}
}

View File

@@ -1,7 +1,22 @@
{
"name": "@directus/shared",
"version": "9.20.4",
"description": "Code shared between all directus packages.",
"description": "Code shared between all Directus packages",
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/shared"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"author": "Nicola Krumschmidt",
"maintainers": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"sideEffects": false,
"exports": {
"./composables": {
"import": "./dist/esm/composables/index.js",
@@ -38,7 +53,6 @@
"!**/*.test.js",
"!**/*.d.ts.map"
],
"sideEffects": false,
"scripts": {
"build": "run-p \"build:* {@}\"",
"build:esm": "tsc --project ./tsconfig.json --module ES2015 --outDir ./dist/esm",
@@ -49,10 +63,6 @@
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"author": "Nicola Krumschmidt",
"maintainers": [
"Rijk van Zanten <rijkvanzanten@me.com>"
],
"dependencies": {
"axios": "1.1.3",
"date-fns": "2.29.3",
@@ -83,5 +93,8 @@
"tmp": "0.2.1",
"typescript": "4.8.4",
"vitest": "0.24.3"
},
"publishConfig": {
"access": "public"
}
}

View File

@@ -2,17 +2,45 @@
"name": "@directus/specs",
"version": "9.20.4",
"description": "OpenAPI Specification of the Directus API",
"main": "index.js",
"homepage": "https://directus.io",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/specs"
},
"license": "GPL-3.0",
"author": "Nils Twelker",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"main": "index.js",
"files": [
"dist",
"index.d.ts",
"index.js"
],
"scripts": {
"ui:watch": "swagger-ui-watcher src/openapi.yaml",
"validate": "swagger-cli validate src/openapi.yaml",
"build": "swagger-cli bundle src/openapi.yaml -o dist/openapi.json",
"build:deref": "swagger-cli bundle src/openapi.yaml -o dist/openapi-deref.json --dereference",
"dev": "npm-watch build"
"dev": "npm-watch build",
"ui:watch": "swagger-ui-watcher src/openapi.yaml",
"validate": "swagger-cli validate src/openapi.yaml"
},
"dependencies": {
"openapi3-ts": "3.1.1"
},
"devDependencies": {
"npm-watch": "0.11.0",
"openapi-types": "12.0.2",
"swagger-cli": "4.0.4",
"swagger-ui-watcher": "2.1.12"
},
"publishConfig": {
"access": "public"
},
"watch": {
"build": {
@@ -23,30 +51,5 @@
"quiet": true,
"silent": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"author": "Nils Twelker",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"homepage": "https://github.com/directus/directus#readme",
"files": [
"dist",
"index.d.ts",
"index.js"
],
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"devDependencies": {
"npm-watch": "0.11.0",
"openapi-types": "12.0.2",
"swagger-cli": "4.0.4",
"swagger-ui-watcher": "2.1.12"
},
"dependencies": {
"openapi3-ts": "3.1.1"
}
}