dshmarket 1.0.1 → 1.0.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
@@ -3,7 +3,7 @@
3
3
  English | [中文](README.zh.md)
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/dshmarket)](https://www.npmjs.com/package/dshmarket)
6
- [![downloads](https://img.shields.io/npm/dm/dshmarket)](https://www.npmjs.com/package/dshmarket)
6
+ [![stars](https://img.shields.io/github/stars/dsh-market/dsh-market?style=flat)](https://github.com/dsh-market/dsh-market)
7
7
 
8
8
  The plugin market inside DeepSeek Harness. Open Settings → **Plugin Market** → browse, search, one-click install.
9
9
 
package/README.zh.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [English](README.md) | 中文
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/dshmarket)](https://www.npmjs.com/package/dshmarket)
6
- [![downloads](https://img.shields.io/npm/dm/dshmarket)](https://www.npmjs.com/package/dshmarket)
6
+ [![stars](https://img.shields.io/github/stars/dsh-market/dsh-market?style=flat)](https://github.com/dsh-market/dsh-market)
7
7
 
8
8
  装在 DeepSeek Harness 里的插件市场。打开设置 → **插件市场** → 逛一逛,点一下,装好。
9
9
 
package/client/client.js CHANGED
@@ -1,4 +1,4 @@
1
- window.__ModuleLoader__.load({ id: "dsh-market", factory: (require) => {
1
+ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
2
2
  var module = { exports: {} }; var exports = module.exports;
3
3
  'use strict'
4
4
 
@@ -178,7 +178,7 @@ const CSS = `
178
178
  function injectStyles() {
179
179
  if (document.querySelector('style[data-plugin-css="dsh-market/market"]') !== null) return
180
180
  const tag = document.createElement('style')
181
- tag.dataset.plugin = 'dsh-market'
181
+ tag.dataset.plugin = "dshmarket"
182
182
  tag.dataset.pluginCss = 'dsh-market/market'
183
183
  tag.textContent = CSS
184
184
  document.head.appendChild(tag)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dshmarket",
3
3
  "description": "Visual plugin market inside DeepSeek Harness — browse, search, and one-click install community plugins. · DSH 可视化插件市场:逛一逛,点一下,装好。",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/types/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "typecheck": "tsc -p tsconfig.json --noEmit",
25
25
  "build": "tsc -p tsconfig.json",
26
26
  "check": "npm run typecheck && npm run build",
27
- "prepack": "npm run build",
27
+ "prepack": "npm run build && node scripts/preflight.mjs",
28
28
  "prepare": "npm run build",
29
29
  "snapshot": "curl -sf https://awesome-dsh-plugin.com/plugins.json -o data/registry-snapshot.json"
30
30
  },