@oinone/cli 7.2.6 → 7.2.7

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/README.md CHANGED
@@ -36,11 +36,11 @@ npx @oinone/cli create my-project
36
36
  ### Quick create (recommended)
37
37
 
38
38
  ```bash
39
- oinone-frontend create my-project --oinone-version 7.2.0 --edition community --download-static-resource false
39
+ oinone-frontend create my-project --oinone-version 7.2.0 --edition community
40
40
  ```
41
41
 
42
42
  ```bash
43
- oinone-frontend create my-project-enterprise --oinone-version 7.2.0 --edition enterprise --download-static-resource false --auth-token <token> --write-project-credential
43
+ oinone-frontend create my-project-enterprise --oinone-version 7.2.0 --edition enterprise --auth-token <token> --write-project-credential
44
44
  ```
45
45
 
46
46
  ### More examples
@@ -54,25 +54,25 @@ oinone-frontend create
54
54
  Create project (non-interactive):
55
55
 
56
56
  ```bash
57
- oinone-frontend create my-project --oinone-version 7.2.0 --edition community --download-static-resource false
57
+ oinone-frontend create my-project --oinone-version 7.2.0 --edition community
58
58
  ```
59
59
 
60
60
  Create project with `--company-name` / `--project-name`:
61
61
 
62
62
  ```bash
63
- oinone-frontend create --company-name ss --project-name oms --oinone-version 7.2.0 --edition community --download-static-resource false
63
+ oinone-frontend create --company-name ss --project-name oms --oinone-version 7.2.0 --edition community
64
64
  ```
65
65
 
66
66
  Dry-run (no files written):
67
67
 
68
68
  ```bash
69
- oinone-frontend create my-project --oinone-version 7.2.0 --edition community --download-static-resource false --dry-run
69
+ oinone-frontend create my-project --oinone-version 7.2.0 --edition community --dry-run
70
70
  ```
71
71
 
72
72
  Create project (Oinone `6.4.*`):
73
73
 
74
74
  ```bash
75
- oinone-frontend create my-project-64 --oinone-version 6.4.0 --edition community --download-static-resource false
75
+ oinone-frontend create my-project-64 --oinone-version 6.4.0 --edition community
76
76
  ```
77
77
 
78
78
  ### Check environment
package/README_zh-CN.md CHANGED
@@ -36,11 +36,11 @@ npx @oinone/cli create my-project
36
36
  ### 快速创建(推荐)
37
37
 
38
38
  ```bash
39
- oinone-frontend create my-project --oinone-version 7.2.0 --edition community --download-static-resource false
39
+ oinone-frontend create my-project --oinone-version 7.2.0 --edition community
40
40
  ```
41
41
 
42
42
  ```bash
43
- oinone-frontend create my-project-enterprise --oinone-version 7.2.0 --edition enterprise --download-static-resource false --auth-token <token> --write-project-credential
43
+ oinone-frontend create my-project-enterprise --oinone-version 7.2.0 --edition enterprise --auth-token <token> --write-project-credential
44
44
  ```
45
45
 
46
46
  ### 更多示例
@@ -54,25 +54,25 @@ oinone-frontend create
54
54
  创建项目(静默式):
55
55
 
56
56
  ```bash
57
- oinone-frontend create my-project --oinone-version 7.2.0 --edition community --download-static-resource false
57
+ oinone-frontend create my-project --oinone-version 7.2.0 --edition community
58
58
  ```
59
59
 
60
60
  使用 `--company-name` / `--project-name` 创建:
61
61
 
62
62
  ```bash
63
- oinone-frontend create --company-name ss --project-name oms --oinone-version 7.2.0 --edition community --download-static-resource false
63
+ oinone-frontend create --company-name ss --project-name oms --oinone-version 7.2.0 --edition community
64
64
  ```
65
65
 
66
66
  演练模式(不落盘):
67
67
 
68
68
  ```bash
69
- oinone-frontend create my-project --oinone-version 7.2.0 --edition community --download-static-resource false --dry-run
69
+ oinone-frontend create my-project --oinone-version 7.2.0 --edition community --dry-run
70
70
  ```
71
71
 
72
72
  创建工程(Oinone `6.4.*`):
73
73
 
74
74
  ```bash
75
- oinone-frontend create my-project-64 --oinone-version 6.4.0 --edition community --download-static-resource false
75
+ oinone-frontend create my-project-64 --oinone-version 6.4.0 --edition community
76
76
  ```
77
77
 
78
78
  ### 检查环境
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oinone/cli",
3
- "version": "7.2.6",
3
+ "version": "7.2.7",
4
4
  "description": "CLI tool to generate Oinone Frontend Template",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -23,8 +23,7 @@ import '@ss/project';
