-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
4,662 additions
and
53 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
build-release: | ||
name: Build/Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
cache: yarn | ||
- run: yarn install --frozen-lockfile | ||
- name: Run yarn commitlint --from=head_commit.message | ||
run: echo "${{ github.event.head_commit.message }}" | yarn commitlint | ||
- run: yarn prettier --check . | ||
- run: yarn cspell --no-must-find-files '**' | ||
- run: yarn semantic-release --branches ${{ github.ref_name }} | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,37 @@ | ||
name: PR / Metadata | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
types: [opened, synchronize, reopened, edited] | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
validate-metadata: | ||
name: Validate metadata | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
cache: yarn | ||
- run: yarn install --frozen-lockfile | ||
- name: Run yarn commitlint --from=pull_request.title | ||
run: echo "${{ github.event.pull_request.title }}" | yarn commitlint | ||
auto-merge: | ||
name: Auto-merge | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dependabot/[email protected] | ||
id: dependabot-metadata | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }} | ||
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,19 @@ | ||
name: PR / Sources | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
validate-sources: | ||
name: Validate sources | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
cache: yarn | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn prettier --check . | ||
- run: yarn cspell --no-must-find-files '**' |
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,12 +1,2 @@ | ||
# Node.js | ||
/node_modules/ | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Misc | ||
node_modules | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
logs | ||
*.log |
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" | ||
|
||
yarn commitlint --edit $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" | ||
|
||
yarn 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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
{ | ||
"recommendations": ["esbenp.prettier-vscode"] | ||
"recommendations": [ | ||
"esbenp.prettier-vscode", | ||
"streetsidesoftware.code-spell-checker", | ||
"vivaxy.vscode-conventional-commits" | ||
] | ||
} |
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,14 @@ | ||
{ | ||
// Code style | ||
"javascript.suggestionActions.enabled": false, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.trimFinalNewlines": true, | ||
"files.insertFinalNewline": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
|
||
// Misc | ||
"files.exclude": { | ||
"node_modules/": true, | ||
"yarn.lock": true | ||
} | ||
"node_modules": true, | ||
"yarn.lock": true, | ||
".husky": true | ||
}, | ||
"conventionalCommits.gitmoji": false | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
extends: ["@commitlint/config-angular"], | ||
ignores: [(commit) => /^build\((deps|deps-dev)\): bump/.test(commit)], | ||
}; |
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 @@ | ||
{ | ||
"words": ["commitlint", "minh-phuc", "phuctm", "tailwindcss"], | ||
"ignorePaths": ["package.json", "cspell.json", ".vscode"] | ||
} |
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 @@ | ||
module.exports = { | ||
"*": ["prettier --write --ignore-unknown", "cspell --no-must-find-files"], | ||
}; |
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,6 +1,8 @@ | ||
{ | ||
"name": "tailwindcss-text-fill", | ||
"version": "0.1.2", | ||
"private": false, | ||
"license": "MIT", | ||
"description": "🎨 TailwindCSS utility to override foreground fill color of text content.", | ||
"keywords": [ | ||
"tailwindcss", | ||
|
@@ -9,28 +11,32 @@ | |
"tailwindcss-utility" | ||
], | ||
"repository": "https://github.com/phuctm97/tailwindcss-text-fill", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"author": { | ||
"name": "Minh-Phuc Tran", | ||
"email": "[email protected]", | ||
"url": "https://phuctm97.com" | ||
}, | ||
"license": "MIT", | ||
"private": false, | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"scripts": { | ||
"style:check": "prettier --check .", | ||
"style:format": "prettier --write ." | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"flatten-tailwindcss-theme": "^0.1.1" | ||
"flatten-tailwindcss-theme": "^1.0.0" | ||
}, | ||
"peerDependencies": { | ||
"tailwindcss": "^2.0.2" | ||
"tailwindcss": ">=2.0.0" | ||
}, | ||
"devDependencies": { | ||
"prettier": "^2.4.1" | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-angular": "^16.2.3", | ||
"@commitlint/prompt-cli": "^16.2.3", | ||
"cspell": "^5.19.7", | ||
"husky": "^7.0.4", | ||
"lint-staged": "^12.4.1", | ||
"prettier": "^2.6.2", | ||
"semantic-release": "^19.0.2" | ||
} | ||
} |
Oops, something went wrong.