Skip to content

Commit 948e386

Browse files
πŸŽ‰ Feat(validate-npm-package-name): Release!
1 parent c2dcf60 commit 948e386

6 files changed

Lines changed: 32 additions & 7 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
Portions of this code are derived from validate-npm-package-name,
3+
Copyright (c) 2015, npm, Inc
4+
Licensed under the ISC License. See LICENSE file in the project root for full license information.
5+
*/
6+
7+
MIT License
8+
9+
Copyright (c) 2024 INeedJobToStartWork
10+
11+
Permission is hereby granted, free of charge, to any person obtaining a copy
12+
of this software and associated documentation files (the "Software"), to deal
13+
in the Software without restriction, including without limitation the rights
14+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15+
copies of the Software, and to permit persons to whom the Software is
16+
furnished to do so, subject to the following conditions:
17+
18+
The above copyright notice and this permission notice shall be included in all
19+
copies or substantial portions of the Software.
20+
21+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27+
SOFTWARE.

β€Žpackages/validate-npm-package-name/clean-package.config.jsonβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"require": "./index.d.ts"
1414
},
1515
"import": "./index.mjs",
16-
"require": "./index.js",
17-
"*": "./*"
16+
"require": "./index.js"
1817
}
1918
}
2019
}

β€Žpackages/validate-npm-package-name/config/tsuprc/tsup.prod.tsβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export default defineConfig({
2929
{ from: "./package.json", to: "./package.json" },
3030
{ from: "./.npmrc", to: "./.npmrc" },
3131
{ from: "./.npmignore", to: "./.npmignore" },
32-
{ from: "./README.md", to: "./README.md" }
32+
{ from: "./README.md", to: "./README.md" },
33+
{ from: "./LICENSE", to: "./LICENSE" }
3334
]
3435
})
3536
]

β€Žpackages/validate-npm-package-name/package.jsonβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "@betternpm/validate-npm-package-name",
33
"version": "1.0.0",
4-
"private": "true",
54
"description": "NPMs utility module",
65
"keywords": [
76
"utils",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './nameValidator';
2-
export * from './isScopedPackage';
1+
export * from "./nameValidator";
2+
export * from "./isScopedPackage";
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export * from "./functions";
2-

0 commit comments

Comments
Β (0)