-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#8 - trying to build semantic bundle ...
- Loading branch information
Showing
22 changed files
with
274 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
.../src/test/java/org/licket/core/view/hippo/ngclass/AngularClassStructureDecoratorTest.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...k/src/test/java/org/licket/core/view/hippo/ngmodule/AngularModuleStructureWriterTest.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...t-framework/src/test/java/org/licket/core/view/hippo/testing/AngularClassBuilderTest.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
licket-framework/src/test/java/org/licket/core/view/hippo/view/TestType.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "licket-module-semanticui", | ||
"version": "0.0.1-SNAPSHOT", | ||
"repository": "https://github.com/activey/licket.git", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build-ts": "tsc" | ||
}, | ||
"dependencies": { | ||
"ng-semantic": "^1.1.11", | ||
"tsc": "^1.20150623.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "~1.5.3", | ||
"@angular/common": "2.0.1", | ||
"@angular/compiler": "2.0.1", | ||
"@angular/core": "2.0.1", | ||
"@angular/forms": "2.0.1", | ||
"@angular/http": "2.0.1", | ||
"@angular/platform-browser": "2.0.1", | ||
"@angular/platform-browser-dynamic": "2.0.1", | ||
"@angular/router": "3.0.0", | ||
"@angular/upgrade": "2.0.1", | ||
"angular2-in-memory-web-api": "0.0.20", | ||
"systemjs": "0.19.27", | ||
"core-js": "^2.4.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<artifactId>licket-parent</artifactId> | ||
<groupId>org.licket</groupId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>licket-module-semanticui</artifactId> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.github.eirslett</groupId> | ||
<artifactId>frontend-maven-plugin</artifactId> | ||
<version>1.0</version> | ||
<executions> | ||
<execution> | ||
<id>install node and npm</id> | ||
<goals> | ||
<goal>install-node-and-npm</goal> | ||
</goals> | ||
<configuration> | ||
<nodeVersion>v6.6.0</nodeVersion> | ||
<npmVersion>3.10.8</npmVersion> | ||
</configuration> | ||
</execution> | ||
|
||
<execution> | ||
<id>npm install</id> | ||
<goals> | ||
<goal>npm</goal> | ||
</goals> | ||
<configuration> | ||
<arguments>install</arguments> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
|
||
<resources> | ||
<resource> | ||
<directory>node_modules/ng-semantic</directory> | ||
<filtering>false</filtering> | ||
<includes> | ||
<include>ng-semantic/**/*.js</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>false</filtering> | ||
</resource> | ||
</resources> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.licket</groupId> | ||
<artifactId>licket-framework</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
23 changes: 23 additions & 0 deletions
23
licket-module-semanticui/src/main/java/org/licket/semantic/SemanticUIModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.licket.semantic; | ||
|
||
import static org.licket.framework.hippo.NameBuilder.name; | ||
import static org.licket.framework.hippo.PropertyNameBuilder.property; | ||
|
||
import org.licket.core.view.hippo.ngclass.AngularInjectable; | ||
import org.licket.core.view.hippo.ngmodule.AbstractAngularModule; | ||
import org.licket.framework.hippo.PropertyNameBuilder; | ||
|
||
/** | ||
* @author activey | ||
*/ | ||
public class SemanticUIModule extends AbstractAngularModule { | ||
|
||
public SemanticUIModule(AngularInjectable... injectables) { | ||
super(injectables); | ||
} | ||
|
||
@Override | ||
public PropertyNameBuilder angularName() { | ||
return property(property(name("ng"), name("http")), name("HttpModule")); | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...et-module-semanticui/src/main/java/org/licket/semantic/SemanticUIModuleConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.licket.semantic; | ||
|
||
import org.licket.core.resource.Resource; | ||
import org.licket.core.view.hippo.ngmodule.AngularModule; | ||
import org.licket.semantic.resource.SemanticUILibraryResource; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
/** | ||
* @author activey | ||
*/ | ||
@Configuration | ||
public class SemanticUIModuleConfiguration { | ||
|
||
@Bean | ||
public AngularModule semanticModule() { | ||
return new SemanticUIModule(); | ||
} | ||
|
||
@Bean | ||
public Resource semanticLibraryResource() { | ||
return new SemanticUILibraryResource(); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...dule-semanticui/src/main/java/org/licket/semantic/resource/SemanticUILibraryResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.licket.semantic.resource; | ||
|
||
import org.licket.core.resource.HeadParticipatingResource; | ||
import org.licket.core.resource.javascript.MergedJavascriptStaticResource; | ||
|
||
import static org.licket.core.resource.javascript.JavascriptStaticResource.javascriptResource; | ||
|
||
/** | ||
* @author activey | ||
*/ | ||
public class SemanticUILibraryResource extends MergedJavascriptStaticResource implements HeadParticipatingResource { | ||
|
||
public SemanticUILibraryResource() { | ||
super("ng-semantic.all.js", | ||
javascriptResource("modal.js", "ng-semantic/modal/modal.js"), | ||
javascriptResource("segment.js", "ng-semantic/segment/segment.js"), | ||
javascriptResource("ng-semantic", "ng-semantic/ng-semantic.js") | ||
|
||
); | ||
} | ||
} |
Oops, something went wrong.