1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 13:17:29 +03:00

Integrate into more workflows

This commit is contained in:
Jon Rohan 2021-04-08 21:18:03 -07:00
parent 2f8982da9f
commit 6f9a990356
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB
11 changed files with 253 additions and 307 deletions

View File

@ -1,3 +1,18 @@
Hello, thanks for the PR.
Hello @jonrohan!
<!- bundle_table.txt ->
Thanks for the pull request! Someone on the team will take a look at this soon.
### Checklist
- [ ] Create a changeset.
- [ ] Preview the docs change.
- [ ] Preview canary npm release. <!-- canary_version --><!-- /canary_version -->
### Diff stats
<details>
<summary>📉 Bundle size change</summary>
<!-- bundle_table -->⏳ Loading bundle size report.<!-- /bundle_table -->
</details>
<!-- diff_report --><!-- /diff_report -->

View File

@ -1,21 +0,0 @@
name: Bundle report
on:
pull_request_target:
paths:
- 'src/**'
- '.github/workflows/bundle_report.yml'
jobs:
bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: yarn
- run: yarn dist
- name: Reporting bundle sizes
run: script/bundle-size-report.js --all
- name: Reporting selector diffs
run: script/selector-diff-report

37
.github/workflows/bundle_stats.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Bundle stats
on: [pull_request]
jobs:
bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: yarn
- run: yarn pretest
- name: Reporting bundle sizes
uses: primer/comment-token-update@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
comment-token: 'bundle_table'
script: |
echo "<pre>"
script/bundle-size-report.js
echo "</pre>"
- name: Reporting selector diffs
uses: primer/comment-token-update@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
comment-token: 'diff_report'
script: |
diff=$(script/selector-diff-report)
if [[ $diff ]]; then
echo "### Selectors added/removed"
echo "```diff"
echo $diff
echo "```"
fi

View File

@ -1,9 +1,5 @@
name: Welcome
on:
pull_request_target:
branches-ignore:
- 'dependabot/**'
- 'changeset/**'
on: [pull_request]
jobs:
greetings:
@ -17,17 +13,27 @@ jobs:
with:
node-version: 14.x
- name: Install dependencies
run: yarn
# - name: Install dependencies
# run: yarn
- name: Get or Create Comment
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
script: |
const currentComments = github.issues.listComments({
const fs = require('fs')
const body = await fs.readFileSync('.github/greetings_template.md', 'utf8')
const result = await github.issues.listComments({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo
});
console.log(currentComments)
const primerComments = result.data.filter(c => c.user.login == 'primer-css')
if (!primerComments.length) {
await github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: body
})
}

View File

@ -69,3 +69,14 @@ jobs:
description: package.version,
target_url: `https://unpkg.com/${package.name}@${package.version}/`
})
- name: Reporting bundle sizes
uses: primer/comment-token-update@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
comment-token: 'canary_version'
script: |
version=$(jq -r ".version" package.json)
name=$(jq -r ".name" package.json)
echo "<kbd><a href=\"https://unpkg.com/browse/$name@$version/\">$name@$version</a></kbd>"

View File

@ -3,7 +3,6 @@ on:
pull_request_target:
branches-ignore:
- 'dependabot/**'
- 'changeset/**'
jobs:
label-release:

View File

