create-ponder 0.17.4 → 0.17.5

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 +61 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { default as prompts } from "prompts";
16
16
  // package.json
17
17
  var package_default = {
18
18
  name: "create-ponder",
19
- version: "0.17.4",
19
+ version: "0.17.5",
20
20
  type: "module",
21
21
  description: "CLI tool to create Ponder projects",
22
22
  license: "MIT",
@@ -117,10 +117,69 @@ var mergeAbis = (abis) => {
117
117
  // src/helpers/notifyUpdate.ts
118
118
  import pico2 from "picocolors";
119
119
  import checkForUpdate from "update-check";
120
+
121
+ // package.json with { type: 'json' }
122
+ var package_default2 = {
123
+ name: "create-ponder",
124
+ version: "0.17.5",
125
+ type: "module",
126
+ description: "CLI tool to create Ponder projects",
127
+ license: "MIT",
128
+ repository: {
129
+ type: "git",
130
+ url: "https://github.com/ponder-sh/ponder",
131
+ directory: "packages/create-ponder"
132
+ },
133
+ files: [
134
+ "dist",
135
+ "templates",
136
+ "README.md",
137
+ "LICENSE"
138
+ ],
139
+ bin: {
140
+ "create-ponder": "./dist/index.js"
141
+ },
142
+ scripts: {
143
+ build: "tsup",
144
+ test: "vitest run",
145
+ "test:bun": "bun test",
146
+ typecheck: "tsc --noEmit"
147
+ },
148
+ dependencies: {
149
+ cac: "^6.7.14",
150
+ cpy: "^11.0.0",
151
+ execa: "^8.0.1",
152
+ "fs-extra": "^11.1.1",
153
+ ora: "^7.0.1",
154
+ picocolors: "^1.0.0",
155
+ prettier: "^3.1.0",
156
+ prompts: "^2.4.2",
157
+ "update-check": "^1.5.4",
158
+ "validate-npm-package-name": "^5.0.0",
159
+ viem: "2.35.0",
160
+ yaml: "^2.3.4"
161
+ },
162
+ devDependencies: {
163
+ "@types/fs-extra": "^11.0.4",
164
+ "@types/node": "^22.0.0",
165
+ "@types/prompts": "^2.4.9",
166
+ "@types/validate-npm-package-name": "^4.0.2",
167
+ abitype: "^0.10.2",
168
+ dotenv: "^16.3.1",
169
+ rimraf: "^5.0.5",
170
+ tsup: "^8.0.1",
171
+ vitest: "1.6.1"
172
+ },
173
+ engines: {
174
+ node: ">=22"
175
+ }
176
+ };
177
+
178
+ // src/helpers/notifyUpdate.ts
120
179
  var log = console.log;
121
180
  async function notifyUpdate({ options }) {
122
181
  try {
123
- const res = await checkForUpdate.default(package_default);
182
+ const res = await checkForUpdate.default(package_default2);
124
183
  if (res?.latest) {
125
184
  const packageManager = getPackageManager({ options });
126
185
  const updateMessage = packageManager === "bun" ? "bun install --global create-ponder" : packageManager === "pnpm" ? "pnpm add -g create-ponder" : packageManager === "npm" ? "npm install -g create-ponder" : "yarn global add create-ponder";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ponder",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "type": "module",
5
5
  "description": "CLI tool to create Ponder projects",
6
6
  "license": "MIT",