create-analog 0.2.25 → 0.2.26
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
|
@@ -1,50 +1,45 @@
|
|
|
1
1
|
# create-analog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Analog is the fullstack meta-framework for Angular.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- File-based routing
|
|
8
|
+
- SSR/SSG support with prerendering
|
|
9
|
+
- Support for API/server routes
|
|
10
|
+
- Support for using markdown as content routes
|
|
11
|
+
- Supports Angular CLI or Nx workspaces
|
|
12
|
+
- Powered by Vite
|
|
13
|
+
|
|
14
|
+
## Creating an Analog Project
|
|
4
15
|
|
|
5
16
|
With NPM:
|
|
6
17
|
|
|
7
18
|
```bash
|
|
8
|
-
|
|
19
|
+
npm create analog@latest
|
|
9
20
|
```
|
|
10
21
|
|
|
11
22
|
With Yarn:
|
|
12
23
|
|
|
13
24
|
```bash
|
|
14
|
-
|
|
25
|
+
yarn create analog
|
|
15
26
|
```
|
|
16
27
|
|
|
17
28
|
With PNPM:
|
|
18
29
|
|
|
19
30
|
```bash
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Then follow the prompts!
|
|
24
|
-
|
|
25
|
-
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold an Angular, run:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
# npm 6.x
|
|
29
|
-
npm create analog@latest my-angular-app --template angular-v15
|
|
30
|
-
|
|
31
|
-
# npm 7+, extra double-dash is needed:
|
|
32
|
-
npm create analog@latest my-angular-app -- --template angular-v15
|
|
33
|
-
|
|
34
|
-
# yarn
|
|
35
|
-
yarn create analog my-angular-app --template angular-v15
|
|
36
|
-
|
|
37
|
-
# pnpm
|
|
38
|
-
pnpm create analog my-angular-app --template angular-v15
|
|
31
|
+
pnpm create analog
|
|
39
32
|
```
|
|
40
33
|
|
|
41
|
-
|
|
34
|
+
Follow the prompts to install the application dependencies and run the project in development mode!
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
- `angular-v15`
|
|
36
|
+
## Next Steps
|
|
45
37
|
|
|
46
|
-
|
|
38
|
+
Learn more at [analogjs.org](https://analogjs.org)
|
|
47
39
|
|
|
48
|
-
##
|
|
40
|
+
## Community
|
|
49
41
|
|
|
50
|
-
|
|
42
|
+
- Visit and Star the [GitHub Repo](https://github.com/analogjs/analog)
|
|
43
|
+
- Join the [Discord](https://chat.analogjs.org)
|
|
44
|
+
- Follow us on [Twitter](https://twitter.com/analogjs)
|
|
45
|
+
- Become a [Sponsor](https://github.com/sponsors/brandonroberts)
|
package/package.json
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"test": "ng test"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@analogjs/content": "^0.2.0-beta.
|
|
18
|
-
"@analogjs/router": "^0.2.0-beta.
|
|
17
|
+
"@analogjs/content": "^0.2.0-beta.13",
|
|
18
|
+
"@analogjs/router": "^0.2.0-beta.13",
|
|
19
19
|
"@angular/animations": "^15.0.0",
|
|
20
20
|
"@angular/common": "^15.0.0",
|
|
21
21
|
"@angular/compiler": "^15.0.0",
|
|
@@ -20,8 +20,7 @@ Run `npm run test` to run unit tests with [Vitest](https://vitest.dev).
|
|
|
20
20
|
|
|
21
21
|
## Community
|
|
22
22
|
|
|
23
|
-
- Join the [Discord](https://discord.gg/mKC2Ec48U5)
|
|
24
23
|
- Visit and Star the [GitHub Repo](https://github.com/analogjs/analog)
|
|
25
|
-
-
|
|
24
|
+
- Join the [Discord](https://chat.analogjs.org)
|
|
26
25
|
- Follow us on [Twitter](https://twitter.com/analogjs)
|
|
27
26
|
- Become a [Sponsor](https://github.com/sponsors/brandonroberts)
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"test": "ng test"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@analogjs/content": "^0.2.0-beta.
|
|
18
|
-
"@analogjs/router": "^0.2.0-beta.
|
|
17
|
+
"@analogjs/content": "^0.2.0-beta.13",
|
|
18
|
+
"@analogjs/router": "^0.2.0-beta.13",
|
|
19
19
|
"@angular/animations": "^16.0.0",
|
|
20
20
|
"@angular/common": "^16.0.0",
|
|
21
21
|
"@angular/compiler": "^16.0.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"zone.js": "~0.13.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@analogjs/platform": "^0.2.0-beta.
|
|
37
|
+
"@analogjs/platform": "^0.2.0-beta.13",
|
|
38
38
|
"@angular-devkit/build-angular": "^16.0.0",
|
|
39
39
|
"@angular/cli": "^16.0.0",
|
|
40
40
|
"@angular/compiler-cli": "^16.0.0",
|