-
Notifications
You must be signed in to change notification settings - Fork 17
refactor: monorepo workspaces migration #565
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
Conversation
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
…e in compliance and identity contracts Signed-off-by: Miguel_LZPF <[email protected]>
…omponents Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
…n scripts Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
…rkspaces-migration Signed-off-by: Miguel_LZPF <[email protected]>
…e validation Signed-off-by: Miguel_LZPF <[email protected]>
…workflows Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
…igration guide Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
- Changed "setup" script from "npm install" to "npm ci" for consistent installs. - Added "ats:setup" script to run "npm ci" followed by "ats:build". - Enhanced "ats:clean" script to include a message after cleaning. - Updated "ats:start" script to run "npm ci" before building and starting. - Improved "clean:deps" script to preserve package-lock.json and added a full clean option. Signed-off-by: Miguel_LZPF <[email protected]>
…identityRegistryId Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
4ed0970
Signed-off-by: Mario Francia <[email protected]>
…ross modules Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
…port for JSON formats Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
…tting scripts Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
pathornteng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nathanklick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No review performed as the PR is too large for a proper review. Rubber stamp approval only.
Signed-off-by: Miguel_LZPF <[email protected]> Signed-off-by: Mario Francia <[email protected]> Co-authored-by: Mario Francia <[email protected]> (cherry picked from commit 818a530) Signed-off-by: Mario Francia <[email protected]> # Conflicts: # .github/workflows/all.publish.yml # .prettierignore # .vscode/settings.json # README.md # apps/ats/web/src/components/BaseMultiStyleConfiguration.ts # apps/ats/web/src/theme/components/PanelTabs.ts # apps/ats/web/src/views/CreateBond/Components/__tests__/PreviousStepButton.test.tsx # apps/ats/web/src/views/CreateEquity/Components/__tests__/PreviousStepButton.test.tsx # contracts/contracts/layer_1/ERC3643/ERC3643.sol # contracts/contracts/layer_1/ERC3643/ERC3643Facet.sol # contracts/contracts/layer_1/interfaces/ERC3643/IERC3643Basic.sol # contracts/contracts/layer_2/bond/BondStorageWrapper.sol # contracts/contracts/layer_2/equity/EquityStorageWrapper.sol # contracts/contracts/layer_3/security/SecurityStorageWrapper.sol # contracts/contracts/layer_3/transferAndLock/TransferAndLockStorageWrapper.sol # contracts/contracts/test/testTimeTravel/facetsTimeTravel/ERC3643TimeTravel.sol # docs/dev-monorepo-migration.md # package-lock.json # package.json # packages/ats/contracts/contracts/layer_0/bond/BondStorageWrapper.sol # packages/ats/contracts/contracts/layer_0/equity/EquityStorageWrapper.sol # packages/ats/contracts/contracts/layer_0/security/SecurityStorageWrapper.sol # packages/ats/contracts/contracts/layer_0/transferAndLock/TransferAndLockStorageWrapper.sol # packages/ats/contracts/contracts/layer_1/ERC3643/ERC3643.sol # packages/ats/contracts/contracts/layer_1/ERC3643/ERC3643Facet.sol # packages/ats/contracts/contracts/layer_1/ERC3643/ERC3643Management.sol # packages/ats/contracts/contracts/layer_1/ERC3643/ERC3643ManagementFacet.sol # packages/ats/contracts/contracts/layer_1/interfaces/ERC3643/IERC3643Basic.sol # packages/ats/contracts/contracts/layer_1/interfaces/ERC3643/IERC3643Management.sol # packages/ats/contracts/contracts/layer_2/bond/BondStorageWrapper.sol # packages/ats/contracts/contracts/layer_2/equity/EquityStorageWrapper.sol # packages/ats/contracts/contracts/layer_3/security/SecurityStorageWrapper.sol # packages/ats/contracts/contracts/layer_3/transferAndLock/TransferAndLockStorageWrapper.sol # packages/ats/contracts/contracts/test/testTimeTravel/facetsTimeTravel/BondUSAReadTimeTravel.sol # packages/ats/contracts/contracts/test/testTimeTravel/facetsTimeTravel/ERC3643TimeTravel.sol # packages/ats/contracts/contracts/test/testTimeTravel/interfaces/ITimeTravelStorageWrapper.sol # packages/ats/contracts/contracts/test/testTimeTravel/timeTravel/TimeTravelStorageWrapper.sol # packages/ats/contracts/package.json # packages/ats/contracts/scripts/extractMethods.ts # packages/ats/contracts/scripts/selector.ts # packages/ats/sdk/__tests__/fixtures/cap/CapFixture.ts # packages/ats/sdk/package.json # packages/ats/sdk/src/port/in/security/agent/Agent.ts # packages/ats/sdk/src/port/in/security/balance/Balance.ts # packages/ats/sdk/src/port/in/security/compliance/Compliance.ts # packages/ats/sdk/src/port/in/security/controlList/ControlList.ts # packages/ats/sdk/src/port/in/security/freeze/Freeze.ts # packages/ats/sdk/src/port/in/security/hold/Hold.ts # packages/ats/sdk/src/port/in/security/identity/Identity.ts # packages/ats/sdk/src/port/in/security/info/Info.ts # packages/ats/sdk/src/port/in/security/issue/Issue.ts # packages/ats/sdk/src/port/in/security/lock/Lock.ts # packages/ats/sdk/src/port/in/security/pause/Pause.ts # packages/ats/sdk/src/port/in/security/protectedPartitions/ProtectedPartitions.ts # packages/ats/sdk/src/port/in/security/recovery/Recovery.ts # packages/ats/sdk/src/port/in/security/redeem/Redeem.ts # packages/ats/sdk/src/port/in/security/supply/Supply.ts # packages/ats/sdk/src/port/in/security/tokenMetadata/TokenMetadata.ts # packages/ats/sdk/src/port/in/security/transfer/Transfer.ts # web/src/views/CreateBond/Components/__tests__/PreviousStepButton.test.tsx # web/src/views/CreateEquity/Components/__tests__/PreviousStepButton.test.tsx
Description
This pull request introduces significant improvements to the project’s monorepo structure, documentation, and CI/CD workflows. The main changes include reorganizing the repository to use npm workspaces, updating the documentation to reflect the new structure and commands, and splitting the test and publishing workflows for better modularity and efficiency. Additionally, configuration and formatting files were added or updated to standardize development practices.
Monorepo & Workspace Structure
packages(core logic) andapps(applications), including new folders for ATS and Mass Payout modules. The documentation now explains the structure and workspace commands. [1] [2] [3] [4]Documentation Updates
README.mdto include a workspace overview, available npm commands, build/test instructions, and details on the new CI workflows and environment setup. [1] [2] [3] [4] [5]CI/CD Workflow Improvements
.github/workflows/ats.test.ymlfor ATS,.github/workflows/mp.test.ymlfor Mass Payout, and updated.github/workflows/all.publish.ymlfor publishing. These workflows now trigger only when relevant files change, improving CI efficiency. [1] [2] [3] [4] [5] [6]Configuration and Formatting
.prettierignoreand.vscode/settings.jsonto enforce consistent code formatting across the repo, especially for Solidity and TypeScript files. Updated.github/dependabot.yamlfor consistency in quoting and dependency update rules. [1] [2] [3]Developer Tooling
Type of change
Run all automated tests. Deploy the dApp and test the creation of bonds and equities.
Node version:
Checklist