Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monorepo #1679

Merged
merged 601 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
601 commits
Select commit Hold shift + click to select a range
b26b113
WIP: Font package creation guide
johnf Jun 26, 2024
3bdd7e8
Fix dependency for fontawesome pro icons
johnf Jun 26, 2024
e46ad80
Publish
johnf Jun 26, 2024
6219f70
Upgrade node modules
johnf Jun 26, 2024
6007ccc
Update tests, stop testing 0.70
johnf Jun 26, 2024
6a37066
Fix typescript issue and upgrade octicons
johnf Jun 26, 2024
858a303
Make sed work on mac:
johnf Jun 26, 2024
c09574d
rollback typescript 5.5 upgrade
johnf Jun 26, 2024
fcc3ad0
Fix sed for mac
johnf Jun 26, 2024
60d490e
Publish
johnf Jun 26, 2024
9c9492b
Fix ios versions
johnf Jun 26, 2024
1f9873e
Switch fontforge to git
johnf Jul 29, 2024
0d9303f
ionicons: don't need to fixSvg now that fontforge is fixed
johnf Jul 29, 2024
dbe267a
Publish
johnf Jul 29, 2024
134ed78
Fix ionicons
johnf Aug 4, 2024
97c1cf7
Publish
johnf Aug 4, 2024
e4da19e
Add a readme note for the old version
johnf Aug 4, 2024
6e99f4a
common: Fix duplicate font copies
johnf Aug 10, 2024
4a64c52
Switch to use rsync for font copy
johnf Aug 10, 2024
a3ba20a
Fix badges
johnf Aug 11, 2024
a8aca8a
README improvements
johnf Aug 11, 2024
9f83958
Switch back to more traditional static font loading on iOS
johnf Aug 11, 2024
20d1afb
Update fonts
johnf Aug 11, 2024
558e53f
Publish
johnf Aug 11, 2024
5f08000
Publish
johnf Aug 11, 2024
593fc30
common: stabalise md5sum of spec file
johnf Aug 12, 2024
28bbb17
Publish
johnf Aug 12, 2024
1b6b570
Switch from chalk to picocolors
johnf Aug 12, 2024
1ac7fcb
Publish
johnf Aug 12, 2024
df756ff
bump
johnf Aug 12, 2024
97fa170
Publish
johnf Aug 12, 2024
9f7a667
Fix android font copying
johnf Aug 12, 2024
1880fa0
Fix fonts path
johnf Aug 12, 2024
c5d8c68
Publish
johnf Aug 12, 2024
2f2f8de
Fix path to getFonts script
johnf Aug 12, 2024
2c32b14
Publish
johnf Aug 12, 2024
5d6bc50
Fix iOS font destination
johnf Aug 13, 2024
ffa2a7e
Publish
johnf Aug 13, 2024
12f10c5
Remove unused loadFontWithFilename
johnf Aug 13, 2024
f7bab3a
Upgrade typescript
johnf Aug 25, 2024
d87f090
Upgrade detox
johnf Aug 25, 2024
66b6d0a
fix(icon-explorer@android): make android build work with detox (#1641)
guhungry Aug 25, 2024
f02e8e9
Suggest pod install rather than update in the README
johnf Aug 25, 2024
a32763d
feat: dynamic font loading on native platforms (#1645)
vonovak Aug 27, 2024
364be27
feat: improve new arch support (#1652)
vonovak Sep 2, 2024
675f2ff
Update font packages to support dynamic loading (#1657)
vonovak Sep 15, 2024
f6414d5
Rename fontName => postscriptName, postScriptName => postscriptName, …
johnf Sep 15, 2024
8455ca3
Update tests to support RN 0.75
johnf Sep 2, 2024
2ae8eee
Add newarch
johnf Sep 15, 2024
9ecf5d9
Update node modules
johnf Sep 15, 2024
5e703dc
Setup knip to check for unused things
johnf Sep 15, 2024
8163b64
Fix formatting
johnf Sep 15, 2024
d11a570
biome clean up
johnf Sep 15, 2024
a29de00
Update test versions
johnf Sep 15, 2024
444d752
Make eslint happy
johnf Sep 15, 2024
d43a756
new arch support
johnf Sep 15, 2024
579d5ce
Fix test names
johnf Sep 15, 2024
ab386f0
update snapshots
johnf Sep 15, 2024
ca07c55
Fix tests
johnf Sep 15, 2024
60c5394
Fix diff tests
johnf Sep 15, 2024
6b9217e
Fix crop
johnf Sep 15, 2024
39a563b
Fix crop
johnf Sep 15, 2024
3bb7db2
New images
johnf Sep 15, 2024
917be32
feat: aliginging with latest create-react-native-library (WIP)
johnf Sep 22, 2024
85c65a9
refactor: emove react-navigation dependency so we don't have newarch …
johnf Sep 22, 2024
ff9dc0d
style: fix lint errors
johnf Sep 22, 2024
12e2e99
refactor: align packages with latest create-react-native-library
johnf Sep 22, 2024
021a81f
style: update linting
johnf Sep 22, 2024
e113c2c
fix: keep backwards compatability with RN <= 0.72
johnf Sep 22, 2024
c982f0e
fix: update snapshot images
johnf Sep 22, 2024
2017c89
fix: update snapshot images
johnf Sep 22, 2024
04a7d1d
fix: min_tvos_version_supported, doesn't exist
johnf Sep 22, 2024
1bde17e
revert PostScript and FileName camelcase changes
johnf Sep 27, 2024
132bdc4
feat(icon-explorer): switch to react-native-owl from detox
johnf Sep 29, 2024
dedc7ea
fix: make owl work on ios
johnf Sep 29, 2024
5eb72f9
fix: android test build
johnf Sep 29, 2024
254e11e
fix: flesh out tests
johnf Sep 29, 2024
6b13c8a
fix: reorder test logic
johnf Sep 29, 2024
ad7c827
fix: remove local baseline
johnf Sep 29, 2024
5a1c0ff
fix: linting
johnf Sep 29, 2024
002b65d
fix: extend test timeout
johnf Sep 29, 2024
3a14ea3
fix: configure info.plist for test app
johnf Sep 29, 2024
98ad556
fix: ios tests
johnf Sep 29, 2024
70f2363
fix: update yarn.lock
johnf Sep 29, 2024
5973279
fix: update knip config
johnf Sep 29, 2024
35d5a5f
fix: set the correct RN version
johnf Sep 29, 2024
a9d28f5
fix: use correct supdeps in testing
johnf Sep 29, 2024
86af671
fix: stop trying to be too clever
johnf Sep 29, 2024
b88482e
fix: wrong test report glob
johnf Sep 29, 2024
5bdf9f3
fix: report path
johnf Sep 29, 2024
529b8e1
fix: make sure latest pods
johnf Sep 29, 2024
05f37ad
fix: turn off jest report
johnf Sep 29, 2024
70af996
fix: debug upload
johnf Sep 29, 2024
56117ca
fix: ove pod install to workflow
johnf Sep 29, 2024
ad0fce2
fix: include hidden files in upload
johnf Sep 29, 2024
0deace9
fix: add baseline imakes
johnf Sep 29, 2024
7a603f3
fix: simplify sdk
johnf Sep 29, 2024
aba00c0
fix: junit
johnf Sep 29, 2024
87d0cad
fix: avd
johnf Sep 29, 2024
371399d
style: update knip
johnf Sep 30, 2024
f88cf0d
fix: tests
johnf Sep 30, 2024
22b038f
fix: tests
johnf Sep 30, 2024
f4f3af6
fix: tests
johnf Sep 30, 2024
5920f39
fix: tests
johnf Sep 30, 2024
0304e3b
fix: tests
johnf Sep 30, 2024
7e12bbf
fix: tests
johnf Sep 30, 2024
754edc3
fix: tests
johnf Sep 30, 2024
9548596
fix: tests
johnf Sep 30, 2024
6a56de4
fix: tests
johnf Sep 30, 2024
96d9649
fix: tests
johnf Sep 30, 2024
aef612a
fix: tests
johnf Sep 30, 2024
2084c02
fix: tests
johnf Sep 30, 2024
4a76c99
fix: tests
johnf Sep 30, 2024
1f81fe1
fix: tests
johnf Sep 30, 2024
5a5ebb6
fix: tests
johnf Sep 30, 2024
343efeb
fix: tests
johnf Sep 30, 2024
6dd9c74
fix: tests
johnf Sep 30, 2024
48ca31c
fix: tests
johnf Sep 30, 2024
a556f5e
fix: tests
johnf Sep 30, 2024
7bfdd81
fix: tests
johnf Sep 30, 2024
9faaab0
fix(icon-explorer): update baseline images
johnf Oct 1, 2024
b0dcf1e
fix(icon-explorer): improve SDK cache
johnf Oct 1, 2024
e5d359d
fix(icon-explorer): disable immersive mode pop up
johnf Oct 1, 2024
35e5f00
fix(icon-explorer): wait for emulator to boot
johnf Oct 1, 2024
d91290d
fix(icon-explorer): wait for emulator to boot
johnf Oct 1, 2024
17824ec
fix(icon-explorer): reset baseline
johnf Oct 1, 2024
8b444c9
fix(icon-explorer): reset baseline
johnf Oct 1, 2024
a5a1b35
style: linting
johnf Oct 1, 2024
f50fb41
fix(icon-explorer): reset baseline
johnf Oct 1, 2024
936abf3
fix(icon-explorer): fix sdk cache
johnf Oct 1, 2024
82b5b8a
fix: re-enable android tests
johnf Oct 1, 2024
fd91b04
fix: switch to new arch capable temo package of react-native-owl
johnf Oct 5, 2024
9fc758e
fix: switch to new arch capable temo package of react-native-owl
johnf Oct 5, 2024
129ade2
fix: stop caching SDK
johnf Oct 5, 2024
a713d36
fix: right owl path
johnf Oct 5, 2024
03f961c
fix: switch to new arch capable temo package of react-native-owl
johnf Oct 5, 2024
48a5597
fix: ios build
johnf Oct 5, 2024
43ec5ed
fix: update owl
johnf Oct 6, 2024
520d373
fix: monorepo owl issues
johnf Oct 6, 2024
b9ab2f5
fix: fix owl path ios
johnf Oct 6, 2024
3f558ae
fix: osx is dumb
johnf Oct 6, 2024
9794aee
fix: try improving baseline by updatig gtext color
johnf Oct 6, 2024
80361ad
fix: try improving baseline by updatig gtext color
johnf Oct 6, 2024
d2db581
fix: tes ios old arch
johnf Oct 6, 2024
b6e255a
fix: new baseline
johnf Oct 6, 2024
d7ba191
fix: update colours
johnf Oct 6, 2024
38e34b5
fix: update baseline
johnf Oct 6, 2024
cd6f365
fix: baseline
johnf Oct 6, 2024
f8cfe3a
fix: ensure all text is black for baseline screenshots
johnf Oct 6, 2024
a0b328b
fix: increase matching threshold
johnf Oct 6, 2024
dbf13bd
fix: prepare for resetting baseline
johnf Oct 6, 2024
b977cf7
fix: use different baseline for new and old arch
johnf Oct 6, 2024
7a9fcea
fix: align with latest create-react-native-library
johnf Oct 7, 2024
4678b6b
fix: try test app
johnf Oct 7, 2024
df73b84
fix: debug
johnf Oct 7, 2024
9af552e
fix: remove example
johnf Oct 7, 2024
1951239
fix: update node modules
johnf Oct 7, 2024
05d8d21
fix: don't generate the codegen for now
johnf Oct 7, 2024
2cefc0a
fix: ebug iphone
johnf Oct 7, 2024
727dbb7
fix: old android broken fix
johnf Oct 7, 2024
cbc6edf
fix: put cmake file path back
johnf Oct 7, 2024
4420a2a
fix: s this it?
johnf Oct 7, 2024
a2f37fa
fix: debug simctl
johnf Oct 7, 2024
f07267c
fix: debug simctl
johnf Oct 7, 2024
548e859
fix: debug simctl
johnf Oct 7, 2024
881e0c3
fix: debug simctl
johnf Oct 7, 2024
1ba240b
fix: debug simctl
johnf Oct 7, 2024
6753540
fix: debug simctl
johnf Oct 7, 2024
7986ac0
fix: debug simctl
johnf Oct 7, 2024
986dba0
fix: debug simctl
johnf Oct 7, 2024
6a76d1b
fix: debug simctl
johnf Oct 7, 2024
00736f3
fix: andorid <0.73
johnf Oct 7, 2024
514ba0d
fix: support android on < 0.73
johnf Oct 7, 2024
e6936a4
fix: andorid <0.74
johnf Oct 7, 2024
657297d
fix: ios baseline
johnf Oct 7, 2024
d966983
fix: generated
johnf Oct 7, 2024
1e5223b
fix: reneable ios tests
johnf Oct 7, 2024
325984e
fix: generated
johnf Oct 7, 2024
0458e4d
fix: make sure rnvi-update-plist is executable
johnf Oct 8, 2024
f14edef
docs: switch to using npx for local bin files
johnf Oct 8, 2024
19c7928
fix: make sure generator is typescript compiled
johnf Oct 8, 2024
d0bc33b
chore(root): update lerna message to meet conventional commit
johnf Oct 8, 2024
cbf25a2
chore(root): update lerna message to meet conventional commit
johnf Oct 8, 2024
ae2b76d
chore: publish
johnf Oct 8, 2024
232556c
fix: commit the generated react native files so we can track changes
johnf Oct 8, 2024
35751c1
fix: remove old podspec file
johnf Oct 8, 2024
bd8fb53
fix: common module needs to ship react-native.config.json
johnf Oct 8, 2024
0297f42
chore: add prerelease script
johnf Oct 8, 2024
c166ed1
chore: publish
johnf Oct 8, 2024
b686110
ci: don't try to create the AVD if it exists
johnf Oct 8, 2024
ef7c54a
ci: make sure we stop the emulator
johnf Oct 8, 2024
dcefc1a
ci: keep the emaulator pristine
johnf Oct 8, 2024
d2cf549
ci: better iphone selection
johnf Oct 9, 2024
b842069
fix: remove unneeded dep
johnf Oct 9, 2024
95e793e
style: fix linting
johnf Oct 9, 2024
c864953
ci: fix github workflow output qouting
johnf Oct 9, 2024
f975974
ci: fix github workflow output qouting
johnf Oct 9, 2024
7939826
fix: make all the font name types work
johnf Oct 9, 2024
3ddf2b7
chore: publish
johnf Oct 9, 2024
e217035
ci: update deploy script
johnf Oct 10, 2024
060f84d
ci: remove debug statements
johnf Oct 11, 2024
8e8f5ad
chore: publish
johnf Oct 11, 2024
7bca5d1
chore: fix type issues
johnf Oct 11, 2024
f691621
ci: update lefthook
johnf Oct 11, 2024
dff8cb0
chore: disable slow lefthook check
johnf Oct 11, 2024
35e84f9
chore: don't emit js on type checking
johnf Oct 11, 2024
c070373
ci: update linting
johnf Oct 11, 2024
8f67a86
fix: remove type checks from workspace packages
johnf Oct 11, 2024
0216edc
ci: remove gradle build report
johnf Oct 11, 2024
8395d7e
ci: update ios simulator action
johnf Oct 12, 2024
e8317cb
chore: typos (#1667)
stakahashi Oct 13, 2024
c31b9c7
fix: back out autogeneration of spec files as it breaks on RN0.73
johnf Oct 14, 2024
8d496bb
ci: debug build issue
johnf Oct 14, 2024
3fecaed
fix: remove unused dependency
johnf Oct 14, 2024
0fb8d0a
ci: test debugging
johnf Oct 14, 2024
e5ba9b3
chore: publish
johnf Oct 14, 2024
32ad0b1
fix: don't ship the codegen files
johnf Oct 14, 2024
e9f4e79
chore: publish
johnf Oct 14, 2024
3374f6c
ci: fix generated file removal
johnf Oct 15, 2024
6e113c3
ci: fix generated file removal
johnf Oct 15, 2024
34e7e25
fix: update node modules
johnf Oct 15, 2024
f8958ec
ci: do tests work without magic symlink
johnf Oct 15, 2024
c91c727
docs: update bug report template based on feedback from @vonovak #1670
johnf Oct 18, 2024
87338cf
fix: use NODE_BINARY for node path
johnf Oct 25, 2024
961b6f3
fix: move ios copy font script out of podspec and into file
johnf Oct 25, 2024
b09ae92
fix: move ios copy font script out of podspec and into file
johnf Oct 25, 2024
8356b7b
chore: publish
johnf Oct 25, 2024
b36d40f
fix: stop extra infex.js"" files being created and breaking windows
johnf Oct 25, 2024
c885c97
chore: publish
johnf Oct 25, 2024
e5d0110
fix: update node modules
johnf Oct 30, 2024
69ddd74
fix: new octoicons
johnf Oct 30, 2024
fd3dd85
chore: update node modules
johnf Nov 9, 2024
d853cfb
fix: add types for older builders
johnf Nov 9, 2024
9f112cf
chore: fix package name in README.md
johnf Nov 9, 2024
004f604
chore: publish
johnf Nov 9, 2024
eed9821
chore: upgrade to RN 0.76
johnf Nov 9, 2024
53ccb58
feat: new release of Font Awesome 6
johnf Nov 25, 2024
552c941
chore: publish
johnf Nov 25, 2024
d644c3f
feat: use postcss to create glyphmaps
johnf Nov 25, 2024
ce0d47f
fix: support new fontawesome6 css glyph approach
johnf Nov 25, 2024
6a82d82
chore: publish
johnf Nov 25, 2024
e8489e3
chore: fix knip issue
johnf Nov 28, 2024
5b2f4ac
docs: update link to old version
johnf Nov 28, 2024
ed805e6
fix: update typescript to check prerelease versions
johnf Nov 28, 2024
a9221cc
chore: publish
johnf Nov 28, 2024
162ba29
chore: publish
johnf Nov 28, 2024
dcc2b29
chore: don't generate packages with alpha versions anymore
johnf Nov 28, 2024
d6bda89
chore: remove alpha version from directory
johnf Nov 28, 2024
206d242
chore: fix line ending issues from rebase
johnf Nov 28, 2024
2967ce9
fix: mac osx detection in glyphmap script
johnf Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# http://editorconfig.org
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand Down
22 changes: 22 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
##############
# yeoman
##############

# Ignore the templates with <%= %> tags, we'll pickup the errors in the generated code
packages/generator-react-native-vector-icons/src/app/templates/src/index.ts

# Ignore yeomenan generated template
packages/generator-react-native-vector-icons/generators
packages/fontawesome-common/generators

##############
# packages
##############

# Ignore built code
packages/*/lib
packages/directory/build

# Files we don't manage (react-native-test-app)
packages/icon-explorer/metro.config.js
packages/icon-explorer/react-native.config.js
31 changes: 0 additions & 31 deletions .eslintrc

This file was deleted.

64 changes: 64 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react/recommended', 'airbnb'],
env: {
browser: true,
es2021: true,
jest: true,
},
overrides: [
{
files: ['*.ts', '*.js', '*.tsx', '*.jsx'],
extends: ['biome'],
},
{
files: ['.eslintrc.{js,cjs}'],
env: {
node: true,
},
parserOptions: {
sourceType: 'script',
},
},
{
files: '*.test.js',
env: {
jest: true,
},
globals: {
device: false,
expect: false,
waitFor: false,
element: false,
by: false,
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'react'],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
rules: {
'import/extensions': ['error', { js: 'never', jsx: 'never', ts: 'never', tsx: 'never', json: 'always' }],
'react/require-default-props': 'off',
'react/prop-types': 'off',
'react/jsx-props-no-spreading': 'off',
'react/jsx-filename-extension': ['error', { extensions: ['.jsx', '.tsx'] }],
'react/function-component-definition': ['error', { namedComponents: 'arrow-function' }],
'import/prefer-default-export': 'off',
// Prefer the typescript unsed vars rule
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'react/react-in-jsx-scope': 'off',
},
};
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pbxproj -text
# specific for windows script files
*.bat text eol=crlf
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
name: "\U0001F41B Bug report"
description: Report a bug
title: "[Bug]: "
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Before filing a bug report please:
- Review the documentation: https://github.com/react-native-vector-icons/react-native-vector-icons
- Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues?q=is%3Aissue+

- type: dropdown
id: generation
attributes:
label: Which package are you using?
options:
- "@react-native-vector-icons/*"
- react-native-vector-icons
validations:
required: true

- type: dropdown
attributes:
label: What platform(s) does this occur on?
multiple: true
options:
- Android
- iOS
- web
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: What happened?
description: |
Explain the issue and the steps we need to take to reproduce the issue. Include a video or screenshots if you think it may help.
Clearly describe what the expected behavior is and what instead is actually happening.
validations:
required: true

- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

- type: textarea
id: demo
attributes:
label: Minimal reproducible example
description: |
Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

- type: textarea
attributes:
render: text
label: Your computer environment
description: Run the `npx react-native info` command and paste its output in the field below.
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Community Support
url: https://github.com/react-native-vector-icons/discussions
about: Please ask and answer questions here.
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Feature request
description: Suggest an idea for this project
title: "[Feature]: "
labels: ["feature", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest a new feature!
Before requesting please:
- Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues?q=is%3Aissue+

- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem?
description: |
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: |
A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: |
A clear and concise description of any alternative solutions or features you've considered.

- type: textarea
id: contect
attributes:
label: Additional context
description: |
Add any other context or screenshots about the feature request here.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/support.md

This file was deleted.

40 changes: 26 additions & 14 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
skip-directory:
type: boolean
description: Skip directory website deployment
pre-release:
type: boolean
description: Create a pre-release
release:
types: [created]

Expand All @@ -18,16 +21,23 @@ jobs:
runs-on: ubuntu-latest
if: github.event.inputs.skip-npm != 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
registry-url: 'https://registry.npmjs.org'
uses: actions/setup-node@v4

- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent

- name: Publish to NPM
run: npm publish
if: github.event.inputs.pre-release != 'true'
run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish pre-release to NPM
if: github.event.inputs.pre-release = 'true'
run: yarn prerelease
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -36,19 +46,21 @@ jobs:
runs-on: ubuntu-latest
if: github.event.inputs.skip-directory != 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
uses: actions/setup-node@v4

- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent
working-directory: directory
working-directory: packages/directory

- name: Build directory
run: yarn build
working-directory: directory
working-directory: packages/directory

- name: Publish static assets to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.0.0
uses: JamesIves/github-pages-deploy-action@4
with:
branch: gh-pages
folder: directory/build
folder: packages/directory/build
Loading
Loading