Skip to content

Commit

Permalink
Packages: Fix published * workspace dependencies (WordPress#68240)
Browse files Browse the repository at this point in the history
Use `file:` versions for workspace dependencies.

Packages may be published with * workspace dependencies since WordPress#66272.

The next and dev publish flows are correctly replacing the * versions. The cause is currently unclear, but testing indicates that restoring file: dependencies may fix the problem.

---

Co-authored-by: sirreal <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: jsnajdr <[email protected]>
  • Loading branch information
4 people authored Jan 3, 2025
1 parent 0f2a584 commit 3fc25a1
Show file tree
Hide file tree
Showing 63 changed files with 1,092 additions and 1,092 deletions.
1,092 changes: 546 additions & 546 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"types": "build-types",
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/dom-ready": "*",
"@wordpress/i18n": "*"
"@wordpress/dom-ready": "file:../dom-ready",
"@wordpress/i18n": "file:../i18n"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"wpScript": true,
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/data": "*",
"@wordpress/hooks": "*",
"@wordpress/i18n": "*",
"@wordpress/rich-text": "*",
"@wordpress/data": "file:../data",
"@wordpress/hooks": "file:../hooks",
"@wordpress/i18n": "file:../i18n",
"@wordpress/rich-text": "file:../rich-text",
"uuid": "^9.0.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/api-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"types": "build-types",
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/i18n": "*",
"@wordpress/url": "*"
"@wordpress/i18n": "file:../i18n",
"@wordpress/url": "file:../url"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@babel/preset-env": "7.25.7",
"@babel/preset-typescript": "7.25.7",
"@babel/runtime": "7.25.7",
"@wordpress/browserslist-config": "*",
"@wordpress/warning": "*",
"@wordpress/browserslist-config": "file:../browserslist-config",
"@wordpress/warning": "file:../warning",
"browserslist": "^4.21.10",
"core-js": "^3.31.0",
"react": "^18.3.0"
Expand Down
36 changes: 18 additions & 18 deletions packages/block-directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@
"wpScript": true,
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/a11y": "*",
"@wordpress/api-fetch": "*",
"@wordpress/block-editor": "*",
"@wordpress/blocks": "*",
"@wordpress/components": "*",
"@wordpress/compose": "*",
"@wordpress/core-data": "*",
"@wordpress/data": "*",
"@wordpress/editor": "*",
"@wordpress/element": "*",
"@wordpress/hooks": "*",
"@wordpress/html-entities": "*",
"@wordpress/i18n": "*",
"@wordpress/icons": "*",
"@wordpress/notices": "*",
"@wordpress/plugins": "*",
"@wordpress/private-apis": "*",
"@wordpress/url": "*",
"@wordpress/a11y": "file:../a11y",
"@wordpress/api-fetch": "file:../api-fetch",
"@wordpress/block-editor": "file:../block-editor",
"@wordpress/blocks": "file:../blocks",
"@wordpress/components": "file:../components",
"@wordpress/compose": "file:../compose",
"@wordpress/core-data": "file:../core-data",
"@wordpress/data": "file:../data",
"@wordpress/editor": "file:../editor",
"@wordpress/element": "file:../element",
"@wordpress/hooks": "file:../hooks",
"@wordpress/html-entities": "file:../html-entities",
"@wordpress/i18n": "file:../i18n",
"@wordpress/icons": "file:../icons",
"@wordpress/notices": "file:../notices",
"@wordpress/plugins": "file:../plugins",
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/url": "file:../url",
"change-case": "^4.1.2",
"clsx": "^2.1.1"
},
Expand Down
62 changes: 31 additions & 31 deletions packages/block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,37 +37,37 @@
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@react-spring/web": "^9.4.5",
"@wordpress/a11y": "*",
"@wordpress/api-fetch": "*",
"@wordpress/blob": "*",
"@wordpress/block-serialization-default-parser": "*",
"@wordpress/blocks": "*",
"@wordpress/commands": "*",
"@wordpress/components": "*",
"@wordpress/compose": "*",
"@wordpress/data": "*",
"@wordpress/date": "*",
"@wordpress/deprecated": "*",
"@wordpress/dom": "*",
"@wordpress/element": "*",
"@wordpress/escape-html": "*",
"@wordpress/hooks": "*",
"@wordpress/html-entities": "*",
"@wordpress/i18n": "*",
"@wordpress/icons": "*",
"@wordpress/is-shallow-equal": "*",
"@wordpress/keyboard-shortcuts": "*",
"@wordpress/keycodes": "*",
"@wordpress/notices": "*",
"@wordpress/preferences": "*",
"@wordpress/priority-queue": "*",
"@wordpress/private-apis": "*",
"@wordpress/rich-text": "*",
"@wordpress/style-engine": "*",
"@wordpress/token-list": "*",
"@wordpress/url": "*",
"@wordpress/warning": "*",
"@wordpress/wordcount": "*",
"@wordpress/a11y": "file:../a11y",
"@wordpress/api-fetch": "file:../api-fetch",
"@wordpress/blob": "file:../blob",
"@wordpress/block-serialization-default-parser": "file:../block-serialization-default-parser",
"@wordpress/blocks": "file:../blocks",
"@wordpress/commands": "file:../commands",
"@wordpress/components": "file:../components",
"@wordpress/compose": "file:../compose",
"@wordpress/data": "file:../data",
"@wordpress/date": "file:../date",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/dom": "file:../dom",
"@wordpress/element": "file:../element",
"@wordpress/escape-html": "file:../escape-html",
"@wordpress/hooks": "file:../hooks",
"@wordpress/html-entities": "file:../html-entities",
"@wordpress/i18n": "file:../i18n",
"@wordpress/icons": "file:../icons",
"@wordpress/is-shallow-equal": "file:../is-shallow-equal",
"@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts",
"@wordpress/keycodes": "file:../keycodes",
"@wordpress/notices": "file:../notices",
"@wordpress/preferences": "file:../preferences",
"@wordpress/priority-queue": "file:../priority-queue",
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/rich-text": "file:../rich-text",
"@wordpress/style-engine": "file:../style-engine",
"@wordpress/token-list": "file:../token-list",
"@wordpress/url": "file:../url",
"@wordpress/warning": "file:../warning",
"@wordpress/wordcount": "file:../wordcount",
"change-case": "^4.1.2",
"clsx": "^2.1.1",
"colord": "^2.7.0",
Expand Down
66 changes: 33 additions & 33 deletions packages/block-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,39 +41,39 @@
],
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/a11y": "*",
"@wordpress/api-fetch": "*",
"@wordpress/autop": "*",
"@wordpress/blob": "*",
"@wordpress/block-editor": "*",
"@wordpress/blocks": "*",
"@wordpress/components": "*",
"@wordpress/compose": "*",
"@wordpress/core-data": "*",
"@wordpress/data": "*",
"@wordpress/date": "*",
"@wordpress/deprecated": "*",
"@wordpress/dom": "*",
"@wordpress/element": "*",
"@wordpress/escape-html": "*",
"@wordpress/hooks": "*",
"@wordpress/html-entities": "*",
"@wordpress/i18n": "*",
"@wordpress/icons": "*",
"@wordpress/interactivity": "*",
"@wordpress/interactivity-router": "*",
"@wordpress/keyboard-shortcuts": "*",
"@wordpress/keycodes": "*",
"@wordpress/notices": "*",
"@wordpress/patterns": "*",
"@wordpress/primitives": "*",
"@wordpress/private-apis": "*",
"@wordpress/reusable-blocks": "*",
"@wordpress/rich-text": "*",
"@wordpress/server-side-render": "*",
"@wordpress/url": "*",
"@wordpress/viewport": "*",
"@wordpress/wordcount": "*",
"@wordpress/a11y": "file:../a11y",
"@wordpress/api-fetch": "file:../api-fetch",
"@wordpress/autop": "file:../autop",
"@wordpress/blob": "file:../blob",
"@wordpress/block-editor": "file:../block-editor",
"@wordpress/blocks": "file:../blocks",
"@wordpress/components": "file:../components",
"@wordpress/compose": "file:../compose",
"@wordpress/core-data": "file:../core-data",
"@wordpress/data": "file:../data",
"@wordpress/date": "file:../date",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/dom": "file:../dom",
"@wordpress/element": "file:../element",
"@wordpress/escape-html": "file:../escape-html",
"@wordpress/hooks": "file:../hooks",
"@wordpress/html-entities": "file:../html-entities",
"@wordpress/i18n": "file:../i18n",
"@wordpress/icons": "file:../icons",
"@wordpress/interactivity": "file:../interactivity",
"@wordpress/interactivity-router": "file:../interactivity-router",
"@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts",
"@wordpress/keycodes": "file:../keycodes",
"@wordpress/notices": "file:../notices",
"@wordpress/patterns": "file:../patterns",
"@wordpress/primitives": "file:../primitives",
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/reusable-blocks": "file:../reusable-blocks",
"@wordpress/rich-text": "file:../rich-text",
"@wordpress/server-side-render": "file:../server-side-render",
"@wordpress/url": "file:../url",
"@wordpress/viewport": "file:../viewport",
"@wordpress/wordcount": "file:../wordcount",
"change-case": "^4.1.2",
"clsx": "^2.1.1",
"colord": "^2.7.0",
Expand Down
30 changes: 15 additions & 15 deletions packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@
],
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/autop": "*",
"@wordpress/blob": "*",
"@wordpress/block-serialization-default-parser": "*",
"@wordpress/data": "*",
"@wordpress/deprecated": "*",
"@wordpress/dom": "*",
"@wordpress/element": "*",
"@wordpress/hooks": "*",
"@wordpress/html-entities": "*",
"@wordpress/i18n": "*",
"@wordpress/is-shallow-equal": "*",
"@wordpress/private-apis": "*",
"@wordpress/rich-text": "*",
"@wordpress/shortcode": "*",
"@wordpress/warning": "*",
"@wordpress/autop": "file:../autop",
"@wordpress/blob": "file:../blob",
"@wordpress/block-serialization-default-parser": "file:../block-serialization-default-parser",
"@wordpress/data": "file:../data",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/dom": "file:../dom",
"@wordpress/element": "file:../element",
"@wordpress/hooks": "file:../hooks",
"@wordpress/html-entities": "file:../html-entities",
"@wordpress/i18n": "file:../i18n",
"@wordpress/is-shallow-equal": "file:../is-shallow-equal",
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/rich-text": "file:../rich-text",
"@wordpress/shortcode": "file:../shortcode",
"@wordpress/warning": "file:../warning",
"change-case": "^4.1.2",
"colord": "^2.7.0",
"fast-deep-equal": "^3.1.3",
Expand Down
14 changes: 7 additions & 7 deletions packages/commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"wpScript": true,
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/components": "*",
"@wordpress/data": "*",
"@wordpress/element": "*",
"@wordpress/i18n": "*",
"@wordpress/icons": "*",
"@wordpress/keyboard-shortcuts": "*",
"@wordpress/private-apis": "*",
"@wordpress/components": "file:../components",
"@wordpress/data": "file:../data",
"@wordpress/element": "file:../element",
"@wordpress/i18n": "file:../i18n",
"@wordpress/icons": "file:../icons",
"@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts",
"@wordpress/private-apis": "file:../private-apis",
"clsx": "^2.1.1",
"cmdk": "^1.0.0"
},
Expand Down
34 changes: 17 additions & 17 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,23 @@
"@types/gradient-parser": "0.1.3",
"@types/highlight-words-core": "1.2.1",
"@use-gesture/react": "^10.3.1",
"@wordpress/a11y": "*",
"@wordpress/compose": "*",
"@wordpress/date": "*",
"@wordpress/deprecated": "*",
"@wordpress/dom": "*",
"@wordpress/element": "*",
"@wordpress/escape-html": "*",
"@wordpress/hooks": "*",
"@wordpress/html-entities": "*",
"@wordpress/i18n": "*",
"@wordpress/icons": "*",
"@wordpress/is-shallow-equal": "*",
"@wordpress/keycodes": "*",
"@wordpress/primitives": "*",
"@wordpress/private-apis": "*",
"@wordpress/rich-text": "*",
"@wordpress/warning": "*",
"@wordpress/a11y": "file:../a11y",
"@wordpress/compose": "file:../compose",
"@wordpress/date": "file:../date",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/dom": "file:../dom",
"@wordpress/element": "file:../element",
"@wordpress/escape-html": "file:../escape-html",
"@wordpress/hooks": "file:../hooks",
"@wordpress/html-entities": "file:../html-entities",
"@wordpress/i18n": "file:../i18n",
"@wordpress/icons": "file:../icons",
"@wordpress/is-shallow-equal": "file:../is-shallow-equal",
"@wordpress/keycodes": "file:../keycodes",
"@wordpress/primitives": "file:../primitives",
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/rich-text": "file:../rich-text",
"@wordpress/warning": "file:../warning",
"change-case": "^4.1.2",
"clsx": "^2.1.1",
"colord": "^2.7.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"dependencies": {
"@babel/runtime": "7.25.7",
"@types/mousetrap": "^1.6.8",
"@wordpress/deprecated": "*",
"@wordpress/dom": "*",
"@wordpress/element": "*",
"@wordpress/is-shallow-equal": "*",
"@wordpress/keycodes": "*",
"@wordpress/priority-queue": "*",
"@wordpress/undo-manager": "*",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/dom": "file:../dom",
"@wordpress/element": "file:../element",
"@wordpress/is-shallow-equal": "file:../is-shallow-equal",
"@wordpress/keycodes": "file:../keycodes",
"@wordpress/priority-queue": "file:../priority-queue",
"@wordpress/undo-manager": "file:../undo-manager",
"change-case": "^4.1.2",
"clipboard": "^2.0.11",
"mousetrap": "^1.6.5",
Expand Down
26 changes: 13 additions & 13 deletions packages/core-commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
"sideEffects": false,
"dependencies": {
"@babel/runtime": "7.25.7",
"@wordpress/block-editor": "*",
"@wordpress/commands": "*",
"@wordpress/compose": "*",
"@wordpress/core-data": "*",
"@wordpress/data": "*",
"@wordpress/element": "*",
"@wordpress/html-entities": "*",
"@wordpress/i18n": "*",
"@wordpress/icons": "*",
"@wordpress/notices": "*",
"@wordpress/private-apis": "*",
"@wordpress/router": "*",
"@wordpress/url": "*"
"@wordpress/block-editor": "file:../block-editor",
"@wordpress/commands": "file:../commands",
"@wordpress/compose": "file:../compose",
"@wordpress/core-data": "file:../core-data",
"@wordpress/data": "file:../data",
"@wordpress/element": "file:../element",
"@wordpress/html-entities": "file:../html-entities",
"@wordpress/i18n": "file:../i18n",
"@wordpress/icons": "file:../icons",
"@wordpress/notices": "file:../notices",
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/router": "file:../router",
"@wordpress/url": "file:../url"
},
"peerDependencies": {
"react": "^18.0.0",
Expand Down
Loading

0 comments on commit 3fc25a1

Please sign in to comment.