Skip to content

Commit 322661c

Browse files
authored
add license file (#19)
1 parent f683a48 commit 322661c

8 files changed

+27
-1
lines changed

LICENSE.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
MIT License
2+
3+
Copyright 2024 the JSR authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This ensures that the package is fetched from JSR when you run npm install comma
3838

3939
- `add`, `install`, `i`: Adds a JSR package to your project.
4040
- `remove`, `uninstall`, `r`: Remove a JSR package from your project.
41-
- `publish`: _(Coming Soon)_ Will support publishing npm modules directly to JSR.
41+
- `publish`: Publish `package.json` libraries to JSR.
4242

4343
## Limitations
4444

src/bin.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
// Copyright 2024 the JSR authors. MIT license.
23
import * as kl from "kolorist";
34
import * as fs from "node:fs";
45
import * as path from "node:path";

src/commands.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2024 the JSR authors. MIT license.
12
import * as path from "node:path";
23
import * as fs from "node:fs";
34
import * as kl from "kolorist";

src/download.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2024 the JSR authors. MIT license.
12
import * as os from "node:os";
23
import * as fs from "node:fs";
34
import * as path from "node:path";

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2024 the JSR authors. MIT license.
12
export {
23
install,
34
remove,

src/pkg_manager.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2024 the JSR authors. MIT license.
12
import { InstallOptions } from "./commands";
23
import { JsrPackage, exec, findProjectDir } from "./utils";
34
import * as kl from "kolorist";

src/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2024 the JSR authors. MIT license.
12
import * as path from "node:path";
23
import * as fs from "node:fs";
34
import { PkgManagerName } from "./pkg_manager";

0 commit comments

Comments
 (0)