-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from Thomas-Smyth/beta
SquadJS v2 Release
- Loading branch information
Showing
117 changed files
with
5,248 additions
and
14,843 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build Yarn docs & lint source code | ||
on: [push, pull_request] | ||
jobs: | ||
run: | ||
name: Lint and build templates | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
check-latest: true | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build all docs | ||
run: yarn run build-all | ||
|
||
- name: Update source code | ||
run: yarn run lint | ||
|
||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v6 | ||
with: | ||
message: 'ESLint & README Generation' | ||
add: '.' | ||
|
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
# Project Files | ||
*.tmp | ||
|
||
index-test.js | ||
config-test.json | ||
config-test*.json | ||
|
||
# Dependencies | ||
node_modules/ | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
import fs from 'fs'; | ||
import path from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
const SQUADJS_API_DOMAIN = 'https://squadjs.thomas-smyth.uk'; | ||
|
||
const __dirname = path.dirname(fileURLToPath(import.meta.url)); | ||
|
||
const SQUADJS_VERSION = JSON.parse( | ||
fs.readFileSync(path.resolve(__dirname, '../package.json'), 'utf8') | ||
).version; | ||
|
||
/* As set out by the terms of the license, the following should not be modified. */ | ||
const COPYRIGHT_MESSAGE = 'Powered by SquadJS, Copyright © 2020'; | ||
|
||
export { SQUADJS_VERSION, COPYRIGHT_MESSAGE }; | ||
export { SQUADJS_API_DOMAIN }; |
Oops, something went wrong.