create-ponder 0.0.7 → 0.0.8

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/README.md CHANGED
@@ -1 +1,7 @@
1
- # Go to [docs on GitHub](https://github.com/0xOlias/ponder#readme)
1
+ # create-ponder
2
+
3
+ `create-ponder` is a CLI tool for creating projects using the Ponder framework.
4
+
5
+ ## Documentation
6
+
7
+ For full documentation, visit [ponder.sh](https://ponder.sh/getting-started).
package/dist/index.js CHANGED
@@ -226,7 +226,7 @@ services:
226
226
  buildCommand: ${packageManager} install
227
227
  startCommand: ${runCommand} start
228
228
  envVars:
229
- - key: POSTGRES_URL
229
+ - key: DATABASE_URL
230
230
  fromDatabase:
231
231
  name: ponder-db
232
232
  property: connectionString
@@ -77,7 +77,10 @@ const fromEtherscan = async (options) => {
77
77
  ponderRootDir,
78
78
  abiRelativePath
79
79
  );
80
- (0, import_node_fs.writeFileSync)(abiAbsolutePath, abi);
80
+ (0, import_node_fs.writeFileSync)(
81
+ abiAbsolutePath,
82
+ import_prettier.default.format(abi, { parser: "json" })
83
+ );
81
84
  const schemaGraphqlFileContents = `
82
85
  type ExampleEntity @entity {
83
86
  id: ID!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ponder",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Tool to bootstrap a Ponder project",
5
5
  "license": "MIT",
6
6
  "author": "olias.eth",