add canary release script

This commit is contained in:
Yanzhen Yu 2021-11-30 11:14:49 +08:00
parent b031fa228b
commit dbd5571204
2 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,8 @@
"test:ci": "jest -c config/jest.ci.config.js",
"lint": "eslint packages --ext .ts --ext .tsx",
"fix-lint": "eslint --fix packages --ext .ts --ext .tsx",
"release": "lerna publish"
"release": "lerna publish",
"release:canary": "branch=$(git rev-parse --abbrev-ref HEAD); lerna publish --canary --preid $branch"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.31.1",

View File

@ -9,7 +9,6 @@ import { css } from '@emotion/react';
const CssGlobals = Type.KeyOf(
Type.Object({
'-moz-initial': Type.String(),
inherit: Type.String(),
initial: Type.String(),
revert: Type.String(),
@ -288,7 +287,9 @@ const Box: ComponentImplementation<Static<typeof StyleSchema>> = ({
borderColor="gray.200"
borderRadius="base"
{...styleProps}
css={css`${customStyle?.content}`}
css={css`
${customStyle?.content}
`}
>
<Slot slotsMap={slotsMap} slot="content" />
</BaseBox>