Skip to content

Commit

Permalink
@uppy/robodog: remove package (#3946)
Browse files Browse the repository at this point in the history
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
  • Loading branch information
aduh95 and arturi committed Aug 22, 2022
1 parent bef7b58 commit 4bb9988
Show file tree
Hide file tree
Showing 37 changed files with 21 additions and 1,113 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -70,11 +70,6 @@ jobs:
env:
EDGLY_KEY: ${{secrets.EDGLY_KEY}}
EDGLY_SECRET: ${{secrets.EDGLY_SECRET}}
- name: Upload `@uppy/robodog` to CDN if it was released
run: git diff --exit-code --quiet HEAD^ -- packages/@uppy/robodog/package.json || corepack yarn run uploadcdn @uppy/robodog
env:
EDGLY_KEY: ${{secrets.EDGLY_KEY}}
EDGLY_SECRET: ${{secrets.EDGLY_SECRET}}
- name: Upload `@uppy/locales` to CDN if it was released
run: git diff --exit-code --quiet HEAD^ -- packages/@uppy/locales/package.json ||corepack yarn run uploadcdn @uppy/locales
env:
Expand Down
6 changes: 3 additions & 3 deletions BACKLOG.md
Expand Up @@ -12,9 +12,9 @@ PRs are welcome! Please do open an issue to discuss first if it's a big feature,
- [ ] Some not too breaking breaking changes. Go through TODOs (@arturi, @aduh95, @Murderlon)
- [ ] Companion breaking changes, like S3 keys (@mifi)
- [x] New remote-sources preset
- [ ] Deprecate Robodog
- [ ] Remove from 3.x branch (@aduh95)
- [ ] Update docs that refer to Robodog (@arturi)
- [x] Deprecate Robodog
- [x] Remove from 3.x branch (@aduh95)
- [x] Update docs that refer to Robodog (@arturi)
- [ ] Update Transloadit.com examples and docs to use @uppy/transloadit + @uppy/remote-sources plugins instead of @uppy/robodog (@arturi)

## `4.0.0`
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -132,7 +132,6 @@ The ⓒ mark means that [`@uppy/companion`](https://uppy.io/docs/companion), a s

### File Processing

* [`Robodog`](https://uppy.io/docs/robodog/) — user friendly abstraction to do file processing with Transloadit
* [`Transloadit`](https://uppy.io/docs/transloadit/) — support for [Transloadit](http://transloadit.com)’s robust file uploading and encoding backend

### Miscellaneous
Expand Down
6 changes: 0 additions & 6 deletions bin/build-bundle.mjs
Expand Up @@ -32,7 +32,6 @@ function buildBundle (srcFile, bundleFile, { minify = true, standalone = '', plu
}

await fs.mkdir(new URL('./uppy/dist', PACKAGES_ROOT), { recursive: true })
await fs.mkdir(new URL('./@uppy/robodog/dist', PACKAGES_ROOT), { recursive: true })
await fs.mkdir(new URL('./@uppy/locales/dist', PACKAGES_ROOT), { recursive: true })

const methods = [
Expand Down Expand Up @@ -69,11 +68,6 @@ const methods = [
})],
},
),
buildBundle(
'./packages/@uppy/robodog/bundle.js',
'./packages/@uppy/robodog/dist/robodog.min.js',
{ standalone: 'Robodog' },
),
]

// Build minified versions of all the locales
Expand Down
3 changes: 0 additions & 3 deletions bin/build-css.js
Expand Up @@ -65,14 +65,11 @@ async function compileCSS () {

const outdir = path.join(path.dirname(file), '../dist')
// Save the `uppy` package's CSS as `uppy.css`,
// `@uppy/robodog` as `robodog.css`,
// the rest as `style.css`.
// const outfile = path.join(outdir, outdir.includes(path.normalize('packages/uppy/')) ? 'uppy.css' : 'style.css')
let outfile = path.join(outdir, 'style.css')
if (outdir.includes(path.normalize('packages/uppy/'))) {
outfile = path.join(outdir, 'uppy.css')
} else if (outdir.includes(path.normalize('packages/@uppy/robodog/'))) {
outfile = path.join(outdir, 'robodog.css')
}
await mkdir(outdir, { recursive: true })
await writeFile(outfile, postcssResult.css)
Expand Down
3 changes: 0 additions & 3 deletions packages/@uppy/file-input/src/locale.js
@@ -1,8 +1,5 @@
export default {
strings: {
// The same key is used for the same purpose by @uppy/robodog's `form()` API, but our
// locale pack scripts can't access it in Robodog. If it is updated here, it should
// also be updated there!
chooseFiles: 'Choose files',
},
}
44 changes: 0 additions & 44 deletions packages/@uppy/robodog/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions packages/@uppy/robodog/LICENSE

This file was deleted.

33 changes: 0 additions & 33 deletions packages/@uppy/robodog/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions packages/@uppy/robodog/bundle-legacy.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/@uppy/robodog/bundle.js

This file was deleted.

56 changes: 0 additions & 56 deletions packages/@uppy/robodog/package.json

This file was deleted.

79 changes: 0 additions & 79 deletions packages/@uppy/robodog/src/AttachFileInputs.js

This file was deleted.

48 changes: 0 additions & 48 deletions packages/@uppy/robodog/src/TransloaditFormResult.js

This file was deleted.

0 comments on commit 4bb9988

Please sign in to comment.