uview-ultra-plus 1.11.1 → 1.12.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/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uview-ultra-plus",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
|
+
"workspaces": [
|
|
5
|
+
"packages/*",
|
|
6
|
+
"examples/*"
|
|
7
|
+
],
|
|
4
8
|
"publishConfig": {
|
|
5
9
|
"registry": "https://registry.npmjs.org/"
|
|
6
10
|
},
|
|
@@ -14,6 +18,9 @@
|
|
|
14
18
|
"scripts": {
|
|
15
19
|
"release": "release-it",
|
|
16
20
|
"build": "node scripts/build.js",
|
|
21
|
+
"docs:dev": "vitepress dev docs",
|
|
22
|
+
"docs:build": "vitepress build docs",
|
|
23
|
+
"docs:preview": "vitepress preview docs",
|
|
17
24
|
"rollup": "rollup -c rollup.config.mjs",
|
|
18
25
|
"test": "echo \"No test specified\""
|
|
19
26
|
},
|
|
@@ -51,7 +58,9 @@
|
|
|
51
58
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
52
59
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
60
|
"release-it": "^19.2.4",
|
|
54
|
-
"rollup": "^4.59.0"
|
|
61
|
+
"rollup": "^4.59.0",
|
|
62
|
+
"vitepress": "^1.6.4",
|
|
63
|
+
"vue": "^3.5.29"
|
|
55
64
|
},
|
|
56
65
|
"engines": {
|
|
57
66
|
"node": ">=20.0.0"
|
package/dist/scripts/build.js
CHANGED
|
@@ -25,15 +25,15 @@ function copySource() {
|
|
|
25
25
|
console.log('[Build] Copying source to dist (excluding node_modules)...');
|
|
26
26
|
|
|
27
27
|
// Main components
|
|
28
|
-
const uviewSrc = path.join(projectRoot, '
|
|
28
|
+
const uviewSrc = path.join(projectRoot, 'packages/uview-ultra');
|
|
29
29
|
const uviewDest = path.join(distPath, 'uview-ultra');
|
|
30
30
|
|
|
31
31
|
if (fs.existsSync(uviewSrc)) {
|
|
32
32
|
execSync(`rsync -aq --exclude='node_modules' --exclude='uts-libs' "${uviewSrc}/" "${uviewDest}/"`);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
// lime-dayuts (moved to
|
|
36
|
-
const limeSrc = path.join(projectRoot, '
|
|
35
|
+
// lime-dayuts (moved to packages/uview-ultra/uts-libs/lime-dayuts)
|
|
36
|
+
const limeSrc = path.join(projectRoot, 'packages/uview-ultra/uts-libs/lime-dayuts');
|
|
37
37
|
const limeDest = path.join(distPath, 'lime-dayuts');
|
|
38
38
|
if (fs.existsSync(limeSrc)) {
|
|
39
39
|
if (!fs.existsSync(limeDest)) fs.mkdirSync(limeDest, { recursive: true });
|
|
@@ -65,7 +65,7 @@ function patchImports() {
|
|
|
65
65
|
*/
|
|
66
66
|
function syncExamples() {
|
|
67
67
|
console.log('[Build] Syncing source to examples...');
|
|
68
|
-
const uviewSrc = path.join(projectRoot, '
|
|
68
|
+
const uviewSrc = path.join(projectRoot, 'packages/uview-ultra');
|
|
69
69
|
const exampleTargets = [
|
|
70
70
|
path.join(projectRoot, 'examples/uniapp/src/uni_modules/uview-ultra'),
|
|
71
71
|
path.join(projectRoot, 'examples/uniapp-x/uni_modules/uview-ultra')
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uview-ultra",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "uview-ultra",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.12.0",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"clipboard": "^2.0.11",
|
|
12
12
|
"dayjs": "^1.11.3"
|
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uview-ultra-plus",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
|
+
"workspaces": [
|
|
5
|
+
"packages/*",
|
|
6
|
+
"examples/*"
|
|
7
|
+
],
|
|
4
8
|
"publishConfig": {
|
|
5
9
|
"registry": "https://registry.npmjs.org/"
|
|
6
10
|
},
|
|
@@ -14,6 +18,9 @@
|
|
|
14
18
|
"scripts": {
|
|
15
19
|
"release": "release-it",
|
|
16
20
|
"build": "node scripts/build.js",
|
|
21
|
+
"docs:dev": "vitepress dev docs",
|
|
22
|
+
"docs:build": "vitepress build docs",
|
|
23
|
+
"docs:preview": "vitepress preview docs",
|
|
17
24
|
"rollup": "rollup -c rollup.config.mjs",
|
|
18
25
|
"test": "echo \"No test specified\""
|
|
19
26
|
},
|
|
@@ -51,7 +58,9 @@
|
|
|
51
58
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
52
59
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
60
|
"release-it": "^19.2.4",
|
|
54
|
-
"rollup": "^4.59.0"
|
|
61
|
+
"rollup": "^4.59.0",
|
|
62
|
+
"vitepress": "^1.6.4",
|
|
63
|
+
"vue": "^3.5.29"
|
|
55
64
|
},
|
|
56
65
|
"engines": {
|
|
57
66
|
"node": ">=20.0.0"
|