create-analog 1.18.0-beta.1 → 1.18.0-beta.3

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.
@@ -1,10 +1,3 @@
1
- declare module '*.analog' {
2
- import { Type } from '@angular/core';
3
-
4
- const cmp: Type<unknown>;
5
- export default cmp;
6
- }
7
-
8
1
  declare module '*.ag' {
9
2
  import { Type } from '@angular/core';
10
3
 
package/files/styles.css CHANGED
@@ -1,86 +1,8 @@
1
1
  @import 'tailwindcss';
2
2
 
3
3
  /* You can add global styles to this file, and also import other style files */
4
- :root {
5
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
6
- font-size: 16px;
7
- line-height: 24px;
8
- font-weight: 400;
9
-
10
- color-scheme: light dark;
11
- color: rgba(255, 255, 255, 0.87);
12
- background-color: #242424;
13
-
14
- font-synthesis: none;
15
- text-rendering: optimizeLegibility;
16
- -webkit-font-smoothing: antialiased;
17
- -moz-osx-font-smoothing: grayscale;
18
- -webkit-text-size-adjust: 100%;
19
- }
20
-
21
- a {
22
- font-weight: 500;
23
- color: #646cff;
24
- text-decoration: inherit;
25
- }
26
-
27
- a:hover {
28
- color: #535bf2;
29
- }
30
-
4
+ html,
31
5
  body {
32
- margin: 0;
33
- display: flex;
34
- place-items: center;
35
- min-width: 320px;
36
- min-height: 100vh;
37
- }
38
-
39
- h1 {
40
- font-size: 3.2em;
41
- line-height: 1.1;
42
- }
43
-
44
- button {
45
- border-radius: 8px;
46
- border: 1px solid transparent;
47
- padding: 0.6em 1.2em;
48
- font-size: 1em;
49
- font-weight: 500;
50
- font-family: inherit;
51
- background-color: #1a1a1a;
52
- cursor: pointer;
53
- transition: border-color 0.25s;
54
- }
55
-
56
- button:hover {
57
- border-color: #646cff;
58
- }
59
-
60
- button:focus,
61
- button:focus-visible {
62
- outline: 4px auto -webkit-focus-ring-color;
63
- }
64
-
65
- .card {
66
- padding: 2em;
67
- }
68
-
69
- .logo {
70
- @apply box-content;
71
- }
72
-
73
- @media (prefers-color-scheme: light) {
74
- :root {
75
- color: #213547;
76
- background-color: #ffffff;
77
- }
78
-
79
- a:hover {
80
- color: #747bff;
81
- }
82
-
83
- button {
84
- background-color: #f9f9f9;
85
- }
6
+ display: block;
7
+ height: 100%;
86
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-analog",
3
- "version": "1.18.0-beta.1",
3
+ "version": "1.18.0-beta.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Brandon Roberts",
@@ -15,8 +15,8 @@
15
15
  "test": "ng test"
16
16
  },
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.18.0-beta.1",
19
- "@analogjs/router": "^1.18.0-beta.1",
18
+ "@analogjs/content": "^1.18.0-beta.3",
19
+ "@analogjs/router": "^1.18.0-beta.3",
20
20
  "@angular/animations": "^16.2.0",
21
21
  "@angular/common": "^16.2.0",
22
22
  "@angular/compiler": "^16.2.0",
@@ -38,9 +38,9 @@
38
38
  "zone.js": "~0.13.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@analogjs/platform": "^1.18.0-beta.1",
42
- "@analogjs/vite-plugin-angular": "^1.18.0-beta.1",
43
- "@analogjs/vitest-angular": "^1.18.0-beta.1",
41
+ "@analogjs/platform": "^1.18.0-beta.3",
42
+ "@analogjs/vite-plugin-angular": "^1.18.0-beta.3",
43
+ "@analogjs/vitest-angular": "^1.18.0-beta.3",
44
44
  "@angular-devkit/build-angular": "^16.2.0",
45
45
  "@angular/cli": "^16.2.0",
46
46
  "@angular/compiler-cli": "^16.2.0",
@@ -15,8 +15,8 @@
15
15
  "test": "ng test"
16
16
  },
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.18.0-beta.1",
19
- "@analogjs/router": "^1.18.0-beta.1",
18
+ "@analogjs/content": "^1.18.0-beta.3",
19
+ "@analogjs/router": "^1.18.0-beta.3",
20
20
  "@angular/animations": "^17.2.0",
21
21
  "@angular/common": "^17.2.0",
22
22
  "@angular/compiler": "^17.2.0",
@@ -38,9 +38,9 @@
38
38
  "zone.js": "~0.14.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@analogjs/platform": "^1.18.0-beta.1",
42
- "@analogjs/vite-plugin-angular": "^1.18.0-beta.1",
43
- "@analogjs/vitest-angular": "^1.18.0-beta.1",
41
+ "@analogjs/platform": "^1.18.0-beta.3",
42
+ "@analogjs/vite-plugin-angular": "^1.18.0-beta.3",
43
+ "@analogjs/vitest-angular": "^1.18.0-beta.3",
44
44
  "@angular-devkit/build-angular": "^17.2.0",
