create-powerapps-project 1.3.4 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/plopfile.js CHANGED
@@ -322,7 +322,7 @@ export default async (plop) => {
322
322
  },
323
323
  {
324
324
  type: 'add',
325
- templateFile: '../plop-templates/pcf/AppContext.tsx.hbs',
325
+ templateFile: '../plop-templates/pcf/AppContext.tsx',
326
326
  path: path.resolve(process.cwd(), '{{name}}', 'contexts', 'AppContext.tsx'),
327
327
  skip: (answers) => {
328
328
  if (!answers.react) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-powerapps-project",
3
3
  "description": "💧 plop generator for Dataverse development",
4
- "version": "1.3.4",
4
+ "version": "1.3.6",
5
5
  "license": "MIT",
6
6
  "exports": "./lib/index.js",
7
7
  "engines": {
@@ -11,7 +11,7 @@ export const App = (props: { context: ComponentFramework.Context<IInputs>; }) =>
11
11
  } = props;
12
12
 
13
13
  return (
14
- <AppContext.Provider value={{ context: context }}>
14
+ <AppContext.Provider value={{{ context }}}>
15
15
  </AppContext.Provider>
16
16
  );
17
17
  };