@fontoxml/fontoxml-development-tools 3.9.0-beta.4 → 3.9.0-beta.5

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@fontoxml/fontoxml-development-tools",
3
- "version": "3.9.0-beta.4",
3
+ "version": "3.9.0-beta.5",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@fontoxml/fontoxml-development-tools",
9
- "version": "3.9.0-beta.3",
9
+ "version": "3.9.0-beta.5",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@babel/core": "7.14.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fontoxml/fontoxml-development-tools",
3
3
  "description": "Development tools for Fonto.",
4
- "version": "3.9.0-beta.4",
4
+ "version": "3.9.0-beta.5",
5
5
  "author": "The Fonto Team",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -0,0 +1,5 @@
1
+ {
2
+ "devDependencies": {
3
+ "typescript": "4.3.4"
4
+ }
5
+ }
@@ -4,7 +4,7 @@ import path from 'path';
4
4
  import unzipper from 'unzipper';
5
5
  import { fileURLToPath } from 'url';
6
6
 
7
- import { isNightly, isPre770Editor } from '../../../editorVersions.js';
7
+ import { isNightly } from '../../../editorVersions.js';
8
8
  import addonsAddDependencies from './api/addonsAddDependencies.js';
9
9
  import createMessageTemplate from './api/createMessageTemplate.js';
10
10
  import downloadEditorSDK from './api/downloadEditorSDK.js';
@@ -535,10 +535,8 @@ export default async function editorInitCommand(req, res) {
535
535
 
536
536
  destroySpinner();
537
537
 
538
- // npm install.
539
- if (isPre770Editor(sdkVersion)) {
540
- await npmInstall(editorPath, res);
541
- }
538
+ // Install NPM depencencies when there's a package.json.
539
+ await npmInstall(editorPath, res);
542
540
 
543
541
  // Done.
544
542
  res.break();