@batijs/cli 0.0.277 → 0.0.278

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.
@@ -49,6 +49,7 @@ var require_package = __commonJS({
49
49
  cdk: "^2.158.0",
50
50
  constructs: "^10.3.0",
51
51
  esbuild: "^0.23.1",
52
+ "npm-run-all2": "^6.2.3",
52
53
  "source-map-support": "^0.5.21",
53
54
  tsx: "^4.19.1",
54
55
  typescript: "^5.6.2",
@@ -113,8 +114,17 @@ async function getPackageJson(props) {
113
114
  value: "cdk",
114
115
  precedence: 0
115
116
  },
117
+ "deploy:cdk-deploy-all": {
118
+ value: "cdk deploy --all",
119
+ precedence: 0
120
+ },
116
121
  "deploy:aws": {
117
- value: "pnpm run build && cdk deploy --all",
122
+ value: "run-s build deploy:cdk-deploy-all",
123
+ precedence: 0
124
+ },
125
+ // @ts-ignore
126
+ "cdk:app": {
127
+ value: "tsx cdk/bin/infrastructure.ts",
118
128
  precedence: 0
119
129
  }
120
130
  });
@@ -122,6 +132,7 @@ async function getPackageJson(props) {
122
132
  devDependencies: [
123
133
  "cdk",
124
134
  "aws-cdk",
135
+ "npm-run-all2",
125
136
  "@types/node",
126
137
  "tsx",
127
138
  "typescript",
@@ -8,6 +8,8 @@ async function getTsConfig(props) {
8
8
  "vitest/globals",
9
9
  "@types/which"
10
10
  ];
11
+ tsConfig.exclude ??= [];
12
+ tsConfig.exclude.push("cdk.out");
11
13
  return tsConfig;
12
14
  }
13
15
  export {
@@ -1,5 +1,5 @@
1
1
  {
2
- "app": "pnpm tsx cdk/bin/infrastructure.ts",
2
+ "app": "npm run cdk:app",
3
3
  "watch": {
4
4
  "include": ["**"],
5
5
  "exclude": [
@@ -17,6 +17,8 @@ export default tseslint.config(
17
17
  "**/*.ts.build-*.mjs",
18
18
  //# BATI.has("vercel")
19
19
  ".vercel/*",
20
+ //# BATI.has("aws")
21
+ "cdk.out/*",
20
22
  // JS files at the root of the project
21
23
  "*.js",
22
24
  "*.cjs",
@@ -3,7 +3,7 @@ export declare const trpc: {
3
3
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
4
4
  _config: import("@trpc/server").RootConfig<{
5
5
  ctx: object & {
6
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
6
+ db: ReturnType<any>;
7
7
  } & {
8
8
  db: ReturnType<any>;
9
9
  } & {
@@ -16,7 +16,7 @@ export declare const trpc: {
16
16
  transformer: import("@trpc/server").DefaultDataTransformer;
17
17
  }>;
18
18
  _ctx_out: object & {
19
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
19
+ db: ReturnType<any>;
20
20
  } & {
21
21
  db: ReturnType<any>;
22
22
  } & {
@@ -37,7 +37,7 @@ export declare const trpc: {
37
37
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
38
38
  _config: import("@trpc/server").RootConfig<{
39
39
  ctx: object & {
40
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
40
+ db: ReturnType<any>;
41
41
  } & {
42
42
  db: ReturnType<any>;
43
43
  } & {
@@ -51,7 +51,7 @@ export declare const trpc: {
51
51
  }>;
52
52
  _meta: object;
53
53
  _ctx_out: object & {
54
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
54
+ db: ReturnType<any>;
55
55
  } & {
56
56
  db: ReturnType<any>;
57
57
  } & {
package/dist/index.js CHANGED
@@ -1677,7 +1677,7 @@ var createDefaultQueryTester = function(query, options) {
1677
1677
  // package.json
1678
1678
  var package_default = {
1679
1679
  name: "@batijs/cli",
1680
- version: "0.0.277",
1680
+ version: "0.0.278",
1681
1681
  type: "module",
1682
1682
  scripts: {
1683
1683
  "check-types": "tsc --noEmit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.277",
3
+ "version": "0.0.278",
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.6.2",
21
21
  "unplugin-purge-polyfills": "^0.0.5",
22
22
  "vite": "^5.4.5",
23
- "@batijs/compile": "0.0.277",
24
- "@batijs/build": "0.0.277"
23
+ "@batijs/build": "0.0.278",
24
+ "@batijs/compile": "0.0.278"
25
25
  },
26
26
  "dependencies": {
27
- "@batijs/features": "0.0.277",
28
- "@batijs/core": "0.0.277"
27
+ "@batijs/core": "0.0.278",
28
+ "@batijs/features": "0.0.278"
29
29
  },
30
30
  "bin": "./dist/index.js",
31
31
  "exports": {