diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..7c40dc3 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +MIT License + +Copyright 2024 the JSR authors + +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 NONINFRINGEMENT. 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. diff --git a/README.md b/README.md index 9f0dfae..80a466e 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ This ensures that the package is fetched from JSR when you run npm install comma - `add`, `install`, `i`: Adds a JSR package to your project. - `remove`, `uninstall`, `r`: Remove a JSR package from your project. -- `publish`: _(Coming Soon)_ Will support publishing npm modules directly to JSR. +- `publish`: Publish `package.json` libraries to JSR. ## Limitations diff --git a/src/bin.ts b/src/bin.ts index 509c5e8..98f8168 100644 --- a/src/bin.ts +++ b/src/bin.ts @@ -1,4 +1,5 @@ #!/usr/bin/env node +// Copyright 2024 the JSR authors. MIT license. import * as kl from "kolorist"; import * as fs from "node:fs"; import * as path from "node:path"; diff --git a/src/commands.ts b/src/commands.ts index cad6821..3f7b61a 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1,3 +1,4 @@ +// Copyright 2024 the JSR authors. MIT license. import * as path from "node:path"; import * as fs from "node:fs"; import * as kl from "kolorist"; diff --git a/src/download.ts b/src/download.ts index 3f534c9..9f0f751 100644 --- a/src/download.ts +++ b/src/download.ts @@ -1,3 +1,4 @@ +// Copyright 2024 the JSR authors. MIT license. import * as os from "node:os"; import * as fs from "node:fs"; import * as path from "node:path"; diff --git a/src/index.ts b/src/index.ts index bb52eb6..55efefa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ +// Copyright 2024 the JSR authors. MIT license. export { install, remove, diff --git a/src/pkg_manager.ts b/src/pkg_manager.ts index c7ba1d6..9f8d202 100644 --- a/src/pkg_manager.ts +++ b/src/pkg_manager.ts @@ -1,3 +1,4 @@ +// Copyright 2024 the JSR authors. MIT license. import { InstallOptions } from "./commands"; import { JsrPackage, exec, findProjectDir } from "./utils"; import * as kl from "kolorist"; diff --git a/src/utils.ts b/src/utils.ts index 550995f..447c387 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,3 +1,4 @@ +// Copyright 2024 the JSR authors. MIT license. import * as path from "node:path"; import * as fs from "node:fs"; import { PkgManagerName } from "./pkg_manager";