Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explorer to yarn workspaces #1549

Merged
merged 4 commits into from
Aug 21, 2019

Conversation

rupurt
Copy link
Contributor

@rupurt rupurt commented Aug 16, 2019

[Finishes #166833262]

@rupurt rupurt marked this pull request as ready for review August 16, 2019 02:45
@rupurt rupurt force-pushed the chores/explorer-client-in-yarn-workspace branch from 1d5c63c to 1bc889b Compare August 16, 2019 02:59
@rupurt rupurt requested review from dimroc, j16r, se3000 and jleeh August 16, 2019 16:09
@@ -16,7 +16,7 @@
"esModuleInterop": true,
"noImplicitAny": true,
"baseUrl": ".",
"typeRoots": ["node_modules/@types", "@types"]
"typeRoots": ["node_modules/@types", "../node_modules/@types", "@types"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ts-jest doesn't support yarn workspaces. Need to configure install location of typescript

"private": true,
"version": "0.0.0",
"description": "LINK Explorer",
"author": "Chainlink Dev Team",
"license": "MIT",
"keywords": [],
"scripts": {
"dev": "yarn autosetup && concurrently \"cd client && yarn start\" \"ts-node-dev --respawn --transpileOnly ./src/index.ts\"",
"dev": "yarn automigrate && concurrently \"cd client && yarn start\" \"ts-node-dev --respawn --transpileOnly ./src/index.ts\"",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Challenging to support autosetup within yarn workspace so I removed it. Open to thoughts on how we can achieve this is we still want it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fine to just leave it in the base package.json and out of any of the sub projects?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@j16r I stumbled across npm pre & post hooks and used them instead.

@rupurt rupurt force-pushed the chores/explorer-client-in-yarn-workspace branch from 1bc889b to 4ede71c Compare August 19, 2019 23:43
Copy link
Contributor

@j16r j16r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup 👍

@rupurt rupurt merged commit 56d8ca9 into develop Aug 21, 2019
@rupurt rupurt deleted the chores/explorer-client-in-yarn-workspace branch August 21, 2019 17:21
mateusz-sekara pushed a commit that referenced this pull request Jan 10, 2025
This brings three changes into the ccip repo

- OZ AccessControl support for RegistryModule
- MockRouter ExtraArgsV2 support
- Adds Ownable2Step, a more efficient ownable contract
- Bump foundry to be in line with `chainlink`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants