diff --git a/packages/react-native-uniffi-russh/.npmignore b/packages/react-native-uniffi-russh/.npmignore new file mode 100644 index 0000000..1bc6821 --- /dev/null +++ b/packages/react-native-uniffi-russh/.npmignore @@ -0,0 +1,31 @@ +# Workspace caches +.turbo/ + +# Node modules (npm excludes by default) +node_modules/ + +# OS junk +**/.DS_Store + +# Platform build outputs and local config +ios/build/ +android/build/ +android/gradle/ +android/gradlew +android/gradlew.bat +android/local.properties + +# Tests and mocks +**/__tests__/ +**/__fixtures__/ +**/__mocks__/ + +# Dotfiles and editors +**/.* +.vscode/ +.idea/ + +# Coverage and logs +coverage/ +*.log +*.local diff --git a/packages/react-native-uniffi-russh/package.json b/packages/react-native-uniffi-russh/package.json index 2320850..763bad5 100644 --- a/packages/react-native-uniffi-russh/package.json +++ b/packages/react-native-uniffi-russh/package.json @@ -22,17 +22,7 @@ "cpp", "*.podspec", "react-native.config.js", - "LICENSE", - "!ios/build", - "!android/build", - "!android/gradle", - "!android/gradlew", - "!android/gradlew.bat", - "!android/local.properties", - "!**/__tests__", - "!**/__fixtures__", - "!**/__mocks__", - "!**/.*" + "LICENSE" ], "scripts": { "fmt": "cross-env SORT_IMPORTS=true prettier --write .", diff --git a/packages/react-native-xtermjs-webview/.npmignore b/packages/react-native-xtermjs-webview/.npmignore new file mode 100644 index 0000000..277b9ac --- /dev/null +++ b/packages/react-native-xtermjs-webview/.npmignore @@ -0,0 +1,20 @@ +# Exclude build and workspace caches not meant for publication +.turbo/ + +# Node modules should never be packed (npm ignores it by default, but explicit is fine) +node_modules/ + +# OS cruft +**/.DS_Store + +# Keep dist outputs and sources; do not exclude them here +# dist/ +# dist-internal/ +# src/ + +# Common ignores that shouldn't ship +coverage/ +.vscode/ +.idea/ +*.log +*.local diff --git a/packages/react-native-xtermjs-webview/package.json b/packages/react-native-xtermjs-webview/package.json index 717be32..1d876c6 100644 --- a/packages/react-native-xtermjs-webview/package.json +++ b/packages/react-native-xtermjs-webview/package.json @@ -8,8 +8,6 @@ "src", "dist", "dist-internal", - "!node_modules", - "!.turbo", "*" ], "exports": {