Skip to content

Commit b8d55b9

Browse files
authored
fix: better ignore rules for npm distribution (#32)
1 parent 08d9891 commit b8d55b9

File tree

12 files changed

+66
-101
lines changed

12 files changed

+66
-101
lines changed

haptics/.gitignore

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# node files
2-
dist/
3-
node_modules/
2+
dist
3+
node_modules
44

55
# iOS files
66
Pods
7+
Podfile.lock
78
Build
89
xcuserdata
910

@@ -25,28 +26,28 @@ xcuserdata
2526
*.class
2627

2728
# Generated files
28-
bin/
29-
gen/
30-
out/
29+
bin
30+
gen
31+
out
3132

3233
# Gradle files
33-
.gradle/
34-
build/
34+
.gradle
35+
build
3536

3637
# Local configuration file (sdk path, etc)
3738
local.properties
3839

3940
# Proguard folder generated by Eclipse
40-
proguard/
41+
proguard
4142

4243
# Log Files
4344
*.log
4445

4546
# Android Studio Navigation editor temp files
46-
.navigation/
47+
.navigation
4748

4849
# Android Studio captures folder
49-
captures/
50+
captures
5051

5152
# IntelliJ
5253
*.iml

haptics/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"peerDependencies": {
3939
"@capacitor/core": "^3.0.0-alpha.2"
4040
},
41-
"files": [
42-
"dist/",
43-
"ios/",
44-
"android/",
45-
"CapacitorHaptics.podspec"
46-
],
4741
"keywords": [
4842
"capacitor",
4943
"plugin",

motion/.gitignore

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
# NPM renames .gitignore to .npmignore
2-
# In order to prevent that, we remove the initial "."
3-
# And the CLI then renames it
4-
51
# node files
6-
dist/
7-
node_modules/
2+
dist
3+
node_modules
84

95
# iOS files
106
Pods
7+
Podfile.lock
118
Build
129
xcuserdata
1310

@@ -29,28 +26,28 @@ xcuserdata
2926
*.class
3027

3128
# Generated files
32-
bin/
33-
gen/
34-
out/
29+
bin
30+
gen
31+
out
3532

3633
# Gradle files
37-
.gradle/
38-
build/
34+
.gradle
35+
build
3936

4037
# Local configuration file (sdk path, etc)
4138
local.properties
4239

4340
# Proguard folder generated by Eclipse
44-
proguard/
41+
proguard
4542

4643
# Log Files
4744
*.log
4845

4946
# Android Studio Navigation editor temp files
50-
.navigation/
47+
.navigation
5148

5249
# Android Studio captures folder
53-
captures/
50+
captures
5451

5552
# IntelliJ
5653
*.iml

motion/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
"peerDependencies": {
3333
"@capacitor/core": "^3.0.0-alpha.2"
3434
},
35-
"files": [
36-
"dist/"
37-
],
3835
"keywords": [
3936
"capacitor",
4037
"plugin",

network/.gitignore

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# node files
2-
dist/
3-
node_modules/
2+
dist
3+
node_modules
44

55
# iOS files
66
Pods
7+
Podfile.lock
78
Build
89
xcuserdata
910

@@ -25,28 +26,28 @@ xcuserdata
2526
*.class
2627

2728
# Generated files
28-
bin/
29-
gen/
30-
out/
29+
bin
30+
gen
31+
out
3132

3233
# Gradle files
33-
.gradle/
34-
build/
34+
.gradle
35+
build
3536

3637
# Local configuration file (sdk path, etc)
3738
local.properties
3839

3940
# Proguard folder generated by Eclipse
40-
proguard/
41+
proguard
4142

4243
# Log Files
4344
*.log
4445

4546
# Android Studio Navigation editor temp files
46-
.navigation/
47+
.navigation
4748

4849
# Android Studio captures folder
49-
captures/
50+
captures
5051

5152
# IntelliJ
5253
*.iml

network/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"peerDependencies": {
3939
"@capacitor/core": "^3.0.0-alpha.0"
4040
},
41-
"files": [
42-
"dist/",
43-
"ios/",
44-
"android/",
45-
"CapacitorNetwork.podspec"
46-
],
4741
"keywords": [
4842
"capacitor",
4943
"plugin",

screen-reader/.gitignore

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# node files
2-
dist/
3-
node_modules/
2+
dist
3+
node_modules
44

55
# iOS files
66
Pods
7+
Podfile.lock
78
Build
89
xcuserdata
910

@@ -25,28 +26,28 @@ xcuserdata
2526
*.class
2627

2728
# Generated files
28-
bin/
29-
gen/
30-
out/
29+
bin
30+
gen
31+
out
3132

3233
# Gradle files
33-
.gradle/
34-
build/
34+
.gradle
35+
build
3536

3637
# Local configuration file (sdk path, etc)
3738
local.properties
3839

3940
# Proguard folder generated by Eclipse
40-
proguard/
41+
proguard
4142

4243
# Log Files
4344
*.log
4445

4546
# Android Studio Navigation editor temp files
46-
.navigation/
47+
.navigation
4748

4849
# Android Studio captures folder
49-
captures/
50+
captures
5051

5152
# IntelliJ
5253
*.iml

screen-reader/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"peerDependencies": {
3939
"@capacitor/core": "^3.0.0-alpha.2"
4040
},
41-
"files": [
42-
"dist/",
43-
"ios/",
44-
"android/",
45-
"CapacitorScreenReader.podspec"
46-
],
4741
"keywords": [
4842
"capacitor",
4943
"plugin",

storage/.gitignore

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
# NPM renames .gitignore to .npmignore
2-
# In order to prevent that, we remove the initial "."
3-
# And the CLI then renames it
4-
51
# node files
6-
dist/
7-
node_modules/
2+
dist
3+
node_modules
84

95
# iOS files
106
Pods
7+
Podfile.lock
118
Build
129
xcuserdata
1310

@@ -29,28 +26,28 @@ xcuserdata
2926
*.class
3027

3128
# Generated files
32-
bin/
33-
gen/
34-
out/
29+
bin
30+
gen
31+
out
3532

3633
# Gradle files
37-
.gradle/
38-
build/
34+
.gradle
35+
build
3936

4037
# Local configuration file (sdk path, etc)
4138
local.properties
4239

4340
# Proguard folder generated by Eclipse
44-
proguard/
41+
proguard
4542

4643
# Log Files
4744
*.log
4845

4946
# Android Studio Navigation editor temp files
50-
.navigation/
47+
.navigation
5148

5249
# Android Studio captures folder
53-
captures/
50+
captures
5451

5552
# IntelliJ
5653
*.iml

storage/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"peerDependencies": {
3939
"@capacitor/core": "^3.0.0-alpha.2"
4040
},
41-
"files": [
42-
"dist/",
43-
"ios/",
44-
"android/",
45-
"CapacitorStorage.podspec"
46-
],
4741
"keywords": [
4842
"capacitor",
4943
"plugin",

0 commit comments

Comments
 (0)