@batijs/cli 0.0.189 → 0.0.190

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.
@@ -0,0 +1,83 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ // package.json
28
+ var require_package = __commonJS({
29
+ "package.json"(exports, module) {
30
+ module.exports = {
31
+ name: "@batijs/biome",
32
+ private: true,
33
+ version: "0.0.1",
34
+ description: "",
35
+ type: "module",
36
+ scripts: {
37
+ "check-types": "tsc --noEmit",
38
+ build: "bati-compile-boilerplate"
39
+ },
40
+ keywords: [],
41
+ author: "",
42
+ license: "MIT",
43
+ devDependencies: {
44
+ "@batijs/compile": "workspace:*",
45
+ "@biomejs/biome": "1.7.3",
46
+ "@types/node": "^18.19.14"
47
+ },
48
+ dependencies: {
49
+ "@batijs/core": "workspace:*"
50
+ },
51
+ files: [
52
+ "dist/"
53
+ ],
54
+ bati: {
55
+ if: {
56
+ flag: "biome"
57
+ }
58
+ }
59
+ };
60
+ }
61
+ });
62
+
63
+ // files/$package.json.ts
64
+ import { addDependency, loadAsJson, setScripts } from "@batijs/core";
65
+ async function getPackageJson(props) {
66
+ const packageJson = await loadAsJson(props);
67
+ setScripts(packageJson, {
68
+ lint: {
69
+ value: "biome lint --apply .",
70
+ precedence: 0
71
+ },
72
+ format: {
73
+ value: "biome format --write .",
74
+ precedence: 0
75
+ }
76
+ });
77
+ return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
78
+ devDependencies: ["@biomejs/biome"]
79
+ });
80
+ }
81
+ export {
82
+ getPackageJson as default
83
+ };
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
3
+ "organizeImports": {
4
+ "enabled": true
5
+ },
6
+ "linter": {
7
+ "enabled": true,
8
+ "rules": {
9
+ "recommended": true
10
+ }
11
+ },
12
+ "files": {
13
+ "ignore": ["dist/**", "*.js", "*.cjs", "*.mjs", "*.spec.ts"]
14
+ }
15
+ }
@@ -56,9 +56,9 @@ var require_package = __commonJS({
56
56
  "express-openid-connect": "^2.17.1",
57
57
  "firebase-admin": "^12.1.0",
58
58
  telefunc: "^0.1.72",
59
- tsx: "^4.10.1",
59
+ tsx: "^4.10.2",
60
60
  vike: "^0.4.171",
61
- "vike-authjs": "^0.1.5",
61
+ "vike-authjs": "^0.1.6",
62
62
  vite: "^5.2.11"
63
63
  },
64
64
  dependencies: {
@@ -59,9 +59,9 @@ var require_package = __commonJS({
59
59
  fastify: "^4.27.0",
60
60
  "firebase-admin": "^12.1.0",
61
61
  telefunc: "^0.1.72",
62
- tsx: "^4.10.1",
62
+ tsx: "^4.10.2",
63
63
  vike: "^0.4.171",
64
- "vike-authjs": "^0.1.5",
64
+ "vike-authjs": "^0.1.6",
65
65
  vite: "^5.2.11"
66
66
  },
67
67
  dependencies: {
@@ -57,9 +57,9 @@ var require_package = __commonJS({
57
57
  h3: "~1.11.1",
58
58
  "serve-static": "^1.15.0",
59
59
  telefunc: "^0.1.72",
60
- tsx: "^4.10.1",
60
+ tsx: "^4.10.2",
61
61
  vike: "^0.4.171",
62
- "vike-authjs": "^0.1.5",
62
+ "vike-authjs": "^0.1.6",
63
63
  vite: "^5.2.11"
64
64
  },
65
65
  dependencies: {
@@ -53,7 +53,7 @@ var require_package = __commonJS({
53
53
  hattip: "^0.0.33",
54
54
  telefunc: "^0.1.72",
55
55
  vike: "^0.4.171",
56
- "vike-authjs": "^0.1.5",
56
+ "vike-authjs": "^0.1.6",
57
57
  vite: "^5.2.11"
58
58
  },
59
59
  dependencies: {
@@ -52,9 +52,9 @@ var require_package = __commonJS({
52
52
  "firebase-admin": "^12.1.0",
53
53
  hono: "^4.3.6",
54
54
  telefunc: "^0.1.72",
55
- tsx: "^4.10.1",
55
+ tsx: "^4.10.2",
56
56
  vike: "^0.4.171",
57
- "vike-authjs": "^0.1.5",
57
+ "vike-authjs": "^0.1.6",
58
58
  vite: "^5.2.11"
59
59
  },
60
60
  dependencies: {
@@ -10,6 +10,17 @@
10
10
  "files"
11
11
  ]
12
12
  },
13
+ {
14
+ "config": {
15
+ "if": {
16
+ "flag": "biome"
17
+ }
18
+ },
19
+ "folder": "@batijs/biome",
20
+ "subfolders": [
21
+ "files"
22
+ ]
23
+ },
13
24
  {
14
25
  "config": {
15
26
  "if": {
package/dist/index.js CHANGED
@@ -1537,7 +1537,7 @@ var createDefaultQueryTester = function(query, options) {
1537
1537
  // package.json
1538
1538
  var package_default = {
1539
1539
  name: "@batijs/cli",
1540
- version: "0.0.189",
1540
+ version: "0.0.190",
1541
1541
  type: "module",
1542
1542
  scripts: {
1543
1543
  "check-types": "tsc --noEmit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.189",
3
+ "version": "0.0.190",
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",
@@ -19,12 +19,12 @@
19
19
  "tsup": "^8.0.2",
20
20
  "typescript": "^5.4.5",
21
21
  "vite": "^5.2.11",
22
- "@batijs/compile": "0.0.189",
23
- "@batijs/build": "0.0.189"
22
+ "@batijs/compile": "0.0.190",
23
+ "@batijs/build": "0.0.190"
24
24
  },
25
25
  "dependencies": {
26
- "@batijs/features": "0.0.189",
27
- "@batijs/core": "0.0.189"
26
+ "@batijs/features": "0.0.190",
27
+ "@batijs/core": "0.0.190"
28
28
  },
29
29
  "bin": "./dist/index.js",
30
30
  "exports": {