create-powerapps-project 0.24.0 → 0.24.1

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.
@@ -45,6 +45,7 @@ exports.default = (plop) => {
45
45
  // eslint-disable-next-line @typescript-eslint/no-var-requires
46
46
  const packageJson = require(packagePath);
47
47
  packageJson.scripts[answers.scriptKey] = answers.scriptValue;
48
+ answers.scriptValue = plop.renderString(answers.scriptValue, answers);
48
49
  await fs_1.default.promises.writeFile(packagePath, JSON.stringify(packageJson, null, 4), 'utf8');
49
50
  return `added ${answers.scriptKey} script to package.json`;
50
51
  });
package/license CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Derek Finlinson
3
+ Copyright (c) 2022 Derek Finlinson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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": "0.24.0",
4
+ "version": "0.24.1",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
7
7
  "bin": {
@@ -8,7 +8,7 @@ export interface IAppProps {
8
8
 
9
9
  export const App = React.memo((props: IAppProps) => {
10
10
  const {
11
- context,
11
+ context
12
12
  } = props;
13
13
 
14
14
  return (