Skip to content

Commit 8a63f1c

Browse files
fix npm issues
1 parent fc9856c commit 8a63f1c

File tree

2 files changed

+45
-38
lines changed

2 files changed

+45
-38
lines changed

.npmignore

Lines changed: 43 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
1-
# Development and testing files
2-
example/
3-
android/src/test/
4-
android/src/androidTest/
5-
android/build/
6-
ios/Tests/
7-
__tests__/
8-
__mocks__/
9-
*.test.ts
10-
*.test.js
1+
# @generated by expo-module-scripts
2+
3+
# Exclude all top-level hidden directories by convention
4+
/.*/
5+
6+
# Exclude tarballs generated by `npm pack`
7+
/*.tgz
8+
9+
__mocks__
10+
__tests__
11+
__rsc_tests__
12+
13+
/babel.config.js
14+
/android/src/androidTest/
15+
/android/src/test/
16+
/android/build/
17+
/android/.gradle/
18+
19+
# Exclude iOS tests
20+
/ios/Tests/
21+
22+
# Development files
23+
/src/
24+
/examples/
25+
/scripts/
1126
coverage/
1227
.nyc_output/
13-
14-
# Configuration files
15-
babel.config.js
28+
jest.config.*
29+
jest.setup.*
1630
.eslintrc*
1731
.prettierrc*
18-
jest.config.*
19-
20-
# Build and development files
21-
.expo/
22-
.gradle/
23-
node_modules/
24-
.env*
25-
26-
# Keep build/ directory - it contains compiled TypeScript output needed for the package
27-
# build/ directory is INCLUDED
32+
eslint.config.js
2833

2934
# IDE and editor files
3035
.vscode/
@@ -42,14 +47,26 @@ node_modules/
4247
ehthumbs.db
4348
Thumbs.db
4449

45-
# Git and CI
50+
# Documentation (keep README and LICENSE)
51+
CONTRIBUTING.md
52+
53+
# Environment files
54+
.env*
55+
56+
# Git and CI files - these are excluded by npm by default but being explicit
4657
.git/
4758
.github/
4859
.gitignore
4960
.gitattributes
5061

51-
# Documentation (keep README and LICENSE)
52-
CONTRIBUTING.md
62+
# Config files that shouldn't be published
63+
.codecov.yml
64+
.yarnrc.yml
65+
tsconfig.json
66+
67+
# Plugin source (keep build)
68+
/plugin/src/
69+
/plugin/tsconfig.*
5370
docs/
5471

5572
# Logs

package.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
{
22
"name": "expo-streamer",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Realtime Audio Streaming for Expo",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
77
"source": "src/index.ts",
8-
"files": [
9-
"build",
10-
"android/src/main",
11-
"android/build.gradle",
12-
"ios/*.swift",
13-
"ios/*.podspec",
14-
"app.plugin.js",
15-
"expo-module.config.json",
16-
"plugin/build"
17-
],
188
"scripts": {
19-
"build": "tsc --project .",
9+
"build": "expo-module build",
2010
"build:plugin": "tsc --project ./plugin",
2111
"build:watch": "tsc --project . --watch",
2212
"clean": "expo-module clean",

0 commit comments

Comments
 (0)