From cfc03343f4efe49553095ecfe6829a60f029b1ec Mon Sep 17 00:00:00 2001 From: Brendan Baldwin Date: Wed, 19 Dec 2018 16:14:55 -0800 Subject: [PATCH 1/4] Removed vestigial package repo files which no longer serve purpose in the mono repo. --- .../analyzer/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/analyzer/appveyor.yml | 15 -------- packages/browser-capabilities/appveyor.yml | 18 ---------- packages/build/.github/ISSUE_TEMPLATE.md | 29 --------------- packages/build/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/build/appveyor.yml | 21 ----------- .../bundler/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/bundler/appveyor.yml | 21 ----------- packages/cli/.github/ISSUE_TEMPLATE.md | 36 ------------------- packages/cli/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/dom5/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/dom5/.travis.yml | 6 ---- .../.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/editor-service/appveyor.yml | 15 -------- .../.github/CODEOWNERS | 1 - .../.github/PULL_REQUEST_TEMPLATE | 1 - .../gen-typescript-declarations/.travis.yml | 6 ---- packages/linter/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/linter/appveyor.yml | 15 -------- packages/modulizer/.appveyor.yml | 34 ------------------ packages/modulizer/.travis.yml | 6 ---- .../polyserve/.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/wct-sauce/.github/CODEOWNERS | 1 - .../.github/PULL_REQUEST_TEMPLATE | 16 --------- packages/workspaces/.github/CODEOWNERS | 1 - .../.github/PULL_REQUEST_TEMPLATE.md | 16 --------- 26 files changed, 386 deletions(-) delete mode 100644 packages/analyzer/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/analyzer/appveyor.yml delete mode 100644 packages/browser-capabilities/appveyor.yml delete mode 100644 packages/build/.github/ISSUE_TEMPLATE.md delete mode 100644 packages/build/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/build/appveyor.yml delete mode 100644 packages/bundler/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/bundler/appveyor.yml delete mode 100644 packages/cli/.github/ISSUE_TEMPLATE.md delete mode 100644 packages/cli/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/dom5/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/dom5/.travis.yml delete mode 100644 packages/editor-service/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/editor-service/appveyor.yml delete mode 100644 packages/gen-typescript-declarations/.github/CODEOWNERS delete mode 100644 packages/gen-typescript-declarations/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/gen-typescript-declarations/.travis.yml delete mode 100644 packages/linter/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/linter/appveyor.yml delete mode 100644 packages/modulizer/.appveyor.yml delete mode 100644 packages/modulizer/.travis.yml delete mode 100644 packages/polyserve/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/wct-sauce/.github/CODEOWNERS delete mode 100644 packages/web-component-tester/.github/PULL_REQUEST_TEMPLATE delete mode 100644 packages/workspaces/.github/CODEOWNERS delete mode 100644 packages/workspaces/.github/PULL_REQUEST_TEMPLATE.md diff --git a/packages/analyzer/.github/PULL_REQUEST_TEMPLATE b/packages/analyzer/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/analyzer/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/analyzer/appveyor.yml b/packages/analyzer/appveyor.yml deleted file mode 100644 index a12839aee..000000000 --- a/packages/analyzer/appveyor.yml +++ /dev/null @@ -1,15 +0,0 @@ -install: - # a version of '' means "the latest one" - # ... for some reason. - # https://www.appveyor.com/docs/lang/nodejs-iojs/#selecting-nodejs-or-iojs-version - - ps: Install-Product node '' - - npm install - -test_script: - - node --version - - npm --version - - npm test - - -# Don't actually build. -build: off diff --git a/packages/browser-capabilities/appveyor.yml b/packages/browser-capabilities/appveyor.yml deleted file mode 100644 index d10840b02..000000000 --- a/packages/browser-capabilities/appveyor.yml +++ /dev/null @@ -1,18 +0,0 @@ -environment: - matrix: - - nodejs_version: "6" - - nodejs_version: "" - -cache: - - "%LOCALAPPDATA%\\Yarn" - -install: - - ps: Install-Product node $env:nodejs_version - - yarn install - -test_script: - - node --version - - yarn --version - - yarn test - -build: off diff --git a/packages/build/.github/ISSUE_TEMPLATE.md b/packages/build/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index f06c5f308..000000000 --- a/packages/build/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,29 +0,0 @@ - - - - -### Description - - -### Versions & Environment - -- polymer-build: -- node: -- Operating System: - -#### Steps to Reproduce - -#### Expected Results - - -#### Actual Results - diff --git a/packages/build/.github/PULL_REQUEST_TEMPLATE b/packages/build/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/build/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/build/appveyor.yml b/packages/build/appveyor.yml deleted file mode 100644 index 010375644..000000000 --- a/packages/build/appveyor.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Test against this version of Node.js -environment: - nodejs_version: "6" - -# Install scripts. (runs after repo cloning) -install: - # Get the latest stable version of Node.js or io.js - - ps: Install-Product node $env:nodejs_version - # install modules - - npm install - -# Post-install test scripts. -test_script: - # Output useful info for debugging. - - node --version - - npm --version - # run tests - - npm test - -# Don't actually build. -build: off diff --git a/packages/bundler/.github/PULL_REQUEST_TEMPLATE b/packages/bundler/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/bundler/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/bundler/appveyor.yml b/packages/bundler/appveyor.yml deleted file mode 100644 index 010375644..000000000 --- a/packages/bundler/appveyor.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Test against this version of Node.js -environment: - nodejs_version: "6" - -# Install scripts. (runs after repo cloning) -install: - # Get the latest stable version of Node.js or io.js - - ps: Install-Product node $env:nodejs_version - # install modules - - npm install - -# Post-install test scripts. -test_script: - # Output useful info for debugging. - - node --version - - npm --version - # run tests - - npm test - -# Don't actually build. -build: off diff --git a/packages/cli/.github/ISSUE_TEMPLATE.md b/packages/cli/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b13953e4a..000000000 --- a/packages/cli/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,36 +0,0 @@ - - - - -### Description - - -### Versions & Environment - -- Polymer CLI: -- node: -- Operating System: - -#### Steps to Reproduce - - -#### Expected Results - - -#### Actual Results - diff --git a/packages/cli/.github/PULL_REQUEST_TEMPLATE b/packages/cli/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/cli/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/dom5/.github/PULL_REQUEST_TEMPLATE b/packages/dom5/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/dom5/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/dom5/.travis.yml b/packages/dom5/.travis.yml deleted file mode 100644 index f594bb8aa..000000000 --- a/packages/dom5/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -sudo: false -node_js: - - "6" - - "8" - - "node" diff --git a/packages/editor-service/.github/PULL_REQUEST_TEMPLATE b/packages/editor-service/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/editor-service/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/editor-service/appveyor.yml b/packages/editor-service/appveyor.yml deleted file mode 100644 index a12839aee..000000000 --- a/packages/editor-service/appveyor.yml +++ /dev/null @@ -1,15 +0,0 @@ -install: - # a version of '' means "the latest one" - # ... for some reason. - # https://www.appveyor.com/docs/lang/nodejs-iojs/#selecting-nodejs-or-iojs-version - - ps: Install-Product node '' - - npm install - -test_script: - - node --version - - npm --version - - npm test - - -# Don't actually build. -build: off diff --git a/packages/gen-typescript-declarations/.github/CODEOWNERS b/packages/gen-typescript-declarations/.github/CODEOWNERS deleted file mode 100644 index b6209e585..000000000 --- a/packages/gen-typescript-declarations/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @aomarks diff --git a/packages/gen-typescript-declarations/.github/PULL_REQUEST_TEMPLATE b/packages/gen-typescript-declarations/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index 788343885..000000000 --- a/packages/gen-typescript-declarations/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1 +0,0 @@ - - [ ] CHANGELOG.md has been updated diff --git a/packages/gen-typescript-declarations/.travis.yml b/packages/gen-typescript-declarations/.travis.yml deleted file mode 100644 index b8e029780..000000000 --- a/packages/gen-typescript-declarations/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: - - "8" - - "10" -script: -- npm test diff --git a/packages/linter/.github/PULL_REQUEST_TEMPLATE b/packages/linter/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/linter/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/linter/appveyor.yml b/packages/linter/appveyor.yml deleted file mode 100644 index a12839aee..000000000 --- a/packages/linter/appveyor.yml +++ /dev/null @@ -1,15 +0,0 @@ -install: - # a version of '' means "the latest one" - # ... for some reason. - # https://www.appveyor.com/docs/lang/nodejs-iojs/#selecting-nodejs-or-iojs-version - - ps: Install-Product node '' - - npm install - -test_script: - - node --version - - npm --version - - npm test - - -# Don't actually build. -build: off diff --git a/packages/modulizer/.appveyor.yml b/packages/modulizer/.appveyor.yml deleted file mode 100644 index 8a85c205a..000000000 --- a/packages/modulizer/.appveyor.yml +++ /dev/null @@ -1,34 +0,0 @@ -clone_depth: 10 - -version: "{build}" - -# Test against this version of Node.js -environment: - nodejs_version: "" # latest - -# Force CRLF line-endings -init: - - git config --global core.autocrlf true - -# Don't actually build. -build: off - -# Install scripts. (runs after repo cloning) -install: - # Get the latest stable version of Node.js or io.js - - ps: Install-Product node $env:nodejs_version - # Get latest npm - - npm install -g npm - # install modules. Use --force to workaround permissions issues on Windows - - npm install --force - -before_test: - - set "PATH=C:\MinGW\msys\1.0\bin;%PATH%" - -# Post-install test scripts. -test_script: - # Output useful info for debugging. - - node --version - - npm --version - # run tests - - npm run test:full diff --git a/packages/modulizer/.travis.yml b/packages/modulizer/.travis.yml deleted file mode 100644 index 10b26626a..000000000 --- a/packages/modulizer/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: - - 8 - - 9 -script: - - npm run test:full diff --git a/packages/polyserve/.github/PULL_REQUEST_TEMPLATE b/packages/polyserve/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/polyserve/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/wct-sauce/.github/CODEOWNERS b/packages/wct-sauce/.github/CODEOWNERS deleted file mode 100644 index 5ebb24de3..000000000 --- a/packages/wct-sauce/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @azakus @usergenic diff --git a/packages/web-component-tester/.github/PULL_REQUEST_TEMPLATE b/packages/web-component-tester/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index dc2b53802..000000000 --- a/packages/web-component-tester/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated diff --git a/packages/workspaces/.github/CODEOWNERS b/packages/workspaces/.github/CODEOWNERS deleted file mode 100644 index c84124fea..000000000 --- a/packages/workspaces/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @justinfagnani diff --git a/packages/workspaces/.github/PULL_REQUEST_TEMPLATE.md b/packages/workspaces/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index dc2b53802..000000000 --- a/packages/workspaces/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,16 +0,0 @@ - - - - [ ] CHANGELOG.md has been updated From e8b7ef216b9d7f66ed03783f0f12303a0604195a Mon Sep 17 00:00:00 2001 From: Brendan Baldwin Date: Wed, 19 Dec 2018 16:15:46 -0800 Subject: [PATCH 2/4] [web-component-tester] Moved browser-js-header.txt into data subfolder where it belongs. --- packages/web-component-tester/{ => data}/browser-js-header.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/web-component-tester/{ => data}/browser-js-header.txt (100%) diff --git a/packages/web-component-tester/browser-js-header.txt b/packages/web-component-tester/data/browser-js-header.txt similarity index 100% rename from packages/web-component-tester/browser-js-header.txt rename to packages/web-component-tester/data/browser-js-header.txt From 438a69e976f9ad7b69790bcf8bb4bef839a2c484 Mon Sep 17 00:00:00 2001 From: Brendan Baldwin Date: Wed, 19 Dec 2018 16:31:08 -0800 Subject: [PATCH 3/4] Updated `.npmignore` for all published packages. - We published our test files and demo files in some packages. - We published our source files in some packages. - We published our config files in some packages. --- packages/analyzer/.npmignore | 35 ++++------- packages/analyzer/CHANGELOG.md | 4 +- packages/analyzer/package.json | 6 -- packages/browser-capabilities/.npmignore | 11 ++-- packages/browser-capabilities/CHANGELOG.md | 3 +- packages/build/.npmignore | 22 +++---- packages/build/CHANGELOG.md | 3 +- packages/bundler/.npmignore | 17 ++--- packages/bundler/CHANGELOG.md | 4 +- packages/bundler/package.json | 5 -- packages/cleankill/.npmignore | 9 +-- packages/cleankill/CHANGELOG.md | 11 ++++ packages/cleankill/tsconfig.json | 50 +++++++-------- packages/cli/.npmignore | 14 ++--- packages/cli/CHANGELOG.md | 3 + packages/cli/appveyor.yml | 23 ------- packages/cli/tsconfig.json | 2 +- packages/dom5/.npmignore | 17 +++-- packages/dom5/CHANGELOG.md | 3 +- packages/editor-service/.npmignore | 20 ++---- packages/editor-service/CHANGELOG.md | 3 +- packages/esm-amd-loader/.npmignore | 5 +- packages/esm-amd-loader/CHANGELOG.md | 4 +- .../gen-typescript-declarations/.npmignore | 13 ++-- .../gen-typescript-declarations/CHANGELOG.md | 3 +- packages/linter/.npmignore | 12 ++-- packages/linter/CHANGELOG.md | 3 +- packages/modulizer/.npmignore | 9 ++- packages/modulizer/CHANGELOG.md | 5 +- packages/modulizer/package.json | 7 --- packages/polyserve/.npmignore | 15 ++--- packages/polyserve/CHANGELOG.md | 3 +- packages/project-config/.npmignore | 5 ++ packages/project-config/CHANGELOG.md | 3 +- packages/project-config/appveyor.yml | 21 ------- packages/wct-browser-legacy/.gitignore | 2 +- packages/wct-browser-legacy/.npmignore | 1 + packages/wct-browser-legacy/CHANGELOG.md | 3 +- packages/wct-local/.npmignore | 6 +- packages/wct-local/CHANGELOG.md | 3 +- packages/wct-mocha/.npmignore | 5 ++ packages/wct-mocha/CHANGELOG.md | 3 +- packages/wct-mocha/package.json | 6 -- packages/wct-sauce/.npmignore | 1 + packages/wct-sauce/CHANGELOG.md | 3 +- packages/wct-sauce/package.json | 3 +- packages/web-component-tester/.npmignore | 17 +++-- packages/web-component-tester/CHANGELOG.md | 3 +- packages/web-component-tester/gulpfile.js | 62 +++++++++---------- packages/web-component-tester/package.json | 15 ----- packages/workspaces/.npmignore | 5 ++ packages/workspaces/CHANGELOG.md | 3 +- packages/workspaces/package.json | 6 +- 53 files changed, 237 insertions(+), 283 deletions(-) create mode 100644 packages/cleankill/CHANGELOG.md delete mode 100644 packages/cli/appveyor.yml delete mode 100644 packages/project-config/appveyor.yml create mode 100644 packages/wct-browser-legacy/.npmignore create mode 100644 packages/wct-mocha/.npmignore create mode 100644 packages/wct-sauce/.npmignore create mode 100644 packages/workspaces/.npmignore diff --git a/packages/analyzer/.npmignore b/packages/analyzer/.npmignore index 6eaca1dad..247d55e76 100644 --- a/packages/analyzer/.npmignore +++ b/packages/analyzer/.npmignore @@ -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 diff --git a/packages/analyzer/CHANGELOG.md b/packages/analyzer/CHANGELOG.md index ff5a1fc77..7e980bf55 100644 --- a/packages/analyzer/CHANGELOG.md +++ b/packages/analyzer/CHANGELOG.md @@ -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 +* Removed files array from package.json to defer packaged file filter to + `.npmignore`. Eliminates test and demo files from npm published package. ## [3.2.0] - 2018-12-03 diff --git a/packages/analyzer/package.json b/packages/analyzer/package.json index 9755bdc38..dae02f362 100644 --- a/packages/analyzer/package.json +++ b/packages/analyzer/package.json @@ -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", diff --git a/packages/browser-capabilities/.npmignore b/packages/browser-capabilities/.npmignore index 958804368..ba4fbec04 100644 --- a/packages/browser-capabilities/.npmignore +++ b/packages/browser-capabilities/.npmignore @@ -1,6 +1,5 @@ -src/ -test/ - -.clang-format -.travis.yml -tsconfig.json +/lib/test/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/browser-capabilities/CHANGELOG.md b/packages/browser-capabilities/CHANGELOG.md index c59968a4d..8c767a8fc 100644 --- a/packages/browser-capabilities/CHANGELOG.md +++ b/packages/browser-capabilities/CHANGELOG.md @@ -1,6 +1,7 @@ # Change Log - +## Unreleased +* Updated `.npmignore` to eliminate non-essential files from published package. ## [1.1.3] - 2018-11-15 diff --git a/packages/build/.npmignore b/packages/build/.npmignore index 86ff750b7..5458bf12e 100644 --- a/packages/build/.npmignore +++ b/packages/build/.npmignore @@ -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 diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index ac12b4c21..80f3c9de3 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -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 +* Updated `.npmignore` to eliminate non-essential files from published package. ## [3.1.1] - 2018-11-12 diff --git a/packages/bundler/.npmignore b/packages/bundler/.npmignore index 999d6ad2a..c2a1d721b 100644 --- a/packages/bundler/.npmignore +++ b/packages/bundler/.npmignore @@ -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 diff --git a/packages/bundler/CHANGELOG.md b/packages/bundler/CHANGELOG.md index 8f422d211..91bc1afe6 100644 --- a/packages/bundler/CHANGELOG.md +++ b/packages/bundler/CHANGELOG.md @@ -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 +* Removed files array from package.json to defer packaged file filter to + `.npmignore`. Eliminates test and demo files from npm published package. ## 4.0.4 - 2018-10-18 diff --git a/packages/bundler/package.json b/packages/bundler/package.json index 4525f5d6f..4db8a050a 100644 --- a/packages/bundler/package.json +++ b/packages/bundler/package.json @@ -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" }, diff --git a/packages/cleankill/.npmignore b/packages/cleankill/.npmignore index 90c23fb9a..5c51b3872 100644 --- a/packages/cleankill/.npmignore +++ b/packages/cleankill/.npmignore @@ -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 diff --git a/packages/cleankill/CHANGELOG.md b/packages/cleankill/CHANGELOG.md new file mode 100644 index 000000000..522962cef --- /dev/null +++ b/packages/cleankill/CHANGELOG.md @@ -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`. + diff --git a/packages/cleankill/tsconfig.json b/packages/cleankill/tsconfig.json index 79948bb63..f0f744dbd 100644 --- a/packages/cleankill/tsconfig.json +++ b/packages/cleankill/tsconfig.json @@ -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 + } } diff --git a/packages/cli/.npmignore b/packages/cli/.npmignore index b47cd27b1..5682298e9 100644 --- a/packages/cli/.npmignore +++ b/packages/cli/.npmignore @@ -1,7 +1,7 @@ -.clang-format -.github -/.gitignore -.travis.yml -appveyor.yml -node_modules -/test +/.editorconfig +/lib/test/ +/scripts/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index aeaa1b400..5d005255a 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +* Removed files array from package.json to defer packaged file filter to + `.npmignore`. Eliminates test and demo files from npm published package. +* Publish `*.d.ts` files to support programmatic use of CLI for Typescript. ## v1.9.2 [12-06-2018] diff --git a/packages/cli/appveyor.yml b/packages/cli/appveyor.yml deleted file mode 100644 index b86366375..000000000 --- a/packages/cli/appveyor.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Test against this version of Node.js -environment: - nodejs_version: "6.9.1" - -# Install scripts. (runs after repo cloning) -install: - # Get the latest stable version of Node.js or io.js - - ps: Install-Product node $env:nodejs_version - # Get npm 3 - - npm install -g npm - # install modules. Use --force to workaround permissions issues on Windows - - npm install --force - -# Post-install test scripts. -test_script: - # Output useful info for debugging. - - node --version - - npm --version - # run tests - - npm test - -# Don't actually build. -build: off diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 03b9cf2fe..95a8c4486 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../tsconfig-base.json", "compilerOptions": { - "declaration": false, + "declaration": true, "noUnusedParameters": true, "skipLibCheck": true, "outDir": "./lib" diff --git a/packages/dom5/.npmignore b/packages/dom5/.npmignore index 510f98e2c..09dfeaaa2 100644 --- a/packages/dom5/.npmignore +++ b/packages/dom5/.npmignore @@ -1,9 +1,8 @@ -test -dom5.ts -.vscode -.editorconfig -.clang-format -tslint.json -tsconfig.json -.travis.yml -node_modules +/.editorconfig +/.gitattributes +/.vscode/ +/dom5.ts +/lib/test/ +/src/ +/tslint.json +/tsconfig.json diff --git a/packages/dom5/CHANGELOG.md b/packages/dom5/CHANGELOG.md index b67affb3f..59e071c6f 100644 --- a/packages/dom5/CHANGELOG.md +++ b/packages/dom5/CHANGELOG.md @@ -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 +- Updated `.npmignore` to filter non-essential files from published package. ## [v3.0.1] (2018-06-28) diff --git a/packages/editor-service/.npmignore b/packages/editor-service/.npmignore index 0fefbda0d..496663cac 100644 --- a/packages/editor-service/.npmignore +++ b/packages/editor-service/.npmignore @@ -1,24 +1,16 @@ -/node_modules -/bower_components -.DS_Store -.idea -npm-debug.log +/.idea +/.vscode/ # The raw typescript source /src/ + # The tests and test fixtures. /lib/test +/test/ # Misc development-time files -.travis.yml -/test -/.vscode -/.github -/.npmignore -/.gitignore -/tslint.json /tsconfig.json - +/tslint.json # To test this file and see its output, run: -# npm pack --loglevel=silent && tar -ztvf *.tgz && rm *.tgz +# npm pack --dry-run diff --git a/packages/editor-service/CHANGELOG.md b/packages/editor-service/CHANGELOG.md index 6a452ac45..720f98de7 100644 --- a/packages/editor-service/CHANGELOG.md +++ b/packages/editor-service/CHANGELOG.md @@ -11,7 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). appropriate. --> - +## Unreleased +- Updated `.npmignore` to filter non-essential files from published package. ## 2.2.2 - 2018-06-28 diff --git a/packages/esm-amd-loader/.npmignore b/packages/esm-amd-loader/.npmignore index 136f9be11..5b05ee885 100644 --- a/packages/esm-amd-loader/.npmignore +++ b/packages/esm-amd-loader/.npmignore @@ -1,7 +1,6 @@ +/.vscode/ +/lib/test/ /src/ /test/ -/lib/test/ -/.clang-format -/wct.conf.json /tsconfig.json /tslint.json diff --git a/packages/esm-amd-loader/CHANGELOG.md b/packages/esm-amd-loader/CHANGELOG.md index 325d4bfc4..6ef82b348 100644 --- a/packages/esm-amd-loader/CHANGELOG.md +++ b/packages/esm-amd-loader/CHANGELOG.md @@ -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 +* Updated `.npmignore` to eliminate non-essential files from published + package. ## [1.0.4] - 2018-12-06 diff --git a/packages/gen-typescript-declarations/.npmignore b/packages/gen-typescript-declarations/.npmignore index a5746d131..277342e78 100644 --- a/packages/gen-typescript-declarations/.npmignore +++ b/packages/gen-typescript-declarations/.npmignore @@ -1,6 +1,7 @@ -test/ -src/test/ -lib/test/ -scripts/ -.clang-format -.travis.yml +/lib/test/ +/scripts/ +/src/ +/test/ +/tsconfig.json +/tslint.json + diff --git a/packages/gen-typescript-declarations/CHANGELOG.md b/packages/gen-typescript-declarations/CHANGELOG.md index f0708c466..290c3de15 100644 --- a/packages/gen-typescript-declarations/CHANGELOG.md +++ b/packages/gen-typescript-declarations/CHANGELOG.md @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - +## [Unreleased] +* Updated `.npmignore` to filter out non-essential files from published package. ## [1.6.0] - 2018-12-05 diff --git a/packages/linter/.npmignore b/packages/linter/.npmignore index 2da84846f..9432ef5fa 100644 --- a/packages/linter/.npmignore +++ b/packages/linter/.npmignore @@ -1,5 +1,7 @@ -# npmignore -CHANGELOG.md -README.md -node_modules -test +/.editorconfig +/.vscode +/lib/test/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/linter/CHANGELOG.md b/packages/linter/CHANGELOG.md index 365313582..1a0ad6fae 100644 --- a/packages/linter/CHANGELOG.md +++ b/packages/linter/CHANGELOG.md @@ -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 +* Updated `.npmignore` to filter out non-essential files from published package. ## [3.0.1] - 2018-06-28 diff --git a/packages/modulizer/.npmignore b/packages/modulizer/.npmignore index d3d3cc6bc..a18f03b30 100644 --- a/packages/modulizer/.npmignore +++ b/packages/modulizer/.npmignore @@ -1 +1,8 @@ -./fixtures +/.gitattributes +/.vscode/ +/fixtures/ +/lib/test/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/modulizer/CHANGELOG.md b/packages/modulizer/CHANGELOG.md index 632eaf23d..b09d02b35 100644 --- a/packages/modulizer/CHANGELOG.md +++ b/packages/modulizer/CHANGELOG.md @@ -6,8 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased -* Fix regression in conversion of `Polymer.Element` => `PolymerElement` - affecting latest Polymer 2.x source. +* Fix regression in conversion of `Polymer.Element` => `PolymerElement` + affecting latest Polymer 2.x source. +* Updated `.npmignore` to eliminate non-essential files from npm published package. ## [0.4.1] - 2018-07-10 diff --git a/packages/modulizer/package.json b/packages/modulizer/package.json index 38e302b76..15cfd5370 100644 --- a/packages/modulizer/package.json +++ b/packages/modulizer/package.json @@ -11,13 +11,6 @@ "bin": { "modulizer": "bin/modulizer.js" }, - "files": [ - "dependency-map.json", - "lib/", - "custom_typings/", - "bin/", - "src/" - ], "scripts": { "build": "tsc && npm run lint", "build:fixtures": "npm run build && node lib/tools/update-fixtures", diff --git a/packages/polyserve/.npmignore b/packages/polyserve/.npmignore index 431ad4c71..ad49686c8 100644 --- a/packages/polyserve/.npmignore +++ b/packages/polyserve/.npmignore @@ -1,9 +1,6 @@ -.clang-format -.github -.gitignore -.travis.yml -.vscode -node_modules -src/test -test - +/.vscode +/lib/test/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/polyserve/CHANGELOG.md b/packages/polyserve/CHANGELOG.md index 6173ffa69..955f1dc24 100644 --- a/packages/polyserve/CHANGELOG.md +++ b/packages/polyserve/CHANGELOG.md @@ -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 +* Updated `.npmignore` to filter out non-essential files from published package. ## [0.27.13] (2018-10-15) diff --git a/packages/project-config/.npmignore b/packages/project-config/.npmignore index e69de29bb..ba4fbec04 100644 --- a/packages/project-config/.npmignore +++ b/packages/project-config/.npmignore @@ -0,0 +1,5 @@ +/lib/test/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/project-config/CHANGELOG.md b/packages/project-config/CHANGELOG.md index e67439445..20da5882d 100644 --- a/packages/project-config/CHANGELOG.md +++ b/packages/project-config/CHANGELOG.md @@ -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 +* Updated `.npmignore` to filter out non-essential files from published package. ## [4.0.2] - 2018-06-28 diff --git a/packages/project-config/appveyor.yml b/packages/project-config/appveyor.yml deleted file mode 100644 index 658e8b2b9..000000000 --- a/packages/project-config/appveyor.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Test against this version of Node.js -environment: - nodejs_version: "4.4.4" - -# Install scripts. (runs after repo cloning) -install: - # Get the latest stable version of Node.js or io.js - - ps: Install-Product node $env:nodejs_version - # install modules - - npm install - -# Post-install test scripts. -test_script: - # Output useful info for debugging. - - node --version - - npm --version - # run tests - - npm test - -# Don't actually build. -build: off diff --git a/packages/wct-browser-legacy/.gitignore b/packages/wct-browser-legacy/.gitignore index 07e6e472c..c2658d7d1 100644 --- a/packages/wct-browser-legacy/.gitignore +++ b/packages/wct-browser-legacy/.gitignore @@ -1 +1 @@ -/node_modules +node_modules/ diff --git a/packages/wct-browser-legacy/.npmignore b/packages/wct-browser-legacy/.npmignore new file mode 100644 index 000000000..65e3ba2ed --- /dev/null +++ b/packages/wct-browser-legacy/.npmignore @@ -0,0 +1 @@ +test/ diff --git a/packages/wct-browser-legacy/CHANGELOG.md b/packages/wct-browser-legacy/CHANGELOG.md index 70d83b8a4..58821e0ff 100644 --- a/packages/wct-browser-legacy/CHANGELOG.md +++ b/packages/wct-browser-legacy/CHANGELOG.md @@ -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 +* Added `.npmignore` to filter out non-essential files from published package. ## 1.0.2 - 2018-10-15 diff --git a/packages/wct-local/.npmignore b/packages/wct-local/.npmignore index 753bb7ffd..4191b0cb6 100644 --- a/packages/wct-local/.npmignore +++ b/packages/wct-local/.npmignore @@ -1,6 +1,6 @@ # Any changes you make here you should also make in .gitignore -/node_modules/ - +/.eslintrc.json /src/ - +/tsconfig.json +/tslint.json diff --git a/packages/wct-local/CHANGELOG.md b/packages/wct-local/CHANGELOG.md index 5c4c1b283..29f3bcef2 100644 --- a/packages/wct-local/CHANGELOG.md +++ b/packages/wct-local/CHANGELOG.md @@ -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 +- Updated `.npmignore` to eliminate non-essential files from published package. ## [v2.1.3] - 2018-10-24 diff --git a/packages/wct-mocha/.npmignore b/packages/wct-mocha/.npmignore new file mode 100644 index 000000000..58716b58e --- /dev/null +++ b/packages/wct-mocha/.npmignore @@ -0,0 +1,5 @@ +/rollup.config.js +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/wct-mocha/CHANGELOG.md b/packages/wct-mocha/CHANGELOG.md index f43ba1053..ec9d38f1f 100644 --- a/packages/wct-mocha/CHANGELOG.md +++ b/packages/wct-mocha/CHANGELOG.md @@ -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 +* Added `.npmignore` to eliminate non-essential files from published package. ## 1.0.0 diff --git a/packages/wct-mocha/package.json b/packages/wct-mocha/package.json index 7974b2cdc..84dcc130b 100644 --- a/packages/wct-mocha/package.json +++ b/packages/wct-mocha/package.json @@ -3,12 +3,6 @@ "version": "1.0.0", "description": "Client-side library for testing web-components with Mocha.", "main": "lib/index.js", - "files": [ - "wct-mocha.js", - "lib/", - "LICENSE", - "README.md" - ], "scripts": { "build": "npm run build:compile && npm run build:browserjs", "build:browserjs": "rollup -c", diff --git a/packages/wct-sauce/.npmignore b/packages/wct-sauce/.npmignore new file mode 100644 index 000000000..65e3ba2ed --- /dev/null +++ b/packages/wct-sauce/.npmignore @@ -0,0 +1 @@ +test/ diff --git a/packages/wct-sauce/CHANGELOG.md b/packages/wct-sauce/CHANGELOG.md index a165cf063..60eb9c04d 100644 --- a/packages/wct-sauce/CHANGELOG.md +++ b/packages/wct-sauce/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - +## Unreleased +* Added `.npmignore` to filter out non-essential files from published package. ## 2.1.0 - 2018-08-15 diff --git a/packages/wct-sauce/package.json b/packages/wct-sauce/package.json index 4c5ac7d92..8777c7ed5 100644 --- a/packages/wct-sauce/package.json +++ b/packages/wct-sauce/package.json @@ -17,7 +17,8 @@ "scripts": { "format": "find scripts lib -name \"*.js\" | xargs clang-format --style=file -i", "postinstall": "node scripts/postinstall.js", - "test": "mocha" + "test": "mocha", + "test:integration": "npm test" }, "main": "lib/plugin.js", "wct-plugin": { diff --git a/packages/web-component-tester/.npmignore b/packages/web-component-tester/.npmignore index 2156ca1e1..7137b2b7e 100644 --- a/packages/web-component-tester/.npmignore +++ b/packages/web-component-tester/.npmignore @@ -1,9 +1,16 @@ # Update .gitignore whenever you update this file! -.todo -bower_components -node_modules -npm-debug.log -typings/ +/*.ts +/!*.d.ts +/.todo +/.vscode/ +/a11ySuiteExample.png +/bower.json +/data/ +/gulpfile.js +/mocha.opts +/test/ +/tsconfig.json +/tslint.json # Don't ignore runner/*.js diff --git a/packages/web-component-tester/CHANGELOG.md b/packages/web-component-tester/CHANGELOG.md index bbc8d2b89..d12eab9b2 100644 --- a/packages/web-component-tester/CHANGELOG.md +++ b/packages/web-component-tester/CHANGELOG.md @@ -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 +* Removed `package.json` "files" array and updated `.npmignore` to eliminate non-essential files from published package. ## 6.9.0 - 2018-10-25 diff --git a/packages/web-component-tester/gulpfile.js b/packages/web-component-tester/gulpfile.js index b7b3cd929..87f46a176 100644 --- a/packages/web-component-tester/gulpfile.js +++ b/packages/web-component-tester/gulpfile.js @@ -101,23 +101,22 @@ gulp.task('build-all', () => { // Specific tasks gulp.task( - 'build:browser', - gulp.series(['build:typescript-browser']), - function() { - return rollup.rollup({ - entry: 'browser/index.js', - }) - .then(function(bundle) { - return bundle.write({ - indent: false, - format: 'iife', - banner: fs.readFileSync('browser-js-header.txt', 'utf-8'), - intro: 'window.__wctUseNpm = false;', - dest: 'browser.js', - sourceMap: true, - sourceMapFile: path.resolve('browser.js.map') - }); - }); + 'build:browser', gulp.series(['build:typescript-browser']), function() { + return rollup + .rollup({ + entry: 'browser/index.js', + }) + .then(function(bundle) { + return bundle.write({ + indent: false, + format: 'iife', + banner: fs.readFileSync('data/browser-js-header.txt', 'utf-8'), + intro: 'window.__wctUseNpm = false;', + dest: 'browser.js', + sourceMap: true, + sourceMapFile: path.resolve('browser.js.map') + }); + }); }); gulp.task('build:wct-browser-legacy:a11ySuite', function() { @@ -130,20 +129,21 @@ gulp.task( 'build:wct-browser-legacy:browser', gulp.series(['build:typescript-browser']), function() { - return rollup.rollup({ - entry: 'browser/index.js', - }) - .then(function(bundle) { - return bundle.write({ - indent: false, - format: 'iife', - banner: fs.readFileSync('browser-js-header.txt', 'utf-8'), - intro: 'window.__wctUseNpm = true;', - dest: '../wct-browser-legacy/browser.js', - sourceMap: true, - sourceMapFile: path.resolve('browser.js.map') - }); - }); + return rollup + .rollup({ + entry: 'browser/index.js', + }) + .then(function(bundle) { + return bundle.write({ + indent: false, + format: 'iife', + banner: fs.readFileSync('data/browser-js-header.txt', 'utf-8'), + intro: 'window.__wctUseNpm = true;', + dest: '../wct-browser-legacy/browser.js', + sourceMap: true, + sourceMapFile: path.resolve('browser.js.map') + }); + }); }); gulp.task('build:wct-browser-legacy', gulp.series([ diff --git a/packages/web-component-tester/package.json b/packages/web-component-tester/package.json index 5a6c9f56b..7bf73bf5e 100644 --- a/packages/web-component-tester/package.json +++ b/packages/web-component-tester/package.json @@ -27,21 +27,6 @@ "wct": "./bin/wct", "wct-st": "./bin/wct-st" }, - "files": [ - "bin/", - "data/", - "runner/", - "scripts/", - "tasks/", - ".bowerrc", - "bower.json", - "browser.js", - "browser.js.map", - "package.json", - "LICENSE", - "README.md", - "runner.js" - ], "scripts": { "lint": "tslint -p .", "build": "tsc && gulp build", diff --git a/packages/workspaces/.npmignore b/packages/workspaces/.npmignore new file mode 100644 index 000000000..ba4fbec04 --- /dev/null +++ b/packages/workspaces/.npmignore @@ -0,0 +1,5 @@ +/lib/test/ +/src/ +/test/ +/tsconfig.json +/tslint.json diff --git a/packages/workspaces/CHANGELOG.md b/packages/workspaces/CHANGELOG.md index 0e5630f4b..19c464d81 100644 --- a/packages/workspaces/CHANGELOG.md +++ b/packages/workspaces/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - +## Unreleased +- Added `.npmignore` to exclude non-essential files from published package. ## v2.2.0 [10-15-2018] diff --git a/packages/workspaces/package.json b/packages/workspaces/package.json index 6bb3da50f..e92e24110 100644 --- a/packages/workspaces/package.json +++ b/packages/workspaces/package.json @@ -23,9 +23,5 @@ "bottleneck": "^1.16.0", "@octokit/rest": "^14.0.0", "rimraf": "^2.6.2" - }, - "files": [ - "lib/", - "src/" - ] + } } From 96db09b68dcabc0f07b94939e3b323b0cd79670b Mon Sep 17 00:00:00 2001 From: Brendan Baldwin Date: Wed, 19 Dec 2018 17:15:02 -0800 Subject: [PATCH 4/4] Updated wct's npmignore. --- packages/web-component-tester/.npmignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web-component-tester/.npmignore b/packages/web-component-tester/.npmignore index 7137b2b7e..4b888f881 100644 --- a/packages/web-component-tester/.npmignore +++ b/packages/web-component-tester/.npmignore @@ -6,7 +6,9 @@ /.vscode/ /a11ySuiteExample.png /bower.json -/data/ +/browser/ +/data/a11ySuite-npm-header.txt +/data/browser-js-header.txt /gulpfile.js /mocha.opts /test/