Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit b533d34

Browse files
committed
Exclude source ts files in npm package tarballs
1 parent ac0016f commit b533d34

File tree

35 files changed

+233
-33
lines changed

35 files changed

+233
-33
lines changed

nodecg-io-ahk/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,18 @@
77
"name": "derNiklaas",
88
"url": "https://github.com/derNiklaas"
99
},
10-
"main": "extension",
10+
"main": "extension/index",
1111
"repository": {
1212
"type": "git",
1313
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1414
"directory": "nodecg-io-ahk"
1515
},
16+
"files": [
17+
"**/*.js",
18+
"**/*.js.map",
19+
"**/*.d.ts",
20+
"*.json"
21+
],
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

nodecg-io-android/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,23 @@
77
"name": "noeppi_noeppi",
88
"url": "https://github.com/noeppi-noeppi"
99
},
10+
"main": "extension/index",
1011
"repository": {
1112
"type": "git",
1213
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1314
"directory": "nodecg-io-android"
1415
},
16+
"files": [
17+
"**/*.js",
18+
"**/*.js.map",
19+
"**/*.d.ts",
20+
"*.json"
21+
],
1522
"scripts": {
1623
"build": "tsc -b",
1724
"watch": "tsc -b -w",
1825
"clean": "tsc -b --clean"
1926
},
20-
"main": "extension",
2127
"keywords": [
2228
"nodecg-io",
2329
"nodecg-bundle"

nodecg-io-core/.npmignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

nodecg-io-core/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-core"
1414
},
15+
"files": [
16+
"extension/**/*.js",
17+
"extension/**/*.js.map",
18+
"extension/**/*.d.ts",
19+
"index.js",
20+
"index.js.map",
21+
"index.d.ts",
22+
"*.json"
23+
],
1524
"scripts": {
1625
"build": "tsc -b",
1726
"watch": "tsc -b -w",

nodecg-io-curseforge/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-curseforge"
1414
},
15-
"main": "extension",
15+
"files": [
16+
"**/*.js",
17+
"**/*.js.map",
18+
"**/*.d.ts",
19+
"*.json"
20+
],
21+
"main": "extension/index",
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

nodecg-io-discord/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-discord"
1414
},
15-
"main": "extension",
15+
"files": [
16+
"**/*.js",
17+
"**/*.js.map",
18+
"**/*.d.ts",
19+
"*.json"
20+
],
21+
"main": "extension/index",
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

nodecg-io-intellij/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-intellij"
1414
},
15-
"main": "extension",
15+
"files": [
16+
"**/*.js",
17+
"**/*.js.map",
18+
"**/*.d.ts",
19+
"*.json"
20+
],
21+
"main": "extension/index",
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

nodecg-io-irc/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-irc"
1414
},
15-
"main": "extension",
15+
"files": [
16+
"**/*.js",
17+
"**/*.js.map",
18+
"**/*.d.ts",
19+
"*.json"
20+
],
21+
"main": "extension/index",
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

nodecg-io-midi-input/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-midi-input"
1414
},
15-
"main": "extension",
15+
"files": [
16+
"**/*.js",
17+
"**/*.js.map",
18+
"**/*.d.ts",
19+
"*.json"
20+
],
21+
"main": "extension/index",
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

nodecg-io-midi-output/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"url": "https://github.com/codeoverflow-org/nodecg-io.git",
1313
"directory": "nodecg-io-midi-output"
1414
},
15-
"main": "extension",
15+
"files": [
16+
"**/*.js",
17+
"**/*.js.map",
18+
"**/*.d.ts",
19+
"*.json"
20+
],
21+
"main": "extension/index",
1622
"scripts": {
1723
"build": "tsc -b",
1824
"watch": "tsc -b -w",

0 commit comments

Comments
 (0)