@ -34,11 +34,10 @@
"@primer/primitives": "4.2.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.3.0",
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.14.1",
"@github/prettier-config": "^0.0.4",
"autoprefixer": "^10.2.5",
"colorette": "^1.2.1",
"cssstats": "^4.0.2",
"eslint": "^7.23.0",
"eslint-plugin-github": "^4.1.3",
@ -50,8 +49,6 @@
"globby": "^11.0.3",
"jest": "^26.6.3",
"js-yaml": "^4.0.0",
"minimist": "^1.2.3",
"node-fetch": "^2.6.1",
"postcss": "^8.2.9",
"postcss-import": "14.0.1",
"postcss-load-config": "^3.0.1",
@ -64,7 +61,7 @@
"stylelint": "^13.12.0",
"stylelint-config-primer": "^11.0.1",
"stylelint-scss": "^3.12.0",
"table": "^5.2.3"
"table": "6.0.9"
},
"jest": {
"testEnvironment": "node",

View File

@ -1,168 +1,96 @@
#!/usr/bin/env node
/* eslint eslint-comments/no-use: off */
/* eslint-disable github/no-then */
const fetch = require('node-fetch')
const {join} = require('path')
const filesize = require('filesize')
const cssstats = require('cssstats')
const minimist = require('minimist')
const {green, gray, yellow, red} = require('colorette')
const {table, getBorderCharacters} = require('table')
const options = minimist(process.argv.slice(2))
const DELTA = '±'
const VERSION = options.version || 'latest'
const QUIET = options.quiet || options.q || 0
const SORT = options.sort || options.s || 'gzip'
// the default is descending
const ASCENDING = options.asc || options.a
const ONLY_BUNDLES = options.only
const ALL_BUNDLES = !ONLY_BUNDLES && options.all
const META_BUNDLES = options.all || options.meta || false
const {name} = require('../package.json')
const unpkgBaseURL = `https://unpkg.com/${name}@${VERSION}/`
// ensure that K and B values line up vertically
const filesizeConfig = {symbols: {KB: 'K'}}
const prettySize = bytes => filesize(bytes, filesizeConfig)
const meta = require('../dist/meta.json')
let bundles = Object.values(meta.bundles)
function getBundles(path) {
const meta = require(join(path, './dist/meta.json'))
let metaBundles = Object.values(meta.bundles)
// fitler out support bundles, since they don't generate CSS
bundles = bundles.filter(bundle => !isSupportBundleName(bundle.name))
if (ONLY_BUNDLES) {
const only = new Set(ONLY_BUNDLES.trim().split(/\s*,\s*/))
bundles = bundles.filter(bundle => only.has(bundle.name))
} else if (!ALL_BUNDLES) {
bundles = META_BUNDLES ? bundles.filter(isMetaBundle) : bundles.filter(bundle => !isMetaBundle(bundle))
}
Promise.all(
bundles.map(bundle => {
// fitler out support bundles, since they don't generate CSS
metaBundles = metaBundles.filter(bundle => !isSupportBundleName(bundle.name))
const bundles = {}
for (const bundle of metaBundles) {
const entry = {
name: bundle.name,
path: bundle.css,
local: require(`../${bundle.stats}`),
remote: {}
stats: require(join(path, `./${bundle.stats}`))
}
return fetch(unpkgBaseURL + bundle.stats)
.then(res => res.json())
.catch(() => {
console.warn(`Unable to fetch old "${bundle.name}" stats from unpkg; assuming it's new!`)
return cssstats('')
})
.then(stats => (entry.remote = stats))
.then(() => entry)
bundles[bundle.name] = entry
}
return bundles
}
const tableOptions = {
columns: {
0: {
alignment: 'left'
},
7: {
alignment: 'left'
}
},
columnDefault: {
alignment: 'right'
},
border: getBorderCharacters('norc'),
drawHorizontalLine(index, size) {
return index <= 1 || index === size
}
}
// const sortByName = (a, b) => (a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : 0)
const sortByGZipSize = (a, b) => b[3] - a[3]
// const sortByRawSize = (a, b) => b[5] - a[5]
const posNeg = v => (v > 0 ? '+ ' : v < 0 ? '- ' : '')
;(async () => {
const currentBundles = getBundles(join(__dirname, '../'))
const latestBundles = getBundles(join(__dirname, '../tmp/node_modules/@primer/css/'))
let data = []
// Build the rows
for (const name of Object.keys(currentBundles)) {
const current = currentBundles[name]
const latest = latestBundles[name]
data.push([
current.name,
current.stats.selectors.total,
current.stats.selectors.total - latest.stats.selectors.total,
current.stats.gzipSize,
current.stats.gzipSize - latest.stats.gzipSize,
current.stats.size,
current.stats.size - latest.stats.size,
current.path
])
}
// Sort the data
data = data.sort(sortByGZipSize)
// Beautify the data
data = data.map(row => {
row[2] = posNeg(row[2]) + `${row[2]}`.replace('-', '')
row[3] = prettySize(row[3])
row[4] = posNeg(row[4]) + `${prettySize(row[4])}`.replace('-', '')
row[5] = prettySize(row[5])
row[6] = posNeg(row[6]) + `${prettySize(row[6])}`.replace('-', '')
return row
})
).then(entries => {
const columns = [
{title: 'name', value: get(d => d.name), alignment: 'left'},
// CSS selector count
{title: 'selectors', value: get(d => d.local.selectors.total)},
{title: DELTA, value: delta(d => d.selectors.total), id: 'selector-delta'},
// Adding header
data = [['name', 'selectors', '±', 'gzip size', '±', 'raw size', '±', 'path']].concat(data)
// gzipped size (bytes)
{title: 'gzip size', value: get(d => d.local.gzipSize, prettySize), id: 'gzip'},
{title: DELTA, value: delta(d => d.gzipSize, prettySize), id: 'gzip-delta'},
// raw size (bytes)
{title: 'raw size', value: get(d => d.local.size, prettySize), id: 'size'},
{title: DELTA, value: delta(d => d.size, prettySize), id: 'size-delta'},
// path goes last
{title: 'path', value: get(d => d.path), alignment: 'left'}
]
for (const [index, column] of Object.entries(columns)) {
column.index = index
}
const header = columns.map(c => c.title)
let data = entries.map(entry => columns.map(c => c.value(entry)))
if (SORT) {
const index = columns.findIndex(c => c.id === SORT || c.title === SORT)
if (index > -1) {
const compare = ASCENDING ? compareAscending : compareDescending
data.sort((a, b) => compare(a[index].value, b[index].value))
} else {
console.warn(`No such sort column: "${SORT}"! Output will not be sorted.`)
}
}
if (QUIET) {
data = data.filter(cells => {
return cells.filter((cell, i) => columns[i].title === DELTA).every(cell => cell.value !== 0)
})
}
const rows = data.map(cells => cells.map(String))
console.log(
table([header].concat(rows), {
columns,
columnDefault: {
alignment: 'right'
},
border: getBorderCharacters('norc'),
drawHorizontalLine(index, size) {
return index <= 1 || index === size
}
})
)
})
function get(getter, format = String) {
return entry => {
const value = getter(entry)
return {
value,
toString: () => format(value)
}
}
}
function delta(getter, format = String) {
const {moreIsGood = false, badThreshold = 1000} = options
return entry => {
const local = getter(entry.local)
const remote = getter(entry.remote)
const value = local - remote
if (value === 0) {
return {
value,
toString: () => ` ${gray(0)}`
}
} else {
const sign = value > 0 ? '+' : '-'
const num = Math.abs(value)
const good = moreIsGood ? value > 0 : value < 0
const color = good ? green : value >= badThreshold ? red : yellow
return {
value,
toString: () => color(`${sign} ${format(num)}`)
}
}
}
}
function isMetaBundle(bundle) {
return !bundle.imports.every(isSupportBundleName)
}
console.log(table(data, tableOptions))
})()
function isSupportBundleName(bundleName) {
// "support", "marketing-support", and any future ones?
return bundleName.endsWith('support')
}
function compareAscending(a, b) {
return a - b
}
function compareDescending(a, b) {
return b - a
}

View File

@ -11,16 +11,14 @@ function warn() {
pkg="@primer/css"
path="dist/stats/primer.json"
warn "Pulling the old $path from unpkg.com..."
curl -sL "https://unpkg.com/$pkg/$path" > before.json
cp "tmp/node_modules/@primer/css/dist/stats/primer.json" before.json
warn "Building the stats locally..."
cp $path after.json
key=".selectors.values[]"
jq -r $key before.json > before.txt
jq -r $key after.json > after.txt
diff {before,after}.txt && echo 'no diff!'
diff -u {before,after}.txt
rm {before,after}.{json,txt}

View File

@ -1,7 +1,7 @@
{
"version": 2,
"name": "primer-css",
"alias": "primer-css.now.sh",
"alias": "primer-css.vercel.app",
"builds": [
{
"src": "docs/package.json",

208
yarn.lock
View File

@ -258,7 +258,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.12.13"
"@babel/runtime@^7.10.4", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5":
"@babel/runtime@^7.10.4", "@babel/runtime@^7.5.5":
version "7.13.10"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d"
integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==
@ -302,16 +302,16 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@changesets/apply-release-plan@^4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@changesets/apply-release-plan/-/apply-release-plan-4.2.0.tgz#f1005815f27c3238f66507e90c6ae14d8fc62b41"
integrity sha512-/vt6UwgQldhOw93Gb8llI5OuYGlJt2+U45AfcXsoxzl8gZzCmChGm3vUaQJYbmtL8TbL8OOVXHRIKJJidMNPKw==
"@changesets/apply-release-plan@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@changesets/apply-release-plan/-/apply-release-plan-5.0.0.tgz#11bf168acecbf4cfa2b0e6425160bac5ceeec1c3"
integrity sha512-SE+5nPNSKUyUociPnAvnjYSVF+diciEhX9ZHSqKWMlydswCDjiaq9gz67qwWCmwgEgEOz0TS7VrQBoOlzbitvA==
dependencies:
"@babel/runtime" "^7.10.4"
"@changesets/config" "^1.5.0"
"@changesets/config" "^1.6.0"
"@changesets/get-version-range-type" "^0.3.2"
"@changesets/git" "^1.0.5"
"@changesets/types" "^3.3.0"
"@changesets/git" "^1.1.1"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
detect-indent "^6.0.0"
fs-extra "^7.0.1"
@ -321,45 +321,45 @@
resolve-from "^5.0.0"
semver "^5.4.1"
"@changesets/assemble-release-plan@^4.0.0", "@changesets/assemble-release-plan@^4.1.1":
version "4.1.1"
resolved "https://registry.yarnpkg.com/@changesets/assemble-release-plan/-/assemble-release-plan-4.1.1.tgz#01894f4e1fd856d50c67d7806786d176110b34ee"
integrity sha512-cX7riE3ZHTHY9up7WTPWE4l9Rb7wWJVvO3Flcl5Mv/NEh46QHS1ys/GMHhLrFxq7V7VvASKkZVukCsg+CZAEGA==
"@changesets/assemble-release-plan@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@changesets/assemble-release-plan/-/assemble-release-plan-5.0.0.tgz#3e57405e5c375e2d933f62e74d1874915e60cd61"
integrity sha512-LElDXTCBUkPSmdXlCisoUWw2paX48snatBmw/hKnGiSvnyZqdTIylLojAGQWG0/vOO9v3s/DvJ4hdagIquxJjg==
dependencies:
"@babel/runtime" "^7.10.4"
"@changesets/errors" "^0.1.4"
"@changesets/get-dependents-graph" "^1.2.0"
"@changesets/types" "^3.3.0"
"@changesets/get-dependents-graph" "^1.2.1"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
semver "^5.4.1"
"@changesets/changelog-github@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@changesets/changelog-github/-/changelog-github-0.3.0.tgz#b9c00e1f859d8390dfdb4992f4a633d5772b42f8"
integrity sha512-b+/QeTtJnn+s/rhZtS3dDg4tgNiiKmQlfZU7onLfFkn7HhINVoBsVSjWJh0fsVRv+OfKhSErv0i15/3kvyhTpg==
"@changesets/changelog-github@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@changesets/changelog-github/-/changelog-github-0.4.0.tgz#ec80b18b9a5645191b5323fbddce4e4a012302d4"
integrity sha512-4GphTAdHJfECuuQg4l0eFGYyUh26mfyXpAi2FImrQvaN+boqTM+9EAAJe2b8Y3OKRfoET+ihgo+LARhW2xJoiw==
dependencies:
"@changesets/get-github-info" "^0.5.0"
"@changesets/types" "^3.0.0"
"@changesets/types" "^4.0.0"
dotenv "^8.1.0"
"@changesets/cli@^2.14.1":
version "2.15.0"
resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.15.0.tgz#63cf147738d019ce150973f6c268edc5ba6cc8df"
integrity sha512-5ybu6D0qFIVSDvPGI+SnlbCqF2CMKGHGSmajJpgCgmG9VxyvjsyAfWLTpIdtYKrEDxQADslwaHjFbGiWpG0QUw==
version "2.16.0"
resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.16.0.tgz#9f794005d0503efba5e348b929821a1732fd0f0d"
integrity sha512-VFkXSyyk/WRjjUoBI7g7cDy09qBjPbBQOloPMEshTzMo/NY9muWHl2yB/FSSkV/6PxGimPtJ7aEJPYfk8HCfXw==
dependencies:
"@babel/runtime" "^7.10.4"
"@changesets/apply-release-plan" "^4.2.0"
"@changesets/assemble-release-plan" "^4.1.1"
"@changesets/config" "^1.5.0"
"@changesets/apply-release-plan" "^5.0.0"
"@changesets/assemble-release-plan" "^5.0.0"
"@changesets/config" "^1.6.0"
"@changesets/errors" "^0.1.4"
"@changesets/get-dependents-graph" "^1.2.0"
"@changesets/get-release-plan" "^2.0.1"
"@changesets/git" "^1.1.0"
"@changesets/get-dependents-graph" "^1.2.1"
"@changesets/get-release-plan" "^3.0.0"
"@changesets/git" "^1.1.1"
"@changesets/logger" "^0.0.5"
"@changesets/pre" "^1.0.4"
"@changesets/read" "^0.4.6"
"@changesets/types" "^3.3.0"
"@changesets/write" "^0.1.3"
"@changesets/pre" "^1.0.6"
"@changesets/read" "^0.4.7"
"@changesets/types" "^4.0.0"
"@changesets/write" "^0.1.4"
"@manypkg/get-packages" "^1.0.1"
"@types/semver" "^6.0.0"
boxen "^1.3.0"
@ -378,15 +378,15 @@
term-size "^2.1.0"
tty-table "^2.8.10"
"@changesets/config@^1.2.0", "@changesets/config@^1.5.0":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@changesets/config/-/config-1.5.0.tgz#6d58b01e45916318d3f39e9cde86a5d69dc58ed8"
integrity sha512-Bl9nLVYcwFCpd9jpzcOsExZk1NuTYX20D2YWHCdS1xll3W0yOdSUlWLUCCfugN1l3+yTR6iDW6q9o6vpCevWvA==
"@changesets/config@^1.6.0":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@changesets/config/-/config-1.6.0.tgz#2cd9426b9d4212534d2b31c51de43280b76d3df4"
integrity sha512-vMY/OpMFSDC2crDKb5Nq2kMX9hozcXL4dY5Rr+a1JQ044Rz+jqjJPpdTP2yQ+j7qmeGcUTvwjJoEMeekYwfqhg==
dependencies:
"@changesets/errors" "^0.1.4"
"@changesets/get-dependents-graph" "^1.2.0"
"@changesets/get-dependents-graph" "^1.2.1"
"@changesets/logger" "^0.0.5"
"@changesets/types" "^3.3.0"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
fs-extra "^7.0.1"
micromatch "^4.0.2"
@ -398,12 +398,12 @@
dependencies:
extendable-error "^0.1.5"
"@changesets/get-dependents-graph@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@changesets/get-dependents-graph/-/get-dependents-graph-1.2.0.tgz#6986927a5fec60bc6fcc76f966efae2ac30c05ed"
integrity sha512-96NInEKpEZH8KvmXyh42PynXVAdq3kQ9VjAeswHtJ3umUCeTF42b/KVXaov+5P1RNnaUVtRuEwzs4syGuowDTw==
"@changesets/get-dependents-graph@^1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@changesets/get-dependents-graph/-/get-dependents-graph-1.2.1.tgz#462908693dc3a354622e43f85a764b74b5bb53af"
integrity sha512-vJOibo9SkqhVbgfq5AHIlQ7tzkYQIXh3tPAnlNLy2bPZsU+SByd74GaxHYWt1zOBlncU25WKrIM6J7XBB+GVUg==
dependencies:
"@changesets/types" "^3.3.0"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
chalk "^2.1.0"
fs-extra "^7.0.1"
@ -417,17 +417,17 @@
dataloader "^1.4.0"
node-fetch "^2.5.0"
"@changesets/get-release-plan@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-2.0.1.tgz#b95d8f1a3cc719ff4b42b9b9aae72458d8787c13"
integrity sha512-+x5N9/Iaka+c0Kq7+3JsboMNyffKYlWPmdm+VeafDcMwJFhBDkxm84qaCJ93ydmnzQOTig6gYVqw0k8BbHExyQ==
"@changesets/get-release-plan@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-3.0.0.tgz#55efc01db2e24bd7a88e703956eb2f6c4a79054f"
integrity sha512-7VLiqpcWZyjwIXYgkubBC/9cdwqUJEhLMRT9/Y9+ctHqrpsXmJg15QQPTOh3HT9yGN5fJPL1WwuZkc1HXUhK0g==
dependencies:
"@babel/runtime" "^7.10.4"
"@changesets/assemble-release-plan" "^4.0.0"
"@changesets/config" "^1.2.0"
"@changesets/pre" "^1.0.4"
"@changesets/read" "^0.4.6"
"@changesets/types" "^3.1.0"
"@changesets/assemble-release-plan" "^5.0.0"
"@changesets/config" "^1.6.0"
"@changesets/pre" "^1.0.6"
"@changesets/read" "^0.4.7"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
"@changesets/get-version-range-type@^0.3.2":
@ -435,14 +435,14 @@
resolved "https://registry.yarnpkg.com/@changesets/get-version-range-type/-/get-version-range-type-0.3.2.tgz#8131a99035edd11aa7a44c341cbb05e668618c67"
integrity sha512-SVqwYs5pULYjYT4op21F2pVbcrca4qA/bAA3FmFXKMN7Y+HcO8sbZUTx3TAy2VXulP2FACd1aC7f2nTuqSPbqg==
"@changesets/git@^1.0.5", "@changesets/git@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@changesets/git/-/git-1.1.0.tgz#ecaa8058ac87b450c09da0e74b68e6854cd0742c"
integrity sha512-f/2rQynT+JiAL/V0V/GQdXhLkcb86ELg3UwH3fQO4wVdfUbE9NHIHq9ohJdH1Ymh0Lv48F/b38aWZ5v2sKiF3w==
"@changesets/git@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@changesets/git/-/git-1.1.1.tgz#f444d3ff3604acb6949560656c9ef330485a5fa3"
integrity sha512-Z12TcKwgU33YE3r76cyU+X81RchOXljDZ5s3G2u0Zd+ODyrwlDb91IO55+6R0Ha6ouPz8ioont0gA70c1RFngg==
dependencies:
"@babel/runtime" "^7.10.4"
"@changesets/errors" "^0.1.4"
"@changesets/types" "^3.1.1"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
is-subdir "^1.1.1"
spawndamnit "^2.0.0"
@ -454,54 +454,54 @@
dependencies:
chalk "^2.1.0"
"@changesets/parse@^0.3.6":
version "0.3.7"
resolved "https://registry.yarnpkg.com/@changesets/parse/-/parse-0.3.7.tgz#1368136e2b83d5cff11b4d383a3032723530db99"
integrity sha512-8yqKulslq/7V2VRBsJqPgjnZMoehYqhJm5lEOXJPZ2rcuSdyj8+p/2vq2vRDBJT2m0rP+C9G8DujsGYQIFZezw==
"@changesets/parse@^0.3.8":
version "0.3.8"
resolved "https://registry.yarnpkg.com/@changesets/parse/-/parse-0.3.8.tgz#0bb244eccb35cb301168f85684bb03389c59341d"
integrity sha512-0S7Dc7XbMOKamBtd48vVuWL2aFZyaglw6lJsXNddn9forFf8oMKMmdyJ/HQPyeEChDDOhDF1/ya7m/zpt4Dk4w==
dependencies:
"@changesets/types" "^3.0.0"
"@changesets/types" "^4.0.0"
js-yaml "^3.13.1"
"@changesets/pre@^1.0.4":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@changesets/pre/-/pre-1.0.5.tgz#91e5e3b31b4a85ce37de72f6511a786f62f29b51"
integrity sha512-p43aAQY3aijhDnBLCriPao5YArlRjD4mSHRJq9PsBhljVLWqQQXcn6seSd77d+bD1tATLhB8tQ2eYoxMtMydXQ==
"@changesets/pre@^1.0.6":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@changesets/pre/-/pre-1.0.6.tgz#45700cf18274b35b2296000befe7fe4df8ff046f"
integrity sha512-ZwFFQLjhTmA4hj8+Cf9pm6nD9Tp+AiBz1wJLaGum4Ae1fPXMwDnJfHknFUTytqZBlC0gHkiGSj6QkUuetWvckg==
dependencies:
"@babel/runtime" "^7.4.4"
"@babel/runtime" "^7.10.4"
"@changesets/errors" "^0.1.4"
"@changesets/types" "^3.0.0"
"@changesets/types" "^4.0.0"
"@manypkg/get-packages" "^1.0.1"
fs-extra "^7.0.1"
"@changesets/read@^0.4.6":
version "0.4.6"
resolved "https://registry.yarnpkg.com/@changesets/read/-/read-0.4.6.tgz#1c03e709a870a070fc95490ffa696297d23458f7"
integrity sha512-rOd8dsF/Lgyy2SYlDalb3Ts/meDI2AcKPXYhSXIW3k6+ZLlj6Pt+nmgV5Ut8euyH7loibklNTDemfvMffF4xig==
"@changesets/read@^0.4.7":
version "0.4.7"
resolved "https://registry.yarnpkg.com/@changesets/read/-/read-0.4.7.tgz#5a32ae7092330fba31eaec4c83321bb936605766"
integrity sha512-E70QrYQpSCMF0nC0dlPU7i6A9zht+8zkQczrKMbOUwDVrfidcvgojxfuJSQbzptYSb9OKYh8GOLd+bsq9+uO9Q==
dependencies:
"@babel/runtime" "^7.4.4"
"@changesets/git" "^1.0.5"
"@babel/runtime" "^7.10.4"
"@changesets/git" "^1.1.1"
"@changesets/logger" "^0.0.5"
"@changesets/parse" "^0.3.6"
"@changesets/types" "^3.0.0"
"@changesets/parse" "^0.3.8"
"@changesets/types" "^4.0.0"
chalk "^2.1.0"
fs-extra "^7.0.1"
p-filter "^2.1.0"
"@changesets/types@^3.0.0", "@changesets/types@^3.1.0", "@changesets/types@^3.1.1", "@changesets/types@^3.3.0":
version "3.3.0"
resolved "https://registry.yarnpkg.com/@changesets/types/-/types-3.3.0.tgz#04cd8184b2d2da760667bd89bf9b930938dbd96e"
integrity sha512-rJamRo+OD/MQekImfIk07JZwYSB18iU6fYL8xOg0gfAiTh1a1+OlR1fPIxm55I7RsWw812is2YcPPwXdIewrhA==
"@changesets/types@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@changesets/types/-/types-4.0.0.tgz#635f804546b0a96ecc0ca3f26403a6782a3dc938"
integrity sha512-whLmPx2wgJRoOtxVZop+DJ71z1gTSkij7osiHgN+pe//FiE6bb4ffvBBb0rACs2cUPfAkWxgSPzqkECgKS1jvQ==
"@changesets/write@^0.1.3":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@changesets/write/-/write-0.1.3.tgz#00ae575af50274773d7493e77fb96838a08ad8ad"
integrity sha512-q79rbwlVmTNKP9O6XxcMDj81CEOn/kQHbTFdRleW0tFUv98S1EyEAE9vLPPzO6WnQipHnaozxB1zMhHy0aQn8Q==
"@changesets/write@^0.1.4":
version "0.1.4"
resolved "https://registry.yarnpkg.com/@changesets/write/-/write-0.1.4.tgz#5828ecc70c48d0e8696c5f13fe06b730cdfde6f2"
integrity sha512-uco+vS3mo2JqflLciIU707har+6AEFOeP8pgu3vVC1M2WcKukQgR1KylHFqZJxKQWahf8mQnuUSbgR4yJQuhmA==
dependencies:
"@babel/runtime" "^7.4.4"
"@changesets/types" "^3.0.0"
"@babel/runtime" "^7.10.4"
"@changesets/types" "^4.0.0"
fs-extra "^7.0.1"
human-id "^1.0.2"
prettier "^1.18.2"
prettier "^1.19.1"
"@cnakazawa/watch@^1.0.3":
version "1.0.4"
@ -1057,7 +1057,7 @@ ajv-keywords@^3.1.0:
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4:
ajv@^6.1.0, ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4:
version "6.12.6"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
@ -1263,11 +1263,6 @@ assign-symbols@^1.0.0:
resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=
astral-regex@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"
integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==
astral-regex@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
@ -4822,7 +4817,7 @@ minimist-options@4.1.0, minimist-options@^4.0.2:
is-plain-obj "^1.1.0"
kind-of "^6.0.3"
minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5:
minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
@ -4905,7 +4900,7 @@ nice-try@^1.0.4:
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
node-fetch@^2.5.0, node-fetch@^2.6.1:
node-fetch@^2.5.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
@ -5644,7 +5639,7 @@ prettier@2.2.1, prettier@^2.2.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
prettier@^1.18.2, prettier@^1.19.1:
prettier@^1.19.1:
version "1.19.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
@ -6228,15 +6223,6 @@ slash@^3.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
slice-ansi@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"
integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==
dependencies:
ansi-styles "^3.2.0"
astral-regex "^1.0.0"
is-fullwidth-code-point "^2.0.0"
slice-ansi@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b"
@ -6763,17 +6749,7 @@ symbol-tree@^3.2.4:
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
table@^5.2.3:
version "5.4.6"
resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"
integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==
dependencies:
ajv "^6.10.2"
lodash "^4.17.14"
slice-ansi "^2.1.0"
string-width "^3.0.0"
table@^6.0.4, table@^6.0.7:
table@6.0.9, table@^6.0.4, table@^6.0.7:
version "6.0.9"
resolved "https://registry.yarnpkg.com/table/-/table-6.0.9.tgz#790a12bf1e09b87b30e60419bafd6a1fd85536fb"
integrity sha512-F3cLs9a3hL1Z7N4+EkSscsel3z55XT950AvB05bwayrNg5T1/gykXtigioTAjbltvbMSJvvhFCbnf6mX+ntnJQ==