create-powerapps-project 1.5.0 → 1.5.2

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
@@ -346,7 +346,7 @@ export default async (plop) => {
346
346
  },
347
347
  {
348
348
  type: 'add',
349
- templateFile: '../plop-templates/pcf/AppFluent9.tsx',
349
+ templateFile: '../plop-templates/pcf/AppFluent9.tsx.hbs',
350
350
  path: path.resolve(process.cwd(), '{{name}}', 'App.tsx'),
351
351
  skip: (answers) => {
352
352
  if (!answers.react) {
@@ -443,8 +443,8 @@ export default async (plop) => {
443
443
  packages: {
444
444
  devDependencies: [
445
445
  'powerapps-project-pcf',
446
- '@types/react@16',
447
- '@types/react-dom@16',
446
+ '@types/react@^16',
447
+ '@types/react-dom@^16',
448
448
  'eslint-plugin-react-hooks',
449
449
  '@types/xrm'
450
450
  ],
@@ -467,13 +467,13 @@ export default async (plop) => {
467
467
  packages: {
468
468
  devDependencies: [
469
469
  'powerapps-project-pcf',
470
- '@types/react@16',
471
- '@types/react-dom@16',
470
+ '@types/react@^17',
471
+ '@types/react-dom@^17',
472
472
  'eslint-plugin-react-hooks',
473
473
  '@types/xrm',
474
474
  'eslint-plugin-react'
475
475
  ],
476
- dependencies: ['@fluentui/react-hooks', '@fluentui/react-components', '@fluentui/react-icons', 'react@16', 'react-dom@16']
476
+ dependencies: ['@fluentui/react-hooks', '@fluentui/react-components', '@fluentui/react-icons', 'react@^17', 'react-dom@^17']
477
477
  }
478
478
  },
479
479
  skip: (answers) => {
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.5.0",
4
+ "version": "1.5.2",
5
5
  "license": "MIT",
6
6
  "exports": "./lib/index.js",
7
7
  "engines": {
@@ -9,7 +9,7 @@ export const App = (props: { context: ComponentFramework.Context<IInputs>; }) =>
9
9
  } = props;
10
10
 
11
11
  return (
12
- <IdPrefixProvider value="AdasCertification">
12
+ <IdPrefixProvider value="{name}">
13
13
  <FluentProvider theme={webLightTheme}>
14
14
  <AppContext.Provider value=\{{ context }}>
15
15
  </AppContext.Provider>