From b8d55b9233e4ad7b8a1cd41110b4e580fc2a059f Mon Sep 17 00:00:00 2001 From: Dan Imhoff Date: Thu, 3 Sep 2020 13:49:01 -0700 Subject: [PATCH] fix: better ignore rules for npm distribution (#32) --- haptics/.gitignore | 21 +++++++++++---------- haptics/package.json | 6 ------ motion/.gitignore | 25 +++++++++++-------------- motion/package.json | 3 --- network/.gitignore | 21 +++++++++++---------- network/package.json | 6 ------ screen-reader/.gitignore | 21 +++++++++++---------- screen-reader/package.json | 6 ------ storage/.gitignore | 25 +++++++++++-------------- storage/package.json | 6 ------ text-zoom/.gitignore | 21 +++++++++++---------- text-zoom/package.json | 6 ------ 12 files changed, 66 insertions(+), 101 deletions(-) diff --git a/haptics/.gitignore b/haptics/.gitignore index 40511aec5..70ccbf713 100644 --- a/haptics/.gitignore +++ b/haptics/.gitignore @@ -1,9 +1,10 @@ # node files -dist/ -node_modules/ +dist +node_modules # iOS files Pods +Podfile.lock Build xcuserdata @@ -25,28 +26,28 @@ xcuserdata *.class # Generated files -bin/ -gen/ -out/ +bin +gen +out # Gradle files -.gradle/ -build/ +.gradle +build # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse -proguard/ +proguard # Log Files *.log # Android Studio Navigation editor temp files -.navigation/ +.navigation # Android Studio captures folder -captures/ +captures # IntelliJ *.iml diff --git a/haptics/package.json b/haptics/package.json index c4faabcdf..94a9f3a60 100644 --- a/haptics/package.json +++ b/haptics/package.json @@ -38,12 +38,6 @@ "peerDependencies": { "@capacitor/core": "^3.0.0-alpha.2" }, - "files": [ - "dist/", - "ios/", - "android/", - "CapacitorHaptics.podspec" - ], "keywords": [ "capacitor", "plugin", diff --git a/motion/.gitignore b/motion/.gitignore index 1a6e13bfb..70ccbf713 100644 --- a/motion/.gitignore +++ b/motion/.gitignore @@ -1,13 +1,10 @@ -# NPM renames .gitignore to .npmignore -# In order to prevent that, we remove the initial "." -# And the CLI then renames it - # node files -dist/ -node_modules/ +dist +node_modules # iOS files Pods +Podfile.lock Build xcuserdata @@ -29,28 +26,28 @@ xcuserdata *.class # Generated files -bin/ -gen/ -out/ +bin +gen +out # Gradle files -.gradle/ -build/ +.gradle +build # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse -proguard/ +proguard # Log Files *.log # Android Studio Navigation editor temp files -.navigation/ +.navigation # Android Studio captures folder -captures/ +captures # IntelliJ *.iml diff --git a/motion/package.json b/motion/package.json index 7c3e58db4..7d90aed90 100644 --- a/motion/package.json +++ b/motion/package.json @@ -32,9 +32,6 @@ "peerDependencies": { "@capacitor/core": "^3.0.0-alpha.2" }, - "files": [ - "dist/" - ], "keywords": [ "capacitor", "plugin", diff --git a/network/.gitignore b/network/.gitignore index 40511aec5..70ccbf713 100644 --- a/network/.gitignore +++ b/network/.gitignore @@ -1,9 +1,10 @@ # node files -dist/ -node_modules/ +dist +node_modules # iOS files Pods +Podfile.lock Build xcuserdata @@ -25,28 +26,28 @@ xcuserdata *.class # Generated files -bin/ -gen/ -out/ +bin +gen +out # Gradle files -.gradle/ -build/ +.gradle +build # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse -proguard/ +proguard # Log Files *.log # Android Studio Navigation editor temp files -.navigation/ +.navigation # Android Studio captures folder -captures/ +captures # IntelliJ *.iml diff --git a/network/package.json b/network/package.json index 379eb7ba6..400faa580 100644 --- a/network/package.json +++ b/network/package.json @@ -38,12 +38,6 @@ "peerDependencies": { "@capacitor/core": "^3.0.0-alpha.0" }, - "files": [ - "dist/", - "ios/", - "android/", - "CapacitorNetwork.podspec" - ], "keywords": [ "capacitor", "plugin", diff --git a/screen-reader/.gitignore b/screen-reader/.gitignore index 40511aec5..70ccbf713 100644 --- a/screen-reader/.gitignore +++ b/screen-reader/.gitignore @@ -1,9 +1,10 @@ # node files -dist/ -node_modules/ +dist +node_modules # iOS files Pods +Podfile.lock Build xcuserdata @@ -25,28 +26,28 @@ xcuserdata *.class # Generated files -bin/ -gen/ -out/ +bin +gen +out # Gradle files -.gradle/ -build/ +.gradle +build # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse -proguard/ +proguard # Log Files *.log # Android Studio Navigation editor temp files -.navigation/ +.navigation # Android Studio captures folder -captures/ +captures # IntelliJ *.iml diff --git a/screen-reader/package.json b/screen-reader/package.json index cecf88d48..3eb554e8b 100644 --- a/screen-reader/package.json +++ b/screen-reader/package.json @@ -38,12 +38,6 @@ "peerDependencies": { "@capacitor/core": "^3.0.0-alpha.2" }, - "files": [ - "dist/", - "ios/", - "android/", - "CapacitorScreenReader.podspec" - ], "keywords": [ "capacitor", "plugin", diff --git a/storage/.gitignore b/storage/.gitignore index 1a6e13bfb..70ccbf713 100644 --- a/storage/.gitignore +++ b/storage/.gitignore @@ -1,13 +1,10 @@ -# NPM renames .gitignore to .npmignore -# In order to prevent that, we remove the initial "." -# And the CLI then renames it - # node files -dist/ -node_modules/ +dist +node_modules # iOS files Pods +Podfile.lock Build xcuserdata @@ -29,28 +26,28 @@ xcuserdata *.class # Generated files -bin/ -gen/ -out/ +bin +gen +out # Gradle files -.gradle/ -build/ +.gradle +build # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse -proguard/ +proguard # Log Files *.log # Android Studio Navigation editor temp files -.navigation/ +.navigation # Android Studio captures folder -captures/ +captures # IntelliJ *.iml diff --git a/storage/package.json b/storage/package.json index b32448ad0..b48cd97d7 100644 --- a/storage/package.json +++ b/storage/package.json @@ -38,12 +38,6 @@ "peerDependencies": { "@capacitor/core": "^3.0.0-alpha.2" }, - "files": [ - "dist/", - "ios/", - "android/", - "CapacitorStorage.podspec" - ], "keywords": [ "capacitor", "plugin", diff --git a/text-zoom/.gitignore b/text-zoom/.gitignore index 40511aec5..70ccbf713 100644 --- a/text-zoom/.gitignore +++ b/text-zoom/.gitignore @@ -1,9 +1,10 @@ # node files -dist/ -node_modules/ +dist +node_modules # iOS files Pods +Podfile.lock Build xcuserdata @@ -25,28 +26,28 @@ xcuserdata *.class # Generated files -bin/ -gen/ -out/ +bin +gen +out # Gradle files -.gradle/ -build/ +.gradle +build # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse -proguard/ +proguard # Log Files *.log # Android Studio Navigation editor temp files -.navigation/ +.navigation # Android Studio captures folder -captures/ +captures # IntelliJ *.iml diff --git a/text-zoom/package.json b/text-zoom/package.json index 02a2de64a..0a7771245 100644 --- a/text-zoom/package.json +++ b/text-zoom/package.json @@ -38,12 +38,6 @@ "peerDependencies": { "@capacitor/core": "^3.0.0-alpha.2" }, - "files": [ - "dist/", - "ios/", - "android/", - "CapacitorTextZoom.podspec" - ], "keywords": [ "capacitor", "plugin",