Skip to content

Commit

Permalink
Updated samples to SPFx 1.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-KaiNet committed Jul 10, 2024
1 parent a1ca39b commit 27ef967
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 64 deletions.
3 changes: 2 additions & 1 deletion samples/advanced/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"**/bower_components": true,
"**/coverage": true,
"**/lib-amd": true,
"src/**/*.scss.ts": true
"src/**/*.scss.ts": true,
"**/jest-output": true
},
"typescript.tsdk": ".\\node_modules\\typescript\\lib"
}
2 changes: 1 addition & 1 deletion samples/advanced/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@microsoft/generator-sharepoint": {
"isCreatingSolution": false,
"environment": "spo",
"version": "1.18.0",
"version": "1.19.0",
"libraryName": "fast-serve-advanced-sample",
"libraryId": "bf8d902b-0414-4a7a-992d-d5632b945ff0",
"packageManager": "npm",
Expand Down
58 changes: 29 additions & 29 deletions samples/advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,54 @@
"serve-loc": "cross-env-shell fast-serve --locale=$SPFX_LOCALE"
},
"dependencies": {
"@fluentui/react": "^8.106.4",
"@fortawesome/fontawesome-svg-core": "6.1.1",
"@fortawesome/free-solid-svg-icons": "6.1.1",
"@fluentui/react": "^8.119.1",
"@fortawesome/fontawesome-svg-core": "6.5.2",
"@fortawesome/free-solid-svg-icons": "6.5.2",
"@fortawesome/react-fontawesome": "0.2.0",
"@microsoft/mgt-components": "4.2.1",
"@microsoft/mgt-element": "4.2.1",
"@microsoft/mgt-react": "4.2.1",
"@microsoft/mgt-sharepoint-provider": "4.2.1",
"@microsoft/sp-adaptive-card-extension-base": "1.18.2",
"@microsoft/sp-component-base": "1.18.2",
"@microsoft/sp-core-library": "1.18.2",
"@microsoft/sp-http": "1.18.2",
"@microsoft/sp-lodash-subset": "1.18.2",
"@microsoft/sp-office-ui-fabric-core": "1.18.2",
"@microsoft/sp-property-pane": "1.18.2",
"@microsoft/sp-webpart-base": "1.18.2",
"@microsoft/mgt-components": "4.2.3",
"@microsoft/mgt-element": "4.2.3",
"@microsoft/mgt-react": "4.2.3",
"@microsoft/mgt-sharepoint-provider": "4.2.3",
"@microsoft/sp-adaptive-card-extension-base": "1.19.0",
"@microsoft/sp-component-base": "1.19.0",
"@microsoft/sp-core-library": "1.19.0",
"@microsoft/sp-http": "1.19.0",
"@microsoft/sp-lodash-subset": "1.19.0",
"@microsoft/sp-office-ui-fabric-core": "1.19.0",
"@microsoft/sp-property-pane": "1.19.0",
"@microsoft/sp-webpart-base": "1.19.0",
"@pnp/sp": "3.21.0",
"@pnp/spfx-controls-react": "3.16.0",
"@pnp/spfx-controls-react": "3.18.1",
"marked": "2.1.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"tslib": "2.3.1"
"tslib": "2.6.3"
},
"devDependencies": {
"@babel/plugin-transform-logical-assignment-operators": "7.24.1",
"@babel/plugin-transform-nullish-coalescing-operator": "7.24.1",
"@babel/plugin-transform-optional-chaining": "7.24.1",
"@babel/preset-env": "7.22.20",
"@microsoft/eslint-config-spfx": "1.18.2",
"@microsoft/eslint-plugin-spfx": "1.18.2",
"@babel/plugin-transform-logical-assignment-operators": "7.24.7",
"@babel/plugin-transform-nullish-coalescing-operator": "7.24.7",
"@babel/plugin-transform-optional-chaining": "7.24.7",
"@babel/preset-env": "7.24.7",
"@microsoft/eslint-config-spfx": "1.20.1",
"@microsoft/eslint-plugin-spfx": "1.20.1",
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "1.18.2",
"@microsoft/sp-module-interfaces": "1.18.2",
"@microsoft/sp-build-web": "1.20.1",
"@microsoft/sp-module-interfaces": "1.20.1",
"@rushstack/eslint-config": "2.5.1",
"@types/marked": "^2.0.3",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
"@types/webpack-env": "1.15.2",
"@types/webpack-env": "1.18.5",
"@typescript-eslint/eslint-plugin": "5.30.5",
"@typescript-eslint/parser": "5.30.5",
"ajv": "6.12.5",
"babel-loader": "8.2.5",
"cross-env": "7.0.3",
"eslint": "8.7.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "4.6.2",
"gulp": "~4.0.2",
"spfx-fast-serve-helpers": "1.18.11",
"spfx-fast-serve-helpers": "1.19.1",
"typescript": "4.7.4"
}
}
5 changes: 3 additions & 2 deletions samples/basic/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"**/bower_components": true,
"**/coverage": true,
"**/lib-amd": true,
"src/**/*.scss.ts": true
"src/**/*.scss.ts": true,
"**/jest-output": true
},
"typescript.tsdk": ".\\node_modules\\typescript\\lib"
}
}
2 changes: 1 addition & 1 deletion samples/basic/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@microsoft/generator-sharepoint": {
"isCreatingSolution": false,
"environment": "spo",
"version": "1.18.0",
"version": "1.19.0",
"libraryName": "basic",
"libraryId": "99057c54-0343-497d-90ae-dbba803e5023",
"packageManager": "npm",
Expand Down
23 changes: 12 additions & 11 deletions samples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,23 @@
},
"dependencies": {
"@fluentui/react": "^8.106.4",
"@microsoft/sp-component-base": "1.18.2",
"@microsoft/sp-core-library": "1.18.2",
"@microsoft/sp-lodash-subset": "1.18.2",
"@microsoft/sp-office-ui-fabric-core": "1.18.2",
"@microsoft/sp-property-pane": "1.18.2",
"@microsoft/sp-webpart-base": "1.18.2",
"@microsoft/sp-adaptive-card-extension-base": "1.19.0",
"@microsoft/sp-component-base": "1.19.0",
"@microsoft/sp-core-library": "1.19.0",
"@microsoft/sp-lodash-subset": "1.19.0",
"@microsoft/sp-office-ui-fabric-core": "1.19.0",
"@microsoft/sp-property-pane": "1.19.0",
"@microsoft/sp-webpart-base": "1.19.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"tslib": "2.3.1"
},
"devDependencies": {
"@microsoft/eslint-config-spfx": "1.18.2",
"@microsoft/eslint-plugin-spfx": "1.18.2",
"@microsoft/eslint-config-spfx": "1.20.1",
"@microsoft/eslint-plugin-spfx": "1.20.1",
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "1.18.2",
"@microsoft/sp-module-interfaces": "1.18.2",
"@microsoft/sp-build-web": "1.20.1",
"@microsoft/sp-module-interfaces": "1.20.1",
"@rushstack/eslint-config": "2.5.1",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
Expand All @@ -38,7 +39,7 @@
"eslint": "8.7.0",
"eslint-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2",
"spfx-fast-serve-helpers": "1.18.6",
"spfx-fast-serve-helpers": "1.19.1",
"typescript": "4.7.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"src/**/*.scss.ts": true
},
"typescript.tsdk": ".\\node_modules\\typescript\\lib"
}
}
2 changes: 1 addition & 1 deletion samples/library-components/spfx-library/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.12.0"
},
"version": "1.18.2",
"version": "1.19.0",
"libraryName": "corporate-library",
"libraryId": "ecba9457-d31a-4d20-a888-be994dd24db4",
"environment": "spo",
Expand Down
12 changes: 7 additions & 5 deletions samples/library-components/spfx-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,22 @@
"serve": "fast-serve"
},
"dependencies": {
"@microsoft/sp-adaptive-card-extension-base": "1.19.0",
"@microsoft/sp-core-library": "1.19.0",
"tslib": "2.3.1"
},
"devDependencies": {
"@microsoft/eslint-config-spfx": "1.18.2",
"@microsoft/eslint-plugin-spfx": "1.18.2",
"@microsoft/eslint-config-spfx": "1.20.1",
"@microsoft/eslint-plugin-spfx": "1.20.1",
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "1.18.2",
"@microsoft/sp-module-interfaces": "1.18.2",
"@microsoft/sp-build-web": "1.20.1",
"@microsoft/sp-module-interfaces": "1.20.1",
"@rushstack/eslint-config": "2.5.1",
"@types/webpack-env": "~1.15.2",
"ajv": "^6.12.5",
"eslint": "8.7.0",
"gulp": "4.0.2",
"spfx-fast-serve-helpers": "1.18.6",
"spfx-fast-serve-helpers": "1.19.1",
"typescript": "4.7.4"
}
}
2 changes: 1 addition & 1 deletion samples/library-components/spfx-webparts/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.12.0"
},
"version": "1.18.2",
"version": "1.19.0",
"libraryName": "spfx-webparts",
"libraryId": "a53ade95-227a-47ff-8add-89ef5cf39823",
"environment": "spo",
Expand Down
23 changes: 12 additions & 11 deletions samples/library-components/spfx-webparts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,24 @@
},
"dependencies": {
"@fluentui/react": "^8.106.4",
"@microsoft/sp-component-base": "1.18.2",
"@microsoft/sp-core-library": "1.18.2",
"@microsoft/sp-lodash-subset": "1.18.2",
"@microsoft/sp-office-ui-fabric-core": "1.18.2",
"@microsoft/sp-property-pane": "1.18.2",
"@microsoft/sp-webpart-base": "1.18.2",
"@microsoft/sp-adaptive-card-extension-base": "1.19.0",
"@microsoft/sp-component-base": "1.19.0",
"@microsoft/sp-core-library": "1.19.0",
"@microsoft/sp-lodash-subset": "1.19.0",
"@microsoft/sp-office-ui-fabric-core": "1.19.0",
"@microsoft/sp-property-pane": "1.19.0",
"@microsoft/sp-webpart-base": "1.19.0",
"corporate-library": "file:../spfx-library",
"react": "17.0.1",
"react-dom": "17.0.1",
"tslib": "2.3.1"
},
"devDependencies": {
"@microsoft/eslint-config-spfx": "1.18.2",
"@microsoft/eslint-plugin-spfx": "1.18.2",
"@microsoft/eslint-config-spfx": "1.20.1",
"@microsoft/eslint-plugin-spfx": "1.20.1",
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "1.18.2",
"@microsoft/sp-module-interfaces": "1.18.2",
"@microsoft/sp-build-web": "1.20.1",
"@microsoft/sp-module-interfaces": "1.20.1",
"@rushstack/eslint-config": "2.5.1",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
Expand All @@ -39,7 +40,7 @@
"eslint": "8.7.0",
"eslint-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2",
"spfx-fast-serve-helpers": "1.18.6",
"spfx-fast-serve-helpers": "1.19.1",
"typescript": "4.7.4"
}
}

0 comments on commit 27ef967

Please sign in to comment.