@dotcms/angular 0.0.1-alpha.42 → 0.0.1-alpha.43

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -81,7 +81,7 @@ private readonly client = inject(DOTCMS_CLIENT_TOKEN);
81
81
  this.client.page
82
82
  .get({ ...pageParams })
83
83
  .then((response) => {
84
- // Use your response
84
+ // Use your response
85
85
  })
86
86
  .catch((e) => {
87
87
  const error: PageError = {
@@ -91,13 +91,13 @@ this.client.page
91
91
  // Use the error response
92
92
  })
93
93
  ```
94
- For more information to how to use DotCms Client, you can visit the [documentation](https://github.com/dotCMS/core/blob/master/core-web/libs/sdk/client/README.md)
94
+ For more information to how to use DotCms Client, you can visit the [documentation](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/client/README.md)
95
95
 
96
96
  ## DotCMS Page API
97
97
 
98
98
  The `DotcmsLayoutComponent` requires a `DotCMSPageAsset` object to be passed in to it. This object represents a dotCMS page and can be fetched using the `@dotcms/client` library.
99
99
 
100
- - [DotCMS Official Angular Example](https://github.com/dotCMS/core/tree/master/examples/angular)
100
+ - [DotCMS Official Angular Example](https://github.com/dotCMS/core/tree/main/examples/angular)
101
101
  - [`@dotcms/client` documentation](https://www.npmjs.com/package/@dotcms/client)
102
102
  - [Page API documentation](https://dotcms.com/docs/latest/page-api)
103
103
 
@@ -137,10 +137,10 @@ export class PagesComponent {
137
137
  ),
138
138
  // Add other components as needed
139
139
  };
140
-
140
+
141
141
  components = signal(this.DYNAMIC_COMPONENTS);
142
142
  editorConfig = signal<EditorConfig>({ params: { depth: 2 } });
143
-
143
+
144
144
  // Assume pageAsset is fetched or provided somehow
145
145
  pageAsset: DotCMSPageAsset;
146
146
  }
@@ -149,10 +149,10 @@ export class PagesComponent {
149
149
  In your template file (e.g., `pages.component.html`):
150
150
 
151
151
  ```html
152
- <dotcms-layout
153
- [pageAsset]="pageAsset"
154
- [components]="components()"
155
- [editor]="editorConfig()"
152
+ <dotcms-layout
153
+ [pageAsset]="pageAsset"
154
+ [components]="components()"
155
+ [editor]="editorConfig()"
156
156
  />
157
157
  ```
158
158
 
@@ -180,4 +180,4 @@ GitHub pull requests are the preferred method to contribute code to dotCMS. Befo
180
180
 
181
181
  ## Licensing
182
182
 
183
- dotCMS comes in multiple editions and as such is dual licensed. The dotCMS Community Edition is licensed under the GPL 3.0 and is freely available for download, customization and deployment for use within organizations of all stripes. dotCMS Enterprise Editions (EE) adds a number of enterprise features and is available via a supported, indemnified commercial license from dotCMS. For the differences between the editions, see [the feature page](http://dotcms.com/cms-platform/features).
183
+ dotCMS comes in multiple editions and as such is dual licensed. The dotCMS Community Edition is licensed under the GPL 3.0 and is freely available for download, customization and deployment for use within organizations of all stripes. dotCMS Enterprise Editions (EE) adds a number of enterprise features and is available via a supported, indemnified commercial license from dotCMS. For the differences between the editions, see [the feature page](http://dotcms.com/cms-platform/features).
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@dotcms/angular",
3
- "version": "0.0.1-alpha.42",
3
+ "version": "0.0.1-alpha.43",
4
4
  "peerDependencies": {
5
- "@angular/common": "^17.1.0",
6
- "@angular/core": "^17.1.0",
7
- "@angular/router": "^17.1.0",
8
- "@dotcms/client": "0.0.1-alpha.42",
5
+ "@angular/common": ">=17.0.0",
6
+ "@angular/core": "=>17.0.0",
7
+ "@angular/router": "=>17.0.0",
8
+ "@dotcms/client": "latest",
9
9
  "@tinymce/tinymce-angular": "^8.0.0",
10
- "rxjs": "^7.8.0"
10
+ "rxjs": ">=7.0.0"
11
11
  },
12
12
  "description": "Official Angular Components library to render a dotCMS page.",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "git+https://github.com/dotCMS/core.git#master"
15
+ "url": "git+https://github.com/dotCMS/core.git#main"
16
16
  },
17
17
  "keywords": [
18
18
  "dotCMS",
@@ -28,7 +28,7 @@
28
28
  "bugs": {
29
29
  "url": "https://github.com/dotCMS/core/issues"
30
30
  },
31
- "homepage": "https://github.com/dotCMS/core/tree/master/core-web/libs/sdk/angular/README.md",
31
+ "homepage": "https://github.com/dotCMS/core/tree/main/core-web/libs/sdk/angular/README.md",
32
32
  "module": "fesm2022/dotcms-angular.mjs",
33
33
  "typings": "index.d.ts",
34
34
  "exports": {