@subql/frontier-evm-processor 0.0.3-3 → 0.0.3-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@subql/frontier-evm-processor",
3
- "version": "0.0.3-3",
3
+ "version": "0.0.3-4",
4
4
  "description": "SubQuery datasource processor for Frontier EVM",
5
5
  "main": "dist/index.js",
6
6
  "author": "Subquery Pte Limited",
7
7
  "license": "Apache-2.0",
8
8
  "scripts": {
9
9
  "build:ts": "tsc -b",
10
- "build:bundle": "esbuild src/index.ts --platform=node --bundle --format=cjs --minify --outfile=dist/bundle.js",
11
- "build": "yarn build:ts && yarn build:bundle"
10
+ "build:bundle": "esbuild src/bundle.ts --platform=node --bundle --format=cjs --minify --outfile=dist/bundle.js",
11
+ "build": "rm -rf dist && yarn build:ts && yarn build:bundle"
12
12
  },
13
13
  "dependencies": {
14
14
  "@subql/types": "latest",
@@ -26,5 +26,5 @@
26
26
  "peerDependencies": {
27
27
  "@polkadot/api": "^9"
28
28
  },
29
- "stableVersion": "0.0.3-2"
29
+ "stableVersion": "0.0.3-3"
30
30
  }
package/src/bundle.ts ADDED
@@ -0,0 +1,6 @@
1
+ // Copyright 2020-2022 OnFinality Limited authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ import DatasourcePlugin from '.';
5
+
6
+ export default DatasourcePlugin;
package/tsconfig.json CHANGED
@@ -3,12 +3,11 @@
3
3
  "compilerOptions": {
4
4
  "target": "es2017",
5
5
  "sourceMap": true,
6
- "tsBuildInfoFile": "dist/.tsbuildinfo",
7
6
  "rootDir": "./src",
8
7
  "outDir": "./dist",
9
8
  },
10
9
  "include": [
11
10
  "src/**/*"
12
11
  ],
13
- "exclude": ["**/*spec.ts"]
12
+ "exclude": ["**/*spec.ts", "src/bundle.ts"]
14
13
  }