Skip to content

Commit 5551d6b

Browse files
kushagra-goyal-14kushagra-goyal-14
andauthored
refactor: rename '@wordpress/lock-unlock' to '@wordpress/routes-lock-unlock' across the codebase (#79163)
Co-authored-by: kushagra-goyal-14 <kush123@git.wordpress.org>
1 parent 29f4f14 commit 5551d6b

33 files changed

Lines changed: 49 additions & 49 deletions

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

routes/connectors-home/default-connectors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import { select } from '@wordpress/data';
1515
import { __, sprintf } from '@wordpress/i18n';
1616
import { Badge, Link } from '@wordpress/ui';
17-
import { unlock } from '@wordpress/lock-unlock';
17+
import { unlock } from '@wordpress/routes-lock-unlock';
1818

1919
/**
2020
* Internal dependencies

routes/connectors-home/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@wordpress/element": "file:../../packages/element",
2121
"@wordpress/i18n": "file:../../packages/i18n",
2222
"@wordpress/icons": "file:../../packages/icons",
23-
"@wordpress/lock-unlock": "file:../lock-unlock",
23+
"@wordpress/routes-lock-unlock": "file:../lock-unlock",
2424
"@wordpress/ui": "file:../../packages/ui",
2525
"@wordpress/url": "file:../../packages/url"
2626
},

routes/connectors-home/stage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { __ } from '@wordpress/i18n';
1818
import { store as coreStore } from '@wordpress/core-data';
1919
// eslint-disable-next-line @wordpress/use-recommended-components
2020
import { Notice } from '@wordpress/ui';
21-
import { unlock } from '@wordpress/lock-unlock';
21+
import { unlock } from '@wordpress/routes-lock-unlock';
2222

2323
/**
2424
* Internal dependencies

routes/guidelines/components/block-guideline-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
store as blocksStore,
2121
} from '@wordpress/blocks';
2222
import { store as noticesStore } from '@wordpress/notices';
23-
import { unlock } from '@wordpress/lock-unlock';
23+
import { unlock } from '@wordpress/routes-lock-unlock';
2424

2525
/**
2626
* Internal dependencies

routes/guidelines/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@wordpress/element": "file:../../packages/element",
2020
"@wordpress/i18n": "file:../../packages/i18n",
2121
"@wordpress/icons": "file:../../packages/icons",
22-
"@wordpress/lock-unlock": "file:../lock-unlock",
22+
"@wordpress/routes-lock-unlock": "file:../lock-unlock",
2323
"@wordpress/dataviews": "file:../../packages/dataviews",
2424
"@wordpress/notices": "file:../../packages/notices",
2525
"@wordpress/block-library": "file:../../packages/block-library",

routes/lock-unlock/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@wordpress/lock-unlock",
2+
"name": "@wordpress/routes-lock-unlock",
33
"version": "1.0.0",
44
"private": true,
55
"exports": {

routes/media-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@wordpress/element": "file:../../packages/element",
1818
"@wordpress/html-entities": "file:../../packages/html-entities",
1919
"@wordpress/i18n": "file:../../packages/i18n",
20-
"@wordpress/lock-unlock": "file:../lock-unlock",
20+
"@wordpress/routes-lock-unlock": "file:../lock-unlock",
2121
"@wordpress/media-editor": "file:../../packages/media-editor",
2222
"@wordpress/route": "file:../../packages/route"
2323
}

routes/media-editor/stage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
type Media,
1313
} from '@wordpress/media-editor';
1414
import { useNavigate, useParams } from '@wordpress/route';
15-
import { unlock } from '@wordpress/lock-unlock';
15+
import { unlock } from '@wordpress/routes-lock-unlock';
1616

1717
/**
1818
* Internal dependencies

routes/navigation-edit/editor/content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { useDispatch, useSelect } from '@wordpress/data';
1212
import { createBlock } from '@wordpress/blocks';
1313
import { useCallback } from '@wordpress/element';
1414
import { store as coreStore } from '@wordpress/core-data';
15-
import { unlock } from '@wordpress/lock-unlock';
15+
import { unlock } from '@wordpress/routes-lock-unlock';
1616

1717
/**
1818
* Internal dependencies

0 commit comments

Comments
 (0)