@dtwo/schema 3.0.0-rc.14 → 3.0.0
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/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/schema/config.defaults.json +1 -0
- package/schema/config.schema.json +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransitionProps, KeepAliveProps } from 'kdu';
|
|
2
2
|
import { RouterOptions as RouterOptions$1, RouterHistory } from 'kdu-router';
|
|
3
|
-
import {
|
|
3
|
+
import { KdimportOptions, InlinePreset, Import } from 'kdimport';
|
|
4
4
|
import { CompilerOptions } from '@kdujs/compiler-core';
|
|
5
5
|
import { Hookable } from 'hookable';
|
|
6
6
|
import { Ignore } from 'ignore';
|
|
@@ -396,7 +396,7 @@ type RouterConfig = RouterOptions;
|
|
|
396
396
|
*/
|
|
397
397
|
type RouterConfigSerializable = Pick<RouterConfig, 'linkActiveClass' | 'linkExactActiveClass' | 'end' | 'sensitive' | 'strict' | 'hashMode'>;
|
|
398
398
|
|
|
399
|
-
interface ImportsOptions extends
|
|
399
|
+
interface ImportsOptions extends KdimportOptions {
|
|
400
400
|
/**
|
|
401
401
|
* Enable implicit auto import from Kdu, Dtwo and module contributed utilities.
|
|
402
402
|
* Generate global TypeScript definitions.
|
package/dist/index.mjs
CHANGED
|
@@ -205,7 +205,7 @@ const common = defineUntypedSchema({
|
|
|
205
205
|
hooks: null,
|
|
206
206
|
runtimeConfig: {
|
|
207
207
|
$resolve: async (val, get) => defu(val, {
|
|
208
|
-
public:
|
|
208
|
+
public: {},
|
|
209
209
|
app: {
|
|
210
210
|
baseURL: (await get("app")).baseURL,
|
|
211
211
|
buildAssetsDir: (await get("app")).buildAssetsDir,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dtwo/schema",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"repository": "d2js/framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@types/lodash.template": "^4",
|
|
15
15
|
"@types/semver": "^7",
|
|
16
|
-
"@kdhead/schema": "^0.
|
|
16
|
+
"@kdhead/schema": "^1.0.0",
|
|
17
17
|
"@witejs/plugin-kdu": "^4.0.0",
|
|
18
18
|
"holepack": "^1.0.0",
|
|
19
19
|
"kdu-router": "^4.1.6",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"create-require": "^1.1.1",
|
|
26
26
|
"defu": "^6.1.1",
|
|
27
27
|
"jiti": "^1.16.0",
|
|
28
|
+
"kdimport": "^1.0.0",
|
|
28
29
|
"pathe": "^1.0.0",
|
|
29
30
|
"pkg-types": "^1.0.1",
|
|
30
31
|
"postcss-import-resolver": "^2.0.0",
|
|
31
32
|
"scule": "^1.0.0",
|
|
32
33
|
"std-env": "^3.3.1",
|
|
33
34
|
"ufo": "^1.0.0",
|
|
34
|
-
"unimport": "^1.0.0",
|
|
35
35
|
"untyped": "^1.0.0"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
@@ -694,6 +694,7 @@
|
|
|
694
694
|
"markdownType": "SrcTypesConfigRuntimeConfig",
|
|
695
695
|
"id": "#runtimeConfig",
|
|
696
696
|
"default": {
|
|
697
|
+
"public": {},
|
|
697
698
|
"app": {
|
|
698
699
|
"baseURL": "/",
|
|
699
700
|
"buildAssetsDir": "/_dtwo/",
|
|
@@ -2363,6 +2364,7 @@
|
|
|
2363
2364
|
},
|
|
2364
2365
|
"hooks": null,
|
|
2365
2366
|
"runtimeConfig": {
|
|
2367
|
+
"public": {},
|
|
2366
2368
|
"app": {
|
|
2367
2369
|
"baseURL": "/",
|
|
2368
2370
|
"buildAssetsDir": "/_dtwo/",
|