Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #4171 elements build and cra update #4181

Merged
merged 1 commit into from
May 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/cra-template-foundations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reapit/cra-template-foundations",
"version": "3.0.0",
"version": "3.0.1",
"main": "./template.json",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cra-template-foundations/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"package": {
"dependencies": {
"@reapit/elements": "^2.0.0-alpha.1",
"@reapit/elements": "^2.0.5",
"@reapit/connect-session": "^2.3.0",
"@reapit/foundations-ts-definitions": "^1.2.0",
"@types/enzyme": "^3.10.8",
Expand Down
9 changes: 5 additions & 4 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reapit/elements",
"version": "2.0.3",
"version": "2.0.5",
"description": "A collection of React components and utilities for building apps for Reapit Marketplace",
"homepage": "https://github.com/reapit/foundations#readme",
"bugs": {
Expand All @@ -17,13 +17,14 @@
"module": "dist/elements.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"dist/",
"v3/",
"src/tests/badges"
],
"scripts": {
"build": "yarn build:v3 && yarn build:v2",
"build:v2": "concurrently \"cross-env NODE_ENV=production && rimraf dist && echo 'tsdx build --format=cjs,esm,umd'\" \"cross-env NODE_ENV=production && rimraf public/dist && build-storybook -o public/dist\"",
"build:v3": "cross-env NODE_ENV=production && rimraf v3 && rimraf dist && echo 'tsdx build --entry src/v3.tsx --name v3 --format=cjs,esm,umd && move-file dist/ v3/'",
"build:v2": "concurrently \"cross-env NODE_ENV=production && tsdx build --format=cjs,esm,umd\" \"cross-env NODE_ENV=production && rimraf public/dist && build-storybook -o public/dist\"",
"build:v3": "cross-env NODE_ENV=production && rimraf ./v3 && tsdx build --entry src/v3.tsx --name v3 --format=cjs,esm,umd && move-file dist/ v3/",
"commit": "concurrently \"yarn test --coverage --no-cache --silent --forceExit --detectOpenHandles --runInBand --watch=false && jest-coverage-badges --input src/tests/coverage/coverage-summary.json --output src/tests/badges\" \"yarn lint\"",
"conf": "yarn config-manager --namespace cloud --entity elements --name local --mode fetch",
"lint": "eslint --cache --ext=ts,tsx src --fix",
Expand Down
7 changes: 5 additions & 2 deletions packages/elements/src/v3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ export * from './styles-v3/base/variables'
export * from './styles-v3/base/spacing'
export * from './styles-v3/base/box-alignment'
export * from './styles-v3/base/flexbox'
export * from './styles-v3/base/intent'
export * from './styles-v3/base/sizing'
export * from './styles-v3/base/states'
export * from './styles-v3/base/borders'
export * from './styles-v3/base/typography'
// Not yet implemented
// export * from './styles-v3/base/intent'
// export * from './styles-v3/base/states'

export * from './components-v3/AfterInputText'
export * from './components-v3/Button'
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5251,7 +5251,7 @@ __metadata:
react-google-map: ^3.1.1
react-google-maps-loader: 4.3.0
react-icons: ^3.11.0
react-image-crop: 8.6.7
react-image-crop: 8.6.8
react-is: ^16.13.1
react-table: ^7.6.3
react-transition-group: ^4.4.1
Expand Down Expand Up @@ -30232,16 +30232,16 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"react-image-crop@npm:8.6.7":
version: 8.6.7
resolution: "react-image-crop@npm:8.6.7"
"react-image-crop@npm:8.6.8":
version: 8.6.8
resolution: "react-image-crop@npm:8.6.8"
dependencies:
clsx: ^1.1.1
core-js: ^3.11.0
prop-types: ^15.7.2
peerDependencies:
react: ">=16.13.1"
checksum: 17b82f740fd5db8c89245a24ea5be1eee2c13921384af54556c8999f09720d630aaadc23e27123a3edb291998e2f6216120b123fb15795c4e0c48ddd0ed710cb
checksum: 9608a28c9821863ecd34d991c86bb0a8953514360ac10d0bef7938f2c5eff0df84dd171f538f3e957f99dcb12d6243f4d860be05e02d77401660563db6de167f
languageName: node
linkType: hard

Expand Down