Skip to content

Commit c3e7c8a

Browse files
committed
v3.0.2: explicit re-exports in src/index.ts (fixes Turbopack 'unknown' types)
Same fix as nis2-gap-assessment-schema v2.0.2. Replaced 'export * from "./schema"' with explicit 'export { ... }' + 'export type { ... }' so consumers using isolatedModules + Turbopack don't end up with 'unknown' types after the barrel re-export. No source data, schema, or runtime behaviour changes.
1 parent b8db57a commit c3e7c8a

11 files changed

Lines changed: 45 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ National-derivative frameworks (BSI IT-Grundschutz / Lieferketten-Checkliste in
3636
This package is **not on the npm registry** — install directly from GitHub.
3737

3838
```bash
39-
bun add github:NISD2/nis2-supply-chain-questionnaire-schema#v3.0.1
39+
bun add github:NISD2/nis2-supply-chain-questionnaire-schema#v3.0.2
4040
# npm, pnpm, yarn — same syntax
4141
```
4242

data/supply-chain-questionnaire.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.0.1",
2+
"version": "3.0.2",
33
"lastUpdated": "2026-04-28",
44
"fields": [
55
{

dist/data.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { type SupplierQuestionnaire } from "./schema";
88
* Bump these constants when shipping a release; CI will fail if the
99
* generated JSON falls out of sync.
1010
*/
11-
export declare const VERSION = "3.0.1";
11+
export declare const VERSION = "3.0.2";
1212
export declare const LAST_UPDATED = "2026-04-28";
1313
export declare const supplierQuestionnaire: SupplierQuestionnaire;
1414
export declare function groupBySection(q: SupplierQuestionnaire): Map<string, {

dist/data.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
export * from "./schema";
2-
export { supplierQuestionnaire, groupBySection, visibleFields } from "./data";
1+
export { SECTION, FIELD_TYPE, sectionSchema, fieldTypeSchema, supplierFieldSchema, supplierQuestionnaireSchema, supplierResponseSchema, } from "./schema";
2+
export type { SectionValue, FieldTypeValue, SupplierField, SupplierQuestionnaire, SupplierResponse, } from "./schema";
3+
export { supplierQuestionnaire, groupBySection, visibleFields, } from "./data";
34
//# sourceMappingURL=index.d.ts.map

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nisd2/nis2-supply-chain-questionnaire-schema",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Open EU data format for the NIS2 supply-chain questionnaire — typed Zod schema as source of truth, JSON + JSON Schema as published artefacts. The questions a NIS2-regulated entity asks its suppliers, anchored to NIS2 Art. 21(2)(d), CIR 2024/2690, ENISA TIG, GDPR, and the Cyber Resilience Act.",
55
"license": "SEE LICENSE IN LICENSE",
66
"homepage": "https://github.com/NISD2/nis2-supply-chain-questionnaire-schema",

src/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { allFields } from "./fields";
1313
* Bump these constants when shipping a release; CI will fail if the
1414
* generated JSON falls out of sync.
1515
*/
16-
export const VERSION = "3.0.1";
16+
export const VERSION = "3.0.2";
1717
export const LAST_UPDATED = "2026-04-28";
1818

1919
export const supplierQuestionnaire: SupplierQuestionnaire =

0 commit comments

Comments
 (0)