create-ponder 0.0.1 → 0.0.3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +14 -14
package/dist/index.js CHANGED
@@ -132,7 +132,7 @@ const run = async (options) => {
132
132
  const finalPonderConfig = `const { graphqlPlugin } = require("@ponder/graphql");
133
133
 
134
134
  /**
135
- * @type {import('@ponder/ponder').PonderConfig}
135
+ * @type {import('@ponder/core').PonderConfig}
136
136
  */
137
137
  const ponderConfig = {
138
138
  plugins: [graphqlPlugin()],
@@ -164,7 +164,6 @@ module.exports = ponderConfig;`;
164
164
  );
165
165
  const packageJson = `
166
166
  {
167
- "version": "0.1.0",
168
167
  "private": true,
169
168
  "scripts": {
170
169
  "dev": "ponder dev",
@@ -172,7 +171,7 @@ module.exports = ponderConfig;`;
172
171
  "codegen": "ponder codegen"
173
172
  },
174
173
  "dependencies": {
175
- "@ponder/ponder": "latest",
174
+ "@ponder/core": "latest",
176
175
  "@ponder/graphql": "latest"
177
176
  },
178
177
  "devDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ponder",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Tool to bootstrap a Ponder project",
5
5
  "license": "MIT",
6
6
  "author": "olias.eth",
@@ -10,6 +10,17 @@
10
10
  "bin": {
11
11
  "create-ponder": "./dist/bin/create-ponder"
12
12
  },
13
+ "scripts": {
14
+ "clean": "rm -rf dist",
15
+ "lint": "(tsc || exit 0) && eslint src",
16
+ "format": "prettier src --write",
17
+ "replace-paths": "tsconfig-replace-paths --src src",
18
+ "esbuild": "esbuild `find src \\( -name '*.ts' \\)` --platform=node --format=cjs --outdir=dist && $npm_execpath run replace-paths",
19
+ "build": "$npm_execpath run clean && $npm_execpath run esbuild && mv dist/bin/create-ponder.js dist/bin/create-ponder",
20
+ "format-dist": "prettier dist --write --loglevel warn",
21
+ "prerelease": "$npm_execpath run build && $npm_execpath run format-dist",
22
+ "release": "$npm_execpath run prerelease && VERSION=$(npm version patch) && npm publish && git add ./package.json && git commit -m \"release(create-ponder): $VERSION\""
23
+ },
13
24
  "dependencies": {
14
25
  "@ethersproject/abi": "^5.6.4",
15
26
  "@ethersproject/providers": "^5.6.8",
@@ -17,7 +28,7 @@
17
28
  "commander": "^9.4.0",
18
29
  "ethers": "^5.6.9",
19
30
  "execa": "5",
20
- "node-fetch": ">=2.6.7",
31
+ "node-fetch": "^2.6.7",
21
32
  "prettier": "^2.6.2",
22
33
  "yaml": "^2.1.1"
23
34
  },
@@ -28,16 +39,5 @@
28
39
  "esbuild": "^0.15.2",
29
40
  "tsconfig-replace-paths": "^0.0.11",
30
41
  "typescript": "^4.5.5"
31
- },
32
- "scripts": {
33
- "clean": "rm -rf dist",
34
- "lint": "(tsc || exit 0) && eslint src",
35
- "format": "prettier src --write",
36
- "replace-paths": "tsconfig-replace-paths --src src",
37
- "esbuild": "esbuild `find src \\( -name '*.ts' \\)` --platform=node --format=cjs --outdir=dist && $npm_execpath run replace-paths",
38
- "build": "$npm_execpath run clean && $npm_execpath run esbuild && mv dist/bin/create-ponder.js dist/bin/create-ponder",
39
- "format-dist": "prettier dist --write --loglevel warn",
40
- "prerelease": "$npm_execpath run build && $npm_execpath run format-dist",
41
- "release": "$npm_execpath run prerelease && VERSION=$($npm_execpath version patch) && $npm_execpath publish && git add ./package.json && git commit -m \"release(create-ponder): $VERSION\""
42
42
  }
43
- }
43
+ }