Skip to content

Commit

Permalink
fix: lerna not recognizing workspace:*
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneshen-okta committed Dec 20, 2022
1 parent e01ce2a commit 355bb1a
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 19 deletions.
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ npmScopes:
okta:
npmRegistryServer: "${OKTA_NPM_REGISTRY_SERVER-https://registry.yarnpkg.com}"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.2.3.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
"stylelint": "stylelint **/*.scss",
"test": "lerna run test",
"typecheck": "lerna run typecheck",
"typecheck": "yarn workspaces foreach -vip run typecheck",
"build": "lerna run build --ignore @okta/odyssey-storybook",
"postinstall": "yarn build && [ -z ${CI:-} ] && husky install || exit 0"
},
Expand Down
11 changes: 5 additions & 6 deletions packages/odyssey-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
"devDependencies": {
"@applitools/eyes-storybook": "^3.29.4",
"@babel/core": "^7.19.3",
"@okta/odyssey-babel-loader": "*",
"@okta/odyssey-design-tokens": "*",
"@okta/odyssey-lifecycle": "*",
"@okta/odyssey-react-labs": "*",
"@okta/odyssey-react-mui": "*",
"@okta/odyssey-typescript": "*",
"@okta/odyssey-babel-loader": "workspace:*",
"@okta/odyssey-design-tokens": "workspace:*",
"@okta/odyssey-lifecycle": "workspace:*",
"@okta/odyssey-react-labs": "workspace:*",
"@okta/odyssey-typescript": "workspace:*",
"@pxblue/storybook-rtl-addon": "^1.0.1",
"@storybook/addon-a11y": "^6.5.13",
"@storybook/addon-actions": "^6.5.13",
Expand Down
23 changes: 11 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6358,7 +6358,7 @@ __metadata:
languageName: unknown
linkType: soft

"@okta/odyssey-babel-loader@*, @okta/odyssey-babel-loader@workspace:packages/odyssey-babel-loader":
"@okta/odyssey-babel-loader@workspace:*, @okta/odyssey-babel-loader@workspace:packages/odyssey-babel-loader":
version: 0.0.0-use.local
resolution: "@okta/odyssey-babel-loader@workspace:packages/odyssey-babel-loader"
dependencies:
Expand Down Expand Up @@ -6396,7 +6396,7 @@ __metadata:
languageName: unknown
linkType: soft

"@okta/odyssey-design-tokens@*, @okta/odyssey-design-tokens@^0.17.1, @okta/odyssey-design-tokens@workspace:packages/odyssey-design-tokens":
"@okta/odyssey-design-tokens@^0.17.1, @okta/odyssey-design-tokens@workspace:*, @okta/odyssey-design-tokens@workspace:packages/odyssey-design-tokens":
version: 0.0.0-use.local
resolution: "@okta/odyssey-design-tokens@workspace:packages/odyssey-design-tokens"
dependencies:
Expand Down Expand Up @@ -6430,7 +6430,7 @@ __metadata:
languageName: unknown
linkType: soft

"@okta/odyssey-lifecycle@*, @okta/odyssey-lifecycle@^0.17.1, @okta/odyssey-lifecycle@workspace:packages/odyssey-lifecycle":
"@okta/odyssey-lifecycle@^0.17.1, @okta/odyssey-lifecycle@workspace:*, @okta/odyssey-lifecycle@workspace:packages/odyssey-lifecycle":
version: 0.0.0-use.local
resolution: "@okta/odyssey-lifecycle@workspace:packages/odyssey-lifecycle"
bin:
Expand All @@ -6446,7 +6446,7 @@ __metadata:
languageName: unknown
linkType: soft

"@okta/odyssey-react-labs@*, @okta/odyssey-react-labs@workspace:packages/odyssey-react-labs":
"@okta/odyssey-react-labs@workspace:*, @okta/odyssey-react-labs@workspace:packages/odyssey-react-labs":
version: 0.0.0-use.local
resolution: "@okta/odyssey-react-labs@workspace:packages/odyssey-react-labs"
dependencies:
Expand Down Expand Up @@ -6493,7 +6493,7 @@ __metadata:
languageName: unknown
linkType: soft

"@okta/odyssey-react-mui@*, @okta/odyssey-react-mui@^0.17.1, @okta/odyssey-react-mui@workspace:packages/odyssey-react-mui":
"@okta/odyssey-react-mui@^0.17.1, @okta/odyssey-react-mui@workspace:packages/odyssey-react-mui":
version: 0.0.0-use.local
resolution: "@okta/odyssey-react-mui@workspace:packages/odyssey-react-mui"
dependencies:
Expand Down Expand Up @@ -6547,12 +6547,11 @@ __metadata:
dependencies:
"@applitools/eyes-storybook": ^3.29.4
"@babel/core": ^7.19.3
"@okta/odyssey-babel-loader": "*"
"@okta/odyssey-design-tokens": "*"
"@okta/odyssey-lifecycle": "*"
"@okta/odyssey-react-labs": "*"
"@okta/odyssey-react-mui": "*"
"@okta/odyssey-typescript": "*"
"@okta/odyssey-babel-loader": "workspace:*"
"@okta/odyssey-design-tokens": "workspace:*"
"@okta/odyssey-lifecycle": "workspace:*"
"@okta/odyssey-react-labs": "workspace:*"
"@okta/odyssey-typescript": "workspace:*"
"@pxblue/storybook-rtl-addon": ^1.0.1
"@storybook/addon-a11y": ^6.5.13
"@storybook/addon-actions": ^6.5.13
Expand Down Expand Up @@ -6606,7 +6605,7 @@ __metadata:
languageName: unknown
linkType: soft

"@okta/odyssey-typescript@*, @okta/odyssey-typescript@^0.17.1, @okta/odyssey-typescript@workspace:packages/odyssey-typescript":
"@okta/odyssey-typescript@^0.17.1, @okta/odyssey-typescript@workspace:*, @okta/odyssey-typescript@workspace:packages/odyssey-typescript":
version: 0.0.0-use.local
resolution: "@okta/odyssey-typescript@workspace:packages/odyssey-typescript"
peerDependencies:
Expand Down

0 comments on commit 355bb1a

Please sign in to comment.