Skip to content

Commit 0711734

Browse files
committed
Overhaul to use tsdx example directory instead of storybook
1 parent 31d8c45 commit 0711734

File tree

77 files changed

+37046
-50567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+37046
-50567
lines changed

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"@babel/preset-react"
4+
]
5+
}

.eslintrc.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
parser: "@typescript-eslint/parser",
3+
extends: [
4+
"react-app",
5+
"react-app/jest",
6+
"plugin:react/recommended",
7+
"plugin:@typescript-eslint/recommended",
8+
"plugin:react-hooks/recommended",
9+
"plugin:prettier/recommended",
10+
"plugin:react-hooks/recommended",
11+
"eslint:recommended",
12+
],
13+
plugins: ["@typescript-eslint"],
14+
parserOptions: {
15+
ecmaVersion: 2020,
16+
sourceType: "module",
17+
ecmaFeatures: {
18+
jsx: true,
19+
},
20+
},
21+
rules: {
22+
"react/react-in-jsx-scope": "off",
23+
},
24+
settings: {
25+
react: {
26+
version: "detect",
27+
},
28+
},
29+
};

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [master]
55
paths:
6-
- src
6+
- package
77
paths-ignore:
88
- node_modules
99
- coverage

.gitignore

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
1-
*.log
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
/dist
14+
15+
# misc
216
.DS_Store
3-
node_modules
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*
25+
26+
# custom
427
.cache
5-
dist

.prettierrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {};

.storybook/main.js

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

.storybook/preview.js

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Stephen Way
3+
Copyright (c) 2022 Stephen Way
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Beautiful flag icons for usage in React webapps. All flags are provided as impor
1010

1111
```shell
1212
npm install --save react-flagkit
13+
14+
// or
15+
16+
yarn add react-flagkit
1317
```
1418

1519
## Usage

SECURITY.md

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

0 commit comments

Comments
 (0)