23
23
  VueOioProvider(
24
24
  {
25
25
  browser: {
26
- title: 'Oinone',
27
- favicon: 'https://pamirs.oss-cn-hangzhou.aliyuncs.com/pamirs/image/default_favicon.ico'
26
+ title: 'Oinone'
28
27
  },
29
28
  dependencies: {
30
29
  vue: import('vue'),
@@ -1,3 +1,5 @@
1
1
  registry=https://registry.npmmirror.com/
2
2
  # @oinone:registry=http://nexus.shushi.pro/repository/kunlun/
3
3
  legacy-peer-deps=true
4
+ link-workspace-packages=true
5
+ prefer-workspace-packages=true
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@ss/admin-widget",
3
3
  "version": "1.0.0",
4
+ "type": "module",
4
5
  "main": "index.ts",
5
6
  "scripts": {
6
7
  "clean": "rimraf dist package-lock.json node_modules",
7
8
  "prebuild": "rimraf dist",
8
9
  "build": "rollup -c && npm run build-css",
9
- "build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
10
+ "build-css": "[ -f './dist/ss-admin-widget.scss' ] && sass ./dist/ss-admin-widget.scss ./dist/ss-admin-widget.css || exit 0",
10
11
  "build-win": "rollup -c && npm run build-css-win",
11
- "build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
12
+ "build-css-win": "IF EXIST ./dist/ss-admin-widget.scss (sass ./dist/ss-admin-widget.scss ./dist/ss-admin-widget.css) ELSE (exit 0)",
12
13
  "prepublishOnly": "node ./scripts/prepublish-only.js",
13
14
  "postpublish": "node ./scripts/postpublish.js"
14
15
  },
@@ -6,6 +6,8 @@ export default CompileConfigBuilder.config()
6
6
  .externalPkg(pkg)
7
7
  .singleModule()
8
8
  .replace()
9
+ .vue()
10
+ .scss()
9
11
  .nodeResolve()
10
12
  .commonjs()
11
13
  .typescript2()
@@ -19,8 +19,7 @@ import '@ss/project';
19
19
  VueOioProvider(
20
20
  {
21
21
  browser: {
22
- title: 'Oinone',
23
- favicon: 'https://pamirs.oss-cn-hangzhou.aliyuncs.com/pamirs/image/default_favicon.ico'
22
+ title: 'Oinone'
24
23
  },
25
24
  dependencies: {
26
25
  vue: import('vue'),
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@ss/oinone",
3
3
  "version": "1.0.0",
4
+ "type": "module",
4
5
  "main": "index.ts",
5
6
  "scripts": {
6
7
  "clean": "rimraf dist package-lock.json node_modules",
7
8
  "prebuild": "rimraf dist",
8
9
  "build": "rollup -c && npm run build-css",
9
- "build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
10
+ "build-css": "[ -f './dist/ss-oinone.scss' ] && sass ./dist/ss-oinone.scss ./dist/ss-oinone.css || exit 0",
10
11
  "build-win": "rollup -c && npm run build-css-win",
11
- "build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
12
+ "build-css-win": "IF EXIST ./dist/ss-oinone.scss (sass ./dist/ss-oinone.scss ./dist/ss-oinone.css) ELSE (exit 0)",
12
13
  "prepublishOnly": "node ./scripts/prepublish-only.js",
13
14
  "postpublish": "node ./scripts/postpublish.js"
14
15
  },
@@ -6,6 +6,8 @@ export default CompileConfigBuilder.config()
6
6
  .externalPkg(pkg)
7
7
  .singleModule()
8
8
  .replace()
9
+ .vue()
10
+ .scss()
9
11
  .nodeResolve()
10
12
  .commonjs()
11
13
  .typescript2()
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@ss/project",
3
3
  "version": "1.0.0",
4
+ "type": "module",
4
5
  "main": "index.ts",
5
6
  "scripts": {
6
7
  "clean": "rimraf dist package-lock.json node_modules",
7
8
  "prebuild": "rimraf dist",
8
9
  "build": "rollup -c && npm run build-css",
9
- "build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
10
+ "build-css": "[ -f './dist/ss-project.scss' ] && sass ./dist/ss-project.scss ./dist/ss-project.css || exit 0",
10
11
  "build-win": "rollup -c && npm run build-css-win",
11
- "build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
12
+ "build-css-win": "IF EXIST ./dist/ss-project.scss (sass ./dist/ss-project.scss ./dist/ss-project.css) ELSE (exit 0)",
12
13
  "prepublishOnly": "node ./scripts/prepublish-only.js",
13
14
  "postpublish": "node ./scripts/postpublish.js"
14
15
  },
@@ -6,6 +6,8 @@ export default CompileConfigBuilder.config()
6
6
  .externalPkg(pkg)
7
7
  .singleModule()
8
8
  .replace()
9
+ .vue()
10
+ .scss()
9
11
  .nodeResolve()
10
12
  .commonjs()
11
13
  .typescript2()