@cyberismo/assets 0.0.12 → 0.0.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyberismo/assets",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "This package contains static resources",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,10 +20,11 @@
20
20
  },
21
21
  "files": [
22
22
  "dist",
23
- "src"
23
+ "src",
24
+ "THIRD-PARTY.txt"
24
25
  ],
25
26
  "scripts": {
26
- "build": "shx rm -rf dist && shx mkdir -p dist && shx cp THIRD-PARTY.txt dist/ && pnpm script:schemas && node scripts/build.js && tsc && shx cp -r src/static dist/",
27
+ "build": "shx rm -rf dist && shx mkdir -p dist && pnpm script:schemas && node scripts/build.js && tsc && shx cp -r src/static dist/",
27
28
  "dev": "pnpm build && chokidar 'src/**/*' -i 'src/schemas.ts' -c 'pnpm build'",
28
29
  "script:schemas": "node scripts/generateSchemaImports && prettier --write src/schemas.ts"
29
30
  }
@@ -6,28 +6,28 @@
6
6
  "name": "base",
7
7
  "displayName": "Base module",
8
8
  "category": "essentials",
9
- "location": "git@github.com:CyberismoCom/module-base.git",
9
+ "location": "https://github.com/CyberismoCom/module-base.git",
10
10
  "documentationLocation": "https://github.com/CyberismoCom/module-base/blob/main/README.adoc"
11
11
  },
12
12
  {
13
13
  "name": "eucra",
14
14
  "displayName": "Cyberismo EU Cyber Resilience Act",
15
15
  "category": "essentials",
16
- "location": "git@github.com:CyberismoCom/module-eu-cra.git",
16
+ "location": "https://github.com/CyberismoCom/module-eu-cra.git",
17
17
  "documentationLocation": "https://github.com/CyberismoCom/module-eu-cra/blob/main/README.adoc"
18
18
  },
19
19
  {
20
20
  "name": "ismsa",
21
21
  "displayName": "ISMS Essentials",
22
22
  "category": "essentials",
23
- "location": "git@github.com:CyberismoCom/module-isms-essentials.git",
23
+ "location": "https://github.com/CyberismoCom/module-isms-essentials.git",
24
24
  "documentationLocation": "https://github.com/CyberismoCom/module-isms-essentials/blob/main/README.adoc"
25
25
  },
26
26
  {
27
27
  "name": "secdeva",
28
28
  "displayName": "Secure development essentials",
29
29
  "category": "essentials",
30
- "location": "git@github.com:CyberismoCom/module-secure-development-essentials.git",
30
+ "location": "https://github.com/CyberismoCom/module-secure-development-essentials.git",
31
31
  "documentationLocation": "https://github.com/CyberismoCom/module-secure-development-essentials/blob/main/README.adoc"
32
32
  }
33
33
  ]
