Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: decrease npm build, bundle size #169

Merged
merged 3 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/txwrapper-core/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ignore the main src folder
/src

# Ignore test-helper folders
/lib/test-helpers

# Ignore all test files
/**/*.spec.*

# Ignore tsconfig build
/tsconfig.build.json
3 changes: 0 additions & 3 deletions packages/txwrapper-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "1.4.0",
"author": "Parity Technologies <admin@parity.io>",
"description": "Core components for creating a txwrapper lib.",
"files": [
"lib"
],
"license": "Apache-2.0",
"main": "lib/index.js",
"publishConfig": {
Expand Down
11 changes: 11 additions & 0 deletions packages/txwrapper-polkadot/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ignore main src folder
/src

# Ignore test-helpers
/lib/test-helpers

# Ignore all tests
/**/*.spec.*

# Ignore tsconfig build
/tsconfig.build.json
3 changes: 0 additions & 3 deletions packages/txwrapper-polkadot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "1.4.0",
"author": "Parity Technologies <admin@parity.io>",
"description": "Helper functions for Polkadot, Kusama, Rococo and Westend offline transaction generation.",
"files": [
"lib"
],
"license": "Apache-2.0",
"main": "lib/index.js",
"publishConfig": {
Expand Down
11 changes: 11 additions & 0 deletions packages/txwrapper-registry/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ignore the main src folder
/src

# Ignore test-helper folders
/lib/test-helpers

# Ignore all test files
/**/*.spec.*

# Ignore tsconfig build
/tsconfig.build.json
3 changes: 0 additions & 3 deletions packages/txwrapper-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "1.4.0",
"author": "Parity Technologies <admin@parity.io>",
"description": "Polkadot-js type registry creation assistants for txwrapper libraries.",
"files": [
"lib"
],
"license": "Apache-2.0",
"main": "lib/index.js",
"publishConfig": {
Expand Down
11 changes: 11 additions & 0 deletions packages/txwrapper-substrate/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ignore the main src folder
/src

# Ignore test-helper folders
/lib/test-helpers

# Ignore all test files
/**/*.spec.*

# Ignore tsconfig build
/tsconfig.build.json
3 changes: 0 additions & 3 deletions packages/txwrapper-substrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "1.4.0",
"author": "Parity Technologies <admin@parity.io>",
"description": "Selected dispatchables of Substrate pallets, to be re-exported by txwrappers.",
"files": [
"lib"
],
"license": "Apache-2.0",
"main": "lib/index.js",
"publishConfig": {
Expand Down
6 changes: 0 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
"compilerOptions": {
"baseUrl": "./packages",
"paths": {
"txwrapper-acala": [
"txwrapper-acala/src"
],
"txwrapper-acala/*": [
"txwrapper-acala/src/*"
],
"@substrate/txwrapper-core": [
"txwrapper-core/src"
],
Expand Down