Skip to content

Commit

Permalink
Merge pull request #699 from duncdrum/postcolonial-fixes
Browse files Browse the repository at this point in the history
Postcolonial fixes
  • Loading branch information
line-o authored Jul 1, 2021
2 parents b578495 + 72b7ae7 commit 3d87574
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.travis.yml
.notes
.github/
.code-workspace
2 changes: 1 addition & 1 deletion generators/app/templates/ci/exist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
# name: Release
# runs-on: ubuntu-latest
# needs: build
# if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/main'
# steps:
# - name: Checkout
# uses: actions/checkout@v2
Expand Down
84 changes: 81 additions & 3 deletions generators/app/templates/github/__gitignore__
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,94 @@ query-results
.env
.yo-rc.json
node_modules/
coverage
coverage/
build/
bower_components/
.idea
reports/
*.code-workspace

# =========================
# tei-pub (gulp)
# =========================
webtest/bin
webtest/reports
webtest/errorShots

##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*

##############################
## Maven
##############################
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
pom.xml.bak
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar

##############################
## Gradle
##############################
bin/
build/
.gradle
.gradletasknamecache
gradle-app.setting
!gradle-wrapper.jar

##############################
## IntelliJ
##############################
out/
.idea/
.idea_modules/
*.iml
*.ipr
*.iws

##############################
## Eclipse
##############################
.settings/
bin/
tmp/
.metadata
.classpath
.project
*.tmp
*.bak
*.swp
*~.nib
local.properties
.loadpath
.factorypath

##############################
## NetBeans
##############################
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml

##############################
## Visual Studio Code
##############################
.vscode/
.code-workspace
2 changes: 1 addition & 1 deletion generators/app/templates/github/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ You can take a look at the [Contribution guidelines for this project](.github/CO
[release-img]: https://img.shields.io/badge/release-<%- version %>-green.svg
[release-url]: https://github.com/<%- ghuser %>/<%- title %>/releases/latest
<%_ if (ci == 'travis') { %>
[travis-image]: https://travis-ci.com/<%- ghuser %>/<%- title %>.svg?branch=master
[travis-image]: https://travis-ci.com/<%- ghuser %>/<%- title %>.svg?branch=main
[travis-url]: https://travis-ci.com/<%- ghuser %>/<%- title %>
<% } -%>
8 changes: 7 additions & 1 deletion generators/app/templates/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
<h1 data-template="config:app-title">Generated page</h1>
<% if(apptype == 'plain'){ %>
</div><% } else { %><% } %>
<div class="row">
<div class="alert alert-success">
<p>
This is the entry page into your application and was generated by yeoman. It uses HTML templates for a clean separation of HTML views and application logic.</p>
<p>To add your own template functions, start by editing the XQuery module:
<pre>app.xql</pre>.</p>
</div>
<div class="row">
<div class="col-md-6">
<p>The page template uses the <a href="http://twitter.github.com/bootstrap/">Bootstrap</a> CSS library for the page layout.</p>
</div>
Expand Down
1 change: 1 addition & 0 deletions generators/app/templates/specs/mocha/app_spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-var */
'use strict'

const chai = require('chai')
Expand Down

0 comments on commit 3d87574

Please sign in to comment.