Skip to content

Commit 6cc8040

Browse files
authored
Fix: Missing TypeScript definitions and rollup/webpack pkg.module files from published package (#145)
* Fixed ci error * revert too agressive ignore in #144 * Update changelog * Update CI
1 parent d798bf5 commit 6cc8040

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020

2121
- run: yarn install
2222

23+
- run: yarn build
24+
2325
- run: yarn test
2426

2527
- save_cache:

.npmignore

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
**/*
2-
!dist
3-
!CHANGELOG.md
4-
!LICENSE
5-
!package.json
6-
!README.md
1+
.circleci
2+
.vscode
3+
cypress
4+
docs
5+
example
6+
src
7+
.editorconfig
8+
.prettierignore
9+
.prettierrc
10+
cypress.json
11+
rollup.config.js
12+
tsconfig.json
13+
yarn.lock

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [1.2.8] - 2017-11-05
10+
### Fixed
11+
* Missing TypeScript definitions and rollup/webpack pkg.module files from published package (#145)
12+
913
## [1.2.7] - 2017-11-05
1014
### Fixed
1115
* Package published on npm contained unnecessary files bloating the package (#144)
@@ -88,7 +92,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8892
### Added
8993
* Initial release.
9094

91-
[Unreleased]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.7...HEAD
95+
[Unreleased]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.8...HEAD
96+
[1.2.8]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.7...v1.2.8
9297
[1.2.7]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.6...v1.2.7
9398
[1.2.6]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.5...v1.2.6
9499
[1.2.5]: https://github.com/stipsan/scroll-into-view-if-needed/compare/v1.2.4...v1.2.5

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dev": "concurrently \"yarn tsc:main --watch\" \"yarn tsc:example --watch\" \"yarn build:rollup -w\" \"next dev example\"",
2323
"predocs": "yarn build",
2424
"docs": "next build example && DOCS=true next export -o ./docs example && npx -p https://gist.github.com/stipsan/bbf4adcdafd9eabfa6a9a42397a1c1b9 -c 'git-update-ghpages'",
25-
"prepublish": "yarn build",
25+
"prepublishOnly": "unset npm_config_cafile && yarn build",
2626
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
2727
"test": "yarn tsc:main --noEmit && yarn tsc:example --noEmit",
2828
"tsc:example": "tsc -p example",

0 commit comments

Comments
 (0)