Skip to content

Commit 7fa85cc

Browse files
committed
Fixed theme zips excluding agent docs
The broad theme zip tasks could include the agent guidance files added to theme roots. Added explicit exclusions for AGENTS.md and CLAUDE.md in the monorepo zip task and each package-local zipper so generated theme archives stay limited to runtime theme content.
1 parent 19948a5 commit 7fa85cc

17 files changed

Lines changed: 51 additions & 17 deletions

File tree

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ function zipper(done) {
322322
'!dist', '!dist/**',
323323
'!pnpm-debug.log',
324324
'!pnpm-lock.yaml',
325-
'!pnpm-workspace.yaml'
325+
'!pnpm-workspace.yaml',
326+
'!AGENTS.md',
327+
'!CLAUDE.md',
326328
], {cwd: `./packages/${argv.theme}`}),
327329
zip(filename),
328330
dest(`packages/${argv.theme}/dist/`)

packages/alto/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/bulletin/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/dawn/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/digest/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/dope/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/ease/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/edge/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/edition/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

packages/episode/gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function zipper(done) {
9090
'!dist', '!dist/**',
9191
'!pnpm-debug.log',
9292
'!pnpm-lock.yaml',
93-
'!pnpm-workspace.yaml'
93+
'!pnpm-workspace.yaml',
94+
'!AGENTS.md',
95+
'!CLAUDE.md',
9496
]),
9597
zip(filename),
9698
dest('dist/')

0 commit comments

Comments
 (0)