@automattic/vip 2.28.0-dev7 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/assets/dev-env.lando.template.yml.ejs +15 -3
- package/dist/bin/vip-dev-env-create.js +1 -0
- package/dist/bin/vip-dev-env-shell.js +2 -1
- package/dist/bin/vip-dev-env-start.js +4 -1
- package/dist/bin/vip-dev-env-update.js +11 -17
- package/dist/bin/vip-dev-env.js +1 -1
- package/dist/bin/vip-import-sql.js +11 -6
- package/dist/commands/dev-env-sync-sql.js +15 -30
- package/dist/commands/export-sql.js +22 -29
- package/dist/lib/dev-environment/dev-environment-cli.js +53 -4
- package/dist/lib/dev-environment/dev-environment-configuration-file.js +5 -2
- package/dist/lib/dev-environment/dev-environment-core.js +80 -5
- package/dist/lib/dev-environment/dev-environment-lando.js +188 -108
- package/dist/lib/dev-environment/docker-utils.js +114 -0
- package/dist/lib/keychain/browser.js +1 -0
- package/dist/lib/keychain/secure.js +3 -0
- package/dist/lib/keychain.js +1 -0
- package/dist/lib/site-import/status.js +2 -2
- package/dist/lib/tracker.js +0 -10
- package/dist/lib/validations/sql.js +5 -3
- package/dist/lib/vip-import-validate-files.js +4 -1
- package/npm-shrinkwrap.json +11462 -17508
- package/package.json +34 -21
- package/automattic-vip-2.28.0-dev7.tgz +0 -0
- package/dist/bin/vip-dev-env-sync-sql.js +0 -71
- package/dist/bin/vip-dev-env-sync.js +0 -21
|
@@ -25,6 +25,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
25
25
|
* Internal dependencies
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
|
+
// eslint-disable-next-line no-duplicate-imports
|
|
29
|
+
|
|
28
30
|
let problemsFound = 0;
|
|
29
31
|
let lineNum = 1;
|
|
30
32
|
const tableNames = [];
|
|
@@ -118,9 +120,9 @@ const infoCheckFormatter = check => {
|
|
|
118
120
|
};
|
|
119
121
|
};
|
|
120
122
|
function checkTablePrefixes(results, errors, infos) {
|
|
121
|
-
const wpTables = []
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
const wpTables = [];
|
|
124
|
+
const notWPTables = [];
|
|
125
|
+
const wpMultisiteTables = [];
|
|
124
126
|
results.forEach(result => {
|
|
125
127
|
const tableName = result.text || '';
|
|
126
128
|
if (tableName.match(/^wp_(\d+_)/)) {
|
|
@@ -118,7 +118,10 @@ const findNestedDirectories = directory => {
|
|
|
118
118
|
*/
|
|
119
119
|
exports.findNestedDirectories = findNestedDirectories;
|
|
120
120
|
const getIndexPositionOfFolders = (folderPath, sites) => {
|
|
121
|
-
let sitesIndex
|
|
121
|
+
let sitesIndex;
|
|
122
|
+
let siteIDIndex;
|
|
123
|
+
let yearIndex;
|
|
124
|
+
let monthIndex;
|
|
122
125
|
let pathMutate = folderPath; // Mutate `path` for multisites
|
|
123
126
|
|
|
124
127
|
// Turn the path into an array to determine index position
|