Skip to content

Commit

Permalink
fix: fix package linking
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianiy committed Sep 28, 2021
1 parent 3fd7b32 commit 56354a5
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 6 deletions.
5 changes: 4 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"packages": ["packages/core", "packages/router", "packages/store"],
"packages": ["packages/store", "packages/router", "packages/form"],
"version": "0.0.1",
"npmClient": "yarn",
"command": {
"npmClient": "yarn"
},
"ignoreChanges": ["**/*.spec.ts", "**/*.md"]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "platform",
"private": true,
"scripts": {
"store": "lerna run --scope=*store* --parallel",
"form": "lerna run --scope=*form* --parallel",
"router": "lerna run --scope=*router* --parallel",
"build": "lerna run build --stream",
"build": "lerna run build --include-dependencies --stream",
"clean": "npm-run-all -p clean:*",
"clean:deps": "npm-run-all -p clean:deps:*",
"clean:deps:workspace": "rimraf node_modules",
Expand Down Expand Up @@ -65,7 +66,7 @@
"jest-junit": "6.0.1",
"jest-preset-angular": "6.0.2",
"jest-zone-patch": "0.0.10",
"lerna": "3.22.1",
"lerna": "^3.22.1",
"lint-staged": "8.1.0",
"ng-packagr": "^10.1.0",
"npm-run-all": "4.1.5",
Expand Down
3 changes: 3 additions & 0 deletions packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"redux": "^4.0.0",
"rxjs": "^6.0.0"
},
"devDependencies": {
"ngredux-store": "*"
},
"dependencies": {
"immutable": "^4.0.0-rc.12"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/form/src/connect-array/connect-array.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class ConnectArrayDirective extends ControlContainer implements OnInit, O
this.formDirective.addControl(this as any);
}

get name(): string {
get keyName(): string {
return this.key || '';
}

Expand Down
6 changes: 6 additions & 0 deletions packages/form/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./../../tsconfig.json",
"compilerOptions": {
"skipLibCheck": true
}
}
8 changes: 8 additions & 0 deletions packages/form/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


immutable@^4.0.0-rc.12:
version "4.0.0-rc.15"
resolved "https://registry.npmjs.org/immutable/-/immutable-4.0.0-rc.15.tgz#c30056f05eaaf5650fd15230586688fdd15c54bc"
integrity sha512-v8+A3sNyaieoP9dHegl3tEYnIZa7vqNiSv0U6D7YddiZi34VjKy4GsIxrRHj2d8+CS3MeiVja5QyNe4JO/aEXA==
3 changes: 3 additions & 0 deletions packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"engines": {
"node": ">=8"
},
"devDependencies": {
"ngredux-store": "*"
},
"peerDependencies": {
"ngredux-store": "*",
"@angular/common": "11.0.5",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.lib.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
"outDir": "../../out-tsc/spec",
"types": ["jasmine"]
},
"files": ["src/test.ts"],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9231,7 +9231,7 @@ left-pad@^1.3.0:
resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==

[email protected]:
lerna@^3.22.1:
version "3.22.1"
resolved "https://registry.npmjs.org/lerna/-/lerna-3.22.1.tgz#82027ac3da9c627fd8bf02ccfeff806a98e65b62"
integrity sha512-vk1lfVRFm+UuEFA7wkLKeSF7Iz13W+N/vFd48aW2yuS7Kv0RbNm2/qcDPV863056LMfkRlsEe+QYOw3palj5Lg==
Expand Down

0 comments on commit 56354a5

Please sign in to comment.