repository-provider 26.7.1 → 26.7.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "26.7.1",
3
+ "version": "26.7.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,6 +34,14 @@ export class NamedObject extends BaseObject {
34
34
  return this.name;
35
35
  }
36
36
 
37
+ /**
38
+ * @return {string} name with owner name
39
+ */
40
+ get fullName()
41
+ {
42
+ return this.owner.name + "/" + this.name;
43
+ }
44
+
37
45
  toString() {
38
46
  return this.name;
39
47
  }
package/src/project.mjs CHANGED
@@ -8,4 +8,6 @@ export class Project extends NamedObject {
8
8
  super(name, options, {
9
9
  owner: { value: owner }
10
10
  });
11
+
12
+ owner._addProject(this);
11
13
  }}
@@ -49,14 +49,6 @@ export class RepositoryGroup extends RepositoryOwner(NamedObject) {
49
49
  });
50
50
  }
51
51
 
52
- /**
53
- * @return {string} name with owner name
54
- */
55
- get fullName()
56
- {
57
- return this.owner.name + "/" + this.name;
58
- }
59
-
60
52
  get owner()
61
53
  {
62
54
  return this.provider;