Browse Source

Scaffolding: Use Web-JQuery, bump deps.

Herby Vojčík 7 months ago
parent
commit
00c9fbb296
2 changed files with 4 additions and 4 deletions
  1. 1 1
      grunt-init-project/root/src/name.st
  2. 3 3
      grunt-init-project/template.js

+ 1 - 1
grunt-init-project/root/src/name.st

@@ -1,5 +1,5 @@
 Smalltalk createPackage: '{%= name %}'!
-(Smalltalk packageAt: '{%= name %}' ifAbsent: [ self error: 'Package not created: {%= name %}' ]) imports: {'amber/jquery/Wrappers-JQuery'. 'amber/web/Web'. 'silk/Silk'}!
+(Smalltalk packageAt: '{%= name %}' ifAbsent: [ self error: 'Package not created: {%= name %}' ]) imports: {'amber/web/Web'. 'amber/web/Web-JQuery'. 'silk/Silk'}!
 Object subclass: #{%= name %}
 	slots: {}
 	package: '{%= name %}'!

+ 3 - 3
grunt-init-project/template.js

@@ -117,7 +117,7 @@ exports.template = function (grunt, init, done) {
         props.keywords = ['Amber', 'Smalltalk'];
         props.dependencies = {
             "@ambers/contrib-jquery": "^0.6.0",
-            "@ambers/contrib-web": "^0.7.1",
+            "@ambers/contrib-web": "^0.8.2",
             "@ambers/lang": "^0.24.0",
             "@ambers/domite": "^0.9.0",
             "es6-promise": "^4.2.6",
@@ -126,8 +126,8 @@ exports.template = function (grunt, init, done) {
         props.devDependencies = {
             "@ambers/ide-starter-modal": "^0.2.0",
             "@ambers/sdk": "^0.12.1",
-            "@ambers/contrib-legacy": "^0.8.0",
-            "@ambers/helios": "^0.11.2",
+            "@ambers/contrib-legacy": "^0.8.6",
+            "@ambers/helios": "^0.11.6",
             "grunt": "^1.0.3",
             "grunt-contrib-clean": "^1.1.0",
             "grunt-contrib-requirejs": "^1.0.0",