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

feat(examples): add docker #1522

Merged
merged 4 commits into from
Jul 14, 2022
Merged

feat(examples): add docker #1522

merged 4 commits into from
Jul 14, 2022

Conversation

tknickman
Copy link
Member

@tknickman tknickman commented Jul 13, 2022

Docker example including a Next.js app which makes API requests to an Express API.

Can be built individually or via docker-compose (see README.md)

Addresses #215

@vercel
Copy link

vercel bot commented Jul 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
turbo-site ⬜️ Ignored (Inspect) Jul 14, 2022 at 7:53PM (UTC)

Copy link
Contributor

@nathanhammond nathanhammond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More in this one than some of the others.

examples/with-docker/package.json Outdated Show resolved Hide resolved
examples/with-docker/packages/logger/package.json Outdated Show resolved Hide resolved
examples/with-docker/apps/api/package.json Outdated Show resolved Hide resolved
examples/with-docker/apps/api/package.json Outdated Show resolved Hide resolved
examples/with-docker/apps/web/next.config.js Show resolved Hide resolved
examples/with-docker/apps/web/package.json Outdated Show resolved Hide resolved
examples/with-docker/packages/scripts/package.json Outdated Show resolved Hide resolved
examples/with-docker/packages/tsconfig/package.json Outdated Show resolved Hide resolved
@nathanhammond nathanhammond added the pr: fixship A PR which is approved with notes and does not require re-review. label Jul 14, 2022
Copy link
Contributor

@nathanhammond nathanhammond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single commit mode excluding files from the PR that aren't in the commit trolled me hard on this one.

