@conloca/cli 0.1.14 → 0.1.16

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.
Files changed (2) hide show
  1. package/dist/conloca.js +4 -2
  2. package/package.json +40 -7
package/dist/conloca.js CHANGED
@@ -735,7 +735,7 @@ async function verify(directory) {
735
735
  console.error("Directory not found");
736
736
  process.exit(1);
737
737
  }
738
- } catch (error) {
738
+ } catch {
739
739
  console.error("Directory not found");
740
740
  process.exit(1);
741
741
  }
@@ -765,7 +765,9 @@ async function verify(directory) {
765
765
  }
766
766
  if (errorCount > 0) {
767
767
  console.error("Content verification failed");
768
- errors.forEach((error) => console.error(` - ${error}`));
768
+ for (const error of errors) {
769
+ console.error(` - ${error}`);
770
+ }
769
771
  process.exit(1);
770
772
  }
771
773
  console.log("✓ Content verification successful");
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@conloca/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/conloca/conloca.git",
10
- "directory": "cli"
10
+ "directory": "packages/cli"
11
11
  },
12
12
  "dependencies": {
13
- "@conloca/content-api": "^0.1.13",
13
+ "@conloca/content-api": "0.1.16",
14
14
  "@node-rs/xxhash": "^1.7.6"
15
15
  },
16
16
  "bin": {
17
17
  "conloca": "./dist/conloca.js"
18
18
  },
19
19
  "scripts": {
20
- "build": "bun run build.ts",
21
- "test": "bun test"
20
+ "build": "nx run cli:build",
21
+ "test": "nx run cli:test --outputStyle=stream"
22
22
  },
23
23
  "type": "module",
24
24
  "files": [
@@ -26,6 +26,39 @@
26
26
  "!**/*.tsbuildinfo"
27
27
  ],
28
28
  "devDependencies": {
29
- "@types/bun": "^1.3.9"
30
- }
29
+ "@types/bun": "1.3.14"
30
+ },
31
+ "nx": {
32
+ "targets": {
33
+ "lint": {},
34
+ "build": {
35
+ "executor": "nx:run-commands",
36
+ "dependsOn": [
37
+ "^build"
38
+ ],
39
+ "options": {
40
+ "command": "bun run build.ts",
41
+ "cwd": "{projectRoot}"
42
+ }
43
+ },
44
+ "test": {
45
+ "executor": "@smoothbricks/nx-plugin:bounded-exec",
46
+ "dependsOn": [
47
+ "typecheck-tests",
48
+ "^build"
49
+ ],
50
+ "options": {
51
+ "command": "bun --conditions=production test",
52
+ "cwd": "{projectRoot}",
53
+ "timeoutMs": 120000,
54
+ "killAfterMs": 1e4
55
+ }
56
+ }
57
+ },
58
+ "tags": [
59
+ "npm:public"
60
+ ],
61
+ "name": "cli"
62
+ },
63
+ "license": "FSL-1.1-ALv2"
31
64
  }