@histoire/vendors 0.17.6 → 0.17.14
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/client/b-floating-vue.js +1 -1
- package/dist/client/b-iconify.js +1 -1
- package/dist/client/b-pinia.js +1 -1
- package/dist/client/b-vue-router.js +1 -1
- package/dist/client/b-vue-use.js +1 -1
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +3 -3
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +2 -1
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +17 -17
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -1
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +5 -5
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +27 -27
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +1 -1
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +1 -1
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +6 -6
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +3 -3
- package/dist/client/node_modules/@vue/devtools-api/package.json +12 -12
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +2 -2
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +2 -2
- package/dist/client/node_modules/csstype/index.d.ts +1270 -721
- package/dist/client/node_modules/csstype/package.json +3 -3
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +4 -0
- package/dist/client/node_modules/magic-string/package.json +7 -7
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +2 -2
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +25 -3
- package/dist/client/node_modules/postcss/lib/container.d.ts +44 -6
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +2 -2
- package/dist/client/node_modules/postcss/lib/document.d.ts +1 -0
- package/dist/client/node_modules/postcss/lib/node.d.ts +3 -3
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/root.d.ts +1 -0
- package/dist/client/node_modules/postcss/lib/rule.d.ts +6 -2
- package/dist/client/node_modules/postcss/package.json +2 -2
- package/dist/client/vue.runtime.esm-bundler.js +1 -1
- package/package.json +3 -3
- package/rollup.config.mjs +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "csstype",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"main": "",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"description": "Strict TypeScript and Flow types for style based on MDN data",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"flow-bin": "^0.203.1",
|
|
29
29
|
"jest": "^29.5.0",
|
|
30
30
|
"jsdom": "^21.1.1",
|
|
31
|
-
"mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#
|
|
32
|
-
"mdn-data": "git+https://github.com/mdn/data.git#
|
|
31
|
+
"mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#1bf44517bd08de735e9ec20dbfe8e86c96341054",
|
|
32
|
+
"mdn-data": "git+https://github.com/mdn/data.git#7f0c865a3c4b5d891285c93308ee5c25cb5cfee8",
|
|
33
33
|
"prettier": "^2.8.7",
|
|
34
34
|
"request": "^2.88.2",
|
|
35
35
|
"ts-jest": "^29.0.5",
|
|
@@ -209,6 +209,10 @@ export default class MagicString {
|
|
|
209
209
|
* Removing the same content twice, or making removals that partially overlap, will cause an error.
|
|
210
210
|
*/
|
|
211
211
|
remove(start: number, end: number): MagicString;
|
|
212
|
+
/**
|
|
213
|
+
* Reset the modified characters from `start` to `end` (of the original string, **not** the generated string).
|
|
214
|
+
*/
|
|
215
|
+
reset(start: number, end: number): MagicString;
|
|
212
216
|
/**
|
|
213
217
|
* Returns the content of the generated string that corresponds to the slice between `start` and `end` of the original string.
|
|
214
218
|
* Throws error if the indices are for characters that were already removed.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magic-string",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.8",
|
|
4
4
|
"description": "Modify strings, generate sourcemaps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"string",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"watch": "rollup -cw"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@rollup/plugin-node-resolve": "^15.2.
|
|
46
|
-
"@rollup/plugin-replace": "^5.0.
|
|
45
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
46
|
+
"@rollup/plugin-replace": "^5.0.5",
|
|
47
47
|
"benchmark": "^2.1.4",
|
|
48
|
-
"bumpp": "^9.
|
|
48
|
+
"bumpp": "^9.3.0",
|
|
49
49
|
"conventional-changelog-cli": "^3.0.0",
|
|
50
|
-
"eslint": "^8.
|
|
50
|
+
"eslint": "^8.56.0",
|
|
51
51
|
"mocha": "^10.2.0",
|
|
52
|
-
"prettier": "^3.
|
|
53
|
-
"publint": "^0.2.
|
|
52
|
+
"prettier": "^3.2.4",
|
|
53
|
+
"publint": "^0.2.7",
|
|
54
54
|
"rollup": "^3.28.0",
|
|
55
55
|
"source-map-js": "^1.0.2",
|
|
56
56
|
"source-map-support": "^0.5.21"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-demi",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.7",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12"
|
|
6
6
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"scripts"
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
|
-
"postinstall": "node ./scripts/postinstall.js",
|
|
35
|
+
"postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
|
|
36
36
|
"release": "npx bumpp --tag --commit --push && npm publish"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import Container, {
|
|
1
|
+
import Container, {
|
|
2
|
+
ContainerProps,
|
|
3
|
+
ContainerWithChildren
|
|
4
|
+
} from './container.js'
|
|
2
5
|
|
|
3
6
|
declare namespace AtRule {
|
|
4
7
|
export interface AtRuleRaws extends Record<string, unknown> {
|
|
@@ -81,11 +84,30 @@ declare class AtRule_ extends Container {
|
|
|
81
84
|
*
|
|
82
85
|
* ```js
|
|
83
86
|
* const root = postcss.parse('@media print {}')
|
|
84
|
-
* media.name //=> 'media'
|
|
85
87
|
* const media = root.first
|
|
88
|
+
* media.name //=> 'media'
|
|
86
89
|
* ```
|
|
87
90
|
*/
|
|
88
91
|
name: string
|
|
92
|
+
/**
|
|
93
|
+
* An array containing the layer’s children.
|
|
94
|
+
*
|
|
95
|
+
* ```js
|
|
96
|
+
* const root = postcss.parse('@layer example { a { color: black } }')
|
|
97
|
+
* const layer = root.first
|
|
98
|
+
* layer.nodes.length //=> 1
|
|
99
|
+
* layer.nodes[0].selector //=> 'a'
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* Can be `undefinded` if the at-rule has no body.
|
|
103
|
+
*
|
|
104
|
+
* ```js
|
|
105
|
+
* const root = postcss.parse('@layer a, b, c;')
|
|
106
|
+
* const layer = root.first
|
|
107
|
+
* layer.nodes //=> undefined
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
nodes: Container['nodes']
|
|
89
111
|
/**
|
|
90
112
|
* The at-rule’s parameters, the values that follow the at-rule’s name
|
|
91
113
|
* but precede any `{}` block.
|
|
@@ -97,7 +119,7 @@ declare class AtRule_ extends Container {
|
|
|
97
119
|
* ```
|
|
98
120
|
*/
|
|
99
121
|
params: string
|
|
100
|
-
parent:
|
|
122
|
+
parent: ContainerWithChildren | undefined
|
|
101
123
|
|
|
102
124
|
raws: AtRule.AtRuleRaws
|
|
103
125
|
|
|
@@ -5,6 +5,12 @@ import Node, { ChildNode, ChildProps, NodeProps } from './node.js'
|
|
|
5
5
|
import Rule from './rule.js'
|
|
6
6
|
|
|
7
7
|
declare namespace Container {
|
|
8
|
+
export class ContainerWithChildren<
|
|
9
|
+
Child extends Node = ChildNode
|
|
10
|
+
> extends Container_<Child> {
|
|
11
|
+
nodes: Child[]
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
export interface ValueOptions {
|
|
9
15
|
/**
|
|
10
16
|
* String that’s used to narrow down values and speed up the regexp search.
|
|
@@ -43,7 +49,7 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
|
|
|
43
49
|
* root.nodes[0].nodes[0].prop //=> 'color'
|
|
44
50
|
* ```
|
|
45
51
|
*/
|
|
46
|
-
nodes: Child[]
|
|
52
|
+
nodes: Child[] | undefined
|
|
47
53
|
|
|
48
54
|
/**
|
|
49
55
|
* Inserts new nodes to the end of the container.
|
|
@@ -66,7 +72,15 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
|
|
|
66
72
|
* @return This node for methods chain.
|
|
67
73
|
*/
|
|
68
74
|
append(
|
|
69
|
-
...nodes: (
|
|
75
|
+
...nodes: (
|
|
76
|
+
| ChildProps
|
|
77
|
+
| ChildProps[]
|
|
78
|
+
| Node
|
|
79
|
+
| Node[]
|
|
80
|
+
| string
|
|
81
|
+
| string[]
|
|
82
|
+
| undefined
|
|
83
|
+
)[]
|
|
70
84
|
): this
|
|
71
85
|
|
|
72
86
|
assign(overrides: Container.ContainerProps | object): this
|
|
@@ -146,7 +160,14 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
|
|
|
146
160
|
*/
|
|
147
161
|
insertAfter(
|
|
148
162
|
oldNode: Child | number,
|
|
149
|
-
newNode:
|
|
163
|
+
newNode:
|
|
164
|
+
| Child
|
|
165
|
+
| Child[]
|
|
166
|
+
| ChildProps
|
|
167
|
+
| ChildProps[]
|
|
168
|
+
| string
|
|
169
|
+
| string[]
|
|
170
|
+
| undefined
|
|
150
171
|
): this
|
|
151
172
|
/**
|
|
152
173
|
* Insert new node before old node within the container.
|
|
@@ -161,7 +182,14 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
|
|
|
161
182
|
*/
|
|
162
183
|
insertBefore(
|
|
163
184
|
oldNode: Child | number,
|
|
164
|
-
newNode:
|
|
185
|
+
newNode:
|
|
186
|
+
| Child
|
|
187
|
+
| Child[]
|
|
188
|
+
| ChildProps
|
|
189
|
+
| ChildProps[]
|
|
190
|
+
| string
|
|
191
|
+
| string[]
|
|
192
|
+
| undefined
|
|
165
193
|
): this
|
|
166
194
|
|
|
167
195
|
/**
|
|
@@ -202,7 +230,15 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
|
|
|
202
230
|
* @return This node for methods chain.
|
|
203
231
|
*/
|
|
204
232
|
prepend(
|
|
205
|
-
...nodes: (
|
|
233
|
+
...nodes: (
|
|
234
|
+
| ChildProps
|
|
235
|
+
| ChildProps[]
|
|
236
|
+
| Node
|
|
237
|
+
| Node[]
|
|
238
|
+
| string
|
|
239
|
+
| string[]
|
|
240
|
+
| undefined
|
|
241
|
+
)[]
|
|
206
242
|
): this
|
|
207
243
|
/**
|
|
208
244
|
* Add child to the end of the node.
|
|
@@ -447,6 +483,8 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
|
|
|
447
483
|
get last(): Child | undefined
|
|
448
484
|
}
|
|
449
485
|
|
|
450
|
-
declare class Container<
|
|
486
|
+
declare class Container<
|
|
487
|
+
Child extends Node = ChildNode
|
|
488
|
+
> extends Container_<Child> {}
|
|
451
489
|
|
|
452
490
|
export = Container
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ContainerWithChildren } from './container.js'
|
|
2
2
|
import Node from './node.js'
|
|
3
3
|
|
|
4
4
|
declare namespace Declaration {
|
|
@@ -79,7 +79,7 @@ declare class Declaration_ extends Node {
|
|
|
79
79
|
*/
|
|
80
80
|
important: boolean
|
|
81
81
|
|
|
82
|
-
parent:
|
|
82
|
+
parent: ContainerWithChildren | undefined
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* The property name for a CSS declaration.
|
|
@@ -246,7 +246,7 @@ declare abstract class Node_ {
|
|
|
246
246
|
* @param newNode New node.
|
|
247
247
|
* @return This node for methods chain.
|
|
248
248
|
*/
|
|
249
|
-
after(newNode: Node | Node.ChildProps | Node[] | string): this
|
|
249
|
+
after(newNode: Node | Node.ChildProps | Node[] | string | undefined): this
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* It assigns properties to an existing node instance.
|
|
@@ -273,7 +273,7 @@ declare abstract class Node_ {
|
|
|
273
273
|
* @param newNode New node.
|
|
274
274
|
* @return This node for methods chain.
|
|
275
275
|
*/
|
|
276
|
-
before(newNode: Node | Node.ChildProps | Node[] | string): this
|
|
276
|
+
before(newNode: Node | Node.ChildProps | Node[] | string | undefined): this
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Clear the code style properties for the node and its children.
|
|
@@ -531,6 +531,6 @@ declare abstract class Node_ {
|
|
|
531
531
|
warn(result: Result, message: string, options?: WarningOptions): Warning
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
declare class Node extends Node_ {
|
|
534
|
+
declare class Node extends Node_ {}
|
|
535
535
|
|
|
536
536
|
export = Node
|
|
@@ -309,7 +309,7 @@ declare namespace postcss {
|
|
|
309
309
|
* The path of the CSS source file. You should always set `from`,
|
|
310
310
|
* because it is used in source map generation and syntax error messages.
|
|
311
311
|
*/
|
|
312
|
-
from?: string
|
|
312
|
+
from?: string | undefined
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
315
|
* Source map options
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import Container, {
|
|
1
|
+
import Container, {
|
|
2
|
+
ContainerProps,
|
|
3
|
+
ContainerWithChildren
|
|
4
|
+
} from './container.js'
|
|
2
5
|
|
|
3
6
|
declare namespace Rule {
|
|
4
7
|
export interface RuleRaws extends Record<string, unknown> {
|
|
@@ -69,7 +72,8 @@ declare namespace Rule {
|
|
|
69
72
|
* ```
|
|
70
73
|
*/
|
|
71
74
|
declare class Rule_ extends Container {
|
|
72
|
-
|
|
75
|
+
nodes: NonNullable<Container['nodes']>
|
|
76
|
+
parent: ContainerWithChildren | undefined
|
|
73
77
|
raws: Rule.RuleRaws
|
|
74
78
|
/**
|
|
75
79
|
* The rule’s full selector represented as a string.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.35",
|
|
4
4
|
"description": "Tool for transforming styles with JS plugins",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^10 || ^12 || >=14"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"url": "https://github.com/postcss/postcss/issues"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"nanoid": "^3.3.
|
|
77
|
+
"nanoid": "^3.3.7",
|
|
78
78
|
"picocolors": "^1.0.0",
|
|
79
79
|
"source-map-js": "^1.0.2"
|
|
80
80
|
},
|
|
@@ -11132,4 +11132,4 @@ var vue_runtime_esmBundler = /*#__PURE__*/Object.freeze({
|
|
|
11132
11132
|
withScopeId: withScopeId
|
|
11133
11133
|
});
|
|
11134
11134
|
|
|
11135
|
-
export { onMounted as $, toRaw as A,
|
|
11135
|
+
export { onMounted as $, toRaw as A, unref as B, watch as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, getCurrentScope as I, onScopeDispose as J, toRefs as K, computed as L, reactive as M, toRef as N, getCurrentInstance as O, onUnmounted as P, onDeactivated as Q, onActivated as R, watchEffect as S, provide as T, shallowRef as U, shallowReactive as V, readonly as W, version as X, customRef as Y, onBeforeMount as Z, onBeforeUnmount as _, normalizeProps as a, renderList as a$, onUpdated as a0, isReadonly as a1, onBeforeUpdate as a2, compile as a3, Transition as a4, TransitionGroup as a5, VueElement as a6, createSSRApp as a7, defineCustomElement as a8, defineSSRCustomElement as a9, createPropsRestProxy as aA, createRenderer as aB, createSlots as aC, createStaticVNode as aD, createTextVNode as aE, defineAsyncComponent as aF, defineEmits as aG, defineExpose as aH, defineModel as aI, defineOptions as aJ, defineProps as aK, defineSlots as aL, devtools as aM, getTransitionRawChildren as aN, handleError as aO, initCustomFormatter as aP, isMemoSame as aQ, isRuntimeOnly as aR, isVNode as aS, mergeDefaults as aT, mergeModels as aU, onErrorCaptured as aV, onRenderTracked as aW, onRenderTriggered as aX, onServerPrefetch as aY, queuePostFlushCb as aZ, registerRuntimeCompiler as a_, hydrate as aa, initDirectivesForSSR as ab, render as ac, useCssModule as ad, useCssVars as ae, vModelCheckbox as af, vModelDynamic as ag, vModelRadio as ah, vModelSelect as ai, vModelText as aj, vShow as ak, withModifiers as al, BaseTransition as am, BaseTransitionPropsValidators as an, Comment as ao, KeepAlive as ap, Static as aq, Suspense as ar, Teleport as as, Text as at, assertNumber as au, callWithAsyncErrorHandling as av, callWithErrorHandling as aw, cloneVNode as ax, compatUtils as ay, createHydrationRenderer as az, nextTick as b, resolveDirective as b0, resolveDynamicComponent as b1, resolveFilter as b2, resolveTransitionHooks as b3, setBlockTracking as b4, setDevtoolsHook as b5, setTransitionHooks as b6, ssrContextKey as b7, ssrUtils as b8, toHandlers as b9, transformVNodeArgs as ba, useAttrs as bb, useModel as bc, useSSRContext as bd, useSlots as be, useTransitionState as bf, warn as bg, watchPostEffect as bh, watchSyncEffect as bi, withAsyncContext as bj, withDefaults as bk, withDirectives as bl, withMemo as bm, EffectScope as bn, ReactiveEffect as bo, effect as bp, isProxy as bq, isShallow$1 as br, proxyRefs as bs, shallowReadonly as bt, stop as bu, toValue as bv, triggerRef as bw, camelize as bx, capitalize as by, toHandlerKey as bz, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, normalizeStyle as j, withKeys as k, createCommentVNode as l, withCtx as m, normalizeClass as n, openBlock as o, pushScopeId as p, createVNode as q, renderSlot as r, mergeProps as s, toDisplayString as t, ref as u, h as v, withScopeId as w, createApp as x, hasInjectionContext as y, inject as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/vendors",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.14",
|
|
4
4
|
"description": "Bundled vendors for histoire",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"@iconify/vue": "^3.2.1",
|
|
31
31
|
"@rollup/plugin-commonjs": "^23.0.7",
|
|
32
32
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
33
|
-
"@types/node": "^18.
|
|
33
|
+
"@types/node": "^18.11.9",
|
|
34
34
|
"@vueuse/core": "^9.13.0",
|
|
35
35
|
"execa": "^6.1.0",
|
|
36
36
|
"floating-vue": "2.0.0-beta.19",
|
|
37
37
|
"fs-extra": "^10.1.0",
|
|
38
38
|
"globby": "^13.2.2",
|
|
39
39
|
"pinia": "^2.1.7",
|
|
40
|
-
"rollup": "^
|
|
40
|
+
"rollup": "^4.8.0",
|
|
41
41
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
42
42
|
"scroll-into-view-if-needed": "^2.2.31",
|
|
43
43
|
"typescript": "^4.9.5",
|
package/rollup.config.mjs
CHANGED
|
@@ -29,13 +29,13 @@ export default defineConfig({
|
|
|
29
29
|
}),
|
|
30
30
|
{
|
|
31
31
|
name: 'define',
|
|
32
|
-
transform
|
|
32
|
+
transform(code) {
|
|
33
33
|
return code.replace(/__VUE_OPTIONS_API__/g, 'true')
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
name: 'process-build',
|
|
38
|
-
closeBundle
|
|
38
|
+
closeBundle() {
|
|
39
39
|
try {
|
|
40
40
|
const pkg = fs.readJsonSync('./package.json')
|
|
41
41
|
const tempDir = path.resolve('./node_modules/.temp/histoire-vendors')
|
|
@@ -68,7 +68,7 @@ export default defineConfig({
|
|
|
68
68
|
const filepath = file.replace(/\.d\.ts$/, '')
|
|
69
69
|
const content = `import Default from '${filepath}'
|
|
70
70
|
export default Default
|
|
71
|
-
export * from '${filepath}'\n
|
|
71
|
+
export * from '${filepath}'\n`.replace(/\n/g, process.platform === 'win32' ? '\r\n' : '\n')
|
|
72
72
|
fs.writeFileSync(path.basename(file).replace(/^b-/, ''), content, 'utf-8')
|
|
73
73
|
}
|
|
74
74
|
// Exports (package.json)
|