examples/with-docker/packages/jest-presets/package.json Outdated Show resolved Hide resolved
examples/with-docker/packages/jest-presets/package.json Outdated Show resolved Hide resolved
@tknickman tknickman added pr: automerge Kodiak will merge these automatically after checks pass and removed pr: fixship A PR which is approved with notes and does not require re-review. labels Jul 14, 2022
@kodiakhq kodiakhq bot merged commit 6e1f64c into main Jul 14, 2022
@tknickman tknickman deleted the with_docker branch July 14, 2022 20:21
kodiakhq bot pushed a commit that referenced this pull request Jul 15, 2022
Updates to kitchen-sink example (inspired by:#1522)
kodiakhq bot pushed a commit to singlestone/sugar that referenced this pull request Jul 25, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [turbo](https://turborepo.org) ([source](https://togithub.com/vercel/turborepo)) | [`1.3.1` -> `1.3.4`](https://renovatebot.com/diffs/npm/turbo/1.3.1/1.3.4) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.3.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.3.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.3.4/compatibility-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.3.4/confidence-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>vercel/turborepo</summary>

### [`v1.3.4`](https://togithub.com/vercel/turborepo/releases/tag/v1.3.4)

[Compare Source](https://togithub.com/vercel/turborepo/compare/v1.3.3...v1.3.4)

#### What's Changed

-   fix(deps): update dependency [@&#8203;react-types/radio](https://togithub.com/react-types/radio) to v3.2.1 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1553
-   Move fixtures to correct directory. by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1561
-   fix(cli): don’t exit when no tasks are found by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1564

**Full Changelog**: vercel/turbo@v1.3.3...v1.3.4

### [`v1.3.3`](https://togithub.com/vercel/turborepo/releases/tag/v1.3.3)

[Compare Source](https://togithub.com/vercel/turborepo/compare/v1.3.2...v1.3.3)

#### What's Changed

-   fix(create-turbo): pnpm peer deps error by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1559

**Full Changelog**: vercel/turbo@v1.3.2...v1.3.3

### [`v1.3.2`](https://togithub.com/vercel/turborepo/releases/tag/v1.3.2)

[Compare Source](https://togithub.com/vercel/turborepo/compare/v1.3.1...v1.3.2)

#### Core

-   Update schema generation script invocation. by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1436
-   fix(cli): cache with correct file perms by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1429
-   Watch task outputs to avoid cache restorations by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1269
-   Vendor chrometracing, add Close method by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1443
-   Fix symlink mode check. by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1447
-   Fix hashing uncommitted changes by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1448
-   Cross-compile amd64. by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1452
-   fix(cli): prefer IsDir() over explicit type check by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1445
-   Add test to confirm that file copying works as expected. by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1450
-   fix: remove suggestion of using fetch-depth by [@&#8203;harshcut](https://togithub.com/harshcut) in [vercel/turbo#1438
-   Chip away at path migration by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1459
-   Implement allowing both sides of git comparison by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1442
-   Move some fields out of Config by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1460
-   chore: remove redundant `.turbo` by [@&#8203;shayc](https://togithub.com/shayc) in [vercel/turbo#1475
-   Depending on root tasks should work by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1485
-   Implement filesystem cookies for filewatch ordering by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1410
-   Label root package in dependency graph by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1491
-   Implement fsevents by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1419
-   Bug: Fix logic that wipes out part of the config by [@&#8203;StevenMatchett](https://togithub.com/StevenMatchett) in [vercel/turbo#1527
-   Add schema.json to create-turbo templates by [@&#8203;jaredpalmer](https://togithub.com/jaredpalmer) in [vercel/turbo#1537
-   Filter in package by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1538

#### Internal

-   Ensure we fail if no examples are run by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1441
-   Bump e2e pnpm to 7 by [@&#8203;gsoltis](https://togithub.com/gsoltis) in [vercel/turbo#1444
-   Add missing dependencies to OSX setup by [@&#8203;trevorr](https://togithub.com/trevorr) in [vercel/turbo#1487
-   Add golang to OSX setup by [@&#8203;neolivz](https://togithub.com/neolivz) in [vercel/turbo#1492
-   Configure Renovate by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1499
-   chore(deps): update dependency [@&#8203;types/react](https://togithub.com/types/react) to v17.0.47 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1514
-   chore(deps): update dependency ts-json-schema-generator to v0.98.0 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1516
-   chore(renovate): support go mod tidy by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1515
-   fix(deps): update dependency [@&#8203;heroicons/react](https://togithub.com/heroicons/react) to v1.0.6 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1520
-   chore(deps): update dependency [@&#8203;babel/core](https://togithub.com/babel/core) to v7.18.6 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1523
-   chore(deps): update dependency tailwindcss to v3.1.6 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1529
-   chore(deps): update dependency autoprefixer to v10.4.7 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1530
-   chore(deps): update dependency eslint-config-prettier to v8.5.0 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1531
-   chore(deps): update pnpm/action-setup action to v2.2.2 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1546
-   chore(deps): update dependency postcss to v8.4.14 by [@&#8203;renovate](https://togithub.com/renovate) in [vercel/turbo#1542
-   Makefile works for turbobot by [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in [vercel/turbo#1550

#### Examples

-   feat(examples): add svelte by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1458
-   Fix `yarn start` not working by [@&#8203;elis](https://togithub.com/elis) in [vercel/turbo#1468
-   feat(examples): add tailwind by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1464
-   fix: added vite.config and fixes for svelte-next.358 by [@&#8203;oneezy](https://togithub.com/oneezy) in [vercel/turbo#1496
-   chore(examples): update tsconfig declaration val by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1483
-   feat(examples): add react-native-web by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1486
-   Fix tailwind example by [@&#8203;kocisov](https://togithub.com/kocisov) in [vercel/turbo#1500
-   feat(examples): add nextjs by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1506

#### Documentation

-   docs(cli): update contributing.md with new deps by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1449
-   Update caching.mdx by [@&#8203;chitchu](https://togithub.com/chitchu) in [vercel/turbo#1482
-   fix(docs): update prune compatibility by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1505
-   Typo: verifcation --> verification by [@&#8203;samouri](https://togithub.com/samouri) in [vercel/turbo#1517
-   Add `with-prisma` example by [@&#8203;NuroDev](https://togithub.com/NuroDev) in [vercel/turbo#979
-   feat(examples): add cra by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1504
-   Examples fast follows by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1526
-   feat(examples): add docker by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1522
-   chore(examples): clean the kitchen (sink) by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1534
-   \[example/kitchensink] allow accessing vite on any ip/hostname  by [@&#8203;zsoldosp](https://togithub.com/zsoldosp) in [vercel/turbo#1532
-   chore(docs): improvements by [@&#8203;tknickman](https://togithub.com/tknickman) in [vercel/turbo#1540

#### New Contributors

-   [@&#8203;harshcut](https://togithub.com/harshcut) made their first contribution in [vercel/turbo#1438
-   [@&#8203;shayc](https://togithub.com/shayc) made their first contribution in [vercel/turbo#1475
-   [@&#8203;elis](https://togithub.com/elis) made their first contribution in [vercel/turbo#1468
-   [@&#8203;chitchu](https://togithub.com/chitchu) made their first contribution in [vercel/turbo#1482
-   [@&#8203;trevorr](https://togithub.com/trevorr) made their first contribution in [vercel/turbo#1487
-   [@&#8203;oneezy](https://togithub.com/oneezy) made their first contribution in [vercel/turbo#1496
-   [@&#8203;neolivz](https://togithub.com/neolivz) made their first contribution in [vercel/turbo#1492
-   [@&#8203;kocisov](https://togithub.com/kocisov) made their first contribution in [vercel/turbo#1500
-   [@&#8203;renovate](https://togithub.com/renovate) made their first contribution in [vercel/turbo#1499
-   [@&#8203;samouri](https://togithub.com/samouri) made their first contribution in [vercel/turbo#1517
-   [@&#8203;NuroDev](https://togithub.com/NuroDev) made their first contribution in [vercel/turbo#979
-   [@&#8203;zsoldosp](https://togithub.com/zsoldosp) made their first contribution in [vercel/turbo#1532
-   [@&#8203;StevenMatchett](https://togithub.com/StevenMatchett) made their first contribution in [vercel/turbo#1527

**Full Changelog**: vercel/turbo@v1.3.1...v1.3.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/singlestone/sugar).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMjIuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEyMi4xIn0=-->
@michael-land
Copy link

Hi, @tknickman. does your example work with yarn v2/v3?

@tknickman
Copy link
Member Author

Hey @xiaoyu-tamu, no - this example targets yarn v1 specifically. But we are always open to new examples!

yeabu369 pushed a commit to yeabu369/afrovalleyio that referenced this pull request Dec 31, 2022
Updates to kitchen-sink example (inspired by:vercel/turbo#1522)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants