Skip to content

Commit

Permalink
strip down everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Feb 23, 2024
1 parent f02430d commit 9dff56c
Show file tree
Hide file tree
Showing 62 changed files with 73 additions and 538 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"license": "MIT",
"scripts": {
"reset:hard": "yarn reset && sh ./tools/scripts/reset.sh",
"reset:dev": "yarn tools --remove-local-dev",
"reset": "rm -rf ./dist/packages && yarn reset:dev",
"build": "yarn build:packages",
"build:packages": "yarn gen:internal-dev && yarn update:contracts && yarn tools check --no-empty-directories=true && yarn tools fixTsConfig && yarn reset && yarn tools --build --packages && yarn tools --postBuild && yarn tools --setup-local-dev && yarn postBuild:mapDepsToDist && yarn prettier && yarn gen:readme && yarn build:verify",
"build:packages": "yarn gen:internal-dev && yarn update:contracts && yarn tools check --no-empty-directories=true && yarn tools fixTsConfig && yarn tools --build --packages && yarn gen:readme && yarn build:verify",
"build:target": "yarn node tools/scripts/build.mjs",
"build:setupLocalDev": "yarn tools --setup-local-dev",
"build:verify": "yarn tools --verify",
Expand Down Expand Up @@ -35,7 +33,6 @@
"gen:html": "yarn node ./tools/scripts/gen-html.mjs",
"gen:react": "yarn node ./tools/scripts/gen-react.mjs",
"gen:nodejs": "yarn node ./tools/scripts/gen-nodejs.mjs",
"gen:lib": "yarn node ./tools/scripts/gen-lib.mjs",
"gen:docs": "node ./tools/scripts/gen-doc.mjs",
"gen:readme": "yarn node ./tools/scripts/gen-readme.mjs",
"gen:contracts": "node node_modules/@getlit/contracts",
Expand Down
4 changes: 1 addition & 3 deletions packages/access-control-conditions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@
"tags": [
"universal"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
12 changes: 0 additions & 12 deletions packages/access-control-conditions/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"yarn build:target constants --skip",
"yarn build:target misc --skip",
"yarn build:target uint8arrays --skip",
"yarn build:target access-control-conditions"
],
"parallel": false
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/auth-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@
"tags": [
"browser"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
12 changes: 0 additions & 12 deletions packages/auth-browser/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"yarn build:target constants --skip",
"yarn build:target misc --skip",
"yarn build:target uint8arrays --skip",
"yarn build:target auth-browser"
],
"parallel": false
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/auth-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@
"crypto": false,
"stream": false
},
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
6 changes: 0 additions & 6 deletions packages/auth-helpers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target auth-helpers"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/bls-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@
"buildOptions": {
"genReact": false
},
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
6 changes: 0 additions & 6 deletions packages/bls-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target bls-sdk"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@
"tags": [
"universal"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
7 changes: 0 additions & 7 deletions packages/constants/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target constants"
}
},

"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
40 changes: 20 additions & 20 deletions packages/constants/src/lib/constants/autogen_internal.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Last Modified: 2024-02-22 05:04:32
// This file is auto-generated by tools/scripts/gen-internal-dev.mjs
// Last Modified: 2024-02-23 01:28:13
// This file is auto-generated by tools/scripts/gen-internal-dev.mjs
export const INTERNAL_DEV = [
'https://167.114.17.205:443',
'https://64.131.85.108:443',
'https://199.115.117.113:443',
'https://199.115.117.115:443',
'https://108.62.0.105:443',
'https://64.131.85.106:443',
'https://167.114.17.201:443',
'https://167.114.17.204:443',
"https://167.114.17.205:443",
"https://64.131.85.108:443",
"https://199.115.117.113:443",
"https://199.115.117.115:443",
"https://108.62.0.105:443",
"https://64.131.85.106:443",
"https://167.114.17.201:443",
"https://167.114.17.204:443"
];

