create-steedos-app 2.2.52-beta.20 → 2.2.52-beta.24
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/LICENSE.txt +2 -3
- package/README.md +51 -2
- package/dist/index.js +385 -0
- package/package.json +35 -22
- package/createSteedosApp.js +0 -127
- package/index.js +0 -19
- package/templates/default/.scripts/env.sh +0 -7
- package/templates/default/.scripts/flush_cacher_db.js +0 -7
- package/templates/default/.scripts/setup.sh +0 -8
- package/templates/default/.scripts/tailscale.sh +0 -7
- package/templates/default/.scripts/tailscaled.sh +0 -6
- package/templates/default/.steedos/_package.json +0 -11
- package/templates/default/.steedos/steedos-packages.yml +0 -30
- package/templates/default/.steedos/yarn.lock +0 -35
- package/templates/default/.vscode/extensions.json +0 -5
- package/templates/default/.vscode/settings.json +0 -17
- package/templates/default/Dockerfile +0 -21
- package/templates/default/Dockerfile-codeserver +0 -37
- package/templates/default/README.md +0 -99
- package/templates/default/_package.json +0 -60
- package/templates/default/docker-compose.yml +0 -59
- package/templates/default/env +0 -35
- package/templates/default/gitignore +0 -35
- package/templates/default/gitpod.Dockerfile +0 -52
- package/templates/default/gitpod.yml +0 -47
- package/templates/default/index.js +0 -0
- package/templates/default/jsreport-app/_package.json +0 -16
- package/templates/default/jsreport-app/jsreport.config.json +0 -43
- package/templates/default/jsreport-app/server.js +0 -14
- package/templates/default/lerna.json +0 -10
- package/templates/default/moleculer.config.js +0 -268
- package/templates/default/node-red-app/LICENSE.txt +0 -706
- package/templates/default/node-red-app/README.md +0 -78
- package/templates/default/node-red-app/_package.json +0 -26
- package/templates/default/node-red-app/index.js +0 -137
- package/templates/default/node-red-app/public/css/simplegrid.css +0 -145
- package/templates/default/node-red-app/public/css/style.css +0 -482
- package/templates/default/node-red-app/public/favicon.ico +0 -0
- package/templates/default/node-red-app/public/first-run.html +0 -280
- package/templates/default/node-red-app/public/fonts/css.css +0 -224
- package/templates/default/node-red-app/public/images/progress-bar.png +0 -0
- package/templates/default/node-red-app/public/images/progress-left.png +0 -0
- package/templates/default/node-red-app/public/images/progress-middle.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-bar.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-left.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-middle.png +0 -0
- package/templates/default/node-red-app/public/images/progress-o-right.png +0 -0
- package/templates/default/node-red-app/public/images/progress-right.png +0 -0
- package/templates/default/node-red-app/public/images/spin.svg +0 -41
- package/templates/default/node-red-app/public/images/title-wave.png +0 -0
- package/templates/default/node-red-app/public/index.html +0 -220
- package/templates/default/node-red-app/public/scripts/jquery-1.11.2.min.js +0 -4
- package/templates/default/node-red-app/public/scripts/zxcvbn.js +0 -28
- package/templates/default/node-red-app/public/steedos.png +0 -0
- package/templates/default/node-red-app/red.js +0 -294
- package/templates/default/node-red-app/routers/health.js +0 -13
- package/templates/default/node-red-app/settings.js +0 -121
- package/templates/default/services/community.service.js +0 -19
- package/templates/default/services/enterprise.service.js +0 -26
- package/templates/default/services/sidecar-server.service.js +0 -7
- package/templates/default/steedos-app/README.md +0 -5
- package/templates/default/steedos-app/_package.json +0 -9
- package/templates/default/steedos-app/main/default/client/analytics.baidu.client.js +0 -24
- package/templates/default/steedos-app/package.service.js +0 -69
- package/templates/default/steedos-app/tsconfig.json +0 -74
- package/templates/default/steedos-config.yml +0 -95
- package/templates/default/steedos-packages/README.md +0 -1
- package/templates/default/steedos-packages/my-package/README.md +0 -3
- package/templates/default/steedos-packages/my-package/_package.json +0 -9
- package/templates/default/steedos-packages/my-package/main/default/client/analytics.baidu.client.js +0 -24
- package/templates/default/steedos-packages/my-package/package.service.js +0 -69
package/LICENSE.txt
CHANGED
|
@@ -6,9 +6,8 @@ To determine under which license you may use a file from the Steedos source code
|
|
|
6
6
|
please resort to the header of that file.
|
|
7
7
|
|
|
8
8
|
If the file has no header, the following rules apply
|
|
9
|
-
1.
|
|
10
|
-
2.
|
|
11
|
-
3. source code that is neither (1) nor (2) is licensed under AGPL, see License.AGPL.txt
|
|
9
|
+
1. enterprise features are licensed under Steedos Enterprise Terms, see License.enterprise.txt
|
|
10
|
+
2. source code that is neither (1) is licensed under MIT, see https://opensource.org/licenses/MIT
|
|
12
11
|
|
|
13
12
|
On request, licenses under different terms are available.
|
|
14
13
|
|
package/README.md
CHANGED
|
@@ -1,2 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Create Steedos App
|
|
2
|
+
|
|
3
|
+
The easiest way to get started with Next.js is by using `create-steedos-app`. This CLI tool enables you to quickly start building a new Next.js application, with everything set up for you. You can create a new app using the default Next.js template, or by using one of the [official Next.js examples](https://github.com/vercel/next.js/tree/canary/examples). To get started, use the following command:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx create-steedos-app@latest
|
|
7
|
+
# or
|
|
8
|
+
yarn create next-app
|
|
9
|
+
# or
|
|
10
|
+
pnpm create next-app
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or, for a [TypeScript project](https://github.com/vercel/next.js/blob/canary/docs/basic-features/typescript.md):
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx create-steedos-app@latest --typescript
|
|
17
|
+
# or
|
|
18
|
+
yarn create next-app --typescript
|
|
19
|
+
# or
|
|
20
|
+
pnpm create next-app --typescript
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
To create a new app in a specific folder, you can send a name as an argument. For example, the following command will create a new Next.js app called `blog-app` in a folder with the same name:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx create-steedos-app@latest blog-app
|
|
27
|
+
# or
|
|
28
|
+
yarn create next-app blog-app
|
|
29
|
+
# or
|
|
30
|
+
pnpm create next-app blog-app
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Options
|
|
34
|
+
|
|
35
|
+
`create-steedos-app` comes with the following options:
|
|
36
|
+
|
|
37
|
+
- **--ts, --typescript** - Initialize as a TypeScript project.
|
|
38
|
+
- **-e, --example [name]|[github-url]** - An example to bootstrap the app with. You can use an example name from the [Next.js repo](https://github.com/vercel/next.js/tree/canary/examples) or a GitHub URL. The URL can use any branch and/or subdirectory.
|
|
39
|
+
- **--example-path <path-to-example>** - In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately: `--example-path foo/bar`
|
|
40
|
+
- **--use-npm** - Explicitly tell the CLI to bootstrap the app using npm. To bootstrap using yarn we recommend to run `yarn create next-app`
|
|
41
|
+
- **--use-pnpm** - Explicitly tell the CLI to bootstrap the app using pnpm. To bootstrap using pnpm we recommend running `pnpm create next-app`
|
|
42
|
+
|
|
43
|
+
## Why use Create Next App?
|
|
44
|
+
|
|
45
|
+
`create-steedos-app` allows you to create a new Next.js app within seconds. It is officially maintained by the creators of Next.js, and includes a number of benefits:
|
|
46
|
+
|
|
47
|
+
- **Interactive Experience**: Running `npx create-steedos-app` (with no arguments) launches an interactive experience that guides you through setting up a project.
|
|
48
|
+
- **Zero Dependencies**: Initializing a project is as quick as one second. Create Next App has zero dependencies.
|
|
49
|
+
- **Offline Support**: Create Next App will automatically detect if you're offline and bootstrap your project using your local package cache.
|
|
50
|
+
- **Support for Examples**: Create Next App can bootstrap your application using an example from the Next.js examples collection (e.g. `npx create-steedos-app --example api-routes`).
|
|
51
|
+
- **Tested**: The package is part of the Next.js monorepo and tested using the same integration test suite as Next.js itself, ensuring it works as expected with every release.
|