Skip to content

Commit bc25f16

Browse files
committed
configuring the project for publishing internally
1 parent aa52132 commit bc25f16

3 files changed

Lines changed: 37 additions & 1 deletion

File tree

.npmignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Source control
2+
.git
3+
.github
4+
.gitignore
5+
6+
# Tests and coverage
7+
test
8+
coverage
9+
.nyc_output
10+
.nycrc.json
11+
.nycrc.json
12+
13+
# Development configs
14+
.eslintrc.json
15+
.npmrc
16+
17+
# Documentation
18+
docs
19+
20+
# Dependencies
21+
node_modules
22+
pnpm-lock.yaml
23+
.eslintrc
24+

bin/cli.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ async function main () {
328328
} catch (error) {
329329
if (error && typeof error.message === 'string' &&
330330
error.message.includes('User force closed the prompt with SIGINT')) {
331-
console.log(error)
332331
logger.warn('Process cancelled by user during interactive prompt (SIGINT)')
333332
logger.close()
334333
console.log(yellow('\n✓ Process cancelled by the user.'))

package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,25 @@
1919
"discovery",
2020
"cli"
2121
],
22+
"repository": {
23+
"type": "git",
24+
"url": "git+ssh://git@github.com/nodesource/ns-upgrade.git"
25+
},
2226
"author": "NodeSource",
2327
"license": "MIT",
2428
"engines": {
2529
"node": ">=22.0.0"
2630
},
2731
"packageManager": "pnpm@10.20.0",
32+
"publishConfig": {
33+
"registry": "http://packages-internal.nodesource.io"
34+
},
35+
"files": [
36+
"bin",
37+
"lib",
38+
"assets",
39+
"README.md"
40+
],
2841
"dependencies": {
2942
"@typescript-eslint/parser": "^8.46.4",
3043
"colorette": "^2.0.20",

0 commit comments

Comments
 (0)