-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ts-packages-support' into utils-to-ts
- Loading branch information
Showing
87 changed files
with
1,249 additions
and
698 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
.git | ||
website | ||
assets | ||
private | ||
e2e | ||
.env |
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 |
---|---|---|
|
@@ -178,6 +178,67 @@ Releases are managed by GitHub Actions, here’s an overview of the process to r | |
|
||
If you don’t have access to the transloadit.com source code ping @arturi or @goto-bus-stop and we’ll pick it up. :sparkles: | ||
|
||
### Releasing hotfix patch | ||
|
||
#### Companion hotfix | ||
|
||
First checkout the tag of the version you want to patch: | ||
```bash | ||
git checkout @uppy/[email protected] | ||
``` | ||
|
||
Now create a branch for your hotfix: | ||
```bash | ||
git checkout -b x.y.z-hotfix | ||
``` | ||
|
||
Run yarn to make sure all packages are consistent: | ||
```bash | ||
corepack yarn | ||
``` | ||
|
||
Now navigate to the Companion workspace: | ||
```bash | ||
cd packages/@uppy/companion | ||
``` | ||
|
||
**Now cherry pick your desired commits** | ||
|
||
Next edit `CHANGELOG.md` and then commit it: | ||
```bash | ||
git add CHANGELOG.md | ||
git commit -m 'Update changelog' | ||
``` | ||
|
||
Now let's create the version & tag | ||
```bash | ||
mkdir -p .git && npm version --workspaces-update=false --tag-version-prefix='@uppy/companion@' patch | ||
``` | ||
|
||
Run a "dry-run" first: | ||
|
||
```bash | ||
corepack yarn pack | ||
``` | ||
|
||
If the previous command succeeded, let's publish! | ||
|
||
```bash | ||
corepack yarn npm publish --access public --tag=none | ||
``` | ||
|
||
Now we can push our branch and tags. | ||
|
||
```bash | ||
git push && git push --tags | ||
``` | ||
|
||
#### Hotfix other packages | ||
|
||
For other Uppy packages, the process should be similar to Companion, | ||
but hasn't been documented yet. Make sure to remember to run `yarn` as well as building the package first, then you can release it. | ||
If you do release any other packages, please update this doc. | ||
|
||
## CSS guidelines | ||
|
||
The CSS standards followed in this project closely resemble those from [Medium’s CSS Guidelines](https://gist.github.com/fat/a47b882eb5f84293c4ed). If something is not mentioned here, follow their guidelines. | ||
|
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
25 changes: 0 additions & 25 deletions
25
.yarn/patches/jest-environment-jsdom-npm-29.5.0-fc600add1e.patch
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.