@ggdna/dna-scripts 0.3.0 → 0.3.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.
@@ -5,7 +5,7 @@
5
5
  "name": "base",
6
6
  "package": "helix",
7
7
  "ecosystem": null,
8
- "resolvedVersion": "1.12.0",
8
+ "resolvedVersion": "1.16.0",
9
9
  "via": null,
10
10
  "hash": "0x6883da335b415f9d"
11
11
  },
@@ -15,15 +15,17 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0xe3092339b83504a1"
18
+ "hash": "0x8bfe7a26d113f04b"
19
19
  }
20
20
  ],
21
21
  "claude": {
22
22
  "claudeMdInclude": null,
23
- "claudeMdFromDna": false
23
+ "claudeMdFromDna": false,
24
+ "blockHash": null
24
25
  },
25
- "baseVersion": "1.12.0",
26
+ "baseVersion": "1.16.0",
26
27
  "baseHash": "0x6883da335b415f9d",
28
+ "configHash": "0x1ac100b4eebb2d9f",
27
29
  "instances": [
28
30
  {
29
31
  "path": ".claude/skills/scripts/SKILL.md",
@@ -43,7 +45,7 @@
43
45
  },
44
46
  {
45
47
  "path": "scripts/functions/current-branch.js",
46
- "hash": "0xb9ebbadf45893278"
48
+ "hash": "0x6610874731cac4e8"
47
49
  },
48
50
  {
49
51
  "path": "scripts/functions/directories.js",
@@ -63,11 +65,11 @@
63
65
  },
64
66
  {
65
67
  "path": "scripts/functions/is-main-up-to-date.js",
66
- "hash": "0xe1ab1826d0ddd039"
68
+ "hash": "0x305e8c2e6acee6d6"
67
69
  },
68
70
  {
69
71
  "path": "scripts/functions/pull-request-url.js",
70
- "hash": "0x5398755a61a59928"
72
+ "hash": "0xf6afe906fbd542f1"
71
73
  },
72
74
  {
73
75
  "path": "scripts/functions/run-command.js",
@@ -6,6 +6,8 @@
6
6
  * found in the LICENSE file in the root of this package.
7
7
  */
8
8
 
9
+ import { execSync } from 'child_process';
10
+
9
11
  export const currentBranch = () => {
10
12
  return execSync('git rev-parse --abbrev-ref HEAD').toString().trim();
11
13
  };
@@ -6,6 +6,10 @@
6
6
  * found in the LICENSE file in the root of this package.
7
7
  */
8
8
 
9
+ import { execSync } from 'child_process';
10
+
11
+ import { red } from './colors.js';
12
+
9
13
  export const isMainUpToDate = () => {
10
14
  try {
11
15
  execSync('git fetch origin main');
@@ -6,6 +6,8 @@
6
6
  * found in the LICENSE file in the root of this package.
7
7
  */
8
8
 
9
+ import { execSync } from 'child_process';
10
+
9
11
  export function pullRequestUrl() {
10
12
  const json = execSync('gh pr view --json url', {
11
13
  encoding: 'utf-8',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-scripts",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "DNA layer: deterministic node scripts and their shared functions",
5
5
  "keywords": [
6
6
  "dna",