bajo 2.21.0 → 2.21.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.
package/index.js CHANGED
@@ -25,7 +25,11 @@ shim()
25
25
  * await bajo()
26
26
  */
27
27
  async function boot (options = {}) {
28
- if (!options.cwd) options.cwd = process.cwd()
28
+ if (!options.cwd) {
29
+ const item = process.argv.find(item => item.startsWith('--cwd='))
30
+ if (item) options.cwd = item.slice(6)
31
+ else options.cwd = process.cwd()
32
+ }
29
33
  const pkgFile = `${options.cwd}/package.json`
30
34
  const pkg = fs.readJsonSync(pkgFile)
31
35
  if (pkg.type !== 'module') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
4
4
  "description": "The ultimate framework for whipping up massive apps in no time",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-07-02
4
+
5
+ - [2.21.1] Bug fix in ```index.js```
6
+
3
7
  ## 2026-07-01
4
8
 
5
9
  - [2.21.0] Add ```.yml/.yaml``` to the configHandlers core