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 #374 from gregjacobs/build-script-update
Build script update - remove gulp
- Loading branch information
Showing
161 changed files
with
28,011 additions
and
23,008 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
name: run-tests | ||
name: build-and-test | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- name: yarn install | ||
run: yarn | ||
- name: yarn test | ||
run: yarn test | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '2.7.18' # Version range or exact version of a Python version to use, using SemVer's version range syntax | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: install jsduck | ||
run: gem install jsduck --user-install # Need user install because system dir is not accessible | ||
|
||
- name: add jsduck to $PATH var | ||
run: echo "${HOME}/.gem/ruby/2.7.0/bin" >> ${GITHUB_PATH} # This is how to add to $PATH on GitHub's runners | ||
|
||
- name: build | ||
run: npm run build | ||
|
||
- name: test | ||
run: npm run test |
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 |
---|---|---|
@@ -0,0 +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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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,3 @@ | ||
{ | ||
"*.{js,ts,tsx,css}": "prettier --write" | ||
} |
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,7 @@ | ||
# Ignore artifacts: | ||
.tmp | ||
dist | ||
docs | ||
tsconfig.json | ||
package-lock.json | ||
*.md |
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,8 @@ | ||
{ | ||
"printWidth": 100, | ||
"trailingComma": "es5", | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": true, | ||
"arrowParens": "avoid" | ||
} |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{ | ||
"editor.insertSpaces": false, | ||
"editor.rulers": [ | ||
80 | ||
], | ||
"editor.insertSpaces": true, | ||
"editor.rulers": [80], | ||
"search.usePCRE2": true | ||
} | ||
} |
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,27 +1,10 @@ | ||
{ | ||
"name": "autolinker.js", | ||
"main": "dist/Autolinker.js", | ||
"homepage": "https://github.com/gregjacobs/Autolinker.js", | ||
"authors": [ | ||
"Gregory Jacobs <greg@greg-jacobs.com>" | ||
], | ||
"description": "Automatically links URLs, email addresses, mentions (Twitter, Instagram) in a string of text or HTML.", | ||
"keywords": [ | ||
"auto", | ||
"link", | ||
"autolink", | ||
"url", | ||
"urls", | ||
"anchor" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"build", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"vendor" | ||
] | ||
"name": "autolinker.js", | ||
"main": "dist/Autolinker.js", | ||
"homepage": "https://github.com/gregjacobs/Autolinker.js", | ||
"authors": ["Gregory Jacobs <greg@greg-jacobs.com>"], | ||
"description": "Automatically links URLs, email addresses, mentions (Twitter, Instagram) in a string of text or HTML.", | ||
"keywords": ["auto", "link", "autolink", "url", "urls", "anchor"], | ||
"license": "MIT", | ||
"ignore": ["**/.*", "build", "node_modules", "bower_components", "test", "tests", "vendor"] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.