@featurevisor/vue 0.46.2 → 0.47.1

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/.eslintcache ADDED
@@ -0,0 +1 @@
1
+ [{"/home/runner/work/featurevisor/featurevisor/packages/vue/src/activateFeature.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/vue/src/index.spec.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/vue/src/index.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/vue/src/setupApp.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/vue/src/useFlag.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/vue/src/useSdk.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/vue/src/useStatus.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/vue/src/useVariable.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/vue/src/useVariation.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/vue/stub/types__react/index.d.ts":"10"},{"size":299,"mtime":1694550300699,"results":"11","hashOfConfig":"12"},{"size":1941,"mtime":1694550300699,"results":"13","hashOfConfig":"12"},{"size":209,"mtime":1694550300699,"results":"14","hashOfConfig":"12"},{"size":233,"mtime":1694550300699,"results":"15","hashOfConfig":"12"},{"size":250,"mtime":1694550300699,"results":"16","hashOfConfig":"12"},{"size":261,"mtime":1694550300699,"results":"17","hashOfConfig":"12"},{"size":435,"mtime":1694550300699,"results":"18","hashOfConfig":"12"},{"size":350,"mtime":1694550300699,"results":"19","hashOfConfig":"12"},{"size":300,"mtime":1694550300703,"results":"20","hashOfConfig":"12"},{"size":11,"mtime":1694550300703,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","suppressedMessages":"24","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1mneopy",{"filePath":"25","messages":"26","suppressedMessages":"27","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","suppressedMessages":"30","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"31","messages":"32","suppressedMessages":"33","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","suppressedMessages":"36","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"37","messages":"38","suppressedMessages":"39","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","suppressedMessages":"42","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"43","messages":"44","suppressedMessages":"45","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","suppressedMessages":"48","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"49","messages":"50","suppressedMessages":"51","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/featurevisor/featurevisor/packages/vue/src/activateFeature.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/index.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/setupApp.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/useFlag.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/useSdk.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/useStatus.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/useVariable.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/src/useVariation.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/vue/stub/types__react/index.d.ts",[],[]]
package/.eslintrc.js ADDED
@@ -0,0 +1,8 @@
1
+ const rootConfig = require("../../.eslintrc.js");
2
+
3
+ /** @type {import("eslint").Linter.Config} */
4
+ const config = {
5
+ ...rootConfig,
6
+ };
7
+
8
+ module.exports = config;
@@ -0,0 +1,5 @@
1
+ dist/
2
+ lib/
3
+ coverage/
4
+
5
+ **/*.md
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.46.2](https://github.com/fahad19/featurevisor/compare/v0.46.1...v0.46.2) (2023-08-31)
6
+ ## [0.47.1](https://github.com/featurevisor/featurevisor/compare/v0.47.0...v0.47.1) (2023-09-12)
7
7
 
8
8
  **Note:** Version bump only for package @featurevisor/vue
9
9
 
@@ -11,7 +11,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [0.46.1](https://github.com/fahad19/featurevisor/compare/v0.46.0...v0.46.1) (2023-08-31)
14
+ # [0.47.0](https://github.com/featurevisor/featurevisor/compare/v0.46.2...v0.47.0) (2023-09-05)
15
+
16
+
17
+ ### Features
18
+
19
+ * use Prettier v2.x ([#143](https://github.com/featurevisor/featurevisor/issues/143)) ([ddca499](https://github.com/featurevisor/featurevisor/commit/ddca499526f2f8bf10dc340fb55877584501a682))
20
+
21
+
22
+
23
+
24
+
25
+ ## [0.46.2](https://github.com/featurevisor/featurevisor/compare/v0.46.1...v0.46.2) (2023-08-31)
26
+
27
+ **Note:** Version bump only for package @featurevisor/vue
28
+
29
+
30
+
31
+
32
+
33
+ ## [0.46.1](https://github.com/featurevisor/featurevisor/compare/v0.46.0...v0.46.1) (2023-08-31)
15
34
 
16
35
  **Note:** Version bump only for package @featurevisor/vue
17
36
 
@@ -19,7 +38,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
38
 
20
39
 
21
40
 
22
- # [0.46.0](https://github.com/fahad19/featurevisor/compare/v0.45.0...v0.46.0) (2023-08-27)
41
+ # [0.46.0](https://github.com/featurevisor/featurevisor/compare/v0.45.0...v0.46.0) (2023-08-27)
23
42
 
24
43
  **Note:** Version bump only for package @featurevisor/vue
25
44
 
@@ -27,18 +46,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
46
 
28
47
 
29
48
 
30
- # [0.45.0](https://github.com/fahad19/featurevisor/compare/v0.44.2...v0.45.0) (2023-08-20)
49
+ # [0.45.0](https://github.com/featurevisor/featurevisor/compare/v0.44.2...v0.45.0) (2023-08-20)
31
50
 
32
51
 
33
52
  ### Features
34
53
 
35
- * React provider component prop renamed from sdk to instance ([#129](https://github.com/fahad19/featurevisor/issues/129)) ([9e8015c](https://github.com/fahad19/featurevisor/commit/9e8015c14a0924d25b75f06fd2a6e6ef6c5eee7a))
54
+ * React provider component prop renamed from sdk to instance ([#129](https://github.com/featurevisor/featurevisor/issues/129)) ([9e8015c](https://github.com/featurevisor/featurevisor/commit/9e8015c14a0924d25b75f06fd2a6e6ef6c5eee7a))
36
55
 
37
56
 
38
57
 
39
58
 
40
59
 
41
- # [0.44.0](https://github.com/fahad19/featurevisor/compare/v0.43.0...v0.44.0) (2023-08-07)
60
+ # [0.44.0](https://github.com/featurevisor/featurevisor/compare/v0.43.0...v0.44.0) (2023-08-07)
42
61
 
43
62
  **Note:** Version bump only for package @featurevisor/vue
44
63
 
@@ -46,7 +65,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
46
65
 
47
66
 
48
67
 
49
- # [0.43.0](https://github.com/fahad19/featurevisor/compare/v0.42.1...v0.43.0) (2023-08-05)
68
+ # [0.43.0](https://github.com/featurevisor/featurevisor/compare/v0.42.1...v0.43.0) (2023-08-05)
50
69
 
51
70
  **Note:** Version bump only for package @featurevisor/vue
52
71
 
@@ -54,7 +73,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
54
73
 
55
74
 
56
75
 
57
- ## [0.42.1](https://github.com/fahad19/featurevisor/compare/v0.42.0...v0.42.1) (2023-08-01)
76
+ ## [0.42.1](https://github.com/featurevisor/featurevisor/compare/v0.42.0...v0.42.1) (2023-08-01)
58
77
 
59
78
  **Note:** Version bump only for package @featurevisor/vue
60
79
 
@@ -62,7 +81,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
62
81
 
63
82
 
64
83
 
65
- # [0.42.0](https://github.com/fahad19/featurevisor/compare/v0.41.0...v0.42.0) (2023-07-23)
84
+ # [0.42.0](https://github.com/featurevisor/featurevisor/compare/v0.41.0...v0.42.0) (2023-07-23)
66
85
 
67
86
  **Note:** Version bump only for package @featurevisor/vue
68
87
 
@@ -70,7 +89,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
70
89
 
71
90
 
72
91
 
73
- # [0.41.0](https://github.com/fahad19/featurevisor/compare/v0.40.1...v0.41.0) (2023-07-23)
92
+ # [0.41.0](https://github.com/featurevisor/featurevisor/compare/v0.40.1...v0.41.0) (2023-07-23)
74
93
 
75
94
  **Note:** Version bump only for package @featurevisor/vue
76
95
 
@@ -78,7 +97,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
78
97
 
79
98
 
80
99
 
81
- ## [0.40.1](https://github.com/fahad19/featurevisor/compare/v0.40.0...v0.40.1) (2023-07-23)
100
+ ## [0.40.1](https://github.com/featurevisor/featurevisor/compare/v0.40.0...v0.40.1) (2023-07-23)
82
101
 
83
102
  **Note:** Version bump only for package @featurevisor/vue
84
103
 
@@ -86,18 +105,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
86
105
 
87
106
 
88
107
 
89
- # [0.40.0](https://github.com/fahad19/featurevisor/compare/v0.39.2...v0.40.0) (2023-07-16)
108
+ # [0.40.0](https://github.com/featurevisor/featurevisor/compare/v0.39.2...v0.40.0) (2023-07-16)
90
109
 
91
110
 
92
111
  ### Features
93
112
 
94
- * Hooks for checking if feature is enabled in React and Vue.js ([#108](https://github.com/fahad19/featurevisor/issues/108)) ([4e2a269](https://github.com/fahad19/featurevisor/commit/4e2a269da923a94055d232ec479e6562dc297120))
113
+ * Hooks for checking if feature is enabled in React and Vue.js ([#108](https://github.com/featurevisor/featurevisor/issues/108)) ([4e2a269](https://github.com/featurevisor/featurevisor/commit/4e2a269da923a94055d232ec479e6562dc297120))
95
114
 
96
115
 
97
116
 
98
117
 
99
118
 
100
- ## [0.39.1](https://github.com/fahad19/featurevisor/compare/v0.39.0...v0.39.1) (2023-07-16)
119
+ ## [0.39.1](https://github.com/featurevisor/featurevisor/compare/v0.39.0...v0.39.1) (2023-07-16)
101
120
 
102
121
  **Note:** Version bump only for package @featurevisor/vue
103
122
 
@@ -105,7 +124,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
105
124
 
106
125
 
107
126
 
108
- # [0.39.0](https://github.com/fahad19/featurevisor/compare/v0.38.0...v0.39.0) (2023-07-16)
127
+ # [0.39.0](https://github.com/featurevisor/featurevisor/compare/v0.38.0...v0.39.0) (2023-07-16)
109
128
 
110
129
  **Note:** Version bump only for package @featurevisor/vue
111
130
 
@@ -113,29 +132,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
113
132
 
114
133
 
115
134
 
116
- # [0.38.0](https://github.com/fahad19/featurevisor/compare/v0.37.1...v0.38.0) (2023-07-16)
135
+ # [0.38.0](https://github.com/featurevisor/featurevisor/compare/v0.37.1...v0.38.0) (2023-07-16)
117
136
 
118
137
 
119
138
  ### Features
120
139
 
121
- * SDK to support isEnabled() checks ([#104](https://github.com/fahad19/featurevisor/issues/104)) ([4f52136](https://github.com/fahad19/featurevisor/commit/4f521367a3f1ef76833ba614b6a1f4b66abef2e1))
140
+ * SDK to support isEnabled() checks ([#104](https://github.com/featurevisor/featurevisor/issues/104)) ([4f52136](https://github.com/featurevisor/featurevisor/commit/4f521367a3f1ef76833ba614b6a1f4b66abef2e1))
122
141
 
123
142
 
124
143
 
125
144
 
126
145
 
127
- # [0.37.0](https://github.com/fahad19/featurevisor/compare/v0.36.0...v0.37.0) (2023-07-14)
146
+ # [0.37.0](https://github.com/featurevisor/featurevisor/compare/v0.36.0...v0.37.0) (2023-07-14)
128
147
 
129
148
 
130
149
  ### Features
131
150
 
132
- * renamed Attributes (object) to Context ([#101](https://github.com/fahad19/featurevisor/issues/101)) ([c392ad5](https://github.com/fahad19/featurevisor/commit/c392ad5f1b6100167aa5637b131f08036a7f5a55))
151
+ * renamed Attributes (object) to Context ([#101](https://github.com/featurevisor/featurevisor/issues/101)) ([c392ad5](https://github.com/featurevisor/featurevisor/commit/c392ad5f1b6100167aa5637b131f08036a7f5a55))
133
152
 
134
153
 
135
154
 
136
155
 
137
156
 
138
- # [0.36.0](https://github.com/fahad19/featurevisor/compare/v0.35.0...v0.36.0) (2023-07-13)
157
+ # [0.36.0](https://github.com/featurevisor/featurevisor/compare/v0.35.0...v0.36.0) (2023-07-13)
139
158
 
140
159
  **Note:** Version bump only for package @featurevisor/vue
141
160
 
@@ -143,7 +162,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
143
162
 
144
163
 
145
164
 
146
- # [0.35.0](https://github.com/fahad19/featurevisor/compare/v0.34.0...v0.35.0) (2023-07-13)
165
+ # [0.35.0](https://github.com/featurevisor/featurevisor/compare/v0.34.0...v0.35.0) (2023-07-13)
147
166
 
148
167
  **Note:** Version bump only for package @featurevisor/vue
149
168
 
@@ -151,7 +170,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
151
170
 
152
171
 
153
172
 
154
- # [0.34.0](https://github.com/fahad19/featurevisor/compare/v0.33.1...v0.34.0) (2023-07-08)
173
+ # [0.34.0](https://github.com/featurevisor/featurevisor/compare/v0.33.1...v0.34.0) (2023-07-08)
155
174
 
156
175
  **Note:** Version bump only for package @featurevisor/vue
157
176
 
@@ -159,9 +178,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
159
178
 
160
179
 
161
180
 
162
- # [0.33.0](https://github.com/fahad19/featurevisor/compare/v0.32.1...v0.33.0) (2023-07-06)
181
+ # [0.33.0](https://github.com/featurevisor/featurevisor/compare/v0.32.1...v0.33.0) (2023-07-06)
163
182
 
164
183
 
165
184
  ### Features
166
185
 
167
- * Vue.js SDK ([#97](https://github.com/fahad19/featurevisor/issues/97)) ([d099adb](https://github.com/fahad19/featurevisor/commit/d099adbb6df923bc10aeb8c0a60c85612669e1a1))
186
+ * Vue.js SDK ([#97](https://github.com/featurevisor/featurevisor/issues/97)) ([d099adb](https://github.com/featurevisor/featurevisor/commit/d099adbb6df923bc10aeb8c0a60c85612669e1a1))
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1693518010721" clover="3.2.0">
3
- <project timestamp="1693518010721" name="All files">
2
+ <coverage generated="1694550498012" clover="3.2.0">
3
+ <project timestamp="1694550498012" name="All files">
4
4
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1" elements="4" coveredelements="4" complexity="0" loc="3" ncloc="3" packages="1" files="1" classes="1"/>
5
5
  <file name="setupApp.ts" path="/home/runner/work/featurevisor/featurevisor/packages/vue/src/setupApp.ts">
6
6
  <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2023-08-31T21:40:10.715Z
104
+ at 2023-09-12T20:28:18.006Z
105
105
  </div>
106
106
  <script src="prettify.js"></script>
107
107
  <script>
@@ -94,7 +94,7 @@ export function setupApp(app: App, sdk: FeaturevisorInstance) {
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
97
- at 2023-08-31T21:40:10.715Z
97
+ at 2023-09-12T20:28:18.006Z
98
98
  </div>
99
99
  <script src="prettify.js"></script>
100
100
  <script>
package/dist/index.js.gz CHANGED
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGrD,QAAQ,CAAC,YAAY,EAAE;IACrB,EAAE,CAAC,wDAAwD,EAAE;;;;;;;wBACrD,GAAG,GAAG,cAAc,CAAC;4BACzB,QAAQ,EAAE;gCACR,aAAa,EAAE,GAAG;gCAClB,QAAQ,EAAE,KAAK;gCACf,QAAQ,EAAE;oCACR;wCACE,GAAG,EAAE,MAAM;wCACX,QAAQ,EAAE,QAAQ;wCAClB,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;wCAC1D,OAAO,EAAE;4CACP;gDACE,GAAG,EAAE,GAAG;gDACR,QAAQ,EAAE,GAAG;gDACb,UAAU,EAAE,MAAM;gDAClB,UAAU,EAAE;oDACV,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE;oDAC5C,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;iDAC1C;6CACF;yCACF;qCACF;iCACF;gCACD,UAAU,EAAE,EAAE;gCACd,QAAQ,EAAE,EAAE;6BACb;yBACF,CAAC,CAAC;wBAEG,aAAa,GAAG;4BACpB,MAAM,EAAE,CAAC,aAAa,CAAC;4BACvB,IAAI,EAAE;gCAC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,CAAC,GAAG,CAAC,CAAC;wBAC3B,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;wBAEb,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;wBAC3B,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;wBAEzB,qBAAM,OAAO,CAAC,GAAG,CAAC,mBAAiB,CAAC,CAAC,IAAI,EAAE,EAAA;;wBAAnD,KAAK,GAAG,SAA2C;wBACzD,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;wBAEvB,qBAAM,OAAO,CAAC,GAAG,CAAC,0BAAwB,CAAC,CAAC,IAAI,EAAE,EAAA;;wBAAjE,YAAY,GAAG,SAAkD;wBACvE,MAAM,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;;;;;KACrC,CAAC,CAAC;IAEH,sDAAsD;AACxD,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,16 +1,19 @@
1
1
  {
2
2
  "name": "@featurevisor/vue",
3
- "version": "0.46.2",
3
+ "version": "0.47.1",
4
4
  "description": "Vue.js package for Featurevisor",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
9
- "lint": "echo 'not linting in this package yet'",
10
9
  "transpile": "rimraf lib && tsc --project tsconfig.esm.json",
11
10
  "dist": "webpack --config ./webpack.config.js",
12
11
  "build": "npm run transpile && npm run dist",
13
- "test": "jest --config jest.config.js --verbose --coverage ./src/*.spec.ts"
12
+ "test": "jest --config jest.config.js --verbose --coverage ./src/*.spec.ts",
13
+ "format": "prettier . --check --cache --log-level=warn",
14
+ "lint": "eslint . --cache",
15
+ "format:fix": "prettier . --write --cache --log-level=warn",
16
+ "lint:fix": "eslint . --fix --cache"
14
17
  },
15
18
  "author": {
16
19
  "name": "Fahad Heylaal",
@@ -32,18 +35,18 @@
32
35
  ],
33
36
  "repository": {
34
37
  "type": "git",
35
- "url": "https://github.com/fahad19/featurevisor.git"
38
+ "url": "https://github.com/featurevisor/featurevisor.git"
36
39
  },
37
40
  "publishConfig": {
38
41
  "access": "public",
39
42
  "registry": "https://registry.npmjs.org/"
40
43
  },
41
44
  "bugs": {
42
- "url": "https://github.com/fahad19/featurevisor/issues"
45
+ "url": "https://github.com/featurevisor/featurevisor/issues"
43
46
  },
44
47
  "dependencies": {
45
- "@featurevisor/sdk": "^0.46.2",
46
- "@featurevisor/types": "^0.46.0",
48
+ "@featurevisor/sdk": "^0.47.1",
49
+ "@featurevisor/types": "^0.47.1",
47
50
  "vue": "^3.3.4"
48
51
  },
49
52
  "license": "MIT",
@@ -51,5 +54,5 @@
51
54
  "@vue/cli-plugin-unit-jest": "^5.0.8",
52
55
  "@vue/test-utils": "^2.4.0"
53
56
  },
54
- "gitHead": "a99373ed8e07ad7ab3e284d01307fe7f2b380648"
57
+ "gitHead": "1f71f945cf6bbfe420d41ae03ac205cbf30aba83"
55
58
  }
@@ -0,0 +1,8 @@
1
+ const rootConfig = require("../../prettier.config");
2
+
3
+ /** @type {import('prettier').Config} */
4
+ const config = {
5
+ ...rootConfig,
6
+ };
7
+
8
+ module.exports = config;
package/src/index.spec.ts CHANGED
@@ -3,7 +3,6 @@ import { createInstance } from "@featurevisor/sdk";
3
3
  import { mount } from "@vue/test-utils";
4
4
 
5
5
  import { setupApp, PROVIDER_NAME } from "./setupApp";
6
- import { useSdk } from "./useSdk";
7
6
 
8
7
  describe("vue: index", function () {
9
8
  it("can set up sdk in app and then inject the sdk instance", async function () {