David Windham 1 week ago
parent
commit
e2867204e2
2 changed files with 31 additions and 17 deletions
  1. 25 6
      README.md
  2. 6 11
      package.json

+ 25 - 6
README.md

@@ -2,16 +2,35 @@
 
 
  Adds a hyperlink to a wikipedia article for the currently selected text in a markdown or html file
  Adds a hyperlink to a wikipedia article for the currently selected text in a markdown or html file
 
 
-![Screenshot](https://raw.githubusercontent.com/wasi-master/vscode-wikipedia-hyperlink/main/screenshot.gif)
-
-(WIP)
-
 ---
 ---
 
 
 ## Notes
 ## Notes
 
 
-I made this fork because I didn't want the link summary clogging up my markdown documents. I made a comment on the upstream original asking the author to consider it an option ( e.g. [https://github.com/wasi-master/vscode-wikipedia-hyperlink/discussions/2](https://github.com/wasi-master/vscode-wikipedia-hyperlink/discussions/2) ). Had to modify the extension ID to leave the original available to if the option comes available. Also had to install a package to publish a .VSIX file to install the extension.
-```
+Fork of [https://github.com/wasi-master/vscode-wikipedia-hyperlink/](https://github.com/wasi-master/vscode-wikipedia-hyperlink/) because I didn't want the link summary. 
+
+I made a comment on the upstream original asking the author to consider it an option ( e.g. [https://github.com/wasi-master/vscode-wikipedia-hyperlink/discussions/2](https://github.com/wasi-master/vscode-wikipedia-hyperlink/discussions/2) ). 
+
+I modified the extension ID to leave the original available to if the option comes available and installed a package to publish a .VSIX file so that I could sync it with codepaces.
+
+
+```sh
+// to build
+
+"scripts": {
+  "vscode:prepublish": "npm run package",
+  "compile": "webpack",
+  "watch": "webpack --watch",
+  "package": "webpack --mode production --devtool hidden-source-map",
+  "compile-tests": "tsc -p . --outDir out",
+  "watch-tests": "tsc -p . -w --outDir out",
+  "pretest": "npm run compile-tests && npm run compile && npm run lint",
+  "lint": "eslint src --ext ts",
+  "test": "node ./out/test/runTest.js"
+},
+
+
+// to publish
 npm install -g vsce 
 npm install -g vsce 
 vsce package
 vsce package
+vsce publish
 ```
 ```

+ 6 - 11
package.json

@@ -3,15 +3,15 @@
   "author": "windhamdavid (forked from - https://wasi-master.github.io)",
   "author": "windhamdavid (forked from - https://wasi-master.github.io)",
   "publisher": "windhamdavid",
   "publisher": "windhamdavid",
   "displayName": "Wikipedia Hyperlinker",
   "displayName": "Wikipedia Hyperlinker",
-  "description": "Adds hyperlinks to markdown and HTML files with articles gotten from Wikipedia",
-  "homepage": "https://github.com/wasi-master/wikipedia-hyperlink#readme",
-  "version": "0.0.2",
+  "description": "Adds Wikipedia hyperlinks to markdown and HTML",
+  "homepage": "https://github.com/windhamdavid/vscode-wikipedia-hyperlink#readme",
+  "version": "0.1.2",
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
     "url": "https://github.com/windhamdavid/vscode-wikipedia-hyperlink.git"
     "url": "https://github.com/windhamdavid/vscode-wikipedia-hyperlink.git"
   },
   },
   "engines": {
   "engines": {
-    "vscode": "^1.68.0"
+    "vscode": "^1.95.3"
   },
   },
   "categories": [
   "categories": [
     "Other"
     "Other"
@@ -25,13 +25,8 @@
   ],
   ],
   "badges": [
   "badges": [
     {
     {
-      "url": "https://img.shields.io/github/stars/wasi-master/vscode-wikipedia-hyperlink?style=social",
-      "href": "https://github.com/wasi-master/vscode-wikipedia-hyperlink",
-      "description": "Amount of stars gotten on GitHub"
-    },
-    {
-      "url": "https://img.shields.io/github/license/wasi-master/vscode-wikipedia-hyperlink",
-      "href": "https://github.com/wasi-master/vscode-wikipedia-hyperlink",
+      "url": "https://img.shields.io/github/license/windhamdavid/vscode-wikipedia-hyperlink",
+      "href": "https://github.com/windhamdavid/vscode-wikipedia-hyperlink",
       "description": "License of the source code"
       "description": "License of the source code"
     }
     }
   ],
   ],