playcademy 0.13.15 → 0.13.16

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/dist/index.js CHANGED
@@ -5735,10 +5735,10 @@ import { writeFileSync as writeFileSync4 } from "fs";
5735
5735
  import { dirname as dirname4, join as join10 } from "path";
5736
5736
  import { fileURLToPath as fileURLToPath2 } from "url";
5737
5737
  var playcademyEnvTemplate = loadTemplateString("playcademy-env.d.ts");
5738
- async function ensurePlaycademyTypes(configPath) {
5738
+ async function ensurePlaycademyTypes() {
5739
5739
  try {
5740
5740
  const workspace = getWorkspace();
5741
- const config = await loadConfig(configPath);
5741
+ const config = await loadConfig();
5742
5742
  const hasDB = hasDatabaseSetup();
5743
5743
  const hasKV = hasKVSetup(config);
5744
5744
  const hasBucket = hasBucketSetup(config);
@@ -8206,10 +8206,9 @@ var initCommand = new Command2("init").description("Initialize a playcademy.conf
8206
8206
  bucket: bucket ?? void 0,
8207
8207
  timeback: timebackConfig ?? void 0
8208
8208
  });
8209
- const configPath = resolve10(getWorkspace(), configFileName);
8210
- writeFileSync8(configPath, configContent, "utf-8");
8209
+ writeFileSync8(resolve10(getWorkspace(), configFileName), configContent, "utf-8");
8211
8210
  if (database || kv || bucket) {
8212
- await ensurePlaycademyTypes(configPath);
8211
+ await ensurePlaycademyTypes();
8213
8212
  }
8214
8213
  displaySuccessMessage({
8215
8214
  configFileName,
package/dist/utils.js CHANGED
@@ -1549,10 +1549,10 @@ import { writeFileSync as writeFileSync3 } from "fs";
1549
1549
  import { dirname as dirname4, join as join8 } from "path";
1550
1550
  import { fileURLToPath as fileURLToPath2 } from "url";
1551
1551
  var playcademyEnvTemplate = loadTemplateString("playcademy-env.d.ts");
1552
- async function ensurePlaycademyTypes(configPath) {
1552
+ async function ensurePlaycademyTypes() {
1553
1553
  try {
1554
1554
  const workspace = getWorkspace();
1555
- const config = await loadConfig(configPath);
1555
+ const config = await loadConfig();
1556
1556
  const hasDB = hasDatabaseSetup();
1557
1557
  const hasKV = hasKVSetup(config);
1558
1558
  const hasBucket = hasBucketSetup(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playcademy",
3
- "version": "0.13.15",
3
+ "version": "0.13.16",
4
4
  "type": "module",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",