@shibanet0/datamitsu-config 0.1.0 → 0.1.3

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.
@@ -1,7 +1,10 @@
1
+ export declare const actionlintGlobs: string[];
1
2
  export declare const dockerfileGlobs: string[];
2
3
  export declare const dotenvLinterGlobs: string[];
3
4
  export declare const eslintGlobs: string[];
5
+ export declare const helmGlobs: string[];
4
6
  export declare const jsonGlobs: string[];
7
+ export declare const makefileGlobs: string[];
5
8
  export declare const markdownGlobs: string[];
6
9
  export declare const jsonExcludeGlobs: string[];
7
10
  export declare const oxlintGlobs: string[];
@@ -9,6 +12,7 @@ export declare const oxfmtGlobs: string[];
9
12
  export declare const packageJsonGlobs: string[];
10
13
  export declare const prettierGlobs: string[];
11
14
  export declare const propertiesGlobs: string[];
15
+ export declare const protoGlobs: string[];
12
16
  export declare const shellGlobs: string[];
13
17
  export declare const tomlGlobs: string[];
14
18
  export declare const typescriptGlobs: string[];
@@ -1,2 +1,2 @@
1
1
  export declare const filterIgnore: (content: string) => string;
2
- export declare const ignoreGroups: tools.Ignore.IgnoreMap<"Build outputs" | "Cache & temporary files" | "Claude Code project files" | "Codex CLI project files" | "Dependencies" | "Environment" | "Golang specific" | "IDE & OS" | "Logs" | "Other" | "Pulumi" | "ralphex progress logs" | "Security & Secrets" | "Testing">;
2
+ export declare const ignoreGroups: tools.Ignore.IgnoreMap<"Build outputs" | "Cache & temporary files" | "Claude Code project files" | "Codex CLI project files" | "Dependencies" | "Environment" | "Golang specific" | "IDE & OS" | "Logs" | "Other" | "Pulumi" | "ralphex progress logs" | "Security & Secrets" | "Terraform & Terragrunt" | "Testing">;
@@ -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/dist/s0/index.js CHANGED
@@ -183,8 +183,7 @@ const pulumiCleanup = async () => {
183
183
  const filesToRemove = [];
184
184
  for (const encFile of encryptedFiles) {
185
185
  const originalFile = getDecryptedPath(encFile);
186
- if (!await fs.access(originalFile).then(() => true).catch(() => false)) continue;
187
- if (await verifyEncryptedFile(encFile, datamitsu, GPG_TTY)) filesToRemove.push(originalFile);
186
+ if (await fs.access(originalFile).then(() => true).catch(() => false)) if (await verifyEncryptedFile(encFile, datamitsu, GPG_TTY)) filesToRemove.push(originalFile);
188
187
  else console.warn(`⚠️ Warning: ${path.relative(process.cwd(), encFile)} failed verification, keeping original`);
189
188
  }
190
189
  if (filesToRemove.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shibanet0/datamitsu-config",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Shared datamitsu configuration with 79+ managed development tools",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -15,6 +15,7 @@
15
15
  "types": "./dist/datamitsu-api/index.d.ts",
16
16
  "default": "./dist/datamitsu-api/index.js"
17
17
  },
18
+ "./package.json": "./package.json",
18
19
  "./tsconfig/base.json": "./tsconfig/base.json",
19
20
  "./tsconfig/infra-pulumi.json": "./tsconfig/infra-pulumi.json",
20
21
  "./tsconfig/library.json": "./tsconfig/library.json",
@@ -24,7 +25,6 @@
24
25
  "./tsconfig/service-worker.json": "./tsconfig/service-worker.json",
25
26
  "./tsconfig/shared-library.json": "./tsconfig/shared-library.json",
26
27
  "./tsconfig/shared-react-library.json": "./tsconfig/shared-react-library.json",
27
- "./package.json": "./package.json",
28
28
  "./type-fest": {
29
29
  "import": {
30
30
  "types": "./dist/type-fest/index.d.ts"
@@ -45,6 +45,8 @@
45
45
  },
46
46
  "files": [
47
47
  "datamitsu.config.js",
48
+ "datamitsu.config.oci-ghcr.js",
49
+ "datamitsu.config.oci-dockerhub.js",
48
50
  "datamitsu.config.d.ts",
49
51
  "tsconfig/**",
50
52
  "dist/**",
@@ -52,7 +54,7 @@
52
54
  ],
53
55
  "dependencies": {
54
56
  "@commander-js/extra-typings": "14.0.0",
55
- "@datamitsu/datamitsu": "0.1.1",
57
+ "@datamitsu/datamitsu": "0.1.3",
56
58
  "commander": "14.0.3",
57
59
  "execa": "9.6.1",
58
60
  "fast-glob": "3.3.3",