@norskvideo/ctl-dev-kit 0.1.0 → 0.1.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.
@@ -0,0 +1,27 @@
1
+ {
2
+ "nodes": {
3
+ "nixpkgs": {
4
+ "locked": {
5
+ "lastModified": 1778869304,
6
+ "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
7
+ "owner": "NixOS",
8
+ "repo": "nixpkgs",
9
+ "rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
10
+ "type": "github"
11
+ },
12
+ "original": {
13
+ "owner": "NixOS",
14
+ "repo": "nixpkgs",
15
+ "rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
16
+ "type": "github"
17
+ }
18
+ },
19
+ "root": {
20
+ "inputs": {
21
+ "nixpkgs": "nixpkgs"
22
+ }
23
+ }
24
+ },
25
+ "root": "root",
26
+ "version": 7
27
+ }
@@ -0,0 +1,35 @@
1
+ # Product build shell — single-sourced in @norskvideo/ctl-dev-kit and copied
2
+ # verbatim into each split product repo (nix needs a flake.nix at the repo root
3
+ # for `nix develop`; it can't pull one from an npm package at CI bootstrap). The
4
+ # copy is drift-gated (Workstream I), same model as the fenced CLAUDE.md core.
5
+ #
6
+ # Trimmed to what a product image build needs: bun (all products), cargo + rustc
7
+ # (probe's native signer addon), git. docker is provided by the CI runner, not
8
+ # nix. The nixpkgs pin (and flake.lock beside this file) match the monorepo's, so
9
+ # every product resolves the identical bun 1.3.13 the workspace pins.
10
+ {
11
+ description = "norsk-ctl product build shell";
12
+
13
+ inputs = {
14
+ nixpkgs.url = "github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb"; # nixpkgs-unstable 2026-05-15, bun 1.3.13
15
+ };
16
+
17
+ outputs = { self, nixpkgs }:
18
+ let
19
+ systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
20
+ forAllSystems = f: builtins.listToAttrs (map (s: { name = s; value = f s; }) systems);
21
+ in {
22
+ devShells = forAllSystems (system:
23
+ let pkgs = import nixpkgs { inherit system; };
24
+ in {
25
+ default = pkgs.mkShell {
26
+ buildInputs = [
27
+ pkgs.bun
28
+ pkgs.cargo # builds the native product-signer addon (probe/native)
29
+ pkgs.rustc
30
+ pkgs.git
31
+ ];
32
+ };
33
+ });
34
+ };
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-dev-kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json"