Browse Source

libs: amber_core => amber/core in deps

Herby Vojčík 3 years ago
parent
commit
3c23997612
4 changed files with 8 additions and 8 deletions
  1. 5 5
      Gruntfile.js
  2. 1 1
      package.json
  3. 1 1
      src/ProfStef.js
  4. 1 1
      testing.js

+ 5 - 5
Gruntfile.js

@@ -46,7 +46,7 @@ module.exports = function (grunt) {
                     // list all tests in dependency order
                 ],
                 amd_namespace: 'profstef',
-                libraries: ['amber_core/SUnit', 'amber/web/Web']
+                libraries: ['amber/core/SUnit', 'amber/web/Web']
             }
         },
 
@@ -61,7 +61,7 @@ module.exports = function (grunt) {
                     mainConfigFile: "config.js",
                     rawText: {
                         "app": '(' + polyfillThenPromiseApp + '());',
-                        "__app__": 'define(["deploy", "amber_core/Platform-Browser"],function(x){return x});'
+                        "__app__": 'define(["deploy", "amber/core/Platform-Browser"],function(x){return x});'
                     },
                     pragmas: {
                         excludeIdeData: true,
@@ -78,10 +78,10 @@ module.exports = function (grunt) {
                     mainConfigFile: "config.js",
                     rawText: {
                         "app": '(' + polyfillThenPromiseApp + '());',
-                        "__app__": 'define(["devel", "amber_core/Platform-Browser"],function(x){return x});'
+                        "__app__": 'define(["devel", "amber/core/Platform-Browser"],function(x){return x});'
                     },
                     include: ['config', 'node_modules/requirejs/require', 'app', '__app__'],
-                    exclude: ['devel', 'amber_core/Platform-Browser'],
+                    exclude: ['devel', 'amber/core/Platform-Browser'],
                     out: "the.js"
                 }
             },
@@ -91,7 +91,7 @@ module.exports = function (grunt) {
                     rawText: {
                         "jquery": "/* do not load in node test runner */",
                         "__app__": "(" + function () {
-                            define(["testing", "amber_core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) {
+                            define(["testing", "amber/core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) {
                                 amber.initialize().then(function () {
                                     amber.globals.NodeTestRunner._main();
                                 });

+ 1 - 1
package.json

@@ -30,7 +30,7 @@
   "dependencies": {
     "@ambers/contrib-legacy": ">=0.7.1",
     "@ambers/contrib-web": ">=0.6.2",
-    "@ambers/lang": ">=0.22.2"
+    "@ambers/lang": ">0.22.6"
   },
   "devDependencies": {
     "@ambers/ide-starter-modal": ">=0.2.0",

+ 1 - 1
src/ProfStef.js

@@ -1,4 +1,4 @@
-define(["amber/boot", "require", "amber/web/Web", "amber_core/Kernel-Objects"], function($boot,requirejs){"use strict";
+define(["amber/boot", "require", "amber/core/Kernel-Objects", "amber/web/Web"], function($boot,requirejs){"use strict";
 var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
 var $pkg = $core.addPackage("ProfStef");
 $pkg.innerEval = function (expr) { return eval(expr); };

+ 1 - 1
testing.js

@@ -1,6 +1,6 @@
 define([
     './deploy',
-    'amber_core/SUnit',
+    'amber/core/SUnit',
     // --- packages used only during automated testing begin here ---
     // --- packages used only during automated testing end here ---
 ], function (amber) {