Add Turborepo config
This commit is contained in:
parent
0bae8d8c15
commit
e81d76c9b9
|
@ -22,6 +22,7 @@
|
||||||
"build:typedefs": "tsc -p ./tsconfig.declarations.json",
|
"build:typedefs": "tsc -p ./tsconfig.declarations.json",
|
||||||
"dev": "pnpm run build --watch",
|
"dev": "pnpm run build --watch",
|
||||||
"lint": "eslint 'src/**'",
|
"lint": "eslint 'src/**'",
|
||||||
|
"package": "turbo build build:typedefs lint verifyTreeShakability:browser verifyTreeShakability:native verifyTreeShakability:node",
|
||||||
"verifyTreeShakability:browser": "agadoo dist/index.browser.esm.js",
|
"verifyTreeShakability:browser": "agadoo dist/index.browser.esm.js",
|
||||||
"verifyTreeShakability:native": "agadoo dist/index.node.esm.js",
|
"verifyTreeShakability:native": "agadoo dist/index.node.esm.js",
|
||||||
"verifyTreeShakability:node": "agadoo dist/index.native.esm.js"
|
"verifyTreeShakability:node": "agadoo dist/index.native.esm.js"
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
"postcss": "^8.4.12",
|
"postcss": "^8.4.12",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tsup": "6.5.0",
|
"tsup": "6.5.0",
|
||||||
|
"turbo": "^1.6.3",
|
||||||
"typescript": "^4.1.0"
|
"typescript": "^4.1.0"
|
||||||
},
|
},
|
||||||
"prettier": "@solana/prettier-config-solana"
|
"prettier": "@solana/prettier-config-solana"
|
||||||
|
|
|
@ -13,6 +13,7 @@ specifiers:
|
||||||
postcss: ^8.4.12
|
postcss: ^8.4.12
|
||||||
prettier: ^2.7.1
|
prettier: ^2.7.1
|
||||||
tsup: 6.5.0
|
tsup: 6.5.0
|
||||||
|
turbo: ^1.6.3
|
||||||
typescript: ^4.1.0
|
typescript: ^4.1.0
|
||||||
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
|
@ -28,6 +29,7 @@ devDependencies:
|
||||||
postcss: 8.4.19
|
postcss: 8.4.19
|
||||||
prettier: 2.7.1
|
prettier: 2.7.1
|
||||||
tsup: 6.5.0_j4koh6z2qnvd5xcruq5qfe7xxu
|
tsup: 6.5.0_j4koh6z2qnvd5xcruq5qfe7xxu
|
||||||
|
turbo: 1.6.3
|
||||||
typescript: 4.9.3
|
typescript: 4.9.3
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
@ -1691,6 +1693,67 @@ packages:
|
||||||
typescript: 4.9.3
|
typescript: 4.9.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/turbo-darwin-64/1.6.3:
|
||||||
|
resolution: {integrity: sha512-QmDIX0Yh1wYQl0bUS0gGWwNxpJwrzZU2GIAYt3aOKoirWA2ecnyb3R6ludcS1znfNV2MfunP+l8E3ncxUHwtjA==}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [darwin]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
/turbo-darwin-arm64/1.6.3:
|
||||||
|
resolution: {integrity: sha512-75DXhFpwE7CinBbtxTxH08EcWrxYSPFow3NaeFwsG8aymkWXF+U2aukYHJA6I12n9/dGqf7yRXzkF0S/9UtdyQ==}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [darwin]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
/turbo-linux-64/1.6.3:
|
||||||
|
resolution: {integrity: sha512-O9uc6J0yoRPWdPg9THRQi69K6E2iZ98cRHNvus05lZbcPzZTxJYkYGb5iagCmCW/pq6fL4T4oLWAd6evg2LGQA==}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
/turbo-linux-arm64/1.6.3:
|
||||||
|
resolution: {integrity: sha512-dCy667qqEtZIhulsRTe8hhWQNCJO0i20uHXv7KjLHuFZGCeMbWxB8rsneRoY+blf8+QNqGuXQJxak7ayjHLxiA==}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [linux]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
/turbo-windows-64/1.6.3:
|
||||||
|
resolution: {integrity: sha512-lKRqwL3mrVF09b9KySSaOwetehmGknV9EcQTF7d2dxngGYYX1WXoQLjFP9YYH8ZV07oPm+RUOAKSCQuDuMNhiA==}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [win32]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
/turbo-windows-arm64/1.6.3:
|
||||||
|
resolution: {integrity: sha512-BXY1sDPEA1DgPwuENvDCD8B7Hb0toscjus941WpL8CVd10hg9pk/MWn9CNgwDO5Q9ks0mw+liDv2EMnleEjeNA==}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [win32]
|
||||||
|
requiresBuild: true
|
||||||
|
dev: true
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
/turbo/1.6.3:
|
||||||
|
resolution: {integrity: sha512-FtfhJLmEEtHveGxW4Ye/QuY85AnZ2ZNVgkTBswoap7UMHB1+oI4diHPNyqrQLG4K1UFtCkjOlVoLsllUh/9QRw==}
|
||||||
|
hasBin: true
|
||||||
|
requiresBuild: true
|
||||||
|
optionalDependencies:
|
||||||
|
turbo-darwin-64: 1.6.3
|
||||||
|
turbo-darwin-arm64: 1.6.3
|
||||||
|
turbo-linux-64: 1.6.3
|
||||||
|
turbo-linux-arm64: 1.6.3
|
||||||
|
turbo-windows-64: 1.6.3
|
||||||
|
turbo-windows-arm64: 1.6.3
|
||||||
|
dev: true
|
||||||
|
|
||||||
/type-check/0.4.0:
|
/type-check/0.4.0:
|
||||||
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
|
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
|
||||||
engines: {node: '>= 0.8.0'}
|
engines: {node: '>= 0.8.0'}
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://turbo.build/schema.json",
|
||||||
|
"pipeline": {
|
||||||
|
"build": {
|
||||||
|
"outputs": ["dist/**"]
|
||||||
|
},
|
||||||
|
"build:typedefs": {
|
||||||
|
"dependsOn": ["build"],
|
||||||
|
"outputs": ["dist/**"]
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
"verifyTreeShakability:browser": {
|
||||||
|
"dependsOn": ["build"],
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
"verifyTreeShakability:native": {
|
||||||
|
"dependsOn": ["build"],
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
|
"verifyTreeShakability:node": {
|
||||||
|
"dependsOn": ["build"],
|
||||||
|
"outputs": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue