Skip to content

Commit

Permalink
fix: add missing "package" script and missing artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Mar 28, 2024
1 parent 8d1c601 commit f713935
Show file tree
Hide file tree
Showing 28 changed files with 66 additions and 34 deletions.
4 changes: 2 additions & 2 deletions packages/lsp0-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lsp1-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [],
contracts: ['ILSP1UniversalReceiver', 'ILSP1UniversalReceiverDelegate'],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp1-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@openzeppelin/contracts": "^4.9.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/lsp14-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: ['LSP14Ownable2Step'],
contracts: ['ILSP14Ownable2Step', 'LSP14Ownable2Step'],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp14-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp16-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:foundry": "forge build",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"test": "hardhat test --no-compile tests/*.test.ts",
"test:foundry": "FOUNDRY_PROFILE=lsp16 forge test --no-match-test Skip -vvv",
"test:coverage": "hardhat coverage"
"test:coverage": "hardhat coverage",
"package": "hardhat prepare-package"
},
"dependencies": {
"@openzeppelin/contracts": "^4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/lsp17-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [],
contracts: ['Extension4337', 'OnERC721ReceivedExtension'],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp17-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [],
contracts: ['LSP17Extendable', 'LSP17Extension'],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp17contractextension-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp1delegate-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lsp20-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [],
contracts: ['ILSP20CallVerifier', 'LSP20CallVerification'],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp20-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
}
}
8 changes: 7 additions & 1 deletion packages/lsp23-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,13 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: ['LSP23LinkedContractsFactory', 'IPostDeploymentModule'],
contracts: [
'ILSP23LinkedContractsFactory',
'LSP23LinkedContractsFactory',
'IPostDeploymentModule',
'UniversalProfilePostDeploymentModule',
'UniversalProfileInitPostDeploymentModule',
],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp23-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lsp25-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const config: HardhatUserConfig = {
},
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [],
contracts: ['ILSP25ExecuteRelayCall'],
// Whether to include the TypeChain factories or not.
// If this is enabled, you need to run the TypeChain files through the TypeScript compiler before shipping to the registry.
includeFactories: true,
Expand Down
4 changes: 3 additions & 1 deletion packages/lsp25-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"test": "hardhat test --no-compile tests/*.test.ts",
"test:coverage": "hardhat coverage"
"test:coverage": "hardhat coverage",
"package": "hardhat prepare-package"
},
"dependencies": {
"@openzeppelin/contracts": "^4.9.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp4-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
Expand All @@ -45,7 +44,8 @@
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"test": "hardhat test --no-compile tests/*.test.ts",
"test:coverage": "hardhat coverage"
"test:coverage": "hardhat coverage",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/lsp5-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/lsp6-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const config: HardhatUserConfig = {
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [
'ILSP6KeyManager',
'LSP6KeyManager', // Standard version
'LSP6KeyManagerInit', // Proxy version
],
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp6-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:foundry": "forge build",
"build:js": "unbuild",
Expand All @@ -45,7 +44,8 @@
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"test:foundry": "FOUNDRY_PROFILE=lsp6 forge test --no-match-test Skip -vvv"
"test:foundry": "FOUNDRY_PROFILE=lsp6 forge test --no-match-test Skip -vvv",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/lsp7-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,17 @@ const config: HardhatUserConfig = {
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [
'ILSP7DigitalAsset',
// Standard version
// ------------------
'LSP7DigitalAsset',
'LSP7Burnable',
'LSP7CappedSupply',
'LSP7Mintable',
// Proxy version
// ------------------
'LSP7DigitalAssetInitAbstract',
'LSP7BurnableInitAbstract',
'LSP7CappedSupplyInitAbstract',
'LSP7MintableInit',
],
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp7-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/lsp8-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,20 @@ const config: HardhatUserConfig = {
packager: {
// What contracts to keep the artifacts and the bindings for.
contracts: [
'ILSP8IdentifiableDigitalAsset',
// Standard version
// ------------------
'LSP8IdentifiableDigitalAsset',
'LSP8Burnable',
'LSP8CappedSupply',
'LSP8Enumerable',
'LSP8Mintable',
// Proxy version
// ------------------
'LSP8IdentifiableDigitalAssetInitAbstract',
'LSP8BurnableInitAbstract',
'LSP8CappedSupplyInitAbstract',
'LSP8EnumerableInitAbstract',
'LSP8MintableInit',
],
// Whether to include the TypeChain factories or not.
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp8-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp9-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"Solidity"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:js": "unbuild",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/universalprofile-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
],
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:types": "npx wagmi generate",
"clean": "hardhat clean && rm -Rf dist/",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'"
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"./README.md"
],
"scripts": {
"package": "hardhat prepare-package",
"build": "hardhat compile --show-stack-traces",
"build:foundry": "forge build",
"build:js": "unbuild",
Expand All @@ -47,7 +46,8 @@
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"test": "hardhat test --no-compile tests/*.test.ts",
"test:foundry": "FOUNDRY_PROFILE=lspN forge test --no-match-test Skip -vvv",
"test:coverage": "hardhat coverage"
"test:coverage": "hardhat coverage",
"package": "hardhat prepare-package"
},
"dependencies": {
"@erc725/smart-contracts": "^7.0.0",
Expand Down

0 comments on commit f713935

Please sign in to comment.