-
-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add configs * Add vue components * Add documentation * add alpha release version * improve npm ignore files * add tests * Make style and class attrs work * 📦 bump version * Add Icon suffix for component names * bump version * Add icon component example * remove space * improvements package.json * update tests * update workflow
- Loading branch information
1 parent
acea1b4
commit 4024911
Showing
33 changed files
with
4,550 additions
and
73 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 |
---|---|---|
|
@@ -33,6 +33,9 @@ jobs: | |
- name: Build lucide package | ||
run: yarn build | ||
|
||
- name: Test lucide package | ||
run: yarn test | ||
|
||
# Build lucide-react | ||
- name: Install Dependencies lucide-react | ||
run: yarn --pure-lockfile | ||
|
@@ -42,6 +45,23 @@ jobs: | |
run: yarn build | ||
working-directory: packages/lucide-react | ||
|
||
- name: Test lucide-react | ||
run: yarn test | ||
working-directory: packages/lucide-react | ||
|
||
# Build lucide-vue | ||
- name: Install Dependencies lucide-vue | ||
run: yarn --pure-lockfile | ||
working-directory: packages/lucide-vue | ||
|
||
- name: Build lucide-vue | ||
run: yarn build | ||
working-directory: packages/lucide-vue | ||
|
||
- name: Test lucide-vue | ||
run: yarn test | ||
working-directory: packages/lucide-vue | ||
|
||
# Publish lucide | ||
- name: Set package.json version lucide | ||
run: yarn version --new-version ${{ steps.get_version.outputs.VERSION }} --no-git-tag-version | ||
|
@@ -58,10 +78,20 @@ jobs: | |
run: yarn publish | ||
working-directory: packages/lucide-react | ||
|
||
# Publish lucide-vue | ||
- name: Set package.json version lucide-vue | ||
run: yarn version --new-version ${{ steps.get_version.outputs.VERSION }} --no-git-tag-version | ||
working-directory: packages/lucide-vue | ||
|
||
- name: publish lucide-vue | ||
run: yarn publish | ||
working-directory: packages/lucide-vue | ||
|
||
- name: Commit package.json | ||
run: | | ||
git add package.json | ||
git add packages/lucide-react/package.json | ||
git add packages/lucide-vue/package.json | ||
git -c user.name="Lucide Bot" -c user.email="[email protected]" \ | ||
commit -m ":package: Bump version to ${{ steps.get_version.outputs.VERSION }}" --no-verify --quiet | ||
git remote set-url --push origin https://lucide-bot:[email protected]/$GITHUB_REPOSITORY.git | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 @@ | ||
stats | ||
node_modules | ||
tests | ||
scripts | ||
build | ||
src | ||
babel.config.js | ||
jest.config.js | ||
rollup.config.js |
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,4 +1,3 @@ | ||
// module.exports = require('../../babel.config'); | ||
module.exports = { | ||
presets: ['react-app'], | ||
}; |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
export default ({ componentName, node }) => ` | ||
import createReactComponent from '../createReactComponent'; | ||
import defaultAttributes from '../defaultAttributes'; | ||
const ${componentName} = createReactComponent('${componentName}', ${node}); | ||
const ${componentName} = createReactComponent('${componentName}', ['svg', defaultAttributes, ${node}]); | ||
export default ${componentName}; | ||
`; |
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,11 @@ | ||
export default { | ||
xmlns: 'http://www.w3.org/2000/svg', | ||
width: 24, | ||
height: 24, | ||
viewBox: '0 0 24 24', | ||
fill: 'none', | ||
stroke: 'currentColor', | ||
strokeWidth: 2, | ||
strokeLinecap: 'round', | ||
strokeLinejoin: 'round', | ||
}; |
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,9 @@ | ||
stats | ||
node_modules | ||
tests | ||
scripts | ||
build | ||
src | ||
babel.config.js | ||
jest.config.js | ||
rollup.config.js |
Oops, something went wrong.
4024911
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: