Skip to content

Commit 38ac6bf

Browse files
committed
chore(deps): upgrade weapp-tailwindcss and fix wechat checks
1 parent 0fdceea commit 38ac6bf

6 files changed

Lines changed: 244 additions & 234 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Playwright tests live in `packages/create-uni-app-tailwindcss/tests/` and cover
4343
Use `pnpm test:hmr:artifact:mp-weixin` for the deterministic headless CI path. It applies the shared probe fixture atomically, verifies transformed template/script/style artifacts before and after an incremental compile, and restores the source even after interruption.
4444

4545
Runtime verification remains platform-specific: `pnpm test:hmr:h5` uses local Chrome or the Playwright Chromium fallback, `pnpm test:hmr:mp-weixin` requires logged-in WeChat DevTools, and the App scripts require the matching HBuilderX CLI plus a running device or simulator. Quality CI runs hosted H5 runtime HMR and WeChat artifact HMR; an optional `self-hosted, macOS, uni-app-runtime` runner can run the external runtime matrix when the repository variable `UNI_APP_RUNTIME_ENABLED=true`. Reports, screenshots, and logs live under ignored `packages/template/.hmr-artifacts/`; do not commit them or bundle them into generated projects.
46+
For WeChat DevTools automation, use `weapp-ide-cli` exclusively. Do not add new uses of `@dcloudio/uni-automator`, and do not use its launcher for new runtime, screenshot, navigation, or HMR checks. Existing references should be migrated to the corresponding `weapp-ide-cli` command or API when that test path is changed.
47+
4648

4749
The daily lifecycle contract defines 100% as every required scenario being executed. `BLOCKED` counts as executed but cannot pass the suite; `MISSING` and `SKIP` fail it. Scheduled/manual CI runs candidate/latest on Node 22 and 24, compares generated-project fingerprints, and treats npm latest drift as a failure.
4850

packages/create-uni-app-tailwindcss/tests/create.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ for (const template of registry.templates) {
2222
], packageRoot)
2323
const pkg = JSON.parse(await readFile(path.join(projectDir, 'package.json'), 'utf8'))
2424
expect(pkg.name).toBe(`${template.id}-app`)
25+
expect(pkg.devDependencies['weapp-tailwindcss']).toBe('^5.4.1')
2526
expect(pkg.scripts['update:deps']).toBe('pnpm up --latest --interactive "!@dcloudio/*" "!@vue/runtime-core" "!@vue/shared" "!rollup" "!vite" "!vue" "!vue-i18n"')
2627
expect(pkg.scripts['update:uni-app']).toBe('pnpm dlx @dcloudio/uvm@latest --manager pnpm')
2728
expect(pkg.scripts['test:hmr:h5']).toBeUndefined()

packages/template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@
9797
"unplugin-auto-import": "^20.3.0",
9898
"vite": "5.2.8",
9999
"weapp-ide-cli": "^6.0.7",
100-
"weapp-tailwindcss": "^5.3.4"
100+
"weapp-tailwindcss": "^5.4.1"
101101
}
102102
}

0 commit comments

Comments
 (0)