소스 검색

cli: use @ambers/sdk.

Herby Vojčík 6 년 전
부모
커밋
6644f6ff87
4개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      external/amber-cli/package.json
  2. 2 2
      external/amber-cli/src/AmberCli.js
  3. 1 1
      external/amber-cli/src/AmberCli.st
  4. 1 1
      external/amber-cli/support/amberc-cli.js

+ 1 - 1
external/amber-cli/package.json

@@ -34,8 +34,8 @@
     "test": "mocha"
   },
   "dependencies": {
+    "@ambers/sdk": ">=0.10.5",
     "amber": ">=0.14.17",
-    "amber-dev": ">=0.8.2",
     "bower": "^1.6.0",
     "grunt-init-amber": ">=0.14.18"
   },

+ 2 - 2
external/amber-cli/src/AmberCli.js

@@ -522,7 +522,7 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-$recv($recv($recv(require)._value_("amber-dev"))._configBuilder())._writeConfig_toFile_thenDo_($recv(process)._cwd(),"config.js",aBlock);
+$recv($recv($recv(require)._value_("@ambers/sdk"))._configBuilder())._writeConfig_toFile_thenDo_($recv(process)._cwd(),"config.js",aBlock);
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"writeConfigThenDo:",{aBlock:aBlock},$globals.Configurator)});
@@ -530,7 +530,7 @@ return self;
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: ["aBlock"],
-source: "writeConfigThenDo: aBlock\x0a\x09(require value: 'amber-dev') configBuilder\x0a\x09\x09writeConfig: process cwd\x0a\x09\x09toFile: 'config.js'\x0a\x09\x09thenDo: aBlock",
+source: "writeConfigThenDo: aBlock\x0a\x09(require value: '@ambers/sdk') configBuilder\x0a\x09\x09writeConfig: process cwd\x0a\x09\x09toFile: 'config.js'\x0a\x09\x09thenDo: aBlock",
 referencedClasses: [],
 //>>excludeEnd("ide");
 messageSends: ["writeConfig:toFile:thenDo:", "configBuilder", "value:", "cwd"]

+ 1 - 1
external/amber-cli/src/AmberCli.st

@@ -133,7 +133,7 @@ start
 !
 
 writeConfigThenDo: aBlock
-	(require value: 'amber-dev') configBuilder
+	(require value: '@ambers/sdk') configBuilder
 		writeConfig: process cwd
 		toFile: 'config.js'
 		thenDo: aBlock

+ 1 - 1
external/amber-cli/support/amberc-cli.js

@@ -1,7 +1,7 @@
 #!/usr/bin/env node
 
 var path = require('path');
-var amberc = require('amber-dev').amberc;
+var amberc = require('@ambers/sdk').amberc;
 
 // get parameters passed to the command line script
 // discard the first two parameters which are the node binary and the script name