Skip to content

Enforce package ages#119

Merged
ae9is merged 6 commits intomainfrom
build-enforce-package-ages
Apr 3, 2026
Merged

Enforce package ages#119
ae9is merged 6 commits intomainfrom
build-enforce-package-ages

Conversation

@ae9is
Copy link
Copy Markdown
Owner

@ae9is ae9is commented Apr 3, 2026

Follow-up on #110 now that npm supports minimum package release ages...

Sets minimum package release age to 1 week.

Disallows package installs from git, which is necessary to prevent any such installs from overriding .npmrc project defaults (i.e. minimum package release age, ignore scripts).

Bumps dependencies and fixes an issue with Cypress component tests by stripping out cypress-esbuild-plugin in cypress.config.ts.

name: 'remove-cypress-esbuild-plugin',
configResolved(config: any) {
const plugins = config.optimizeDeps?.esbuildOptions?.plugins
if (plugins) {
const index = plugins.findIndex((p: any) => p.name === 'cypress-esbuild-plugin')
if (index !== -1) {
plugins.splice(index, 1)
}

Possibly due to Vite 8 not being supported by Cypress yet--should remove this workaround in the future.

@ae9is ae9is merged commit a67795b into main Apr 3, 2026
3 checks passed
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.

1 participant