@windwalker-io/core 4.1.0 → 4.1.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/.gulp.json +7 -7
- package/LICENSE +19 -19
- package/dist/debugger/153.js.map +1 -1
- package/dist/debugger/282.js.map +1 -1
- package/dist/debugger/416.js.map +1 -1
- package/dist/debugger/489.js.map +1 -1
- package/dist/debugger/694.js.map +1 -1
- package/dist/debugger/941.js.map +1 -1
- package/dist/debugger/index.js +1 -1
- package/dist/debugger/main.js.map +1 -1
- package/package.json +1 -1
- package/src/asset-sync.mjs +2 -1
- package/src/debugger/types/global.d.js +2 -2
- package/src/debugger/webpack.config.js +9 -9
- package/src/index.mjs +9 -9
- package/src/install-vendors.mjs +6 -2
- package/tsconfig.js.json +0 -15
- package/types/global.d.ts +0 -12
- package/types/index.d.ts +0 -5
- package/types/shims-sweetalert.d.ts +0 -8
- package/types/unicorn.d.ts +0 -1
- package/types/vendor.d.ts +0 -1
- package/types/vue/global.d.ts +0 -14
- package/types/vue/shims-vue.d.ts +0 -5
- package/types/vue/vue-runtime.d.ts +0 -16
- /package/dist/debugger/{153-0a5b226321a7cb0ca385.js → 153-2f3366cb4e48e0749485.js} +0 -0
- /package/dist/debugger/{282-a3b07d57b6065a0ab97b.js → 282-6f9f84a149fc7e52beb5.js} +0 -0
- /package/dist/debugger/{416-86068592d1c650d90f44.js → 416-ac63d360de6c26cab89a.js} +0 -0
- /package/dist/debugger/{489-6dc4df1408fa9cfc4c39.js → 489-e2b77a72f97d9e96f9c0.js} +0 -0
- /package/dist/debugger/{694-c816d301f72b3ee67630.js → 694-f1f22e67d91a57498639.js} +0 -0
- /package/dist/debugger/{941-b055306408b55426de85.js → 941-e1c0e725e13d8f3fcb6f.js} +0 -0
package/package.json
CHANGED
package/src/asset-sync.mjs
CHANGED
|
@@ -97,7 +97,8 @@ export function syncModuleTS(source = 'src/Module', dest = 'www/assets/js/view/'
|
|
|
97
97
|
return ts(
|
|
98
98
|
[
|
|
99
99
|
`${source}/**/*.ts`,
|
|
100
|
-
|
|
100
|
+
// Todo: Research if tsconfig.json can replace this line
|
|
101
|
+
'resources/assets/src/**/*.d.ts',
|
|
101
102
|
...findModules('**/assets/*.ts')
|
|
102
103
|
],
|
|
103
104
|
dest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare module '*.jpg';
|
|
2
|
-
declare module '*.svg';
|
|
1
|
+
declare module '*.jpg';
|
|
2
|
+
declare module '*.svg';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
resolve: {
|
|
5
|
-
alias: {
|
|
6
|
-
'@': path.resolve(__dirname),
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
};
|
|
1
|
+
const path = require('path');
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
resolve: {
|
|
5
|
+
alias: {
|
|
6
|
+
'@': path.resolve(__dirname),
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
};
|
package/src/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Part of funclass project.
|
|
3
|
-
*
|
|
4
|
-
* @copyright Copyright (C) 2021 LYRASOFT.
|
|
5
|
-
* @license __LICENSE__
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
export * from './asset-sync.mjs';
|
|
9
|
-
export * from './install-vendors.mjs';
|
|
1
|
+
/**
|
|
2
|
+
* Part of funclass project.
|
|
3
|
+
*
|
|
4
|
+
* @copyright Copyright (C) 2021 LYRASOFT.
|
|
5
|
+
* @license __LICENSE__
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export * from './asset-sync.mjs';
|
|
9
|
+
export * from './install-vendors.mjs';
|
package/src/install-vendors.mjs
CHANGED
|
@@ -87,8 +87,12 @@ function findNpmVendors(composerJsons = []) {
|
|
|
87
87
|
.flat();
|
|
88
88
|
|
|
89
89
|
const vendorsFromComposer = composerJsons
|
|
90
|
-
.map((composerJson) =>
|
|
91
|
-
|
|
90
|
+
.map((composerJson) => {
|
|
91
|
+
return [
|
|
92
|
+
...composerJson?.extra?.windwalker?.asset_vendors || [],
|
|
93
|
+
...Object.keys(composerJson?.extra?.windwalker?.assets?.vendors || {})
|
|
94
|
+
]
|
|
95
|
+
})
|
|
92
96
|
.flat();
|
|
93
97
|
|
|
94
98
|
return [ ...new Set(vendors.concat(vendorsFromComposer)) ];
|
package/tsconfig.js.json
DELETED
package/types/global.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import '@windwalker-io/unicorn';
|
|
2
|
-
import 'systemjs';
|
|
3
|
-
import 'jquery';
|
|
4
|
-
import 'axios';
|
|
5
|
-
import boostrap from 'bootstrap';
|
|
6
|
-
import * as vue from 'vue';
|
|
7
|
-
|
|
8
|
-
declare global {
|
|
9
|
-
var S: typeof System;
|
|
10
|
-
var bootstrap: typeof boostrap;
|
|
11
|
-
var Vue: typeof vue;
|
|
12
|
-
}
|
package/types/index.d.ts
DELETED
package/types/unicorn.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module "@unicorn/*";
|
package/types/vendor.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module "@vendor/*";
|
package/types/vue/global.d.ts
DELETED
package/types/vue/shims-vue.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Part of cati project.
|
|
3
|
-
*
|
|
4
|
-
* @copyright Copyright (C) 2023 __ORGANIZATION__.
|
|
5
|
-
* @license __LICENSE__
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import Vue from 'vue'
|
|
9
|
-
|
|
10
|
-
declare module '@vue/runtime-core' {
|
|
11
|
-
interface ComponentCustomProperties {
|
|
12
|
-
$lang: Function;
|
|
13
|
-
questionProp: Function;
|
|
14
|
-
introtext: Function;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|