Skip to content

Commit c371d3a

Browse files
Upgrade react-application-machine-translations to SPFx v1.20.0 (#1455)
* Upgrade to v1.15.0 * bump to spfx - v1.18.0 * Incremental bump to v1.19.0 * Final bump to SPFx v1.20.0 * Updated .nvmrc
1 parent 9cff86b commit c371d3a

File tree

18 files changed

+43457
-21835
lines changed

18 files changed

+43457
-21835
lines changed

samples/react-application-machine-translations/.eslintrc.js

Lines changed: 363 additions & 0 deletions
Large diffs are not rendered by default.

samples/react-application-machine-translations/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ release
1313
solution
1414
temp
1515
*.sppkg
16+
.heft
1617

1718
# Coverage directory used by tools like istanbul
1819
coverage
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
!dist
2+
config
3+
4+
gulpfile.js
5+
6+
release
7+
src
8+
temp
9+
10+
tsconfig.json
11+
12+
13+
*.log
14+
15+
.yo-rc.json
16+
.vscode
22 Bytes
Binary file not shown.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"@microsoft/generator-sharepoint": {
3-
"version": "1.12.1",
3+
"version": "1.20.0",
44
"libraryName": "machine-translation-extension",
55
"libraryId": "87cc9434-00c1-4c88-b50c-dd8a7888f9b8",
66
"environment": "spo",
77
"packageManager": "npm",
88
"isCreatingSolution": true,
99
"isDomainIsolated": false,
1010
"componentType": "extension",
11-
"extensionType": "ApplicationCustomizer"
11+
"extensionType": "ApplicationCustomizer",
12+
"sdkVersions": {
13+
"@microsoft/teams-js": "2.24.0",
14+
"@microsoft/microsoft-graph-client": "3.0.2"
15+
}
1216
}
1317
}

samples/react-application-machine-translations/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ The extension will determine the language of the page using the page description
1010

1111
## Compatibility
1212

13-
![SPFx 1.12.1](https://img.shields.io/badge/SPFx-1.12.1-green.svg)
13+
![SPFx 1.20.0](https://img.shields.io/badge/SPFx-1.20.0-green.svg)
1414

15-
![Node.js LTS v14 | LTS v12 | LTS v10](https://img.shields.io/badge/Node.js-LTS%20v14%20%7C%20LTS%20v12%20%7C%20LTS%20v10-green.svg)
15+
![Node.js >=16.13.0 <17.0.0 || >=18.17.1 <19.0.0](https://img.shields.io/badge/Node.js-%3E=16.13.0%20%3C17.0.0%20%7C%7C%20%3E=18.17.1%20%3C19.0.0-green.svg)
1616

1717
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-red.svg)
1818

@@ -35,11 +35,13 @@ Solution|Author(s)
3535
--------|---------
3636
react-application-machine-translations | [Robin Agten](https://twitter.com/AgtenRobin)
3737
react-application-machine-translations | [Michal Romiszewski](https://twitter.com/romiszewski) -- Update
38+
react-application-machine-translations | [Nishkalank Bezawada](https://bsky.app/profile/nishkalankbezawada.bsky.social) -- SPFx upgrade to v1.20.0
3839

3940
## Version history
4041

4142
Version|Date|Comments
4243
-------|----|--------
44+
1.2|December 09, 2024|Update TranslationService, SPFx upgrade to v1.20.0
4345
1.1|July 23, 2021|Update TranslationService, SPFx to 1.12.1 and PnPjs to 2.7.0
4446
1.0|March 28, 2020|Initial release
4547

samples/react-application-machine-translations/assets/sample.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"This application customizer lets you translate the text on a SharePoint page using the Translator Text API of Microsoft Azure."
1010
],
1111
"creationDateTime": "2021-01-20",
12-
"updateDateTime": "2021-07-22",
12+
"updateDateTime": "2024-12-09",
1313
"products": [
1414
"SharePoint"
1515
],
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"key": "SPFX-VERSION",
23-
"value": "1.10.0"
23+
"value": "1.20.0"
2424
}
2525
],
2626
"tags": [],
@@ -52,6 +52,11 @@
5252
"gitHubAccount": "mromiszewski",
5353
"pictureUrl": "https://github.com/mromiszewski.png",
5454
"name": "Michał Romiszewski"
55+
},
56+
{
57+
"gitHubAccount": "NishkalankBezawada",
58+
"pictureUrl": "https://github.com/NishkalankBezawada.png",
59+
"name": "Nishkalank Bezawada"
5560
}
5661
],
5762
"references": [

samples/react-application-machine-translations/config/copy-assets.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

samples/react-application-machine-translations/config/package-solution.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@
1414
"termsOfUseUrl": "",
1515
"mpnId": ""
1616
},
17+
"metadata": {
18+
"shortDescription": {
19+
"default": "machine-translation-extension description"
20+
},
21+
"longDescription": {
22+
"default": "machine-translation-extension description"
23+
},
24+
"screenshotPaths": [],
25+
"videoUrl": "",
26+
"categories": []
27+
},
1728
"features": [
1829
{
1930
"title": "Application Extension - Deployment of custom action.",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
3+
}

0 commit comments

Comments
 (0)