Skip to content

Commit

Permalink
Add license, update package.json for extension
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Mar 4, 2022
1 parent 8316687 commit 0819270
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 8 deletions.
10 changes: 10 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# MIT License

Copyright © 2022 Christoph Thiede

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

**The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort or otherwise, arising from,
out of or in connection with the Software or the use or other dealings in the Software.**
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "dowdep-base",
"description": "(Virtual) base for all dowdep packages",
"author": "Christoph Thiede",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "dowdep-cli",
"description": "Command-line interface for dowdep (the downstream dependency miner).",
"author": "Christoph Thiede",
"license": "MIT",
"bin": {
"dowdep-cli": "./bin/run.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0",
"description": "Mine usage information about your JavaScript/TypeScript package from dependent repositories.",
"author": "Christoph Thiede",
"license": "MIT",
"module": "./out/index.js",
"exports": "./out/index.js",
"types": "./out/index.d.ts",
Expand All @@ -16,7 +17,6 @@
"files": [
"*"
],
"license": "UNLICENSED",
"scripts": {
"lint": "eslint . && eslint --ext=.json",
"postinstall": "sed -i 's:import(\"src/PackageJson\"):import(\"./PackageJson\"):g' node_modules/package-metadata/dist/findPackageVersion.d.ts || echo \"Cannot patch package-metadata\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/example-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/example-ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/vscode-extension/LICENSE.md
2 changes: 1 addition & 1 deletion packages/vscode-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To do so, navigate to the settings of the extension and enter each a valid token

After configuring the extension, open a folder in VS Code that contains a node module, i.e., a `package.json` file.
(As an example, you could [download](../cli/scripts/download-package.sh) the npm package `jsonschema` or `graphql`.)
Open the downstream dependencies view from the activity bar (<img alt="dowdep icon" src="./assets/dowdep.svg" height="16"></img>) and press "Refresh downstream data" (you can also invoke this command via the command palette).
Open the downstream dependencies view from the activity bar (<img alt="dowdep icon" src="./assets/dowdep.png" height="16"></img>) and press "Refresh downstream data" (you can also invoke this command via the command palette).
Dependencies are now searched, downloaded, analyzed, and displayed in the view.
Hover, click, or right-click any item to see additional details.
You can also enable the extension setting "Enable CodeLens" to display links to downstream dependencies right in the regular editor of VS Code while browsing the source code of the package.
Expand Down
Binary file added packages/vscode-extension/assets/dowdep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions packages/vscode-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
"description": "Mine usage information about your JavaScript/TypeScript package from dependent repositories.",
"author": "Christoph Thiede",
"version": "0.0.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/LinqLover/downstream-repository-mining.git"
},
"engines": {
"vscode": "^1.57.0"
"vscode": "^1.61.0"
},
"categories": [
"Other"
Expand Down

0 comments on commit 0819270

Please sign in to comment.