export const INTERNAL_MIN_NODE_COUNT = 2;
Expand All @@ -18,15 +18,15 @@ export const INTERNAL_DEFAULT_CONFIG = {
minNodeCount: 2,
debug: true,
bootstrapUrls: [
'https://167.114.17.205:443',
'https://64.131.85.108:443',
'https://199.115.117.113:443',
'https://199.115.117.115:443',
'https://108.62.0.105:443',
'https://64.131.85.106:443',
'https://167.114.17.201:443',
'https://167.114.17.204:443',
],
"https://167.114.17.205:443",
"https://64.131.85.108:443",
"https://199.115.117.113:443",
"https://199.115.117.115:443",
"https://108.62.0.105:443",
"https://64.131.85.106:443",
"https://167.114.17.201:443",
"https://167.114.17.204:443"
],
litNetwork: 'internalDev',
connectTimeout: 20000,
};
};
4 changes: 1 addition & 3 deletions packages/contracts-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,5 @@
"tags": [
"universal"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
9 changes: 0 additions & 9 deletions packages/contracts-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"yarn build:target constants --skip",
"yarn build:target contracts-sdk"
]
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
22 changes: 11 additions & 11 deletions packages/contracts-sdk/src/abis/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export * from './StakingBalances.sol/StakingBalances.ts';
export * from './Staking.sol/Staking.ts';
export * from './Multisender.sol/Multisender.ts';
export * from './LITToken.sol/LITToken.ts';
export * from './PubkeyRouter.sol/PubkeyRouter.ts';
export * from './PKPNFT.sol/PKPNFT.ts';
export * from './RateLimitNFT.sol/RateLimitNFT.ts';
export * from './PKPHelper.sol/PKPHelper.ts';
export * from './PKPPermissions.sol/PKPPermissions.ts';
export * from './PKPNFTMetadata.sol/PKPNFTMetadata.ts';
export * from './Allowlist.sol/Allowlist.ts';
export * from "./StakingBalances.sol/StakingBalances.ts";
export * from "./Staking.sol/Staking.ts";
export * from "./Multisender.sol/Multisender.ts";
export * from "./LITToken.sol/LITToken.ts";
export * from "./PubkeyRouter.sol/PubkeyRouter.ts";
export * from "./PKPNFT.sol/PKPNFT.ts";
export * from "./RateLimitNFT.sol/RateLimitNFT.ts";
export * from "./PKPHelper.sol/PKPHelper.ts";
export * from "./PKPPermissions.sol/PKPPermissions.ts";
export * from "./PKPNFTMetadata.sol/PKPNFTMetadata.ts";
export * from "./Allowlist.sol/Allowlist.ts";
4 changes: 1 addition & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@
},
"tags": [
"universal"
],
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
]
}
6 changes: 0 additions & 6 deletions packages/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target core"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@
"tags": [
"universal"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
6 changes: 0 additions & 6 deletions packages/crypto/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target crypto"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/ecdsa-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@
"tags": [
"universal"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
6 changes: 0 additions & 6 deletions packages/ecdsa-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target ecdsa-sdk"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@
"crypto": false,
"stream": false
},
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
12 changes: 0 additions & 12 deletions packages/encryption/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"yarn build:target constants --skip",
"yarn build:target misc --skip",
"yarn build:target uint8arrays --skip",
"yarn build:target encryption"
],
"parallel": false
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/lit-auth-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@
"@simplewebauthn/browser": "^7.2.0",
"@simplewebauthn/typescript-types": "^7.0.0",
"nanoid": "3.3.4"
},
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
}
}
6 changes: 0 additions & 6 deletions packages/lit-auth-client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target lit-auth-client"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
4 changes: 1 addition & 3 deletions packages/lit-node-client-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@
"tags": [
"nodejs"
],
"version": "3.2.1",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts"
"version": "3.2.1"
}
6 changes: 0 additions & 6 deletions packages/lit-node-client-nodejs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"command": "yarn build:target lit-node-client-nodejs"
}
},
"_buildTsc": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
Expand Down
Loading

0 comments on commit 9dff56c

Please sign in to comment.