This repository has been archived by the owner on Dec 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 272
Update readme and remove unnecessary items from package.json #17
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,27 +25,11 @@ | |
}, | ||
"homepage": "https://github.com/apache-superset/superset-ui#readme", | ||
"devDependencies": { | ||
"@data-ui/build-config": "^0.0.23", | ||
"jest-mock-console": "^0.4.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.1.2", | ||
"jed": "^1.1.1" | ||
}, | ||
"beemo": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why didn't I remove these?! thanks. |
||
"module": "@data-ui/build-config", | ||
"drivers": [ | ||
"babel", | ||
"eslint", | ||
{ | ||
"driver": "jest", | ||
"env": { | ||
"NODE_ENV": "test" | ||
} | ||
}, | ||
"prettier" | ||
] | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is okay but
yarn
is aroot dep
, and most of the scripts are run withyarn run ...
.This might not be as important locally / in the docs, but this seems to be important for the
travis
build right now.learna bootstrap
fails when run in the travis env which I found last week. it seems liketravis
uses it's own flavor ofnpm
which gets called if you calllerna bootstrap
, and it fails the build without alock
file, which we don't have or want. I enabledyarn
workspaces for the build-config, and they actually also can do between-package sym linking likelerna bootstrap
, so it does what we want.With the new SIP for moving away from
npm
we might have to re-think this, but wanted to give more context as to whyyarn
is around. I'll leave it to you if you want to usenpm
oryarn
here, like I said for docs it probably doesn't matter.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Thanks for the context. My intention was that I was gonna
npm install -g lerna
and then saw it asdevDependencies
here so I added thebootstrap
script so I can use the locallerna
, plus I just create the generator-superset and want to calllerna bootstrap
at the end of scaffolding. It is possible that user may not have globallerna
so calling the local version is more sure.I usually use
npm run xxx
andyarn xxx
interchangeably. Theyarn
workspace thing sounds interesting though. It would be great to either use that orlerna
, just not both.