Commit a6f4f2f
Summary:
npm [start | run build | run archive] does not work after npm run eject
Description:
module.exports in path.js does not include appPath, which is used in
getSettings() in cep.js to get the extension version number, after eject.
This update adds appPath after eject.
In addition, scripts/templates was left off the list of folders to copy
when ejecting, so templates for .debug, manifest.xml and index.html were
not available. This update also adds the folder to the list of folders
to copy on eject.
Testing Done:
create-cep-extension was run to verify the code changes did not affect
an unejected package.
npm run eject was run and it was verified that scripts/templates existed
and all the template files were properly copied.
npm start was run and failed due to yarn.lock existing in the project
root.
npm install was run manually and then npm start was run, which now
properly opened the extension in the browser and InDesign.
npm run build and npm run archive were run and verifed the results were
as expected.
Signed-off-by: Rob Johnson <rob.johnson@berkadia.com>
Reviewed-by: [reviewer-name] <reviewer-email>
Signed-off-by: [owner-name] <owner-email>
1 parent 9f56759 commit a6f4f2f
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments