@cunpingtai/webad-react-ad-scripts 0.2.1 → 0.2.2

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 CHANGED
@@ -8,6 +8,17 @@
8
8
  pnpm add @cunpingtai/webad-react-ad-scripts
9
9
  ```
10
10
 
11
+ 如果 pnpm 报 `ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION`,请在使用方项目根目录的
12
+ `pnpm-workspace.yaml` 中只豁免本包,然后重新安装:
13
+
14
+ ```yaml
15
+ minimumReleaseAgeExclude:
16
+ - "@cunpingtai/webad-react-ad-scripts"
17
+ ```
18
+
19
+ 这是使用方项目的供应链等待策略,不是包安装失败。也可以设置 `minimumReleaseAge: 0`
20
+ 完全关闭检查,但不推荐。详见完整接入指南。
21
+
11
22
  需要 React 18.3 或 React 19。
12
23
 
13
24
  ## 根部接入