dsh-plugin-lcsc 0.2.1 → 0.3.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/LICENSE +21 -21
- package/README.md +125 -95
- package/cn.js +707 -0
- package/cordis.patch.yml +23 -11
- package/data.js +1816 -1765
- package/icon.svg +9 -9
- package/index.js +2140 -1601
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +52 -52
package/cordis.patch.yml
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
# Bundle patch for dsh-plugin-lcsc (Host-only bundle).
|
|
2
|
-
# `install_bundle` adds the package dependency and selects this bundle; this
|
|
3
|
-
# patch inserts the plugin row into the profile's composed plugin tree.
|
|
4
|
-
- insert:
|
|
5
|
-
- id: lcsc-parts
|
|
6
|
-
name: 'dsh-plugin-lcsc'
|
|
7
|
-
config:
|
|
8
|
-
timeoutMs: 8000
|
|
9
|
-
retries: 3
|
|
10
|
-
cacheTtlMs: 600000
|
|
11
|
-
usdToCnyFactor: 6.0
|
|
1
|
+
# Bundle patch for dsh-plugin-lcsc (Host-only bundle).
|
|
2
|
+
# `install_bundle` adds the package dependency and selects this bundle; this
|
|
3
|
+
# patch inserts the plugin row into the profile's composed plugin tree.
|
|
4
|
+
- insert:
|
|
5
|
+
- id: lcsc-parts
|
|
6
|
+
name: 'dsh-plugin-lcsc'
|
|
7
|
+
config:
|
|
8
|
+
timeoutMs: 8000
|
|
9
|
+
retries: 3
|
|
10
|
+
cacheTtlMs: 600000
|
|
11
|
+
usdToCnyFactor: 6.0
|
|
12
|
+
# 国内站人民币价:Chrome 无头渲染 + 24h 缓存(无 Chrome 时自动降级为 USD 估算)
|
|
13
|
+
cnRender: true
|
|
14
|
+
cnCacheTtlMs: 86400000
|
|
15
|
+
cnTimeoutMs: 30000
|
|
16
|
+
cnConcurrency: 4
|
|
17
|
+
cnBrowserIdleTtlMs: 120000
|
|
18
|
+
cnQueryBudgetMs: 90000
|
|
19
|
+
cnCacheMaxEntries: 800
|
|
20
|
+
# 嘉立创费用(USD);工程费/钢网费默认 0,需要时填实际报价
|
|
21
|
+
extendedPartFeeUsd: 3.0
|
|
22
|
+
setupFeeUsd: 0.0
|
|
23
|
+
stencilFeeUsd: 0.0
|