45
45
  "@angular/cli": "^17.2.0",
46
46
  "@angular/compiler-cli": "^17.2.0",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "private": true,
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.18.0-beta.1",
19
- "@analogjs/router": "^1.18.0-beta.1",
18
+ "@analogjs/content": "^1.18.0-beta.3",
19
+ "@analogjs/router": "^1.18.0-beta.3",
20
20
  "@angular/animations": "^18.0.0",
21
21
  "@angular/build": "^18.0.0",
22
22
  "@angular/common": "^18.0.0",
@@ -38,9 +38,9 @@
38
38
  "zone.js": "~0.14.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@analogjs/platform": "^1.18.0-beta.1",
42
- "@analogjs/vite-plugin-angular": "^1.18.0-beta.1",
43
- "@analogjs/vitest-angular": "^1.18.0-beta.1",
41
+ "@analogjs/platform": "^1.18.0-beta.3",
42
+ "@analogjs/vite-plugin-angular": "^1.18.0-beta.3",
43
+ "@analogjs/vitest-angular": "^1.18.0-beta.3",
44
44
  "@angular/cli": "^18.0.0",
45
45
  "@angular/compiler-cli": "^18.0.0",
46
46
  "jsdom": "^22.0.0",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "private": true,
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.18.0-beta.1",
19
- "@analogjs/router": "^1.18.0-beta.1",
18
+ "@analogjs/content": "^1.18.0-beta.3",
19
+ "@analogjs/router": "^1.18.0-beta.3",
20
20
  "@angular/animations": "^20.0.0",
21
21
  "@angular/common": "^20.0.0",
22
22
  "@angular/compiler": "^20.0.0",
@@ -36,9 +36,9 @@
36
36
  "zone.js": "~0.15.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@analogjs/platform": "^1.18.0-beta.1",
40
- "@analogjs/vite-plugin-angular": "^1.18.0-beta.1",
41
- "@analogjs/vitest-angular": "^1.18.0-beta.1",
39
+ "@analogjs/platform": "^1.18.0-beta.3",
40
+ "@analogjs/vite-plugin-angular": "^1.18.0-beta.3",
41
+ "@analogjs/vitest-angular": "^1.18.0-beta.3",
42
42
  "@angular/build": "^20.0.0",
43
43
  "@angular/cli": "^20.0.0",
44
44
  "@angular/compiler-cli": "^20.0.0",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "private": true,
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.18.0-beta.1",
19
- "@analogjs/router": "^1.18.0-beta.1",
18
+ "@analogjs/content": "^1.18.0-beta.3",
19
+ "@analogjs/router": "^1.18.0-beta.3",
20
20
  "@angular/animations": "^20.0.0",
21
21
  "@angular/common": "^20.0.0",
22
22
  "@angular/compiler": "^20.0.0",
@@ -37,9 +37,9 @@
37
37
  "zone.js": "~0.15.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@analogjs/platform": "^1.18.0-beta.1",
41
- "@analogjs/vite-plugin-angular": "^1.18.0-beta.1",
42
- "@analogjs/vitest-angular": "^1.18.0-beta.1",
40
+ "@analogjs/platform": "^1.18.0-beta.3",
41
+ "@analogjs/vite-plugin-angular": "^1.18.0-beta.3",
42
+ "@analogjs/vitest-angular": "^1.18.0-beta.3",
43
43
  "@angular/build": "^20.0.0",
44
44
  "@angular/cli": "^20.0.0",
45
45
  "@angular/compiler-cli": "^20.0.0",
@@ -1,7 +1,11 @@
1
1
  <script lang="ts">
2
- import AnalogWelcome from './analog-welcome' with { analog: 'imports '};
2
+ import { AnalogWelcome } from './analog-welcome';
3
+
4
+ defineMetadata({
5
+ imports: [AnalogWelcome]
6
+ });
3
7
  </script>
4
8
 
5
9
  <template>
6
- <AnalogWelcome />
10
+ <app-analog-welcome />
7
11
  </template>
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "private": true,
17
17
  "dependencies": {
18
- "@analogjs/content": "^1.18.0-beta.1",
19
- "@analogjs/router": "^1.18.0-beta.1",
18
+ "@analogjs/content": "^1.18.0-beta.3",
19
+ "@analogjs/router": "^1.18.0-beta.3",
20
20
  "@angular/animations": "^20.0.0",
21
21
  "@angular/common": "^20.0.0",
22
22
  "@angular/compiler": "^20.0.0",
@@ -37,9 +37,9 @@
37
37
  "zone.js": "~0.15.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@analogjs/platform": "^1.18.0-beta.1",
41
- "@analogjs/vite-plugin-angular": "^1.18.0-beta.1",
42
- "@analogjs/vitest-angular": "^1.18.0-beta.1",
40
+ "@analogjs/platform": "^1.18.0-beta.3",
41
+ "@analogjs/vite-plugin-angular": "^1.18.0-beta.3",
42
+ "@analogjs/vitest-angular": "^1.18.0-beta.3",
43
43
  "@angular/build": "^20.0.0",
44
44
  "@angular/cli": "^20.0.0",
45
45
  "@angular/compiler-cli": "^20.0.0",