@ohos-cpf/3rdloop 0.0.8 → 0.0.10
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/README.md +43 -0
- package/lib/cli.js +38 -5
- package/lib/doctor.js +111 -10
- package/lib/knowledge.js +440 -0
- package/lib/mcp.js +498 -0
- package/package.json +6 -2
- package/vendor/Archive/data/.index/meta.json +7 -0
- package/vendor/Archive/data/.index/search.db +0 -0
- package/vendor/Archive/data/docs/experiences/arkts-check-tool-pitfalls-baseline-comparison.md +13 -0
- package/vendor/Archive/data/docs/experiences/arkts-deep-path-import-recognition.md +31 -0
- package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-entry-file-case-mismatch.md +25 -0
- package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-import-trailing-slash.md +20 -0
- package/vendor/Archive/data/docs/experiences/arkts-library-source-files-may-be-ts.md +18 -0
- package/vendor/Archive/data/docs/experiences/arkts-typedarray-buffer-interface-cast-compile-fixes.md +36 -0
- package/vendor/Archive/data/docs/experiences/arkts-xts-compile-error-clustering-fix.md +24 -0
- package/vendor/Archive/data/docs/experiences/arkts-xts-doc-expected-value-runtime-probe.md +35 -0
- package/vendor/Archive/data/docs/experiences/arkts-xts-fixture-rawfile-testability-injection.md +33 -0
- package/vendor/Archive/data/docs/experiences/code-linter-chinese-comment-false-positive.md +16 -0
- package/vendor/Archive/data/docs/experiences/esobject-new-expression-variable-tracking.md +33 -0
- package/vendor/Archive/data/docs/experiences/filesystem-case-sensitivity-module-resolution.md +31 -0
- package/vendor/Archive/data/docs/experiences/gitcode-clone-redirect-warning-normal.md +13 -0
- package/vendor/Archive/data/docs/experiences/kn_msgvq1w585ec8319.md +77 -0
- package/vendor/Archive/data/docs/experiences/kn_msovnm6rd46de72c.md +98 -0
- package/vendor/Archive/data/docs/experiences/kn_mspt8vntfe708576.md +87 -0
- package/vendor/Archive/data/docs/experiences/kn_mspu1ei77adbbb48.md +133 -0
- package/vendor/Archive/data/docs/experiences/kn_mspubgak8d30bfce.md +128 -0
- package/vendor/Archive/data/docs/experiences/kn_mspug2de3cb1f7c3.md +115 -0
- package/vendor/Archive/data/docs/experiences/kn_skill_opt_001.md +38 -0
- package/vendor/Archive/data/docs/experiences/loop-artifacts-verification-evidence-triangle.md +19 -0
- package/vendor/Archive/data/docs/experiences/macos-bash-replace-build-ps1.md +19 -0
- package/vendor/Archive/data/docs/experiences/macos-bsd-diff-q-illegal-option.md +15 -0
- package/vendor/Archive/data/docs/experiences/migrate-cjs-compatible-api-version-map-limit.md +17 -0
- package/vendor/Archive/data/docs/experiences/mp3agic-arkts-library-behavior-quirks.md +21 -0
- package/vendor/Archive/data/docs/experiences/ohos-face-detection-scan-api-mapping.md +15 -0
- package/vendor/Archive/data/docs/experiences/pr-metadata-and-diff-integrity-verification.md +12 -0
- package/vendor/Archive/data/docs/experiences/rn-coverage-index-signature-pseudo-member-false-negative.md +32 -0
- package/vendor/Archive/data/docs/experiences/rn-memory-check-severity-calibration.md +21 -0
- package/vendor/Archive/data/docs/experiences/rn-platform-specific-api-exclusion-evidence.md +24 -0
- package/vendor/Archive/data/docs/experiences/rn-upstream-version-diff-pitfalls.md +17 -0
- package/vendor/Archive/data/docs/experiences/rn-version-gap-risk-rating-rules.md +13 -0
- package/vendor/Archive/data/docs/experiences/rn-view-lib-native-contract-diff-fabric-spec.md +16 -0
- package/vendor/Archive/data/docs/experiences/rnoh-adapter-package-version-field-semantics.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-arkts-sqlite-rows-array-format.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-dependency-residue-scan-strategy.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-local-lib-dep-use-tgz.md +53 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-prereserve-rntesterlist.md +17 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-template-compatiblesdkversion-upgrade.md +29 -0
- package/vendor/Archive/data/docs/experiences/rnoh-example-turbomodule-shell-adaptation-checklist.md +41 -0
- package/vendor/Archive/data/docs/experiences/rnoh-mcp-build-project-tool-risk.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-npm-devdependencies-version-precheck.md +29 -0
- package/vendor/Archive/data/docs/experiences/rnoh-repo-baseline-version-verification.md +13 -0
- package/vendor/Archive/data/docs/experiences/rnoh-repo-upstream-directory-mapping.md +18 -0
- package/vendor/Archive/data/docs/experiences/rnoh-stateless-library-zero-leak-verification.md +31 -0
- package/vendor/Archive/data/docs/experiences/rnoh-template-npmrc-credential-removal.md +15 -0
- package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-codegen-wiring-verification.md +19 -0
- package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-cpp-methodmap-compatibility-check.md +20 -0
- package/vendor/Archive/data/docs/experiences/scenario-doc-vs-source-signature-diff-four-patterns.md +24 -0
- package/vendor/Archive/data/docs/experiences/static-analysis-grep-cross-validation.md +29 -0
- package/vendor/Archive/demo.js +489 -0
- package/vendor/Archive/index.js +43 -0
- package/vendor/Archive/package.json +16 -0
- package/vendor/Archive/src/constants.js +83 -0
- package/vendor/Archive/src/data/stopwords.txt +110 -0
- package/vendor/Archive/src/data/synonyms.json +25 -0
- package/vendor/Archive/src/data/terms.txt +59 -0
- package/vendor/Archive/src/db/sqlite-backend.js +312 -0
- package/vendor/Archive/src/db/sqlite-schema.js +64 -0
- package/vendor/Archive/src/engine.js +501 -0
- package/vendor/Archive/src/index/index-manager.js +203 -0
- package/vendor/Archive/src/index/index-state.js +94 -0
- package/vendor/Archive/src/index/search-text-builder.js +106 -0
- package/vendor/Archive/src/index.js +22 -0
- package/vendor/Archive/src/parser/api-identifiers.js +121 -0
- package/vendor/Archive/src/parser/api-suffixes.js +48 -0
- package/vendor/Archive/src/parser/heading-normalize.js +40 -0
- package/vendor/Archive/src/parser/markdown-splitter.js +215 -0
- package/vendor/Archive/src/search/catalog-routing.js +87 -0
- package/vendor/Archive/src/search/fts-search.js +289 -0
- package/vendor/Archive/src/search/query-normalizer.js +159 -0
- package/vendor/Archive/src/search/query-rewriter.js +72 -0
- package/vendor/Archive/src/search/search-engine.js +72 -0
- package/vendor/Archive/src/search/snippet.js +64 -0
- package/vendor/Archive/src/store/dir-store.js +103 -0
- package/vendor/Archive/src/store/doc-store.js +36 -0
- package/vendor/Archive/src/tokenizer/lexicon.js +151 -0
- package/vendor/Archive/src/tokenizer/tokenizer.js +167 -0
- package/vendor/Archive/src/types.js +86 -0
- package/vendor/Archive/src/utils/hash.js +16 -0
- package/vendor/Archive/src/utils/lock.js +73 -0
- package/vendor/Archive/src/utils/path-safety.js +96 -0
- package/vendor/Archive/src/utils/paths.js +39 -0
- package/vendor/BadCase/rn/INDEX.md +127 -0
- package/vendor/BadCase/rn/cases/KI-001-webview/350/247/206/351/242/221/346/227/240/346/263/225/346/250/252/345/261/217.md +52 -0
- package/vendor/BadCase/rn/cases/KI-002-fastImage/347/203/255/346/233/264/346/226/260/345/233/276/347/211/207/345/244/261/350/264/245.md +37 -0
- package/vendor/BadCase/rn/cases/KI-003-wechat/347/274/251/347/225/245/345/233/276/346/234/254/345/234/260/345/233/276/347/211/207.md +62 -0
- package/vendor/BadCase/rn/cases/KI-004-wechat/345/233/236/350/260/203/346/227/266/345/272/217.md +47 -0
- package/vendor/BadCase/rn/cases/KI-005-geolocation/345/257/274/345/205/245/350/267/257/345/276/204/345/220/216/347/274/200.md +31 -0
- package/vendor/BadCase/rn/cases/KI-006-SmartRefreshLayout/346/231/272/350/203/275/346/214/207/351/222/210/345/264/251/346/272/203.md +55 -0
- package/vendor/BadCase/rn/cases/KI-007-orientation-locker/344/274/240/346/204/237/345/231/250/345/210/235/345/247/213/345/214/226.md +58 -0
- package/vendor/BadCase/rn/cases/KI-008-orientation-locker/344/274/240/346/204/237/345/231/250/345/274/225/347/224/250/350/256/241/346/225/260.md +47 -0
- package/vendor/BadCase/rn/cases/KI-009-pager-view/345/265/214/345/245/227/346/273/221/345/212/250.md +38 -0
- package/vendor/BadCase/rn/cases/KI-010-screens/346/211/213/345/212/277/345/206/262/347/252/201.md +48 -0
- package/vendor/BadCase/rn/cases/KI-011-spring-scrollview/346/211/213/345/212/277/351/207/215/345/244/215/347/273/221/345/256/232.md +49 -0
- package/vendor/BadCase/rn/cases/KI-012-qr-camera/346/250/252/345/261/217/351/200/202/351/205/215.md +59 -0
- package/vendor/BadCase/rn/cases/KI-013-webview/346/267/261/350/211/262/346/250/241/345/274/217/350/203/214/346/231/257/350/211/262.md +37 -0
- package/vendor/BadCase/rn/cases/KI-014-amap-geolocation/345/233/236/350/260/203/347/274/272/345/244/261.md +42 -0
- package/vendor/BadCase/rn/cases/KI-015-reanimated/350/277/220/350/241/214/346/227/266/346/236/220/346/236/204/345/264/251/346/272/203.md +54 -0
- package/vendor/BadCase/rn/cases/KI-016-fs/346/226/207/344/273/266/350/257/273/345/217/226/347/274/226/347/240/201.md +58 -0
- package/vendor/BadCase/rn/cases/KI-017-blob-util/345/217/202/346/225/260/347/274/226/347/240/201/351/224/231/350/257/257.md +39 -0
- package/vendor/BadCase/rn/cases/KI-018-modal/345/274/271/347/252/227/351/227/252/347/203/201.md +53 -0
- package/vendor/BadCase/rn/cases/KI-019-code-push/351/207/215/345/220/257/351/200/273/350/276/221/345/244/261/346/225/210.md +79 -0
- package/vendor/BadCase/rn/cases/KI-020-netinfo/346/225/217/346/204/237/344/277/241/346/201/257/346/263/204/351/234/262.md +60 -0
- package/vendor/BadCase/rn/cases/KI-021-video/346/234/254/345/234/260/350/247/206/351/242/221/346/222/255/346/224/276/345/274/202/345/270/270.md +79 -0
- package/vendor/BadCase/rn/cases/KI-022-audio-recorder-player/346/236/232/344/270/276/347/274/272/345/244/261.md +38 -0
- package/vendor/BadCase/rn/cases/KI-023-svg/346/270/220/345/217/230/347/273/247/346/211/277/345/244/261/346/225/210.md +62 -0
- package/vendor/BadCase/rn/generalization-log.md +55 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.json +328 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.md +382 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.json +1351 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.md +1176 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.json +538 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.md +1488 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.json +211 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.md +35 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.json +2048 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.md +3866 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.md +40 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.json +751 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.md +883 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.json +1544 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.md +2598 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.json +246 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.md +554 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.json +211 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.md +54 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.json +1626 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.md +2213 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.json +208 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.md +77 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.json +377 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.md +174 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.json +232 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.md +194 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.md +67 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.md +38 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.json +208 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.md +34 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.json +222 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.md +56 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.json +463 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.md +383 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.json +464 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.md +565 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.json +198 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.md +47 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.json +232 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.md +422 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.json +295 -0
- package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.md +1038 -0
- package/vendor/BadCase/rn/rules/R-01-/345/205/250/345/261/217/347/252/227/345/217/243/347/212/266/346/200/201/347/256/241/347/220/206/345/256/214/346/225/264/346/200/247.md +20 -0
- package/vendor/BadCase/rn/rules/R-02-/350/265/204/346/272/220URI/345/275/242/346/200/201/345/210/206/346/224/257/350/246/206/347/233/226.md +21 -0
- package/vendor/BadCase/rn/rules/R-03-/351/231/204/345/261/236/346/223/215/344/275/234/345/244/261/350/264/245/351/230/273/346/226/255/344/270/273/346/265/201/347/250/213.md +20 -0
- package/vendor/BadCase/rn/rules/R-04-/345/274/202/346/255/245/345/233/236/350/260/203/346/263/250/345/206/214/346/227/266/345/272/217.md +20 -0
- package/vendor/BadCase/rn/rules/R-05-/346/250/241/345/235/227/345/257/274/345/205/245/350/267/257/345/276/204/350/247/204/350/214/203.md +19 -0
- package/vendor/BadCase/rn/rules/R-06-/344/274/240/346/204/237/345/231/250/347/241/254/344/273/266/346/235/203/351/231/220/346/214/211/351/234/200/350/216/267/345/217/226.md +21 -0
- package/vendor/BadCase/rn/rules/R-07-/346/231/272/350/203/275/346/214/207/351/222/210/347/224/237/345/221/275/345/221/250/346/234/237/347/256/241/347/220/206.md +20 -0
- package/vendor/BadCase/rn/rules/R-08-/346/211/213/345/212/277/344/272/213/344/273/266/346/263/250/345/206/214/344/270/216/345/206/262/347/252/201/345/244/204/347/220/206.md +22 -0
- package/vendor/BadCase/rn/rules/R-09-/346/250/252/347/253/226/345/261/217/345/244/232/345/275/242/346/200/201/345/270/203/345/261/200/351/200/202/351/205/215.md +20 -0
- package/vendor/BadCase/rn/rules/R-10-/346/267/261/350/211/262/346/250/241/345/274/217/344/270/273/351/242/230/351/242/234/350/211/262/351/200/202/351/205/215.md +19 -0
- package/vendor/BadCase/rn/rules/R-11-/346/216/245/345/217/243/345/233/236/350/260/203/345/256/236/347/216/260/345/256/214/346/225/264/346/200/247.md +20 -0
- package/vendor/BadCase/rn/rules/R-12-/345/216/237/347/224/237/350/277/220/350/241/214/346/227/266/350/265/204/346/272/220/346/236/220/346/236/204/346/227/266/345/272/217.md +20 -0
- package/vendor/BadCase/rn/rules/R-13-/346/226/207/344/273/266/346/225/260/346/215/256/347/274/226/347/240/201/344/270/216/346/240/274/345/274/217/345/205/274/345/256/271.md +21 -0
- package/vendor/BadCase/rn/rules/R-14-/345/212/250/347/224/273/345/210/235/345/247/213/345/214/226/346/227/266/345/272/217/344/270/216/347/212/266/346/200/201/345/220/214/346/255/245.md +20 -0
- package/vendor/BadCase/rn/rules/R-15-/347/212/266/346/200/201/346/214/201/344/271/205/345/214/226/344/270/216/351/207/215/345/220/257/351/200/273/350/276/221/344/270/200/350/207/264/346/200/247.md +20 -0
- package/vendor/BadCase/rn/rules/R-16-/346/225/217/346/204/237/344/277/241/346/201/257/346/227/245/345/277/227/346/263/204/351/234/262.md +19 -0
- package/vendor/BadCase/rn/rules/R-17-/345/252/222/344/275/223/350/265/204/346/272/220/347/224/237/345/221/275/345/221/250/346/234/237/344/270/216/351/224/231/350/257/257/345/244/204/347/220/206.md +21 -0
- package/vendor/BadCase/rn/rules/R-18-/350/203/275/345/212/233/346/236/232/344/270/276/351/205/215/347/275/256/345/256/214/346/225/264/346/200/247.md +19 -0
- package/vendor/BadCase/rn/rules/R-19-/345/233/276/345/275/242/346/270/262/346/237/223/345/261/236/346/200/247/347/273/247/346/211/277/344/270/216/351/207/215/347/275/256.md +19 -0
- package/vendor/MCP/README.md +490 -0
- package/vendor/MCP/config.json +29 -0
- package/vendor/MCP/package.json +23 -0
- package/vendor/MCP/scripts/analyze-demo-coverage.cjs +1203 -0
- package/vendor/MCP/scripts/analyze-xts-coverage.cjs +1245 -0
- package/vendor/MCP/scripts/deveco_docs.js +247 -0
- package/vendor/MCP/scripts/extract-interfaces.cjs +1487 -0
- package/vendor/MCP/scripts/flutter-analyze-demo-coverage.cjs +666 -0
- package/vendor/MCP/scripts/flutter-analyze-xts-coverage.cjs +684 -0
- package/vendor/MCP/scripts/flutter-extract-interfaces.cjs +1251 -0
- package/vendor/MCP/scripts/flutter-render-spec-doc.cjs +351 -0
- package/vendor/MCP/scripts/render-spec-doc.cjs +347 -0
- package/vendor/MCP/scripts/rn-analyze-demo-coverage.cjs +645 -0
- package/vendor/MCP/scripts/rn-analyze-test-coverage.cjs +614 -0
- package/vendor/MCP/scripts/rn-extract-interfaces.cjs +1462 -0
- package/vendor/MCP/scripts/rn-render-spec-doc.cjs +327 -0
- package/vendor/MCP/scripts/rn-scan-exports.cjs +1336 -0
- package/vendor/MCP/src/client/MCPClientPool.js +220 -0
- package/vendor/MCP/src/config/ConfigLoader.js +189 -0
- package/vendor/MCP/src/executor/ScriptExecutor.js +110 -0
- package/vendor/MCP/src/gateway/Gateway.js +451 -0
- package/vendor/MCP/src/index.js +87 -0
- package/vendor/MCP/src/library/KBToolProvider.js +229 -0
- package/vendor/MCP/src/library/logger.js +60 -0
- package/vendor/MCP/src/registry/ScriptRegistry.js +238 -0
- package/vendor/MCP/src/registry/ToolRegistry.js +111 -0
- package/vendor/MCP/src/types.js +115 -0
- package/vendor/Server/Skills/arkts-library-test-coverage-check/references/MCP_TOOL_USAGE.md +4 -2
- package/vendor/Server/Skills/arkts-library-xts-coverage/SKILL.md +3 -3
- package/vendor/Server/Skills/knowledge-import/SKILL.md +1 -1
- package/vendor/Server/Skills/knowledge-import/references/MCP_TOOL_USAGE.md +12 -4
- package/vendor/Server/Skills/ohos-lib-pr-push/SKILL.md +5 -4
- package/vendor/Server/Skills/rn-library-issue-generalizer/SKILL.md +2 -2
- package/vendor/Server/Skills/rn-library-known-issue-check/SKILL.md +2 -2
- package/vendor/Server/Skills/rnoh-lib-demo-coverage/SKILL.md +1 -2
- package/vendor/Server/Skills/rnoh-lib-test-align/references/port-test-demo-guide.md +1 -1
- package/vendor/Server/Skills/rnoh-lib-xts-coverage/SKILL.md +1 -2
- package/vendor/Server/package.json +5 -1
- package/vendor/VERSION +3 -3
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pr": {
|
|
3
|
+
"id": 8767667,
|
|
4
|
+
"html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/merge_requests/117",
|
|
5
|
+
"number": 117,
|
|
6
|
+
"state": "merged",
|
|
7
|
+
"title": "fix:解决Text组件设置渐变色失效的问题",
|
|
8
|
+
"url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-svg/pulls/117",
|
|
9
|
+
"issue_url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-svg/pulls/117/issues",
|
|
10
|
+
"body": "fix:解决Text组件设置渐变色失效的问题 [#77](https://gitcode.com/CPF-RN/rntpc_react-native-svg/issues/77) ",
|
|
11
|
+
"assignees_number": 2,
|
|
12
|
+
"assignees": [
|
|
13
|
+
{
|
|
14
|
+
"id": "6731c8f2fbbddc0c200a6019",
|
|
15
|
+
"login": "zhu_chengcheng",
|
|
16
|
+
"name": "zhu_chengcheng",
|
|
17
|
+
"avatar_url": "https://cdn-img.gitcode.com/fe/bd/f406eb600317d9bbb6a5c23042b49e5193dfbb7a63ee407f5bbfcbabcd177af1.jpg",
|
|
18
|
+
"html_url": "https://gitcode.com/zhu_chengcheng",
|
|
19
|
+
"assignee": true,
|
|
20
|
+
"code_owner": false,
|
|
21
|
+
"accept": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "67fdb69df01e3c566929edd4",
|
|
25
|
+
"login": "gcw_N7oHqLFR",
|
|
26
|
+
"name": "huang_jy",
|
|
27
|
+
"avatar_url": "",
|
|
28
|
+
"html_url": "https://gitcode.com/gcw_N7oHqLFR",
|
|
29
|
+
"assignee": true,
|
|
30
|
+
"code_owner": false,
|
|
31
|
+
"accept": false
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"testers": [
|
|
35
|
+
{
|
|
36
|
+
"id": "6541ccea82d8f837210e92c3",
|
|
37
|
+
"login": "openharmony_ci",
|
|
38
|
+
"name": "openharmony_ci",
|
|
39
|
+
"avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
|
|
40
|
+
"html_url": "https://gitcode.com/openharmony_ci",
|
|
41
|
+
"assignee": false,
|
|
42
|
+
"code_owner": false,
|
|
43
|
+
"accept": true
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"approval_reviewers": [],
|
|
47
|
+
"labels": [
|
|
48
|
+
{
|
|
49
|
+
"id": 13020334,
|
|
50
|
+
"color": "#20c22e",
|
|
51
|
+
"name": "dco检查成功",
|
|
52
|
+
"repository_id": 4369264,
|
|
53
|
+
"created_at": "2025-01-17T01:22:57+08:00",
|
|
54
|
+
"updated_at": "2026-06-22T20:05:31+08:00"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": 13240312,
|
|
58
|
+
"color": "#428BCA",
|
|
59
|
+
"name": "编译成功",
|
|
60
|
+
"repository_id": 4369264,
|
|
61
|
+
"created_at": "2026-05-30T12:17:22+08:00",
|
|
62
|
+
"updated_at": "2026-06-24T14:44:01+08:00"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": 13020333,
|
|
66
|
+
"color": "#20c22e",
|
|
67
|
+
"name": "静态检查成功",
|
|
68
|
+
"repository_id": 4369264,
|
|
69
|
+
"created_at": "2025-01-17T01:22:57+08:00",
|
|
70
|
+
"updated_at": "2026-06-24T14:46:45+08:00"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"created_at": "2026-06-22T20:04:46+08:00",
|
|
74
|
+
"updated_at": "2026-06-24T14:47:25+08:00",
|
|
75
|
+
"closed_at": "2026-06-24T14:47:25+08:00",
|
|
76
|
+
"merged_at": "2026-06-24T14:47:25+08:00",
|
|
77
|
+
"merged_by": {
|
|
78
|
+
"id": "6541ccea82d8f837210e92c3",
|
|
79
|
+
"login": "openharmony_ci",
|
|
80
|
+
"name": "openharmony_ci",
|
|
81
|
+
"avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
|
|
82
|
+
"html_url": "https://gitcode.com/openharmony_ci"
|
|
83
|
+
},
|
|
84
|
+
"draft": false,
|
|
85
|
+
"can_merge_check": true,
|
|
86
|
+
"prune_branch": false,
|
|
87
|
+
"mergeable": true,
|
|
88
|
+
"user": {
|
|
89
|
+
"id": "6731c0e6fbbddc0c200a58bb",
|
|
90
|
+
"login": "cuijiaojiao1",
|
|
91
|
+
"name": "cuijiaojiao1",
|
|
92
|
+
"avatar_url": "https://cdn-img.gitcode.com/db/be/40716dbb72575e3df57f0d6f71d7566c9acaea74584916e1e3d65fe759ec5bab.jpg",
|
|
93
|
+
"html_url": "https://gitcode.com/cuijiaojiao1"
|
|
94
|
+
},
|
|
95
|
+
"head": {
|
|
96
|
+
"ref": "82Change",
|
|
97
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
98
|
+
"label": "82Change",
|
|
99
|
+
"repo": {
|
|
100
|
+
"path": "rntpc_react-native-svg_text",
|
|
101
|
+
"name": "rntpc_react-native-svg_text",
|
|
102
|
+
"namespace": {
|
|
103
|
+
"path": "cuijiaojiao1"
|
|
104
|
+
},
|
|
105
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
106
|
+
"html_url": "https://gitcode.com/cuijiaojiao1/rntpc_react-native-svg_text.git"
|
|
107
|
+
},
|
|
108
|
+
"user": {
|
|
109
|
+
"id": "6731c0e6fbbddc0c200a58bb",
|
|
110
|
+
"login": "cuijiaojiao1",
|
|
111
|
+
"name": "cuijiaojiao1",
|
|
112
|
+
"avatar_url": "https://cdn-img.gitcode.com/db/be/40716dbb72575e3df57f0d6f71d7566c9acaea74584916e1e3d65fe759ec5bab.jpg",
|
|
113
|
+
"html_url": "https://gitcode.com/cuijiaojiao1"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"base": {
|
|
117
|
+
"ref": "br_rnoh0.82",
|
|
118
|
+
"sha": "2b9a4a430aa12cc22161054d0085c9540219e490",
|
|
119
|
+
"label": "br_rnoh0.82",
|
|
120
|
+
"repo": {
|
|
121
|
+
"path": "rntpc_react-native-svg",
|
|
122
|
+
"name": "rntpc_react-native-svg",
|
|
123
|
+
"namespace": {
|
|
124
|
+
"path": "CPF-RN"
|
|
125
|
+
},
|
|
126
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
127
|
+
"html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg.git"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"mergeable_state": {
|
|
131
|
+
"merge_request_id": 8767667,
|
|
132
|
+
"state": true,
|
|
133
|
+
"status_without_user_auth": true,
|
|
134
|
+
"conflict_passed": true,
|
|
135
|
+
"branch_missing_passed": true,
|
|
136
|
+
"non_ff_passed": true,
|
|
137
|
+
"mr_state_passed": true,
|
|
138
|
+
"merged_by_user_passed": true,
|
|
139
|
+
"work_in_progress_passed": true,
|
|
140
|
+
"resolve_discussion_passed": true,
|
|
141
|
+
"ci_state_passed": true,
|
|
142
|
+
"merge_by_self_passed": true,
|
|
143
|
+
"can_force_merge": true,
|
|
144
|
+
"approval_reviewers_required_passed": true,
|
|
145
|
+
"approval_approvers_required_passed": true,
|
|
146
|
+
"approval_testers_required_passed": true,
|
|
147
|
+
"merge_request_switch": {
|
|
148
|
+
"review_mode": "approval",
|
|
149
|
+
"merge_method": "merge",
|
|
150
|
+
"only_allow_merge_if_all_discussions_are_resolved": true,
|
|
151
|
+
"disable_merge_by_self": true,
|
|
152
|
+
"only_allow_merge_if_pipeline_succeeds": false,
|
|
153
|
+
"disable_squash_merge": false,
|
|
154
|
+
"squash_merge_with_no_merge_commit": false,
|
|
155
|
+
"approval_required_reviewers_count": 0,
|
|
156
|
+
"approval_required_reviewers_branch": "*",
|
|
157
|
+
"add_notes_after_merged": true,
|
|
158
|
+
"mark_auto_merged_mr_as_closed": true,
|
|
159
|
+
"can_force_merge": true,
|
|
160
|
+
"can_reopen": true
|
|
161
|
+
},
|
|
162
|
+
"reason": {},
|
|
163
|
+
"check_tasks_num": 2,
|
|
164
|
+
"all_depend_merge_request_merged_passed": true,
|
|
165
|
+
"approval_approvers_result": 2,
|
|
166
|
+
"approval_testers_result": 2
|
|
167
|
+
},
|
|
168
|
+
"visibility_reason": "public",
|
|
169
|
+
"close_related_issue": true,
|
|
170
|
+
"squash_merge": false
|
|
171
|
+
},
|
|
172
|
+
"files": [
|
|
173
|
+
{
|
|
174
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
175
|
+
"filename": "OAT.xml",
|
|
176
|
+
"additions": 10,
|
|
177
|
+
"deletions": 2,
|
|
178
|
+
"blob_id": "ccabf0b7427f151065638da606291cdbb7c8d29b",
|
|
179
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/OAT.xml",
|
|
180
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/OAT.xml",
|
|
181
|
+
"patch": "@@ -51,7 +51,10 @@\n \t\t\t\t<filteritem type=\"filepath\" name=\"harmony/svg/src/main/cpp/svgImage/RNSVGImageShadowNode.h\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n \t\t\t\t<filteritem type=\"filepath\" name=\"harmony/svg/src/main/cpp/svgImage/RNSVGImageState.cpp\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n \t\t\t\t<filteritem type=\"filepath\" name=\"harmony/svg/src/main/cpp/svgImage/RNSVGImageState.h\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n-\t\t\t\t\n+\t\t\t\t<filteritem type=\"filename\" name=\".eslintrc.js\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filename\" name=\".prettierrc.js\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filename\" name=\"babel.config.js\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n+\t\t\t\t<filteritem type=\"filename\" name=\"buildEnv.sh\" desc=\"配置文件无需更改,因此添加过滤\"/>\n </filefilter>\n <filefilter name=\"defaultPolicyFilter\" desc=\"Filters for compatibility,license header policies\">\n <filteritem type=\"filepath\" name=\"harmony/svg/hvigorfile.ts\" desc=\"hvigor构建脚本,DevEco Studio自动生成,不手动修改\"/>\n@@ -89,6 +92,10 @@\n \t\t\t\t<filteritem type=\"filepath\" name=\"harmony/svg/src/main/cpp/svgImage/RNSVGImageState.h\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n \t\t\t\t<filteritem type=\"filepath\" name=\"harmony/svg/BuildProfile.ets\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n \t\t\t\t<filteritem type=\"filepath\" name=\"example/harmony/hvigorfile.ts\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filename\" name=\".eslintrc.js\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filename\" name=\".prettierrc.js\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n+ <filteritem type=\"filename\" name=\"babel.config.js\" desc=\"第三方开源软件源码,不修改版权头,以防有修改版权风险\"/>\n+\t\t\t\t<filteritem type=\"filename\" name=\"buildEnv.sh\" desc=\"配置文件无需更改,因此添加过滤\"/>\n </filefilter>\n \n <filefilter name=\"binaryFileTypePolicyFilter\" desc=\"Filters for copyright header policies\">\n@@ -101,4 +108,5 @@\n </filefilter>\n </filefilterlist>\n </oatconfig>\n-</configuration>\n\\n+</configuration>\n+\n",
|
|
182
|
+
"target_branch": "br_rnoh0.82",
|
|
183
|
+
"source_branch": "82Change",
|
|
184
|
+
"source_project": {
|
|
185
|
+
"id": 10189722,
|
|
186
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
187
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
188
|
+
"path": "rntpc_react-native-svg_text"
|
|
189
|
+
},
|
|
190
|
+
"target_project": {
|
|
191
|
+
"id": 4369264,
|
|
192
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
193
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
194
|
+
"path": "rntpc_react-native-svg"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
199
|
+
"filename": "buildEnv.sh",
|
|
200
|
+
"status": "added",
|
|
201
|
+
"additions": 9,
|
|
202
|
+
"deletions": 0,
|
|
203
|
+
"blob_id": "b72b4032577456857e735c3989309f35f9cd59d3",
|
|
204
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/buildEnv.sh",
|
|
205
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/buildEnv.sh",
|
|
206
|
+
"patch": "@@ -0,0 +1,9 @@\n+#!/bin/bash\n+BUILD_PKG_DIR=example\n+BUILD_SAMPLE_DIR=example/harmony\n+BUILD_THIRD_PARTY_DIR=harmony/\n+\n+# BUILD_PKG_DIR: 用来打 tgz 包的工程目录\n+# BUILD_SAMPLE_DIR:用来打 har 包的目录\n+# BUILD_THIRD_PARTY_DIR:库模块源码目录\n+\n",
|
|
207
|
+
"target_branch": "br_rnoh0.82",
|
|
208
|
+
"source_branch": "82Change",
|
|
209
|
+
"source_project": {
|
|
210
|
+
"id": 10189722,
|
|
211
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
212
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
213
|
+
"path": "rntpc_react-native-svg_text"
|
|
214
|
+
},
|
|
215
|
+
"target_project": {
|
|
216
|
+
"id": 4369264,
|
|
217
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
218
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
219
|
+
"path": "rntpc_react-native-svg"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
224
|
+
"filename": "example/harmony/AppScope/app.json5",
|
|
225
|
+
"additions": 1,
|
|
226
|
+
"deletions": 1,
|
|
227
|
+
"blob_id": "8bc9c1009d0d77c9ad4d2b81f836a15f4656d9d3",
|
|
228
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/AppScope/app.json5",
|
|
229
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/AppScope/app.json5",
|
|
230
|
+
"patch": "@@ -1,6 +1,6 @@\n {\n \"app\": {\n- \"bundleName\": \"com.harmony.wechat.lib.demo\",\n+ \"bundleName\": \"com.example.svg\",\n \"vendor\": \"example\",\n \"versionCode\": 1000000,\n \"versionName\": \"1.0.0\",\n",
|
|
231
|
+
"target_branch": "br_rnoh0.82",
|
|
232
|
+
"source_branch": "82Change",
|
|
233
|
+
"source_project": {
|
|
234
|
+
"id": 10189722,
|
|
235
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
236
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
237
|
+
"path": "rntpc_react-native-svg_text"
|
|
238
|
+
},
|
|
239
|
+
"target_project": {
|
|
240
|
+
"id": 4369264,
|
|
241
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
242
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
243
|
+
"path": "rntpc_react-native-svg"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
248
|
+
"filename": "example/harmony/build-profile.template.json5",
|
|
249
|
+
"additions": 7,
|
|
250
|
+
"deletions": 4,
|
|
251
|
+
"blob_id": "833f0077dfff07109b1c5d5368740b2e9ecf3bd6",
|
|
252
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/build-profile.template.json5",
|
|
253
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/build-profile.template.json5",
|
|
254
|
+
"patch": "@@ -4,7 +4,6 @@\n {\n \"name\": 'default',\n \"signingConfig\": 'default',\n- \"compileSdkVersion\": '5.0.1(13)',\n \"compatibleSdkVersion\": '5.0.0(12)',\n \"runtimeOS\": 'HarmonyOS'\n },\n@@ -28,9 +27,13 @@\n \"name\": 'default',\n \"applyToProducts\": [\n 'default'\n- ],\n- },\n- ],\n+ ]\n+ }\n+ ]\n+ },\n+ {\n+ \"name\": \"svg\",\n+ \"srcPath\": '../../harmony/svg'\n }\n ],\n }\n\\n",
|
|
255
|
+
"target_branch": "br_rnoh0.82",
|
|
256
|
+
"source_branch": "82Change",
|
|
257
|
+
"source_project": {
|
|
258
|
+
"id": 10189722,
|
|
259
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
260
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
261
|
+
"path": "rntpc_react-native-svg_text"
|
|
262
|
+
},
|
|
263
|
+
"target_project": {
|
|
264
|
+
"id": 4369264,
|
|
265
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
266
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
267
|
+
"path": "rntpc_react-native-svg"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
272
|
+
"filename": "example/harmony/entry/build-profile.json5",
|
|
273
|
+
"additions": 3,
|
|
274
|
+
"deletions": 0,
|
|
275
|
+
"blob_id": "9a736c4495e63e87caa11b9dddc51d09306420eb",
|
|
276
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/entry/build-profile.json5",
|
|
277
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/entry/build-profile.json5",
|
|
278
|
+
"patch": "@@ -4,6 +4,9 @@\n \"externalNativeOptions\": {\n \"path\": \"./src/main/cpp/CMakeLists.txt\",\n \"arguments\": \"\",\n+ \"abiFilters\": [\n+ \"arm64-v8a\"\n+ ]\n },\n },\n \"targets\": [\n",
|
|
279
|
+
"target_branch": "br_rnoh0.82",
|
|
280
|
+
"source_branch": "82Change",
|
|
281
|
+
"source_project": {
|
|
282
|
+
"id": 10189722,
|
|
283
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
284
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
285
|
+
"path": "rntpc_react-native-svg_text"
|
|
286
|
+
},
|
|
287
|
+
"target_project": {
|
|
288
|
+
"id": 4369264,
|
|
289
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
290
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
291
|
+
"path": "rntpc_react-native-svg"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
296
|
+
"filename": "example/harmony/entry/oh-package.json5",
|
|
297
|
+
"additions": 2,
|
|
298
|
+
"deletions": 2,
|
|
299
|
+
"blob_id": "bd035ad16bc6a2e3e4b36b42689dc6264308cece",
|
|
300
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/entry/oh-package.json5",
|
|
301
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/entry/oh-package.json5",
|
|
302
|
+
"patch": "@@ -5,7 +5,7 @@\n \"description\": \"example description\",\n \"version\": \"1.0.0\",\n \"dependencies\": {\n- \"@rnoh/react-native-openharmony\": \"file:../../node_modules/react-native-harmony/harmony/react_native_openharmony.har\",\n- \"@react-native-ohos/react-native-svg\": \"file:../../node_modules/@react-native-ohos/react-native-svg/harmony/svg.har\"\n+ \"@rnoh/react-native-openharmony\": \"file:../../node_modules/react-native-harmony/react_native_openharmony.har\",\n+ \"@react-native-ohos/react-native-svg\": \"file:../../node_modules/@react-native-ohos/react-native-svg/harmony/svg.har\",\n }\n }\n\\n",
|
|
303
|
+
"target_branch": "br_rnoh0.82",
|
|
304
|
+
"source_branch": "82Change",
|
|
305
|
+
"source_project": {
|
|
306
|
+
"id": 10189722,
|
|
307
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
308
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
309
|
+
"path": "rntpc_react-native-svg_text"
|
|
310
|
+
},
|
|
311
|
+
"target_project": {
|
|
312
|
+
"id": 4369264,
|
|
313
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
314
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
315
|
+
"path": "rntpc_react-native-svg"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
320
|
+
"filename": "example/harmony/entry/src/main/cpp/CMakeLists.txt",
|
|
321
|
+
"additions": 1,
|
|
322
|
+
"deletions": 0,
|
|
323
|
+
"blob_id": "b37cc8060bae1680e58a7095c3f241441a5793fc",
|
|
324
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/entry/src/main/cpp/CMakeLists.txt",
|
|
325
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/entry/src/main/cpp/CMakeLists.txt",
|
|
326
|
+
"patch": "@@ -1,5 +1,6 @@\n project(rnapp)\n cmake_minimum_required(VERSION 3.4.1)\n+set(CMAKE_NINJA_FORCE_RESPONSE_FILE 1)\n set(CMAKE_SKIP_BUILD_RPATH TRUE)\n set(RNOH_APP_DIR \"${CMAKE_CURRENT_SOURCE_DIR}\")\n set(NODE_MODULES \"${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules\")\n",
|
|
327
|
+
"target_branch": "br_rnoh0.82",
|
|
328
|
+
"source_branch": "82Change",
|
|
329
|
+
"source_project": {
|
|
330
|
+
"id": 10189722,
|
|
331
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
332
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
333
|
+
"path": "rntpc_react-native-svg_text"
|
|
334
|
+
},
|
|
335
|
+
"target_project": {
|
|
336
|
+
"id": 4369264,
|
|
337
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
338
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
339
|
+
"path": "rntpc_react-native-svg"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
344
|
+
"filename": "example/harmony/oh-package.json5",
|
|
345
|
+
"additions": 1,
|
|
346
|
+
"deletions": 1,
|
|
347
|
+
"blob_id": "8697e14971a640d31b25f46b57b5dfcdb1202167",
|
|
348
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/oh-package.json5",
|
|
349
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/harmony/oh-package.json5",
|
|
350
|
+
"patch": "@@ -6,7 +6,7 @@\n \"repository\": {},\n \"version\": \"1.0.0\",\n \"overrides\": {\n- \"@rnoh/react-native-openharmony\": \"file:./../node_modules/react-native-harmony/harmony/react_native_openharmony.har\"\n+ \"@rnoh/react-native-openharmony\": \"file:../node_modules/react-native-harmony/react_native_openharmony.har\"\n },\n \"dynamicDependencies\": {}\n }\n\\n",
|
|
351
|
+
"target_branch": "br_rnoh0.82",
|
|
352
|
+
"source_branch": "82Change",
|
|
353
|
+
"source_project": {
|
|
354
|
+
"id": 10189722,
|
|
355
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
356
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
357
|
+
"path": "rntpc_react-native-svg_text"
|
|
358
|
+
},
|
|
359
|
+
"target_project": {
|
|
360
|
+
"id": 4369264,
|
|
361
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
362
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
363
|
+
"path": "rntpc_react-native-svg"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
368
|
+
"filename": "example/package.json",
|
|
369
|
+
"additions": 22,
|
|
370
|
+
"deletions": 20,
|
|
371
|
+
"blob_id": "747e8ef571845b2a7388f08bfe1d215e2f2f7ad0",
|
|
372
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/example/package.json",
|
|
373
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/example/package.json",
|
|
374
|
+
"patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"@react-native-ohos/react-native-svg\",\n- \"version\": \"15.12.1-rc.1\",\n+ \"version\": \"15.13.0\",\n \"private\": true,\n \"scripts\": {\n \"i\": \"cd ../ && npm i && npm run pack && cd ./example && npm i\",\n@@ -8,53 +8,55 @@\n \"start\": \"hdc rport tcp:8081 tcp:8081 && react-native start\",\n \"codegen\": \"react-native codegen-harmony --rnoh-module-path ./harmony/entry/oh_modules/@rnoh/react-native-openharmony\",\n \"pack:pkg\": \"cd ../ && npm pack && cd ./example\",\n- \"install:pkg\": \"npm uninstall @react-native-ohos/react-native-svg && npm run pack:pkg && npm i @react-native-ohos/react-native-svg@file:../react-native-ohos-react-native-svg-15.12.1-rc.12.tgz\",\n+ \"install:pkg\": \"npm uninstall @react-native-ohos/react-native-svg && npm run pack:pkg && npm i @react-native-ohos/react-native-svg@file:../react-native-ohos-react-native-svg-15.13.0.tgz\",\n \"dev\": \"npm run codegen && react-native bundle-harmony --dev --minify=false\",\n \"prod\": \"npm run codegen && react-native bundle-harmony --dev=false --minify=true\",\n \"postinstall\": \"node ./scripts/create-build-profile\",\n- \"fast:pkg\": \"cd ../ && npm i --legacy-peer-deps && npm pack --ignore-scripts && cd ./example && npm i && npm run dev\"\n+ \"fast-install-project\": \"cd ../ && npm i --force && npm run pack && rm -r node_modules && cd ./example && npm i --force\",\n+ \"fast:pkg\": \"npm run fast-install-project && npm run dev\" \n },\n \"dependencies\": {\n \"@gorhom/portal\": \"^1.0.14\",\n- \"@react-native-ohos/react-native-svg\": \"file:../react-native-ohos-react-native-svg-15.12.1-rc.11.tgz\",\n- \"react\": \"18.3.1\",\n- \"react-native\": \"0.77.1\",\n- \"react-native-harmony\": \"file:../packages/rnoh-react-native-harmony-0.77.10.tgz\",\n+ \"@react-native-ohos/react-native-svg\": \"file:../react-native-ohos-react-native-svg-15.13.0.tgz\",\n+ \"react\": \"19.1.1\",\n+ \"react-native\": \"0.82.1\",\n+ \"react-native-harmony\": \"npm:@react-native-oh/react-native-harmony@0.82.7\",\n \"react-native-reanimated\": \"^3.6.0\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.25.2\",\n \"@babel/preset-env\": \"^7.25.3\",\n \"@babel/runtime\": \"^7.25.0\",\n- \"@react-native-community/cli\": \"15.0.1\",\n+ \"@react-native-community/cli\": \"20.0.0\",\n \"@react-native-community/cli-platform-android\": \"15.0.1\",\n- \"@react-native-community/cli-platform-ios\": \"15.0.1\",\n+ \"@react-native-community/cli-platform-ios\": \"20.0.0\",\n \"@react-native-community/eslint-config\": \"^3.2.0\",\n- \"@react-native/babel-preset\": \"0.77.1\",\n- \"@react-native/eslint-config\": \"0.77.1\",\n- \"@react-native/metro-config\": \"^0.77.1\",\n- \"@react-native/typescript-config\": \"0.77.1\",\n- \"@rnoh/react-native-harmony-cli\": \"file:../packages/rnoh-react-native-harmony-cli-0.77.10.tgz\",\n+ \"@react-native/babel-preset\": \"0.82.1\",\n+ \"@react-native/eslint-config\": \"0.82.1\",\n+ \"@react-native/metro-config\": \"^0.82.1\",\n+ \"@react-native/typescript-config\": \"0.82.1\",\n+ \"@rnoh/react-native-harmony-cli\": \"npm:@react-native-oh/react-native-harmony-cli@0.82.7\",\n \"@tsconfig/react-native\": \"^3.0.0\",\n \"@types/d3-scale-chromatic\": \"^3.0.0\",\n \"@types/jest\": \"^29.5.13\",\n- \"@types/react\": \"^18.2.6\",\n- \"@types/react-test-renderer\": \"^18.0.0\",\n+ \"@types/react\": \"^19.1.0\",\n+ \"@types/react-test-renderer\": \"^19.1.0\",\n \"babel-jest\": \"^29.6.3\",\n \"eslint\": \"^8.19.0\",\n \"jest\": \"^29.7.0\",\n \"metro-react-native-babel-preset\": \"0.76.8\",\n- \"prettier\": \"2.8.8\",\n- \"react-test-renderer\": \"18.3.1\",\n+ \"prettier\": \"3.0.0\",\n+ \"react-test-renderer\": \"19.1.1\",\n \"typescript\": \"5.5.4\"\n },\n \"overrides\": {\n- \"@react-native-community/cli\": \"15.0.1\"\n+ \"@react-native-community/cli\": \"20.0.0\"\n },\n \"resolutions\": {\n- \"@react-native-community/cli\": \"15.0.1\"\n+ \"@react-native-community/cli\": \"20.0.0\"\n },\n \"engines\": {\n \"node\": \">=18\"\n }\n }\n+\n",
|
|
375
|
+
"target_branch": "br_rnoh0.82",
|
|
376
|
+
"source_branch": "82Change",
|
|
377
|
+
"source_project": {
|
|
378
|
+
"id": 10189722,
|
|
379
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
380
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
381
|
+
"path": "rntpc_react-native-svg_text"
|
|
382
|
+
},
|
|
383
|
+
"target_project": {
|
|
384
|
+
"id": 4369264,
|
|
385
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
386
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
387
|
+
"path": "rntpc_react-native-svg"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
392
|
+
"filename": "harmony/svg/src/main/cpp/SvgNode.cpp",
|
|
393
|
+
"additions": 28,
|
|
394
|
+
"deletions": 16,
|
|
395
|
+
"blob_id": "71b4919e33e4d674517e09b88162d5ede9aadcbe",
|
|
396
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/harmony/svg/src/main/cpp/SvgNode.cpp",
|
|
397
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/harmony/svg/src/main/cpp/SvgNode.cpp",
|
|
398
|
+
"patch": "@@ -211,24 +211,36 @@ void SvgNode::Draw(OH_Drawing_Canvas *canvas) {\n }\r\n \t\r\n if (hrefFill_) {\r\n-\t\tattributes_.fillState.SetGradient(std::nullopt, false);\r\n-\t\tattributes_.strokeState.SetGradient(std::nullopt, false);\r\n auto fillHref = attributes_.fillState.GetHref();\r\n- if (!fillHref.empty()) {\r\n- auto gradient = GetGradient(fillHref);\r\n- if (gradient) {\r\n- attributes_.fillState.SetGradient(gradient.value(), true);\r\n- }\r\n- auto pattern = GetPatternAttr(fillHref);\r\n- if (pattern) {\r\n- attributes_.fillState.SetPattern(pattern);\r\n- }\r\n- }\r\n auto strokeHref = attributes_.strokeState.GetHref();\r\n- if (!strokeHref.empty()) {\r\n- auto gradient = GetGradient(strokeHref);\r\n- if (gradient) {\r\n- attributes_.strokeState.SetGradient(gradient.value(), true);\r\n+ // Only reset gradient if the node has its own href reference to resolve.\r\n+ // If there is no href, the gradient was inherited from parent via InitStyle/InheritAttr,\r\n+ // and resetting it would destroy the inherited gradient (critical for Text/TSpan elements\r\n+ // where gradient is inherited from parent, not referenced via href).\r\n+ bool hasFillHref = !fillHref.empty();\r\n+ bool hasStrokeHref = !strokeHref.empty();\r\n+ if (hasFillHref || hasStrokeHref) {\r\n+ if (hasFillHref) {\r\n+ attributes_.fillState.SetGradient(std::nullopt, false);\r\n+ }\r\n+ if (hasStrokeHref) {\r\n+ attributes_.strokeState.SetGradient(std::nullopt, false);\r\n+ }\r\n+ if (hasFillHref) {\r\n+ auto gradient = GetGradient(fillHref);\r\n+ if (gradient) {\r\n+ attributes_.fillState.SetGradient(gradient.value(), true);\r\n+ }\r\n+ auto pattern = GetPatternAttr(fillHref);\r\n+ if (pattern) {\r\n+ attributes_.fillState.SetPattern(pattern);\r\n+ }\r\n+ }\r\n+ if (hasStrokeHref) {\r\n+ auto gradient = GetGradient(strokeHref);\r\n+ if (gradient) {\r\n+ attributes_.strokeState.SetGradient(gradient.value(), true);\r\n+ }\r\n }\r\n }\r\n }\r\n",
|
|
399
|
+
"target_branch": "br_rnoh0.82",
|
|
400
|
+
"source_branch": "82Change",
|
|
401
|
+
"source_project": {
|
|
402
|
+
"id": 10189722,
|
|
403
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
404
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
405
|
+
"path": "rntpc_react-native-svg_text"
|
|
406
|
+
},
|
|
407
|
+
"target_project": {
|
|
408
|
+
"id": 4369264,
|
|
409
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
410
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
411
|
+
"path": "rntpc_react-native-svg"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
416
|
+
"filename": "package.json",
|
|
417
|
+
"additions": 1,
|
|
418
|
+
"deletions": 0,
|
|
419
|
+
"blob_id": "a37257c1a844621af53aa499e7ec010fe3680489",
|
|
420
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/package.json",
|
|
421
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/package.json",
|
|
422
|
+
"patch": "@@ -7,6 +7,7 @@\n \"module\": \"lib/module/index\",\n \"types\": \"lib/typescript/index.d.ts\",\n \"scripts\": {\n+ \"pack\": \"npm pack --ignore-scripts\",\n \"prepack\": \"bob build\",\n \"prepublishOnly\": \"npm run prepack && react-native verify-package-harmony --package-path . --skip-checks oh_package_name_is_derived_from_npm_package_name\",\n \"update_version\": \"node ./scripts/update-version.js\",\n",
|
|
423
|
+
"target_branch": "br_rnoh0.82",
|
|
424
|
+
"source_branch": "82Change",
|
|
425
|
+
"source_project": {
|
|
426
|
+
"id": 10189722,
|
|
427
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
428
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
429
|
+
"path": "rntpc_react-native-svg_text"
|
|
430
|
+
},
|
|
431
|
+
"target_project": {
|
|
432
|
+
"id": 4369264,
|
|
433
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
434
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
435
|
+
"path": "rntpc_react-native-svg"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"sha": "d404e104f85615049d2f83a78bbc4f863d39f113",
|
|
440
|
+
"filename": "tsconfig.json",
|
|
441
|
+
"additions": 12,
|
|
442
|
+
"deletions": 2,
|
|
443
|
+
"blob_id": "c27d096b0a95f14eab5b8e96b02c5e98f8c2351b",
|
|
444
|
+
"blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-svg/blob/d404e104f85615049d2f83a78bbc4f863d39f113/tsconfig.json",
|
|
445
|
+
"raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-svg/raw/d404e104f85615049d2f83a78bbc4f863d39f113/tsconfig.json",
|
|
446
|
+
"patch": "@@ -3,10 +3,20 @@\n \"@tsconfig/react-native/tsconfig.json\",\n ],\n \"compilerOptions\": {\n- \"noEmit\": false\n+ \"noEmit\": false,\n+ \"skipLibCheck\": true,\n+ \"allowJs\": false,\n+ \"baseUrl\": \".\",\n+ \"paths\": {\n+ \"react-native-svg/src/*\": [\"node_modules/react-native-svg/lib/typescript/*\"]\n+ }\n },\n \"exclude\": [\n \"lib\",\n- \"harmony\"\n+ \"harmony\",\n+ \"example\",\n+ \"node_modules\",\n+ \"scripts\",\n+ \"babel.config.js\"\n ]\n }\n\\n",
|
|
447
|
+
"target_branch": "br_rnoh0.82",
|
|
448
|
+
"source_branch": "82Change",
|
|
449
|
+
"source_project": {
|
|
450
|
+
"id": 10189722,
|
|
451
|
+
"full_name": "cuijiaojiao1/rntpc_react-native-svg_text",
|
|
452
|
+
"human_name": "cuijiaojiao1 / rntpc_react-native-svg_text",
|
|
453
|
+
"path": "rntpc_react-native-svg_text"
|
|
454
|
+
},
|
|
455
|
+
"target_project": {
|
|
456
|
+
"id": 4369264,
|
|
457
|
+
"full_name": "CPF-RN/rntpc_react-native-svg",
|
|
458
|
+
"human_name": "CPF-RN / rntpc_react-native-svg",
|
|
459
|
+
"path": "rntpc_react-native-svg"
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
}
|