Skip to content

Commit 79095d8

Browse files
committed
🏗️ added new build system
1 parent fa2fc0b commit 79095d8

29 files changed

+78872
-36697
lines changed

.babelrc

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2.3.4
1717
- name: install dependencies
18-
run: npm ci
18+
run: cd react-fileicons && npm ci
1919
- uses: oke-py/npm-audit-action@v1.6.0
2020
with:
2121
github_token: ${{ secrets.ACCESS_TOKEN }}

.github/workflows/pages.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
strategy:
99
matrix:
1010
node-version:
11-
- 14.x
12-
- 15.x
11+
- 16.x
12+
- 17.x
1313
steps:
1414
- uses: actions/checkout@v2.3.4
1515

@@ -20,13 +20,17 @@ jobs:
2020

2121
- name: npm install, build, and test
2222
run: |
23-
npm ci
23+
cd react-fileicons
24+
npm install
25+
npm run build
26+
cd ../storybook
27+
npm install
2428
npm run build-storybook
2529
- name: Deploy
2630
uses: JamesIves/github-pages-deploy-action@3.7.1
2731
with:
2832
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
2933
BRANCH: gh-pages
30-
FOLDER: storybook-static
34+
FOLDER: storybook/storybook-static
3135
env:
3236
CI: true

.gitignore

Lines changed: 19 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,24 @@
1-
# Distribution
2-
dist/*
3-
docs/*
4-
storybook-static/*
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
52

6-
# WebStorm
7-
.idea/*
8-
*.iml
3+
# dependencies
4+
node_modules
5+
/.pnp
6+
.pnp.js
97

10-
# Logs
11-
logs
12-
*.log
13-
npm-debug.log*
14-
yarn-debug.log*
15-
yarn-error.log*
16-
17-
# Diagnostic reports (https://nodejs.org/api/report.html)
18-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
19-
20-
# Runtime data
21-
pids
22-
*.pid
23-
*.seed
24-
*.pid.lock
25-
26-
# Directory for instrumented libs generated by jscoverage/JSCover
27-
lib-cov
28-
29-
# Coverage directory used by tools like istanbul
30-
coverage
31-
32-
# nyc test coverage
33-
.nyc_output
34-
35-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
36-
.grunt
37-
38-
# Bower dependency directory (https://bower.io/)
39-
bower_components
40-
41-
# node-waf configuration
42-
.lock-wscript
43-
44-
# Compiled binary addons (https://nodejs.org/api/addons.html)
45-
build/Release
46-
47-
# Dependency directories
48-
node_modules/
49-
jspm_packages/
50-
51-
# TypeScript v1 declaration files
52-
typings/
53-
54-
# Optional npm cache directory
55-
.npm
8+
# testing
9+
/coverage
5610

57-
# Optional eslint cache
58-
.eslintcache
11+
# production
12+
build
13+
dist
5914

60-
# Optional REPL history
61-
.node_repl_history
62-
63-
# Output of 'npm pack'
64-
*.tgz
65-
66-
# Yarn Integrity file
67-
.yarn-integrity
68-
69-
# dotenv environment variables file
70-
.env
71-
.env.test
72-
.env.prod
73-
74-
# parcel-bundler cache (https://parceljs.org/)
75-
.cache
76-
77-
# next.js build output
78-
.next
79-
80-
# nuxt.js build output
81-
.nuxt
82-
83-
# vuepress build output
84-
.vuepress/dist
85-
86-
# Serverless directories
87-
.serverless/
88-
89-
# FuseBox cache
90-
.fusebox/
91-
92-
# DynamoDB Local files
93-
.dynamodb/
94-
95-
# macos
15+
# misc
9616
.DS_Store
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

.storybook/main.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

LICENSE.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Bugs can be found [here](https://github.com/tomxpcvx/react-fileicons/labels/bug)
7979

8080
## Changelog
8181

82-
Changelog can be found [here](https://github.com/tomxpcvx/react-fileicons/wiki/Changelog).
82+
Changelog can be found [here](https://github.com/tomxpcvx/react-fileicons/blob/main/CHANGELOG.md).
8383

8484
## Contribute
8585

@@ -91,12 +91,11 @@ If you make any changes or improvements to this project, please make a pull requ
9191

9292
- React
9393
- Storybook
94-
- styled components
94+
- styled-components
9595
- Material UI Colors
9696

9797
## License
9898

9999
react-fileicons is licensed under the MIT license. Please see [LICENSE.md](https://github.com/tomxpcvx/react-fileicons/blob/main/LICENSE.md) for more info.
100100

101-
102101
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftomxpcvx%2Freact-fileicons.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftomxpcvx%2Freact-fileicons?ref=badge_large)

gulpfile.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)