diff --git a/CHANGELOG.md b/CHANGELOG.md index b1955198..e4f7769a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ This changelog contains changes starting from version v0.1.0 Update registry interface so that a contract can be added as multiple types +- Include constants and datatypes in npm package [#119](https://github.com/safe-global/safe-core-protocol/pull/119/files) + # Version 0.2.1 Alpha ## Safe{Core} Protocol contracts diff --git a/package.json b/package.json index d8c36cea..852638d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@safe-global/safe-core-protocol", - "version": "0.3.0-alpha.1", + "version": "0.3.0-alpha.2", "description": "Safe{Core} Protocol contracts", "main": "dist/deployments.js", "repository": { @@ -12,8 +12,6 @@ "files": [ "contracts", "dist", - "scripts", - "test", "artifacts", "deployments.ts" ], diff --git a/test/utils/dataTypes.ts b/src/utils/dataTypes.ts similarity index 100% rename from test/utils/dataTypes.ts rename to src/utils/dataTypes.ts diff --git a/tsconfig.json b/tsconfig.json index 2fa02162..a262765d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "allowJs": false /* Allow javascript files to be compiled. */, "declaration": true /* Generates corresponding '.d.ts' file. */, "sourceMap": false /* Generates corresponding '.map' file. */, - "outDir": "./dist" /* Redirect output structure to the directory. */, + "outDir": "dist" /* Redirect output structure to the directory. */, "strict": true /* Enable all strict type-checking options. */, "noUnusedParameters": true /* Report errors on unused parameters. */, "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, @@ -18,6 +18,6 @@ "resolveJsonModule": true }, "exclude": ["dist", "node_modules"], - "include": ["./src/index.ts", "./types", "./test/**/*", "./**/*.ts"], - "files": ["./deployments.ts"] + "include": ["./types", "./test/**/*", "./**/*.ts"], + "files": ["./deployments.ts", "./src/utils/constants.ts", "./src/utils/dataTypes.ts"] }