create-absolutejs 0.3.8 → 0.3.9

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
@@ -168,6 +168,8 @@ bun install
168
168
  bun run dev
169
169
  ```
170
170
 
171
+ If you downloaded this repository to test or make changes you can use `bun run test` to start the created dev server without having to change directories back and forth.
172
+
171
173
  ## Contributing
172
174
 
173
175
  Contributions are welcome! Feel free to open issues or submit pull requests to improve the CLI.
@@ -5,7 +5,7 @@ export const getDirectoryConfiguration = async ({ directoryConfig, useTailwind,
5
5
  return {
6
6
  assetsDirectory: argumentConfiguration.assetsDirectory ?? 'src/backend/assets',
7
7
  buildDirectory: argumentConfiguration.buildDirectory ?? 'build',
8
- databaseDirectory: databaseEngine
8
+ databaseDirectory: databaseEngine !== undefined && databaseEngine !== 'none'
9
9
  ? (argumentConfiguration.databaseDirectory ?? 'db')
10
10
  : undefined,
11
11
  tailwind: useTailwind
@@ -58,7 +58,7 @@ export const getDirectoryConfiguration = async ({ directoryConfig, useTailwind,
58
58
  }
59
59
  // Database
60
60
  let databaseDirectory;
61
- if (databaseEngine !== undefined) {
61
+ if (databaseEngine !== undefined && databaseEngine !== 'none') {
62
62
  databaseDirectory =
63
63
  argumentConfiguration.databaseDirectory ??
64
64
  (await text({
package/package.json CHANGED
@@ -47,5 +47,5 @@
47
47
  "typecheck": "bun run tsc --noEmit"
48
48
  },
49
49
  "type": "module",
50
- "version": "0.3.8"
50
+ "version": "0.3.9"
51
51
  }