@@ -5,9 +5,9 @@
5
5
  "properties": {
6
6
  "cardType": {
7
7
  "type": "string",
8
- "minLength": 1,
8
+ "minLength": 7,
9
9
  "description": "The name of the card type",
10
- "pattern": "^[A-Za-z]*/?[A-Za-z]*/?[A-Za-z-_]+$"
10
+ "pattern": "^[A-Za-z0-9/._-]+$"
11
11
  },
12
12
  "title": {
13
13
  "type": "string",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "template": {
14
14
  "type": "string",
15
- "minLength": 1,
15
+ "minLength": 7,
16
16
  "description": "the name of the template for creating the card. Notice that the template must have exactly one card"
17
17
  },
18
18
  "description": {
@@ -11,12 +11,12 @@
11
11
  "description": "Optional offset to adjust the heading levels of the included content. Should be a number as string (e.g., '+1', '+2' or '-1')."
12
12
  },
13
13
  "title": {
14
- "type": "enum",
14
+ "type": "string",
15
15
  "description": "Whether to include the title of the card in the included content. If 'only' is selected, the title will be the only content included.",
16
16
  "enum": ["include", "exclude", "only"]
17
17
  },
18
18
  "pageTitles": {
19
- "type": "enum",
19
+ "type": "string",
20
20
  "description": "If discrete, page titles will be included as discrete headings(read asciidoctor docs for more info). If normal, page titles will be included as normal headings.",
21
21
  "enum": ["normal", "discrete"]
22
22
  }
@@ -6,8 +6,8 @@
6
6
  "name": {
7
7
  "description": "The name of the card type",
8
8
  "type": "string",
9
- "minLength": 1,
10
- "pattern": "^[A-Za-z0-9]*/?[A-Za-z]*/?[A-Za-z-_]+[.json]*$"
9
+ "minLength": 7,
10
+ "pattern": "^[A-Za-z0-9/._-]+$"
11
11
  },
12
12
  "description": {
13
13
  "description": "A description that describes the card type",
@@ -20,8 +20,8 @@
20
20
  "workflow": {
21
21
  "description": "The name of the workflow",
22
22
  "type": "string",
23
- "minLength": 1,
24
- "pattern": "^[A-Za-z0-9]*/?[A-Za-z0-9]*/?[A-Za-z-_]+[.json]*$"
23
+ "minLength": 7,
24
+ "pattern": "^[A-Za-z0-9/._-]+$"
25
25
  },
26
26
  "customFields": {
27
27
  "type": "array",
@@ -6,7 +6,8 @@
6
6
  "name": {
7
7
  "type": "string",
8
8
  "description": "The technical name by which the field is referred to in JSON files.",
9
- "pattern": "^[A-Za-z0-9/._-]+$"
9
+ "pattern": "^[A-Za-z0-9/._-]+$",
10
+ "minLength": 7
10
11
  },
11
12
  "displayName": {
12
13
  "type": "string",
@@ -6,7 +6,7 @@
6
6
  "name": {
7
7
  "description": "The name of this graph model",
8
8
  "type": "string",
9
- "minLength": 1,
9
+ "minLength": 7,
10
10
  "pattern": "^[A-Za-z0-9/._-]+$"
11
11
  },
12
12
  "displayName": {
@@ -22,7 +22,7 @@
22
22
  "type": "string"
23
23
  }
24
24
  },
25
- "required": ["displayName", "name", "displayName"],
25
+ "required": ["displayName", "name"],
26
26
  "title": "GraphModel",
27
27
  "type": "object"
28
28
  }
@@ -5,9 +5,9 @@
5
5
  "properties": {
6
6
  "name": {
7
7
  "description": "The name of this graph view",
8
- "type": "string",
9
- "minLength": 1,
10
- "pattern": "^[A-Za-z0-9/._-]+$"
8
+ "minLength": 7,
9
+ "pattern": "^[A-Za-z0-9/._-]+$",
10
+ "type": "string"
11
11
  },
12
12
  "displayName": {
13
13
  "description": "The name of the graph view as it should be displayed in the user interface. For example, 'Workflow view'.",
@@ -22,7 +22,7 @@
22
22
  "type": "string"
23
23
  }
24
24
  },
25
- "required": ["displayName", "name", "displayName"],
25
+ "required": ["displayName", "name"],
26
26
  "title": "GraphView",
27
27
  "type": "object"
28
28
  }
@@ -12,9 +12,10 @@
12
12
  "type": "string"
13
13
  },
14
14
  "name": {
15
- "type": "string",
16
15
  "description": "The technical name by which the field is referred to in JSON files.",
17
- "pattern": "^[A-Za-z0-9/._-]+$"
16
+ "minLength": 7,
17
+ "pattern": "^[A-Za-z0-9/._-]+$",
18
+ "type": "string"
18
19
  },
19
20
  "outboundDisplayName": {
20
21
  "type": "string",
@@ -5,9 +5,9 @@
5
5
  "properties": {
6
6
  "name": {
7
7
  "description": "The name of this report",
8
- "type": "string",
9
- "minLength": 1,
10
- "pattern": "^[A-Za-z0-9/._-]+$"
8
+ "minLength": 7,
9
+ "pattern": "^[A-Za-z0-9/._-]+$",
10
+ "type": "string"
11
11
  },
12
12
  "displayName": {
13
13
  "description": "The name of the report as it should be displayed in the user interface. For example, 'Children list'.",
@@ -5,9 +5,9 @@
5
5
  "properties": {
6
6
  "name": {
7
7
  "description": "The name of this template",
8
- "type": "string",
9
- "minLength": 1,
10
- "pattern": "^[A-Za-z0-9/._-]+$"
8
+ "minLength": 7,
9
+ "pattern": "^[A-Za-z0-9/._-]+$",
10
+ "type": "string"
11
11
  },
12
12
  "displayName": {
13
13
  "description": "The name of the template as it should be displayed in the user interface. For example, 'Decision'.",
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "name": {
15
15
  "description": "The name of this workflow",
16
- "type": "string",
17
- "minLength": 1,
18
- "pattern": "^[A-Za-z0-9/._-]+$"
16
+ "minLength": 7,
17
+ "pattern": "^[A-Za-z0-9/._-]+$",
18
+ "type": "string"
19
19
  },
20
20
  "states": {
21
21
  "description": "The states of the workflow",
File without changes