Skip to content

Commit

Permalink
refactor(macro): use workspace schema for dev lingui deps
Browse files Browse the repository at this point in the history
  • Loading branch information
timofei-iatsenko committed Mar 5, 2024
1 parent 797fe4e commit 0658a06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 57 deletions.
4 changes: 2 additions & 2 deletions packages/babel-plugin-extract-messages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"@babel/core": "^7.21.0",
"@babel/traverse": "7.20.12",
"@babel/types": "^7.20.7",
"@lingui/jest-mocks": "*",
"@lingui/macro": "*",
"@lingui/jest-mocks": "workspace:*",
"@lingui/macro": "workspace:*",
"unbuild": "2.0.0"
}
}
59 changes: 4 additions & 55 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3225,8 +3225,8 @@ __metadata:
"@babel/core": ^7.21.0
"@babel/traverse": 7.20.12
"@babel/types": ^7.20.7
"@lingui/jest-mocks": "*"
"@lingui/macro": "*"
"@lingui/jest-mocks": "workspace:*"
"@lingui/macro": "workspace:*"
unbuild: 2.0.0
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -3293,20 +3293,6 @@ __metadata:
languageName: unknown
linkType: soft

"@lingui/conf@npm:4.7.1":
version: 4.7.1
resolution: "@lingui/conf@npm:4.7.1"
dependencies:
"@babel/runtime": ^7.20.13
chalk: ^4.1.0
cosmiconfig: ^8.0.0
jest-validate: ^29.4.3
jiti: ^1.17.1
lodash.get: ^4.4.2
checksum: 4f98115c21508d89471afb0ee602f8b8ba763f59794126006831feb4080d8e878131e5b77807057d2c4b3a3d4119be0f9ea984ea81cf702c50cc2070d98bb529
languageName: node
linkType: hard

"@lingui/[email protected], @lingui/core@workspace:*, @lingui/core@workspace:packages/core":
version: 0.0.0-use.local
resolution: "@lingui/core@workspace:packages/core"
Expand All @@ -3329,17 +3315,6 @@ __metadata:
languageName: node
linkType: hard

"@lingui/core@npm:4.7.1":
version: 4.7.1
resolution: "@lingui/core@npm:4.7.1"
dependencies:
"@babel/runtime": ^7.20.13
"@lingui/message-utils": 4.7.1
unraw: ^3.0.0
checksum: f9dca40a2a2f406cc0e1292066ce98ba74a4614abfbe0358f53cff8d2809329de37248117c06f267d859d08232eb9e8e0b70ce0a4e6d9667673b1042bc6af5b4
languageName: node
linkType: hard

"@lingui/detect-locale@workspace:packages/detect-locale":
version: 0.0.0-use.local
resolution: "@lingui/detect-locale@workspace:packages/detect-locale"
Expand Down Expand Up @@ -3416,7 +3391,7 @@ __metadata:
languageName: unknown
linkType: soft

"@lingui/jest-mocks@*, @lingui/jest-mocks@workspace:^, @lingui/jest-mocks@workspace:packages/jest-mocks":
"@lingui/jest-mocks@*, @lingui/jest-mocks@workspace:*, @lingui/jest-mocks@workspace:^, @lingui/jest-mocks@workspace:packages/jest-mocks":
version: 0.0.0-use.local
resolution: "@lingui/jest-mocks@workspace:packages/jest-mocks"
languageName: unknown
Expand All @@ -3437,7 +3412,7 @@ __metadata:
languageName: unknown
linkType: soft

"@lingui/[email protected], @lingui/macro@workspace:^, @lingui/macro@workspace:packages/macro":
"@lingui/[email protected], @lingui/macro@workspace:*, @lingui/macro@workspace:^, @lingui/macro@workspace:packages/macro":
version: 0.0.0-use.local
resolution: "@lingui/macro@workspace:packages/macro"
dependencies:
Expand All @@ -3462,22 +3437,6 @@ __metadata:
languageName: unknown
linkType: soft

"@lingui/macro@npm:*":
version: 4.7.1
resolution: "@lingui/macro@npm:4.7.1"
dependencies:
"@babel/runtime": ^7.20.13
"@babel/types": ^7.20.7
"@lingui/conf": 4.7.1
"@lingui/core": 4.7.1
"@lingui/message-utils": 4.7.1
peerDependencies:
"@lingui/react": ^4.0.0
babel-plugin-macros: 2 || 3
checksum: ced3208095731584a768a828a3b51a85519c69950177f8cd550016a1b312b684e5c9730f201cc5e483110b382751ffa1749c9567a1c7ac836d6dbee7a2036118
languageName: node
linkType: hard

"@lingui/[email protected], @lingui/message-utils@workspace:packages/message-utils":
version: 0.0.0-use.local
resolution: "@lingui/message-utils@workspace:packages/message-utils"
Expand All @@ -3498,16 +3457,6 @@ __metadata:
languageName: node
linkType: hard

"@lingui/message-utils@npm:4.7.1":
version: 4.7.1
resolution: "@lingui/message-utils@npm:4.7.1"
dependencies:
"@messageformat/parser": ^5.0.0
js-sha256: ^0.10.1
checksum: e4dbb4f2dc2f6d0eb2e7d1ee6a93957dcefc37ff2b85586d014e9c9f75b920a574ed6cf9eff60eae2ea99478e81aa5a0331377003f0dcef712a8bc5ff150ef3d
languageName: node
linkType: hard

"@lingui/react@workspace:*, @lingui/react@workspace:packages/react":
version: 0.0.0-use.local
resolution: "@lingui/react@workspace:packages/react"
Expand Down

0 comments on commit 0658a06

Please sign in to comment.