Skip to content

Commit

Permalink
@uppy/robodog: remove package
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 5, 2022
1 parent c8ee49d commit e77ac0d
Show file tree
Hide file tree
Showing 51 changed files with 131 additions and 2,096 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
4 changes: 2 additions & 2 deletions BACKLOG.md
Expand Up @@ -12,8 +12,8 @@ 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)
- [x] Deprecate Robodog
- [x] Remove from 3.x branch (@aduh95)
- [ ] 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)

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 @@ -64,14 +64,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
144 changes: 0 additions & 144 deletions examples/transloadit-textarea/index.html

This file was deleted.

0 comments on commit e77ac0d

Please sign in to comment.