@the-vcsi/msgraph 0.0.1 → 0.0.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 +4 -3
- package/src/index.js +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-vcsi/msgraph",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "sv CLI add-on for Microsoft Graph / SharePoint integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": ["src"],
|
|
10
10
|
"keywords": ["sv-add", "svelte", "sveltekit", "microsoft-graph", "sharepoint"],
|
|
11
|
-
"dependencies": {
|
|
12
|
-
|
|
11
|
+
"dependencies": {},
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"sv": "^0.13.0"
|
|
13
14
|
},
|
|
14
15
|
"repository": {
|
|
15
16
|
"type": "git",
|
package/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAddon, defineAddonOptions } from 'sv
|
|
1
|
+
import { defineAddon, defineAddonOptions } from 'sv';
|
|
2
2
|
import { readFileSync } from 'fs';
|
|
3
3
|
import { dirname, join } from 'path';
|
|
4
4
|
import { fileURLToPath } from 'url';
|
|
@@ -19,6 +19,7 @@ const options = defineAddonOptions()
|
|
|
19
19
|
|
|
20
20
|
export default defineAddon({
|
|
21
21
|
id: '@the-vcsi/msgraph',
|
|
22
|
+
shortDescription: 'Microsoft Graph / SharePoint integration for fetching story content',
|
|
22
23
|
options,
|
|
23
24
|
|
|
24
25
|
run: ({ sv, options: opts }) => {
|
|
@@ -52,13 +53,12 @@ export default defineAddon({
|
|
|
52
53
|
return JSON.stringify(pkg, null, 2);
|
|
53
54
|
});
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
nextSteps: () => [
|
|
59
|
+
'Copy .env.example to .env',
|
|
60
|
+
'Get credentials from Azure Portal > App registrations',
|
|
61
|
+
'Run npm install',
|
|
62
|
+
'Run npm run fetch:sharepoint'
|
|
63
|
+
]
|
|
64
64
|
});
|