From 030e6c70da48498ac7fa77218f75953fa60af623 Mon Sep 17 00:00:00 2001 From: Jerry Yasir Date: Sun, 20 Sep 2020 20:11:36 -0400 Subject: [PATCH] Add files via upload --- .../config/config.json | 20 +++++++++++++++++++ .../config/copy-assets.json | 4 ++++ .../config/deploy-azure-storage.json | 7 +++++++ .../config/package-solution.json | 13 ++++++++++++ .../config/serve.json | 10 ++++++++++ .../config/write-manifests.json | 4 ++++ 6 files changed, 58 insertions(+) create mode 100644 samples/react-accordion-dynamic-section/config/config.json create mode 100644 samples/react-accordion-dynamic-section/config/copy-assets.json create mode 100644 samples/react-accordion-dynamic-section/config/deploy-azure-storage.json create mode 100644 samples/react-accordion-dynamic-section/config/package-solution.json create mode 100644 samples/react-accordion-dynamic-section/config/serve.json create mode 100644 samples/react-accordion-dynamic-section/config/write-manifests.json diff --git a/samples/react-accordion-dynamic-section/config/config.json b/samples/react-accordion-dynamic-section/config/config.json new file mode 100644 index 000000000..dd01d30de --- /dev/null +++ b/samples/react-accordion-dynamic-section/config/config.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json", + "version": "2.0", + "bundles": { + "react-accordion-web-part": { + "components": [ + { + "entrypoint": "./lib/webparts/reactAccordion/ReactAccordionWebPart.js", + "manifest": "./src/webparts/reactAccordion/ReactAccordionWebPart.manifest.json" + } + ] + } + }, + "externals": {}, + "localizedResources": { + "ReactAccordionWebPartStrings": "lib/webparts/reactAccordion/loc/{locale}.js", + "PropertyControlStrings": "node_modules/@pnp/spfx-property-controls/lib/loc/{locale}.js", + "ControlStrings": "node_modules/@pnp/spfx-controls-react/lib/loc/{locale}.js" + } +} \ No newline at end of file diff --git a/samples/react-accordion-dynamic-section/config/copy-assets.json b/samples/react-accordion-dynamic-section/config/copy-assets.json new file mode 100644 index 000000000..0e7cd6e21 --- /dev/null +++ b/samples/react-accordion-dynamic-section/config/copy-assets.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json", + "deployCdnPath": "temp/deploy" +} diff --git a/samples/react-accordion-dynamic-section/config/deploy-azure-storage.json b/samples/react-accordion-dynamic-section/config/deploy-azure-storage.json new file mode 100644 index 000000000..f84116139 --- /dev/null +++ b/samples/react-accordion-dynamic-section/config/deploy-azure-storage.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json", + "workingDir": "./temp/deploy/", + "account": "", + "container": "react-accordion", + "accessKey": "" +} \ No newline at end of file diff --git a/samples/react-accordion-dynamic-section/config/package-solution.json b/samples/react-accordion-dynamic-section/config/package-solution.json new file mode 100644 index 000000000..3f6005c4b --- /dev/null +++ b/samples/react-accordion-dynamic-section/config/package-solution.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json", + "solution": { + "name": "Accordion Section FAQ Builder", + "id": "bf6fa974-fd40-45a3-80e9-e826abe025b9", + "version": "1.6.0.0", + "includeClientSideAssets": true, + "skipFeatureDeployment": true + }, + "paths": { + "zippedPackage": "solution/DynamicFAQ-Accordion.sppkg" + } +} diff --git a/samples/react-accordion-dynamic-section/config/serve.json b/samples/react-accordion-dynamic-section/config/serve.json new file mode 100644 index 000000000..53f5ef879 --- /dev/null +++ b/samples/react-accordion-dynamic-section/config/serve.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json", + "port": 4321, + "https": true, + "initialPage": "https://localhost:5432/workbench", + "api": { + "port": 5432, + "entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" + } +} diff --git a/samples/react-accordion-dynamic-section/config/write-manifests.json b/samples/react-accordion-dynamic-section/config/write-manifests.json new file mode 100644 index 000000000..89f4ed068 --- /dev/null +++ b/samples/react-accordion-dynamic-section/config/write-manifests.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/write-manifests.schema.json", + "cdnBasePath": "" +} \ No newline at end of file