Skip to content

Commit 1466b85

Browse files
committed
add sideEffects
1 parent 0d27133 commit 1466b85

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"setup": "ts-patch install",
1616
"tsc": "cp src/index.d.ts plugin && tsc -skipLibCheck",
1717
"build": "cp README.md plugin && npm run tsc",
18-
"publish": "npm run setup && npm run build && lerna publish",
18+
"publish": "npm run setup && npm run build && lerna publish --create-release=github",
1919
"commitmsg": "commitlint -e $GIT_PARAMS",
2020
"demo.ios": "npm i && npm run tsc && cd demo && tns run ios",
2121
"demo.android": "npm i && npm run tsc && cd demo && tns run android",
@@ -71,4 +71,4 @@
7171
"@commitlint/config-conventional"
7272
]
7373
}
74-
}
74+
}

plugin/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "share-file",
66
"typings": "index.d.ts",
77
"repository": "nativescript-community/ui-share-file",
8+
"sideEffects": false,
89
"nativescript": {
910
"platforms": {
1011
"android": "3.0.0",
@@ -30,4 +31,4 @@
3031
"homepage": "https://github.com/nativescript-community/ui-share-file",
3132
"readmeFilename": "README.md",
3233
"bootstrapper": "nativescript-plugin-seed"
33-
}
34+
}

0 commit comments

Comments
 (0)