create-ponder 0.0.86 → 0.0.88
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalSetup.d.ts","sourceRoot":"","sources":["../../src/_test/globalSetup.ts"],"names":[],"mappings":"AAEA,0CAUC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const dotenv_1 = __importDefault(require("dotenv"));
|
|
7
|
+
async function default_1() {
|
|
8
|
+
dotenv_1.default.config({ path: ".env.local" });
|
|
9
|
+
if (!process.env.ETHERSCAN_API_KEY) {
|
|
10
|
+
console.warn('Environment variable "ETHERSCAN_API_KEY" not found');
|
|
11
|
+
}
|
|
12
|
+
// The create-ponder tests run the codegen command for each test project.
|
|
13
|
+
// We don't want to emit telemetry for these tests; this is a simple way to suppress it.
|
|
14
|
+
process.env.PONDER_TELEMETRY_DISABLED = "true";
|
|
15
|
+
}
|
|
16
|
+
exports.default = default_1;
|
|
17
|
+
//# sourceMappingURL=globalSetup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalSetup.js","sourceRoot":"","sources":["../../src/_test/globalSetup.ts"],"names":[],"mappings":";;;;;AAAA,oDAA4B;AAEb,KAAK;IAClB,gBAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IAEtC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;QAClC,OAAO,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC;KACpE;IAED,yEAAyE;IACzE,wFAAwF;IACxF,OAAO,CAAC,GAAG,CAAC,yBAAyB,GAAG,MAAM,CAAC;AACjD,CAAC;AAVD,4BAUC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-ponder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.88",
|
|
4
4
|
"description": "A CLI tool to create Ponder apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"!src/**/*.test.ts"
|
|
10
10
|
],
|
|
11
11
|
"bin": {
|
|
12
|
-
"ponder": "./dist/bin/create-ponder.js"
|
|
12
|
+
"create-ponder": "./dist/bin/create-ponder.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"cac": "^6.7.14",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"@types/prompts": "^2.4.2",
|
|
30
30
|
"abitype": "^0.6.7",
|
|
31
31
|
"concurrently": "^8.2.0",
|
|
32
|
+
"dotenv": "^16.0.1",
|
|
32
33
|
"tsc-alias": "^1.8.2",
|
|
33
34
|
"typescript": "^5.1.3",
|
|
34
35
|
"vitest": "^0.29.2",
|
|
35
|
-
"@ponder/core": "0.0.
|
|
36
|
+
"@ponder/core": "0.0.88"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
39
|
"build": "pnpm clean && tsc --project tsconfig.build.json && tsc-alias --project tsconfig.build.json",
|
|
39
40
|
"build:watch": "concurrently \"tsc --project tsconfig.build.json --watch\" \"tsc-alias --project tsconfig.build.json --watch\"",
|
|
40
41
|
"clean": "rimraf ./dist",
|
|
41
|
-
"test": "
|
|
42
|
-
"test:ci": "vitest --no-threads",
|
|
42
|
+
"test": "vitest --no-threads",
|
|
43
43
|
"typecheck": "tsc --project tsconfig.json --noEmit"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import dotenv from "dotenv";
|
|
2
|
+
|
|
3
|
+
export default async function () {
|
|
4
|
+
dotenv.config({ path: ".env.local" });
|
|
5
|
+
|
|
6
|
+
if (!process.env.ETHERSCAN_API_KEY) {
|
|
7
|
+
console.warn('Environment variable "ETHERSCAN_API_KEY" not found');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// The create-ponder tests run the codegen command for each test project.
|
|
11
|
+
// We don't want to emit telemetry for these tests; this is a simple way to suppress it.
|
|
12
|
+
process.env.PONDER_TELEMETRY_DISABLED = "true";
|
|
13
|
+
}
|