-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
86 lines (86 loc) · 2.25 KB
/
Copy pathcomposer.json
File metadata and controls
86 lines (86 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "drupflare/rom",
"description": "A Drupal 11 database driver for Cloudflare Durable Object SQLite (ctx.storage.sql).",
"type": "drupal-module",
"license": "MIT",
"keywords": [
"drupal",
"drupal-driver",
"database",
"driver",
"sqlite",
"cloudflare",
"durable-objects",
"workers",
"serverless"
],
"homepage": "https://github.com/drupflare/rom",
"authors": [
{
"name": "Gregory Mitchell",
"email": "me@gmitch215.xyz",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/drupflare/rom/issues",
"source": "https://github.com/drupflare/rom"
},
"require": {
"php": "^8.3",
"ext-json": "*",
"drupal/core": "^11.2"
},
"require-dev": {
"ext-pdo_sqlite": "*",
"drupal/coder": "^9.0",
"phpdocumentor/shim": "^3.10",
"phpstan/phpstan": "^2.2",
"phpunit/php-code-coverage": "^11.0 || ^12.0 || ^14.0"
},
"suggest": {
"drupflare/drupflare": "Mail, outbound HTTP, images and logging bridged to Workers bindings. Needed by the same deployments that need this driver."
},
"autoload": {
"files": [
"src/pdo-shim.php"
],
"psr-4": {
"Drupal\\cfw_do_sqlite\\": "src/"
}
},
"extra": {
"installer-name": "cfw_do_sqlite"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": false,
"phpdocumentor/shim": true,
"symfony/runtime": false
}
},
"scripts": {
"analyze": "phpstan analyse --memory-limit=1G",
"lint": "phpcs",
"lint:fix": "phpcbf",
"test": "php tests/run-driver-suite.php",
"test:installer": "php tests/run-installer.php",
"test:pdo": "php tests/pdo-shim.php"
},
"scripts-descriptions": {
"analyze": "Runs PHPStan over src/ and tests/ at the level pinned in phpstan.neon.",
"lint": "Runs phpcs with the ruleset in phpcs.xml.dist.",
"lint:fix": "Runs phpcbf over the same ruleset.",
"test": "Runs the driver suite; needs a Drupal 11.2+ root in $DRUPAL_ROOT or argv[1].",
"test:installer": "Installs a Drupal site through the driver into a throwaway copy of that root.",
"test:pdo": "Checks src/pdo-shim.php against this PHP's ext-pdo and against core's PDO usage."
}
}