Skip to content

Commit 8ad6f14

Browse files
committed
Added Polling Samples
- 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 ✅
1 parent 4f5a53f commit 8ad6f14

36 files changed

+2742
-2121
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,6 @@ lib/
109109
yarn.lock
110110
package-lock.json
111111
*/**/pnpm-lock.yaml
112+
113+
# vs code launch.json
114+
.vscode/launch.json

.scripts/list-of-samples.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"nestjs-exchange-rates",
2727
"nextjs-ecommerce-oneclick",
2828
"patching-api",
29+
"polling-frequent",
30+
"polling-infrequent",
2931
"production",
3032
"protobufs",
3133
"query-subscriptions",

nextjs-ecommerce-oneclick/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"eslint-config-next": "^15.0.4",
4242
"eslint-config-prettier": "^9.1.0",
4343
"eslint-plugin-deprecation": "^3.0.0",
44-
"husky": "^7.0.2",
4544
"npm-run-all": "^4.1.5",
4645
"postcss": "^8.3.5",
4746
"prettier": "^3.4.2",

0 commit comments

Comments
 (0)