@shibanet0/datamitsu-config 0.1.1 → 0.1.5

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,18 @@
1
+ /**
2
+ * OCI bundle pin slot.
3
+ *
4
+ * The DEFAULT published config never carries a pin: the placeholder below parses to `undefined`, so
5
+ * no `oci` key is emitted and store seeding stays opt-in. At release time scripts/inject-oci-pin.ts
6
+ * produces the SEPARATE `datamitsu.config.oci-ghcr.js` variant — a copy of the built default with
7
+ * the placeholder replaced by the freshly published ghcr.io bundle reference. Consumers enable
8
+ * seeding by pointing getBeforeConfigs() at that variant (see docs/get-started/oci-bundle.md), and
9
+ * can override the `oci` key in their own config layer (e.g. to pull through a corporate registry
10
+ * mirror — the digest stays the same, so verification is unaffected).
11
+ *
12
+ * The config baked into the docker images keeps the placeholder too: a bundle must not
13
+ * self-reference, and containers already carry the full store.
14
+ */
15
+ export declare const ociBundle: {
16
+ digest: string;
17
+ ref: string;
18
+ } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shibanet0/datamitsu-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.5",
4
4
  "description": "Shared datamitsu configuration with 79+ managed development tools",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -21,8 +21,8 @@
21
21
  "./tsconfig/library.json": "./tsconfig/library.json",
22
22
  "./tsconfig/nextjs.json": "./tsconfig/nextjs.json",
23
23
  "./tsconfig/react-library.json": "./tsconfig/react-library.json",
24
- "./tsconfig/service.json": "./tsconfig/service.json",
25
24
  "./tsconfig/service-worker.json": "./tsconfig/service-worker.json",
25
+ "./tsconfig/service.json": "./tsconfig/service.json",
26
26
  "./tsconfig/shared-library.json": "./tsconfig/shared-library.json",
27
27
  "./tsconfig/shared-react-library.json": "./tsconfig/shared-react-library.json",
28
28
  "./type-fest": {
@@ -44,7 +44,10 @@
44
44
  "tsx": "bin/tsx.js"
45
45
  },
46
46
  "files": [
47
+ "datamitsu.config.base.js",
47
48
  "datamitsu.config.js",
49
+ "datamitsu.config.oci-ghcr.js",
50
+ "datamitsu.config.oci-dockerhub.js",
48
51
  "datamitsu.config.d.ts",
49
52
  "tsconfig/**",
50
53
  "dist/**",
@@ -52,7 +55,7 @@
52
55
  ],
53
56
  "dependencies": {
54
57
  "@commander-js/extra-typings": "14.0.0",
55
- "@datamitsu/datamitsu": "0.1.2",
58
+ "@datamitsu/datamitsu": "0.1.4",
56
59
  "commander": "14.0.3",
57
60
  "execa": "9.6.1",
58
61
  "fast-glob": "3.3.3",