Skip to content

Commit 2ff070d

Browse files
committed
chore: add noop package.json to snippets (#925)
1 parent bc2b890 commit 2ff070d

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

examples/snippets/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "snippets"
3+
}

packages/actor-core-cli/src/macros.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export async function getExamples(): Promise<ExamplesRegistry> {
2424
const dirs = await readdir(EXAMPLES_PATH, { encoding: "utf-8" });
2525

2626
for (const dir of dirs) {
27+
if (dir === "snippets") continue;
28+
2729
const output = execSync(`git ls-files ${dir}`, {
2830
cwd: EXAMPLES_PATH,
2931
encoding: "utf-8",

yarn.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7578,6 +7578,12 @@ __metadata:
75787578
languageName: node
75797579
linkType: hard
75807580

7581+
"snippets@workspace:examples/snippets":
7582+
version: 0.0.0-use.local
7583+
resolution: "snippets@workspace:examples/snippets"
7584+
languageName: unknown
7585+
linkType: soft
7586+
75817587
"socks-proxy-agent@npm:^8.0.3":
75827588
version: 8.0.5
75837589
resolution: "socks-proxy-agent@npm:8.0.5"

0 commit comments

Comments
 (0)