Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ jobs:
run: |
cd projects/js-packages/storybook
node bin/webserver.mjs
# Work around a probable bug in jest-playwright-preset, which should be going away when we update @storybook/test-runner to v0.24.1+.
export NODE_PATH=$( dirname "$( dirname "$( realpath node_modules/@storybook/test-runner )" )" )
REFERENCE_URL=https://automattic.github.io/jetpack-storybook/ pnpm exec test-storybook -c storybook --url 'http://127.0.0.1:6006/index.html'

# Probably this should be a linting test, but we don't run linting on trunk or release branches.
Expand Down
33 changes: 0 additions & 33 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,35 +1,2 @@
save-exact = true
prefer-workspace-packages = true
strict-peer-dependencies = true
use-lockfile-v6 = true
# Force node version
engine-strict = true

# No hoisting by default.
hoist-pattern=[]
public-hoist-pattern=[]

# Be strict about peer deps
auto-install-peers = false
dedupe-peer-dependents = false

# Silence this warning. Our `jetpack dependencies build-order` (also used by `jetpack build --all`) checks for cycles itself, plus it has a way to indicate that a dep is only for testing.
ignore-workspace-cycles = true

# Opinion seems divided on whether the new default 'lowest-direct' is good or bad.
# https://github.com/pnpm/pnpm/issues/6463
# https://github.com/pnpm/pnpm/issues/6498
# Also it would need a renovate config change (`rangeStrategy` to "bump" or "pin" for JS packages).
# Let's stick with the historical behavior for now.
resolution-mode = highest

# @automattic/jetpack-webpack-config looks for this.
jetpack-webpack-config-resolve-conditions=jetpack:src

manage-package-manager-versions=false

# Ensure dependencies were properly built.
strict-dep-builds = true

# Warn if `node_modules` do not match lockfile.
verify-deps-before-run = install
80 changes: 0 additions & 80 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,85 +40,5 @@
"engines": {
"node": "^22.19.0",
"pnpm": "^10.22.0"
},
"pnpm": {
"ignoredBuiltDependencies": [
"@swc/core",
"core-js",
"esbuild",
"print-this",
"svelte-preprocess",
"swiper",
"unrs-resolver"
],
"patchedDependencies": {
"@wordpress/a11y": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/admin-ui": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/annotations": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/api-fetch": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/autop": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/blob": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/block-editor": ".pnpm-patches/@wordpress__block-editor.patch",
"@wordpress/block-library": ".pnpm-patches/@wordpress__block-library.patch",
"@wordpress/block-serialization-default-parser": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/blocks": ".pnpm-patches/@wordpress__blocks.patch",
"@wordpress/commands": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/components": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/compose": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/core-data": ".pnpm-patches/@wordpress__core-data.patch",
"@wordpress/data-controls": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/data": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/dataviews": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/date": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/deprecated": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/dom": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/dom-ready": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/editor": ".pnpm-patches/@wordpress__editor.patch",
"@wordpress/edit-post": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/element": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/escape-html": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/fields": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/format-library": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/global-styles-engine": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/global-styles-ui": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/hooks": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/html-entities": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/i18n": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/icons": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/interactivity": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/interactivity-router": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/interface": ".pnpm-patches/@wordpress__interface.patch",
"@wordpress/is-shallow-equal": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/jest-console": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/keyboard-shortcuts": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/keycodes": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/latex-to-mathml": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/media-utils": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/notices": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/patterns": ".pnpm-patches/@wordpress__patterns.patch",
"@wordpress/plugins": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/preferences": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/primitives": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/priority-queue": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/private-apis": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/react-i18n": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/redux-routine": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/reusable-blocks": ".pnpm-patches/@wordpress__reusable-blocks.patch",
"@wordpress/rich-text": ".pnpm-patches/@wordpress__rich-text.patch",
"@wordpress/router": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/server-side-render": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/shortcode": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/style-engine": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/sync": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/token-list": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/undo-manager": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/upload-media": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/url": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/viewport": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/warning": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"@wordpress/widgets": ".pnpm-patches/@wordpress-build-modules.patch",
"@wordpress/wordcount": ".pnpm-patches/@wordpress-build-modules-no-side-effects.patch",
"uuid@<11": ".pnpm-patches/uuid.patch"
}
}
}
Loading
Loading