This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 925
Split the dependency between compile:typedefs
and the legacy library
#2370
Merged
steveluscher
merged 2 commits into
master
from
03-22-split_the_dependency_between_compile_typedefs_and_the_legacy_library
Mar 23, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,38 +3,28 @@ | |
"pipeline": { | ||
"build": { | ||
"dependsOn": [ | ||
"compile:docs", | ||
"compile:js", | ||
"compile:typedefs", | ||
"test:lint", | ||
"test:prettier", | ||
"test:typecheck", | ||
"test:unit:browser", | ||
"test:unit:node", | ||
"test:live-with-test-validator", | ||
"test:treeshakability:browser", | ||
"test:treeshakability:native", | ||
"test:treeshakability:node" | ||
"test:treeshakability:node", | ||
"test:typecheck", | ||
"test:unit:browser", | ||
"test:unit:node" | ||
], | ||
"outputs": ["dist/**", "lib/**"] | ||
}, | ||
"clean": { | ||
"outputs": ["dist/**", "lib/**"] | ||
}, | ||
"compile:docs": { | ||
"dependsOn": ["clean"], | ||
"inputs": ["src/**"], | ||
"outputs": ["doc/**"] | ||
"outputs": ["dist/**"] | ||
}, | ||
"compile:js": { | ||
"dependsOn": ["clean", "^compile:js"], | ||
"inputs": ["rollup.config.mjs", "tsconfig.*", "src/**"], | ||
"outputs": ["dist/**", "lib/**"] | ||
"dependsOn": ["^compile:js"], | ||
"inputs": ["tsconfig.*", "src/**"], | ||
"outputs": ["dist/**"] | ||
}, | ||
"compile:typedefs": { | ||
"dependsOn": ["clean", "^compile:typedefs"], | ||
"inputs": ["rollup.config.types.mjs", "tsconfig.*", "src/**"], | ||
"outputs": ["declarations/**", "dist/**/*.d.ts", "lib/**/*.d.ts"] | ||
"dependsOn": ["^compile:typedefs"], | ||
"inputs": ["tsconfig.*", "src/**"], | ||
"outputs": ["dist/**/*.d.ts"] | ||
}, | ||
"publish-packages": { | ||
"cache": false, | ||
|
@@ -69,18 +59,18 @@ | |
"outputs": ["*"] | ||
}, | ||
"test:lint": { | ||
"inputs": ["src/**", "test/**"] | ||
"inputs": ["src/**"] | ||
}, | ||
"test:live-with-test-validator": { | ||
"dependsOn": ["^compile:js"], | ||
"inputs": ["babel.config.json", "src/**", "test/**"] | ||
"inputs": ["src/**"] | ||
}, | ||
"test:prettier": { | ||
"inputs": ["*"] | ||
}, | ||
"test:typecheck": { | ||
"dependsOn": ["^compile:typedefs"], | ||
"inputs": ["tsconfig.*", "src/**", "test/**"] | ||
"inputs": ["tsconfig.*", "src/**"] | ||
}, | ||
"test:unit:browser": { | ||
"dependsOn": ["^compile:js"], | ||
|
@@ -99,9 +89,58 @@ | |
"test:treeshakability:node": { | ||
"dependsOn": ["compile:js"] | ||
}, | ||
"@solana/web3.js#build": { | ||
"dependsOn": [ | ||
"clean", | ||
"compile:docs", | ||
"compile:js", | ||
"compile:typedefs", | ||
"test:lint", | ||
"test:live-with-test-validator", | ||
"test:prettier", | ||
"test:typecheck", | ||
"test:unit:node" | ||
], | ||
"outputs": ["doc/**", "declarations/**", "lib/**"] | ||
}, | ||
"@solana/web3.js#clean": { | ||
"outputs": ["doc/**", "declarations/**", "lib/**"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also bunch missing from clean. |
||
}, | ||
"@solana/web3.js#compile:docs": { | ||
"dependsOn": ["clean"], | ||
"inputs": ["src/**"], | ||
"outputs": ["doc/**"] | ||
}, | ||
"@solana/web3.js#compile:js": { | ||
"dependsOn": ["clean", "^compile:js"], | ||
"inputs": ["babel.config.json", "rollup.config.mjs", "tsconfig.*", "src/**"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Babel config was missing. |
||
"outputs": ["lib/**"] | ||
}, | ||
"@solana/web3.js#compile:typedefs": { | ||
"dependsOn": ["clean", "^compile:typedefs"], | ||
"inputs": [ | ||
"rollup.config.types.mjs", | ||
"scripts/typegen.sh", | ||
"src/**", | ||
"test/__shadow-jest-types.d.ts", | ||
"tsconfig.*" | ||
Comment on lines
+122
to
+126
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lots of stuff used in |
||
], | ||
"outputs": ["declarations/**", "lib/**/*.d.ts"] | ||
}, | ||
"@solana/web3.js#test:lint": { | ||
"inputs": ["src/**", "test/**"] | ||
}, | ||
"@solana/web3.js#test:live-with-test-validator": { | ||
"dependsOn": ["^compile:js"], | ||
"inputs": ["src/**", "test/**"] | ||
}, | ||
"@solana/web3.js#test:typecheck": { | ||
"dependsOn": ["^compile:typedefs"], | ||
"inputs": ["src/**", "test/**", "tsconfig.*"] | ||
}, | ||
"@solana/web3.js#test:unit:node": { | ||
"dependsOn": ["^compile:js"], | ||
"inputs": ["babel.config.json", "src/**", "test/**"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tests use |
||
"inputs": ["src/**", "test/**"] | ||
}, | ||
"@solana/web3.js-legacy-sham#compile:typedefs": { | ||
"dependsOn": ["@solana/web3.js#compile:typedefs", "^compile:typedefs"], | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Bunch of outputs missing previously.