Commit 20914cc
authored
ci: remove prepack and prepublishonly scripts (#14832)
This PR removes the `prepack` and `prepublishonly` scripts, which have
become unnecessary and counterproductive.
PR #14820 introduced a new
`pnpm build:debug` command. However, when running our pre-release
publish workflow, each package is currently built twice: once via `pnpm
build:debug` (as intended) and again via the hard-coded `prepublishonly`
script. Because prepublishonly always runs a clean, non-debug build, it
both nullifies the debug output and adds significant overhead by
rebuilding everything.
All of our release and pack-to-destination scripts already perform a
full build ahead of time, so these additional prepublish hooks provide
no benefit and actively interfere with the intended debug workflow. This
PR removes the redundant scripts to ensure debug builds work as expected
and to speed up the release process.1 parent d97a822 commit 20914cc
File tree
48 files changed
+132
-101
lines changed- packages
- admin-bar
- create-payload-app
- db-d1-sqlite
- db-mongodb
- db-postgres
- db-sqlite
- db-vercel-postgres
- drizzle
- email-nodemailer
- email-resend
- graphql
- kv-redis
- live-preview-react
- live-preview-vue
- live-preview
- next
- payload-cloud
- payload
- plugin-cloud-storage
- plugin-ecommerce
- plugin-form-builder
- plugin-import-export
- plugin-mcp
- plugin-multi-tenant
- plugin-nested-docs
- plugin-redirects
- plugin-search
- plugin-sentry
- plugin-seo
- plugin-stripe
- richtext-lexical
- richtext-slate
- sdk
- storage-azure
- storage-gcs
- storage-r2
- storage-s3
- storage-uploadthing
- storage-vercel-blob
- translations
- ui
- templates/plugin
- tools/releaser/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+132
-101
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 71 | + | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 72 | + | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments