feat(taobao): add native mini program with shared backend

Preserve H5 flows while adding Taobao identity, native capture, reports and isolated local development. Fix canceled province selection and expired-session logout. Record passing local regressions, two pre-existing H5 assertion failures and pending platform validation.
This commit is contained in:
xsl
2026-10-19 20:14:31 +08:00
parent d07f8cc1bb
commit 9eec4369da
61 changed files with 4827 additions and 17 deletions
+12
View File
@@ -0,0 +1,12 @@
// Resolve the repository's unmodified H5 browser tests against this project's
// local Playwright installation, instead of requiring a global npm install.
const cp = require('node:child_process'), path = require('node:path');
const original = cp.execSync;
cp.execSync = function (command, options) {
if (command === 'npm root -g') {
const value = path.resolve(__dirname, '../node_modules') + '\n';
return options && options.encoding ? value : Buffer.from(value);
}
return original.apply(this, arguments);
};
require('node:module').syncBuiltinESMExports();