mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
d27f97edb1
The reason for this change is that in Playwright Python we would need the related `protocol.yml` and `api.md` for the installed NPM package. For that we could either add the Git hash to the released package e.g. as a file (and go over the GitHub repo to get the file content) but Pavel proposed that it might be better to include the two files in the NPM package. Tested locally by adding to the `utils/publish_all_packages.sh` script `--dry` to the NPM publish commands. cc @aslushnikov @pavelfeldman Related issues: https://github.com/microsoft/playwright-python/pull/101 and https://github.com/microsoft/playwright-python/pull/96
27 lines
558 B
Plaintext
27 lines
558 B
Plaintext
# NOTE: .npmignore is copied over to every subpackage in //packages when NPM packages
|
|
# are built.
|
|
#
|
|
# this ignores everything by default, except for package.json and LICENSE and README.md
|
|
# see https://docs.npmjs.com/misc/developers
|
|
**/*
|
|
|
|
# include sources from lib except for injected, but not map files
|
|
!lib/**/*.js
|
|
# Injected files are included via lib/generated, see src/injected/README.md
|
|
lib/injected/
|
|
#types
|
|
!types/*
|
|
!index.d.ts
|
|
|
|
!index.js
|
|
!index.mjs
|
|
!install.js
|
|
!README.md
|
|
!LICENSE
|
|
!NOTICE
|
|
!api.md
|
|
!protocol.yml
|
|
|
|
# browser descriptor
|
|
!browsers.json
|