create-steedos-app 2.1.86 → 2.1.89
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-steedos-app",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.89",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"steedos"
|
|
6
6
|
],
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"resolutions": {
|
|
36
36
|
"**/chalk": "3.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "4b2cd15644d673357382176b925003df5d03ba31"
|
|
39
39
|
}
|
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
该项目是通过`steedos cli`命令行创建魔方项目时会自动生成的模板项目,比如执行`npx create-steedos-app my-app`会自动创建一个名为`my-app`的项目。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 开发环境
|
|
6
|
+
|
|
7
|
+
我们推荐使用GitPod来在线开发华炎魔方项目,这样可以免去安装开发环境的繁琐过程,如果需要本地搭建开发环境可以参考以下Gitpod配置文件,它们分别描述了部署开发环境及启动华炎魔方项目的具体过程:
|
|
6
8
|
|
|
7
|
-
-
|
|
9
|
+
- [.gitpod.Dockerfile](.gitpod.Dockerfile)
|
|
10
|
+
- [.gitpod.yml](.gitpod.yml)
|
|
11
|
+
|
|
12
|
+
## 开发前准备
|
|
8
13
|
|
|
9
|
-
- **激活华炎魔方**:请参考该 [文档](https://www.steedos.cn/docs/deploy/deploy-activate)
|
|
14
|
+
- **激活华炎魔方**:请参考该 [文档](https://www.steedos.cn/docs/deploy/deploy-activate),注册华炎魔方门户账户,并准备好后续运行项目时激活华炎魔方依赖的两个环境变量。
|
|
10
15
|
|
|
11
|
-
- **注册GitPod
|
|
12
|
-
如果没有 [Github](https://github.com/) 账户和 [GitPod](https://gitpod.io/) 账户,请分别注册并使用浏览器登录它们。
|
|
16
|
+
- **注册GitPod账户**:如果没有 [Github](https://github.com/) 账户和 [GitPod](https://gitpod.io/) 账户,请分别注册并使用浏览器登录它们。
|
|
13
17
|
|
|
14
18
|
- **Fork项目**:请Fork本项目到本地,后续我们使用GitPod在线开发Fork后的项目的话就可以把开发后的代码提交到Git仓库。
|
|
15
19
|
也可以执行以下命令来创建一个新项目,然后把该项目提交到Git仓库,而不是Fork本项目来创建自己的魔方项目。```npx create-steedos-app my-app```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/steedos-project-template",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/steedos/steedos-project-template.git",
|
|
6
6
|
"description": "",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"**/tslib": "2.3.1",
|
|
53
53
|
"**/fibers": "^4.0.3",
|
|
54
54
|
"**/cookies": "0.6.2",
|
|
55
|
-
"**/@babel/runtime": "7.12.0"
|
|
55
|
+
"**/@babel/runtime": "7.12.0",
|
|
56
|
+
"**/graphql": "^15.3.0"
|
|
56
57
|
},
|
|
57
58
|
"publishConfig": {
|
|
58
59
|
"access": "public"
|