@batijs/cli 0.0.249 → 0.0.251

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.
@@ -1,5 +1,4 @@
1
- /*# BATI include-if-imported #*/
2
- import { integer, primaryKey, sqliteTable, text, int } from "drizzle-orm/sqlite-core";
1
+ import { int, integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
3
2
 
4
3
  export const userTable = sqliteTable("users", {
5
4
  id: text("id").notNull().primaryKey(),
package/dist/index.js CHANGED
@@ -298,6 +298,9 @@ Please report this issue to https://github.com/vikejs/bati`
298
298
  if (report.content) {
299
299
  await safeWriteFile(op.destination, report.content.trimStart());
300
300
  }
301
+ if (report.context?.flags.has("include-if-imported")) {
302
+ filesContainingIncludeIfImported.add(op.destinationAbsolute);
303
+ }
301
304
  previousOp = {
302
305
  ...op,
303
306
  ...report
@@ -1664,7 +1667,7 @@ var createDefaultQueryTester = function(query, options) {
1664
1667
  // package.json
1665
1668
  var package_default = {
1666
1669
  name: "@batijs/cli",
1667
- version: "0.0.249",
1670
+ version: "0.0.251",
1668
1671
  type: "module",
1669
1672
  scripts: {
1670
1673
  "check-types": "tsc --noEmit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.249",
3
+ "version": "0.0.251",
4
4
  "type": "module",
5
5
  "keywords": [],
6
6
  "description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
@@ -20,12 +20,12 @@
20
20
  "typescript": "^5.5.4",
21
21
  "unplugin-purge-polyfills": "^0.0.4",
22
22
  "vite": "^5.4.2",
23
- "@batijs/build": "0.0.249",
24
- "@batijs/compile": "0.0.249"
23
+ "@batijs/compile": "0.0.251",
24
+ "@batijs/build": "0.0.251"
25
25
  },
26
26
  "dependencies": {
27
- "@batijs/features": "0.0.249",
28
- "@batijs/core": "0.0.249"
27
+ "@batijs/core": "0.0.251",
28
+ "@batijs/features": "0.0.251"
29
29
  },
30
30
  "bin": "./dist/index.js",
31
31
  "exports": {