Skip to content

Commit

Permalink
Split the dependency between compile:typedefs and the legacy library (
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher authored Mar 23, 2024
1 parent 38000cb commit 6135928
Showing 1 changed file with 64 additions and 25 deletions.
89 changes: 64 additions & 25 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"],
Expand All @@ -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/**"]
},
"@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/**"],
"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.*"
],
"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/**"]
"inputs": ["src/**", "test/**"]
},
"@solana/web3.js-legacy-sham#compile:typedefs": {
"dependsOn": ["@solana/web3.js#compile:typedefs", "^compile:typedefs"],
Expand Down

0 comments on commit 6135928

Please sign in to comment.