create-analog 0.2.25 → 0.2.27

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
- ## Scaffolding Your First Analog Project
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
- $ npm create analog@latest
19
+ npm create analog@latest
9
20
  ```
10
21
 
11
22
  With Yarn:
12
23
 
13
24
  ```bash
14
- $ yarn create analog
25
+ yarn create analog
15
26
  ```
16
27
 
17
28
  With PNPM:
18
29
 
19
30
  ```bash
20
- $ pnpm create analog
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
- Currently supported template presets include:
34
+ Follow the prompts to install the application dependencies and run the project in development mode!
42
35
 
43
- - `angular-v16-prerelease`
44
- - `angular-v15`
36
+ ## Next Steps
45
37
 
46
- You can use `.` for the project name to scaffold in the current directory.
38
+ Learn more at [analogjs.org](https://analogjs.org)
47
39
 
48
- ## Credits
40
+ ## Community
49
41
 
50
- This project is inspired by `create-vite`.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-analog",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Brandon Roberts",
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "main": "index.js",
17
17
  "engines": {
18
- "node": ">=14.18.0"
18
+ "node": "^16.14.0 || >=18.10.0"
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
@@ -1,15 +1,15 @@
1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>MyApp</title>
6
- <base href="/">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
9
- <link rel="stylesheet" href="/src/styles.css" />
10
- </head>
11
- <body>
12
- <app-root></app-root>
13
- <script type="module" src="/src/main.ts"></script>
14
- </body>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>MyApp</title>
6
+ <base href="/" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <link rel="icon" type="image/x-icon" href="/favicon.ico" />
9
+ <link rel="stylesheet" href="/src/styles.css" />
10
+ </head>
11
+ <body>
12
+ <app-root></app-root>
13
+ <script type="module" src="/src/main.ts"></script>
14
+ </body>
15
15
  </html>
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "engines": {
6
- "node": ">=16.0.0"
6
+ "node": "^16.14.0 || >=18.10.0"
7
7
  },
8
8
  "scripts": {
9
9
  "dev": "ng serve",
@@ -14,8 +14,8 @@
14
14
  "test": "ng test"
15
15
  },
16
16
  "dependencies": {
17
- "@analogjs/content": "^0.2.0-beta.12",
18
- "@analogjs/router": "^0.2.0-beta.12",
17
+ "@analogjs/content": "^0.2.0-beta.14",
18
+ "@analogjs/router": "^0.2.0-beta.14",
19
19
  "@angular/animations": "^15.0.0",
20
20
  "@angular/common": "^15.0.0",
21
21
  "@angular/compiler": "^15.0.0",
@@ -27,7 +27,7 @@
27
27
  "@angular/router": "^15.0.0",
28
28
  "@nrwl/angular": "^15.0.0",
29
29
  "front-matter": "^4.0.2",
30
- "marked": "^4.2.12",
30
+ "marked": "^5.0.2",
31
31
  "prismjs": "^1.29.0",
32
32
  "rxjs": "~7.5.6",
33
33
  "tslib": "^2.4.0",
@@ -16,7 +16,10 @@ export default async function render(url: string, document: string) {
16
16
  appId: 'analog-app',
17
17
  document,
18
18
  url,
19
- providers: [provideFileRouter(withEnabledBlockingInitialNavigation()), ...mainProviders],
19
+ providers: [
20
+ provideFileRouter(withEnabledBlockingInitialNavigation()),
21
+ ...mainProviders,
22
+ ],
20
23
  });
21
24
 
22
25
  return html;
@@ -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
- - Visit the [Website](https://analogjs.org/)
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)
@@ -1,15 +1,15 @@
1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>MyApp</title>
6
- <base href="/">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
9
- <link rel="stylesheet" href="/src/styles.css" />
10
- </head>
11
- <body>
12
- <app-root></app-root>
13
- <script type="module" src="/src/main.ts"></script>
14
- </body>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>MyApp</title>
6
+ <base href="/" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <link rel="icon" type="image/x-icon" href="/favicon.ico" />
9
+ <link rel="stylesheet" href="/src/styles.css" />
10
+ </head>
11
+ <body>
12
+ <app-root></app-root>
13
+ <script type="module" src="/src/main.ts"></script>
14
+ </body>
15
15
  </html>
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
5
  "engines": {
6
- "node": ">=16.0.0"
6
+ "node": "^16.14.0 || >=18.10.0"
7
7
  },
8
8
  "scripts": {
9
9
  "dev": "ng serve",
@@ -14,8 +14,8 @@
14
14
  "test": "ng test"
15
15
  },
16
16
  "dependencies": {
17
- "@analogjs/content": "^0.2.0-beta.12",
18
- "@analogjs/router": "^0.2.0-beta.12",
17
+ "@analogjs/content": "^0.2.0-beta.14",
18
+ "@analogjs/router": "^0.2.0-beta.14",
19
19
  "@angular/animations": "^16.0.0",
20
20
  "@angular/common": "^16.0.0",
21
21
  "@angular/compiler": "^16.0.0",
@@ -27,14 +27,14 @@
27
27
  "@angular/router": "^16.0.0",
28
28
  "@nx/angular": "^16.0.0",
29
29
  "front-matter": "^4.0.2",
30
- "marked": "^4.2.12",
30
+ "marked": "^5.0.2",
31
31
  "prismjs": "^1.29.0",
32
32
  "rxjs": "~7.5.6",
33
33
  "tslib": "^2.4.0",
34
34
  "zone.js": "~0.13.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@analogjs/platform": "^0.2.0-beta.12",
37
+ "@analogjs/platform": "^0.2.0-beta.14",
38
38
  "@angular-devkit/build-angular": "^16.0.0",
39
39
  "@angular/cli": "^16.0.0",
40
40
  "@angular/compiler-cli": "^16.0.0",