Skip to content

Commit 9921e41

Browse files
Adds m365 and microsoft365 executables. Closes #1637
1 parent 407b0e8 commit 9921e41

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
"bin": {
88
"office365": "./dist/index.js",
99
"o365": "./dist/index.js",
10-
"o365_comp": "./dist/autocomplete.js"
10+
"o365_comp": "./dist/autocomplete.js",
11+
"microsoft365": "./dist/index.js",
12+
"m365": "./dist/index.js",
13+
"m365_comp": "./dist/autocomplete.js"
1114
},
1215
"repository": {
1316
"type": "git",
@@ -25,8 +28,10 @@
2528
},
2629
"keywords": [
2730
"office 365",
31+
"microsoft 365",
2832
"sharepoint framework",
2933
"o365",
34+
"m365",
3035
"spfx",
3136
"sharepoint online",
3237
"sharepoint",

src/autocomplete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Autocomplete {
2323
catch { }
2424
}
2525

26-
this.omelette = omelette('o365_comp|o365|office365');
26+
this.omelette = omelette('o365_comp|o365|office365|m365_comp|m365|microsoft365');
2727
this.omelette.on('complete', this.handleAutocomplete.bind(this));
2828
this.omelette.init();
2929
}

0 commit comments

Comments
 (0)