@o3r/third-party 11.2.0-prerelease.9 → 11.3.0-prerelease.0
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 +1 -1
- package/package.json +5 -5
- package/schematics/ng-add/index.js +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ ng add @o3r/third-party
|
|
|
28
28
|
|
|
29
29
|
## Generators
|
|
30
30
|
|
|
31
|
-
Otter framework provides a set of code generators based on [
|
|
31
|
+
Otter framework provides a set of code generators based on [Angular schematics](https://angular.io/guide/schematics).
|
|
32
32
|
|
|
33
33
|
| Schematics | Description | How to use |
|
|
34
34
|
| --------------------- | ------------------------------------------------------------ | --------------------------- |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/third-party",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0-prerelease.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"uuid": "^10.0.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular-devkit/schematics": "~18.
|
|
20
|
-
"@o3r/core": "^11.
|
|
21
|
-
"@o3r/schematics": "^11.
|
|
22
|
-
"@schematics/angular": "~18.
|
|
19
|
+
"@angular-devkit/schematics": "~18.2.0",
|
|
20
|
+
"@o3r/core": "^11.3.0-prerelease.0",
|
|
21
|
+
"@o3r/schematics": "^11.3.0-prerelease.0",
|
|
22
|
+
"@schematics/angular": "~18.2.0",
|
|
23
23
|
"rxjs": "^7.8.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependenciesMeta": {
|
|
@@ -17,7 +17,7 @@ Otherwise, use the error message as guidance.`);
|
|
|
17
17
|
function ngAddFn(options) {
|
|
18
18
|
return async (tree) => {
|
|
19
19
|
const packageJsonPath = path.resolve(__dirname, '..', '..', 'package.json');
|
|
20
|
-
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, { encoding: '
|
|
20
|
+
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, { encoding: 'utf8' }));
|
|
21
21
|
const { getPackageInstallConfig, registerPackageCollectionSchematics, setupDependencies } = await Promise.resolve().then(() => require('@o3r/schematics'));
|
|
22
22
|
return (0, schematics_1.chain)([
|
|
23
23
|
registerPackageCollectionSchematics(packageJson),
|