@forsakringskassan/docs-generator 2.38.0 → 2.38.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.
- package/dist/{create-markdown-renderer-DFoBsWJN.mjs → create-markdown-renderer-1_yCrnbT.mjs} +50 -42
- package/dist/create-markdown-renderer-1_yCrnbT.mjs.map +1 -0
- package/dist/{format-code.worker-DpigILeN.mjs → format-code.worker-DH_m5cgv.mjs} +3 -3
- package/dist/format-code.worker-DH_m5cgv.mjs.map +1 -0
- package/dist/index.mjs +72 -77
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +3 -3
- package/dist/processors/selectable-version.mjs +6 -6
- package/dist/runtime-bootstrap.mjs +3 -3
- package/dist/runtime.mjs +129 -74
- package/dist/style/core.css +6 -6
- package/dist/style/index.css +6 -6
- package/dist/{vendor-DV7BHNMM.mjs → vendor-BK-uA6Uv.mjs} +52 -20
- package/dist/{vendor-DV7BHNMM.mjs.map → vendor-BK-uA6Uv.mjs.map} +1 -1
- package/dist/{vue3-DtTC1eal.mjs → vue3-fRI2JWNs.mjs} +25 -15
- package/dist/vue3-fRI2JWNs.mjs.map +1 -0
- package/dist/{worker-DUs54YZx.mjs → worker-DEFReXeu.mjs} +3 -3
- package/dist/worker-DEFReXeu.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/create-markdown-renderer-DFoBsWJN.mjs.map +0 -1
- package/dist/format-code.worker-DpigILeN.mjs.map +0 -1
- package/dist/vue3-DtTC1eal.mjs.map +0 -1
- package/dist/worker-DUs54YZx.mjs.map +0 -1
package/dist/style/index.css
CHANGED
|
@@ -91,66 +91,66 @@ h6:not(.code-preview h6) {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
h1:not(.code-preview h1) {
|
|
94
|
+
font-weight: var(--docs-heading-font-weight-h1);
|
|
94
95
|
margin-bottom: var(--docs-heading-margin-bottom-h1);
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
h2:not(.code-preview h2) {
|
|
99
|
+
font-weight: var(--docs-heading-font-weight-h2);
|
|
98
100
|
margin-bottom: var(--docs-heading-margin-bottom-h2);
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
h3:not(.code-preview h3) {
|
|
104
|
+
font-weight: var(--docs-heading-font-weight-h3);
|
|
102
105
|
margin-bottom: var(--docs-heading-margin-bottom-h3);
|
|
103
106
|
}
|
|
104
107
|
|
|
105
108
|
h4:not(.code-preview h4) {
|
|
109
|
+
font-weight: var(--docs-heading-font-weight-h4);
|
|
106
110
|
margin-bottom: var(--docs-heading-margin-bottom-h4);
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
h5:not(.code-preview h5) {
|
|
114
|
+
font-weight: var(--docs-heading-font-weight-h5);
|
|
110
115
|
margin-bottom: var(--docs-heading-margin-bottom-h5);
|
|
111
116
|
}
|
|
112
117
|
|
|
113
118
|
h6:not(.code-preview h6) {
|
|
119
|
+
font-weight: var(--docs-heading-font-weight-h6);
|
|
114
120
|
margin-bottom: var(--docs-heading-margin-bottom-h6);
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
h1 {
|
|
118
124
|
font-size: var(--f-font-size-h1);
|
|
119
|
-
font-weight: var(--docs-heading-font-weight-h1);
|
|
120
125
|
color: var(--f-text-color-heading-1);
|
|
121
126
|
letter-spacing: var(--docs-heading-letter-spacing-h1);
|
|
122
127
|
}
|
|
123
128
|
|
|
124
129
|
h2 {
|
|
125
130
|
font-size: var(--f-font-size-h2);
|
|
126
|
-
font-weight: var(--docs-heading-font-weight-h2);
|
|
127
131
|
color: var(--f-text-color-heading-2);
|
|
128
132
|
letter-spacing: var(--docs-heading-letter-spacing-h2);
|
|
129
133
|
}
|
|
130
134
|
|
|
131
135
|
h3 {
|
|
132
136
|
font-size: var(--f-font-size-h3);
|
|
133
|
-
font-weight: var(--docs-heading-font-weight-h3);
|
|
134
137
|
color: var(--f-text-color-heading-3);
|
|
135
138
|
letter-spacing: var(--docs-heading-letter-spacing-h3);
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
h4 {
|
|
139
142
|
font-size: var(--f-font-size-h4);
|
|
140
|
-
font-weight: var(--docs-heading-font-weight-h4);
|
|
141
143
|
color: var(--f-text-color-heading-4);
|
|
142
144
|
letter-spacing: var(--docs-heading-letter-spacing-h4);
|
|
143
145
|
}
|
|
144
146
|
|
|
145
147
|
h5 {
|
|
146
148
|
font-size: var(--f-font-size-large);
|
|
147
|
-
font-weight: var(--docs-heading-font-weight-h5);
|
|
148
149
|
color: var(--f-text-color-heading-5);
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
h6 {
|
|
152
153
|
font-size: var(--f-font-size-standard);
|
|
153
|
-
font-weight: var(--docs-heading-font-weight-h6);
|
|
154
154
|
color: var(--f-text-color-heading-6);
|
|
155
155
|
}
|
|
156
156
|
|
|
@@ -15893,6 +15893,11 @@ var require$$0 = [
|
|
|
15893
15893
|
env: "AGOLA_GIT_REF",
|
|
15894
15894
|
pr: "AGOLA_PULL_REQUEST_ID"
|
|
15895
15895
|
},
|
|
15896
|
+
{
|
|
15897
|
+
name: "Alpic",
|
|
15898
|
+
constant: "ALPIC",
|
|
15899
|
+
env: "ALPIC_HOST"
|
|
15900
|
+
},
|
|
15896
15901
|
{
|
|
15897
15902
|
name: "Appcircle",
|
|
15898
15903
|
constant: "APPCIRCLE",
|
|
@@ -16267,22 +16272,24 @@ function requireCiInfo () {
|
|
|
16267
16272
|
exports$1.isPR = null;
|
|
16268
16273
|
exports$1.id = null;
|
|
16269
16274
|
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
+
if (env.CI !== 'false') {
|
|
16276
|
+
vendors.forEach(function (vendor) {
|
|
16277
|
+
const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env];
|
|
16278
|
+
const isCI = envs.every(function (obj) {
|
|
16279
|
+
return checkEnv(obj)
|
|
16280
|
+
});
|
|
16275
16281
|
|
|
16276
|
-
|
|
16282
|
+
exports$1[vendor.constant] = isCI;
|
|
16277
16283
|
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16284
|
+
if (!isCI) {
|
|
16285
|
+
return
|
|
16286
|
+
}
|
|
16281
16287
|
|
|
16282
|
-
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16288
|
+
exports$1.name = vendor.name;
|
|
16289
|
+
exports$1.isPR = checkPR(vendor);
|
|
16290
|
+
exports$1.id = vendor.constant;
|
|
16291
|
+
});
|
|
16292
|
+
}
|
|
16286
16293
|
|
|
16287
16294
|
exports$1.isCI = !!(
|
|
16288
16295
|
env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'
|
|
@@ -18685,11 +18692,22 @@ function requireSymlink () {
|
|
|
18685
18692
|
} catch { }
|
|
18686
18693
|
|
|
18687
18694
|
if (stats && stats.isSymbolicLink()) {
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18695
|
+
// When srcpath is relative, resolve it relative to dstpath's directory
|
|
18696
|
+
// (standard symlink behavior) or fall back to cwd if that doesn't exist
|
|
18697
|
+
let srcStat;
|
|
18698
|
+
if (path.isAbsolute(srcpath)) {
|
|
18699
|
+
srcStat = await fs.stat(srcpath);
|
|
18700
|
+
} else {
|
|
18701
|
+
const dstdir = path.dirname(dstpath);
|
|
18702
|
+
const relativeToDst = path.join(dstdir, srcpath);
|
|
18703
|
+
try {
|
|
18704
|
+
srcStat = await fs.stat(relativeToDst);
|
|
18705
|
+
} catch {
|
|
18706
|
+
srcStat = await fs.stat(srcpath);
|
|
18707
|
+
}
|
|
18708
|
+
}
|
|
18692
18709
|
|
|
18710
|
+
const dstStat = await fs.stat(dstpath);
|
|
18693
18711
|
if (areIdentical(srcStat, dstStat)) return
|
|
18694
18712
|
}
|
|
18695
18713
|
|
|
@@ -18711,7 +18729,21 @@ function requireSymlink () {
|
|
|
18711
18729
|
stats = fs.lstatSync(dstpath);
|
|
18712
18730
|
} catch { }
|
|
18713
18731
|
if (stats && stats.isSymbolicLink()) {
|
|
18714
|
-
|
|
18732
|
+
// When srcpath is relative, resolve it relative to dstpath's directory
|
|
18733
|
+
// (standard symlink behavior) or fall back to cwd if that doesn't exist
|
|
18734
|
+
let srcStat;
|
|
18735
|
+
if (path.isAbsolute(srcpath)) {
|
|
18736
|
+
srcStat = fs.statSync(srcpath);
|
|
18737
|
+
} else {
|
|
18738
|
+
const dstdir = path.dirname(dstpath);
|
|
18739
|
+
const relativeToDst = path.join(dstdir, srcpath);
|
|
18740
|
+
try {
|
|
18741
|
+
srcStat = fs.statSync(relativeToDst);
|
|
18742
|
+
} catch {
|
|
18743
|
+
srcStat = fs.statSync(srcpath);
|
|
18744
|
+
}
|
|
18745
|
+
}
|
|
18746
|
+
|
|
18715
18747
|
const dstStat = fs.statSync(dstpath);
|
|
18716
18748
|
if (areIdentical(srcStat, dstStat)) return
|
|
18717
18749
|
}
|
|
@@ -19368,7 +19400,7 @@ const deepFind = (obj, path, keySeparator = '.') => {
|
|
|
19368
19400
|
}
|
|
19369
19401
|
return current;
|
|
19370
19402
|
};
|
|
19371
|
-
const getCleanedCode = code => code?.replace(
|
|
19403
|
+
const getCleanedCode = code => code?.replace(/_/g, '-');
|
|
19372
19404
|
|
|
19373
19405
|
const consoleLogger = {
|
|
19374
19406
|
type: 'logger',
|
|
@@ -72183,4 +72215,4 @@ var typescript = /*#__PURE__*/Object.freeze({
|
|
|
72183
72215
|
});
|
|
72184
72216
|
|
|
72185
72217
|
export { HighlightJS as H, MarkdownIt as M, Ze$a as Z, resolveConfig as a, createTwoFilesPatch$1 as b, createSyncFn as c, dedent$1 as d, deflist_plugin as e, format2 as f, closest as g, distance as h, fm$2 as i, isCI as j, moduleImporter as k, cliProgress as l, minimatch as m, tinylr as n, createInstance as o, fse as p, inter as q, runAsWorker as r, ts$7 as t, watch$1 as w };
|
|
72186
|
-
//# sourceMappingURL=vendor-
|
|
72218
|
+
//# sourceMappingURL=vendor-BK-uA6Uv.mjs.map
|