popii-framework 0.6.1-beta.0 → 0.6.1-beta.1

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/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -170,7 +170,7 @@ async function scaffoldProject(opts) {
170
170
  version: "1.0.0",
171
171
  private: true,
172
172
  scripts: { dev: "popii dev", start: "bun src/index.ts" },
173
- dependencies: { popii: "latest", "discord.js": djsVersion, ...builtinDeps, ...communityDeps },
173
+ dependencies: { "popii-framework": "latest", "discord.js": djsVersion, ...builtinDeps, ...communityDeps },
174
174
  devDependencies: { "@types/bun": "latest" }
175
175
  };
176
176
  await Bun.write(join(targetDir, "package.json"), JSON.stringify(pkgJson, null, 2));
@@ -223,7 +223,7 @@ services:
223
223
  restart: unless-stopped
224
224
  `);
225
225
  }
226
- const builtinImport = plugins.length > 0 ? `import { popiiClient, ${plugins.join(", ")} } from "popii";` : `import { popiiClient } from "popii";`;
226
+ const builtinImport = plugins.length > 0 ? `import { popiiClient, ${plugins.join(", ")} } from "popii-framework";` : `import { popiiClient } from "popii-framework";`;
227
227
  const communityImportLines = communityPlugins.map((cp) => `import { ${cp.exportName} } from "${cp.npmName}";`).join(`
228
228
  `);
229
229
  const imports = communityImportLines ? `${builtinImport}
@@ -257,7 +257,7 @@ process.on("SIGINT", async () => {
257
257
  });
258
258
  `;
259
259
  await Bun.write(join(targetDir, "src", "index.ts"), indexTs);
260
- const pingTs = `import { command } from "popii";
260
+ const pingTs = `import { command } from "popii-framework";
261
261
 
262
262
  export default command({
263
263
  name: "ping",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "popii-framework",
3
- "version": "0.6.1-beta.0",
3
+ "version": "0.6.1-beta.1",
4
4
  "description": "A convention-first Discord bot framework",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.loveyourmaid.moe",