This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
applying prettier to this project as well, updating name
- Loading branch information
Showing
7 changed files
with
68 additions
and
41 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,27 @@ | ||
name: Publish package to Github | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
github: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 👀 Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: 🛠 Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@swrlab' | ||
|
||
- name: 📦 Install Dependencies | ||
run: npm install | ||
|
||
- name: 🚀 npm publish | ||
run: npm publish | ||
env: | ||
NODE_AUTH_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 @@ | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
node_modules/ | ||
package-lock.json | ||
package.json | ||
yarn.lock |
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 = { | ||
...require("./index"), | ||
}; |
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,12 @@ | ||
module.exports = { | ||
printWidth: 120, // prettier recommends 80 (old Unix-Style) | ||
tabWidth: 8, | ||
useTabs: true, | ||
semi: true, // default | ||
singleQuote: true, | ||
quoteProps: 'as-needed', // default | ||
trailingComma: 'es5', // default since 2.0.0 | ||
bracketSpacing: true, // default | ||
arrowParens: 'always', // default since 2.0.0 | ||
endOfLine: 'lf', // default since 2.0.0 | ||
}; | ||
printWidth: 120, // prettier recommends 80 (old Unix-Style) | ||
tabWidth: 8, | ||
useTabs: true, | ||
semi: false, // default | ||
singleQuote: true, | ||
quoteProps: 'as-needed', // default | ||
trailingComma: 'es5', // default since 2.0.0 | ||
bracketSpacing: true, // default | ||
arrowParens: 'always', // default since 2.0.0 | ||
endOfLine: 'lf', // default since 2.0.0 | ||
} |
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,23 +1,21 @@ | ||
{ | ||
"name": "@swr/prettier-config", | ||
"version": "0.0.1", | ||
"description": "SWR Prettier config.", | ||
"keywords": [ | ||
"prettier" | ||
], | ||
"files": [ | ||
"index.js" | ||
], | ||
"license": "ISC", | ||
"author": "SWR audio lab <[email protected]>", | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/swrlab/swr-prettier-config" | ||
}, | ||
"license": "ISC", | ||
"bugs": "https://github.com/swrlab/swr-prettier-config/issues", | ||
"homepage": "https://github.com/swrlab/swr-prettier-config#readme", | ||
"scripts": { | ||
} | ||
} | ||
"name": "@swrlab/prettier-config", | ||
"version": "0.1.0", | ||
"description": "SWR Prettier config.", | ||
"keywords": [ | ||
"prettier" | ||
], | ||
"files": [ | ||
"index.js" | ||
], | ||
"license": "ISC", | ||
"author": "SWR Audio Lab <[email protected]>", | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/swrlab/swr-prettier-config" | ||
}, | ||
"bugs": "https://github.com/swrlab/swr-prettier-config/issues", | ||
"homepage": "https://github.com/swrlab/swr-prettier-config#readme", | ||
"scripts": {} | ||
} |
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