Browse Source

Moved the npm externs to the "js.npm" package

tags/v2.2.0
Cédric Belin 4 months ago
parent
commit
efbac3c822
5 changed files with 8 additions and 6 deletions
  1. +3
    -1
      .vscode/settings.json
  2. +1
    -1
      src/js/npm/actions/Core.hx
  3. +1
    -1
      src/js/npm/actions/ToolCache.hx
  4. +2
    -2
      src/setup_dart/DartSdk.hx
  5. +1
    -1
      src/setup_dart/Program.hx

+ 3
- 1
.vscode/settings.json View File

@@ -4,5 +4,7 @@
"editor.tabSize": 2,
"files.encoding": "utf8",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true
"files.trimTrailingWhitespace": true,
"[markdown]": {"files.trimTrailingWhitespace": false},
"[yaml]": {"editor.insertSpaces": true}
}

src/actions/Core.hx → src/js/npm/actions/Core.hx View File

@@ -1,4 +1,4 @@
package actions;
package js.npm.actions;

import haxe.extern.EitherType;
import js.lib.Error;

src/actions/ToolCache.hx → src/js/npm/actions/ToolCache.hx View File

@@ -1,4 +1,4 @@
package actions;
package js.npm.actions;

import js.lib.Promise;


+ 2
- 2
src/setup_dart/DartSdk.hx View File

@@ -1,13 +1,13 @@
package setup_dart;

import actions.Core;
import actions.ToolCache;
import haxe.io.Path;
import js.Syntax;
import js.lib.Object;
import js.lib.Promise;
import js.node.Fs;
import js.node.Util;
import js.npm.actions.Core;
import js.npm.actions.ToolCache;

using StringTools;



+ 1
- 1
src/setup_dart/Program.hx View File

@@ -1,6 +1,6 @@
package setup_dart;

import actions.Core.*;
import js.npm.actions.Core.*;
import js.Node.process;

/** Sets up the Dart SDK. **/


Loading…
Cancel
Save