Skip to content

Commit 28dd284

Browse files
committed
Move the sqlite-database-integration plugin into a package
1 parent b51437e commit 28dd284

27 files changed

Lines changed: 375 additions & 66 deletions

.github/workflows/verify-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Extract version from "load.php"
1717
id: load_version
1818
run: |
19-
VERSION=$(grep "Version:" load.php | sed "s/.*Version: \([^ ]*\).*/\1/")
19+
VERSION=$(grep "Version:" packages/sqlite-database-integration/load.php | sed "s/.*Version: \([^ ]*\).*/\1/")
2020
echo "load_version=$VERSION" >> $GITHUB_OUTPUT
2121
2222
- name: Extract version from "version.php"

packages/sqlite-database-integration/LICENSE

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

activate.php renamed to packages/sqlite-database-integration/activate.php

File renamed without changes.

admin-notices.php renamed to packages/sqlite-database-integration/admin-notices.php

File renamed without changes.

admin-page.php renamed to packages/sqlite-database-integration/admin-page.php

File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "wordpress/sqlite-database-integration",
3+
"license": "GPL-2.0-or-later",
4+
"description": "SQLite integration plugin for WordPress.",
5+
"homepage": "https://github.com/wordpress/sqlite-database-integration",
6+
"keywords": [ "wordpress", "plugin", "database", "sqlite" ],
7+
"support": {
8+
"issues": "https://github.com/wordpress/sqlite-database-integration/issues"
9+
},
10+
"require": {
11+
"php": ">=7.2",
12+
"ext-pdo": "*",
13+
"ext-pdo_sqlite": "*"
14+
}
15+
}

constants.php renamed to packages/sqlite-database-integration/constants.php

File renamed without changes.

db.copy renamed to packages/sqlite-database-integration/db.copy

File renamed without changes.

deactivate.php renamed to packages/sqlite-database-integration/deactivate.php

File renamed without changes.

health-check.php renamed to packages/sqlite-database-integration/health-check.php

File renamed without changes.

0 commit comments

Comments
 (0)