Skip to content

Do not configure NPM workspace on the root project #410

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mjameswh
Copy link
Contributor

What was changed

  • Do not configure NPM workspace on the root repository. We specifically want
    PNPM and NPM/YARN configuration to differ on this regard, so that the repository
    can be used either as a monorepo (e.g. pnpm install on the root directory) or
    as individual projects (e.g. cd hello-world ; npm install, without installing
    dependencies on the whole repo).

    That's how the PNPM setup was initially created. I added that at some point to
    test something, and may have I forgot to remove before the final commit.

@GSmithApps
Copy link
Contributor

Commenting here so GitHub sees me as "involved" in this and I can find it later and I get notifications etc.

Apologies for the extra notification, James 🙏

GSmithApps added a commit to GSmithApps/samples-typescript that referenced this pull request Feb 11, 2025
…activities

- added samples for
  - infrequent polling
  - frequent polling
  - stateful activities
- removed husky from the nextjs ecommerce app
- added vscode launch.json to gitignore

[DSE Jira Ticket](https://temporalio.atlassian.net/browse/DSE-21)

Regarding the stateful activities: I added this because i learned how to do it while trying to implement the polling

We can consider [this PR](temporalio#410) finished when we merge this one. Thomas fixed the other parts of it when he merged [this](https://github.com/temporalio/samples-typescript/pull/412/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L38)

<!--- add/delete as needed --->

1. How was this tested:
I ran these three in my local and got expected behavior

2. Code cleanliness:
ran linter and formatter ✅
GSmithApps added a commit to GSmithApps/samples-typescript that referenced this pull request Feb 11, 2025
- added samples for
  - infrequent polling
  - frequent polling
- removed husky from the nextjs ecommerce app
- added vscode launch.json to gitignore

[DSE Jira Ticket](https://temporalio.atlassian.net/browse/DSE-21)

We can consider [this PR](temporalio#410) finished when we merge this one. Thomas fixed the other parts of it when he merged [this](https://github.com/temporalio/samples-typescript/pull/412/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L38)

<!--- add/delete as needed --->

1. How was this tested:
I ran these two in my local and got expected behavior

2. Code cleanliness:
ran linter and formatter ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants