misc(publish): include the report bundle in npm package (#13349)

This commit is contained in:
Paul Irish 2021-11-11 12:13:06 -08:00 коммит произвёл GitHub
Родитель 99bd2fa90a
Коммит f0178151a8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -56,6 +56,7 @@ results.html
dist/** dist/**
!dist/report/standalone.js !dist/report/standalone.js
!dist/report/flow.js !dist/report/flow.js
!dist/report/bundle.esm.js
# large files # large files
changelog.md changelog.md

Просмотреть файл

@ -12,7 +12,7 @@
"node": ">=14.15" "node": ">=14.15"
}, },
"scripts": { "scripts": {
"prepack": "yarn build-report --standalone --flow", "prepack": "yarn build-report --standalone --flow --esm",
"build-all": "npm-run-posix-or-windows build-all:task", "build-all": "npm-run-posix-or-windows build-all:task",
"build-all:task": "yarn build-report && yarn build-cdt-lib && yarn build-devtools && (yarn build-extension & yarn build-lr & yarn build-viewer & yarn build-treemap & yarn build-smokehouse-bundle & wait) && yarn build-pack", "build-all:task": "yarn build-report && yarn build-cdt-lib && yarn build-devtools && (yarn build-extension & yarn build-lr & yarn build-viewer & yarn build-treemap & yarn build-smokehouse-bundle & wait) && yarn build-pack",
"build-all:task:windows": "yarn build-report && yarn build-cdt-lib && yarn build-extension && yarn build-devtools && yarn build-lr && yarn build-viewer && yarn build-treemap && yarn build-smokehouse-bundle", "build-all:task:windows": "yarn build-report && yarn build-cdt-lib && yarn build-extension && yarn build-devtools && yarn build-lr && yarn build-viewer && yarn build-treemap && yarn build-smokehouse-bundle",