Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update npm-ignore rules for all npm published packages #824

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions packages/analyzer/.github/PULL_REQUEST_TEMPLATE

This file was deleted.

35 changes: 11 additions & 24 deletions packages/analyzer/.npmignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
node_modules
bower_components
.DS_Store
.idea
.vscode
.github
.clang-format
.editorconfig
.gitattributes
.travis.yml
gulpfile.js
tslint.json
npm-debug.log

# The raw typescript source
src/

# Tests and test fixtures
lib/test/
test/

# Bits of code that demonstrate the API
lib/demo

/.clang-format
/.editorconfig
/.gitattributes
/.idea
/.vscode
/lib/demo/
/lib/test/
/src/
/test/
/tsconfig.json
/tslint.json
4 changes: 3 additions & 1 deletion packages/analyzer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

<!-- ## Unreleased -->
## Unreleased
* Removed files array from package.json to defer packaged file filter to
`.npmignore`. Eliminates test and demo files from npm published package.
<!-- Add new, unreleased changes here. -->

## [3.2.1] - 2018-12-19
Expand Down
15 changes: 0 additions & 15 deletions packages/analyzer/appveyor.yml

This file was deleted.

6 changes: 0 additions & 6 deletions packages/analyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
"author": "The Polymer Project Authors",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"LICENSE",
"lib/",
"custom_typings/",
"bin/"
],
"scripts": {
"clean": "touch lib && rm -rf lib && mkdir lib",
"build": "tsc && npm run generate-json-schema && npm run tslint",
Expand Down
11 changes: 5 additions & 6 deletions packages/browser-capabilities/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
src/
test/

.clang-format
.travis.yml
tsconfig.json
/lib/test/
/src/
/test/
/tsconfig.json
/tslint.json
3 changes: 2 additions & 1 deletion packages/browser-capabilities/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

<!-- ## Unreleased -->
## Unreleased
* Updated `.npmignore` to eliminate non-essential files from published package.
<!-- Add new, unreleased changes here. -->

## [1.1.3] - 2018-11-15
Expand Down
18 changes: 0 additions & 18 deletions packages/browser-capabilities/appveyor.yml

This file was deleted.

29 changes: 0 additions & 29 deletions packages/build/.github/ISSUE_TEMPLATE.md

This file was deleted.

16 changes: 0 additions & 16 deletions packages/build/.github/PULL_REQUEST_TEMPLATE

This file was deleted.

22 changes: 10 additions & 12 deletions packages/build/.npmignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
.DS_Store
.clang-format
.eslintignore
.github
.gitignore
.travis.yml
.vscode
appveyor.yml
gulpfile.js
node_modules
test-fixtures
src/test
/.eslintignore
/.gitignore
/.vscode
/lib/test/
/scripts/
/src/
/test/
/test-fixtures/
/tsconfig.json
/tslint.json

3 changes: 2 additions & 1 deletion packages/build/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

<!-- Unreleased -->
## Unreleased
* Updated `.npmignore` to eliminate non-essential files from published package.
<!-- Add new, unreleased changes here. -->

## [3.1.1] - 2018-11-12
Expand Down
21 changes: 0 additions & 21 deletions packages/build/appveyor.yml

This file was deleted.

16 changes: 0 additions & 16 deletions packages/bundler/.github/PULL_REQUEST_TEMPLATE

This file was deleted.

17 changes: 10 additions & 7 deletions packages/bundler/.npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
node_modules
# npmignore
example
CHANGELOG.md
README.md
util
test
/.editorconfig
/.gitattributes
/.vscode/
/CHANGELOG.md
/README.md
/lib/test/
/src/
/test/
/tsconfig.json
/tslint.json
4 changes: 3 additions & 1 deletion packages/bundler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

<!-- ## Unreleased -->
## Unreleased
* Removed files array from package.json to defer packaged file filter to
`.npmignore`. Eliminates test and demo files from npm published package.
<!-- Add new, unreleased changes here. -->

## 4.0.4 - 2018-10-18
Expand Down
21 changes: 0 additions & 21 deletions packages/bundler/appveyor.yml

This file was deleted.

5 changes: 0 additions & 5 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
"author": "The Polymer Project Authors",
"main": "lib/bundler.js",
"typings": "lib/bundler.d.ts",
"files": [
"LICENSE",
"lib/",
"custom_typings/"
],
"bin": {
"polymer-bundler": "lib/bin/polymer-bundler.js"
},
Expand Down
9 changes: 3 additions & 6 deletions packages/cleankill/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Any changes you make here you should also make in .gitignore

node_modules/
typings/

# Don't ignore js outputs!
/index.ts
/tsconfig.json
/tslint.json
11 changes: 11 additions & 0 deletions packages/cleankill/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
* Added `.npmignore` to eliminate non-essential files from published package.
* Added this `CHANGELOG.md`.
<!-- Add new, unreleased changes here. -->
50 changes: 25 additions & 25 deletions packages/cleankill/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",
"isolatedModules": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declaration": true,
"noImplicitAny": true,
"removeComments": false,
"preserveConstEnums": true,
"suppressImplicitAnyIndexErrors": true
},
"exclude": [
"node_modules"
],
"filesGlob": [
"index.ts"
],
"files": [
"index.ts"
],
"atom": {
"rewriteTsconfig": true
}
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",
"isolatedModules": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declaration": true,
"noImplicitAny": true,
"removeComments": false,
"preserveConstEnums": true,
"suppressImplicitAnyIndexErrors": true
},
"exclude": [
"node_modules"
],
"filesGlob": [
"index.ts"
],
"files": [
"index.ts"
],
"atom": {
"rewriteTsconfig": true
}
}
Loading