From 04876bf5619f425aaa0dc856360ac81d181e167d Mon Sep 17 00:00:00 2001 From: Nanddeep Nachan Date: Thu, 24 Sep 2020 16:42:38 +0000 Subject: [PATCH] Renamed folder to assets-temp --- samples/react-provision-assets/README.md | 2 +- samples/react-provision-assets/gulpfile.js | 2 +- .../e89b5ad5-9ab5-4730-a66b-e1f68994598c.json | 69 +++++++++++++++++++ 3 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 samples/react-provision-assets/sharepoint/assets-temp/e89b5ad5-9ab5-4730-a66b-e1f68994598c.json diff --git a/samples/react-provision-assets/README.md b/samples/react-provision-assets/README.md index ac7701836..1c45606bb 100644 --- a/samples/react-provision-assets/README.md +++ b/samples/react-provision-assets/README.md @@ -62,7 +62,7 @@ Version|Date|Comments - Open the command line, navigate to the web part folder and execute: - `npm i` - `gulp build --ship` - - `gulp prepare-solution` This custom gulp task copies the file `e89b5ad5-9ab5-4730-a66b-e1f68994598c.json` from the folder `sharepoint\temp\` to `temp\deploy` in order to prepare the package. + - `gulp prepare-solution` This custom gulp task copies the file `e89b5ad5-9ab5-4730-a66b-e1f68994598c.json` from the folder `sharepoint\assets-temp\` to `temp\deploy` in order to prepare the package. - `gulp package-solution` - [Deploy the package](https://docs.microsoft.com/sharepoint/dev/spfx/enterprise-guidance#management-capabilities-of--sharepoint-framework-solutions) to the app catalog - [Add the app](https://support.office.com/en-ie/article/Add-an-app-to-a-site-ef9c0dbd-7fe1-4715-a1b0-fe3bc81317cb?ui=en-US&rs=en-IE&ad=IE) to a site diff --git a/samples/react-provision-assets/gulpfile.js b/samples/react-provision-assets/gulpfile.js index f0eb0c8d1..5c0c7dc43 100644 --- a/samples/react-provision-assets/gulpfile.js +++ b/samples/react-provision-assets/gulpfile.js @@ -6,7 +6,7 @@ const build = require('@microsoft/sp-build-web'); build.task('prepare-solution', { execute: (config) => { return new Promise((resolve, reject) => { - gulp.src('sharepoint/temp/e89b5ad5-9ab5-4730-a66b-e1f68994598c.json') + gulp.src('sharepoint/assets-temp/e89b5ad5-9ab5-4730-a66b-e1f68994598c.json') .pipe(gulp.dest('temp/deploy')); resolve(); diff --git a/samples/react-provision-assets/sharepoint/assets-temp/e89b5ad5-9ab5-4730-a66b-e1f68994598c.json b/samples/react-provision-assets/sharepoint/assets-temp/e89b5ad5-9ab5-4730-a66b-e1f68994598c.json new file mode 100644 index 000000000..c2f7243de --- /dev/null +++ b/samples/react-provision-assets/sharepoint/assets-temp/e89b5ad5-9ab5-4730-a66b-e1f68994598c.json @@ -0,0 +1,69 @@ +{ + "id": "e89b5ad5-9ab5-4730-a66b-e1f68994598c", + "alias": "ReactProvisionAssetsWebPart", + "componentType": "WebPart", + "version": "0.0.1", + "manifestVersion": 2, + "safeWithCustomScriptDisabled": false, + "hiddenFromToolbox": true, + "preconfiguredEntries": [ + { + "groupId": "e89b5ad5-9ab5-4730-a66b-e1f68994598c", + "group": { + "default": "Under Development" + }, + "title": { + "default": "ReactProvisionAssets" + }, + "description": { + "default": "ReactProvisionAssets description" + }, + "officeFabricIconFontName": "Page", + "properties": { + "description": "ReactProvisionAssets" + } + } + ], + "loaderConfig": { + "entryModuleId": "react-provision-assets.bundle", + "internalModuleBaseUrls": [ + "/" + ], + "scriptResources": { + "react-provision-assets.bundle": { + "type": "path", + "path": "react-provision-assets.bundle_34342d406611433a7054d20fb4382b33.js" + }, + "reactProvisionAssetsStrings": { + "defaultPath": "react-provision-assets-reactprovisionassetsstrings_en-us_536e65149b0acf4d52c0043073b9fc59.js", + "type": "localizedPath", + "paths": {} + }, + "react": { + "type": "component", + "version": "15.4.2", + "id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" + }, + "@microsoft/sp-core-library": { + "type": "component", + "version": "1.1.0", + "id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b" + }, + "@microsoft/sp-webpart-base": { + "type": "component", + "version": "1.1.1", + "id": "974a7777-0990-4136-8fa6-95d80114c2e0" + }, + "react-dom": { + "type": "component", + "version": "15.4.2", + "id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a" + }, + "@microsoft/sp-lodash-subset": { + "type": "component", + "version": "1.1.0", + "id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a" + } + } + } +} \ No newline at end of file