Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: creativetimofficial/material-kit-react
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: akdombrowski/material-kit-react
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 4 commits
  • 249 files changed
  • 1 contributor

Commits on Apr 26, 2023

  1. init

    akdombrowski committed Apr 26, 2023
    Copy the full SHA
    fda8e93 View commit details
  2. Create codeql.yml

    akdombrowski authored Apr 26, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a875945 View commit details
  3. Create node.js.yml

    akdombrowski authored Apr 26, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    eb269df View commit details
  4. Merge pull request #1 from akdombrowski/akdombrowski-nodejs

    Create node.js.yml
    akdombrowski authored Apr 26, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    95207ed View commit details
Showing with 17,981 additions and 17,874 deletions.
  1. +35 −35 .eslintrc.json
  2. +76 −0 .github/workflows/codeql.yml
  3. +31 −0 .github/workflows/node.js.yml
  4. +27 −27 .gitignore
  5. +2 −2 .npmrc
  6. +8 −8 .prettierrc.json
  7. +512 −512 CHANGELOG.md
  8. +13 −13 ISSUE_TEMPLATE.md
  9. +209 −209 README.md
  10. +8 −8 jsconfig.json
  11. +44 −44 public/index.html
  12. +15 −15 public/manifest.json
  13. +3 −3 public/robots.txt
  14. +64 −64 src/App.js
  15. +9 −9 src/assets/images/logos/gray-logos/logo-apple.svg
  16. +15 −15 src/assets/images/logos/gray-logos/logo-coinbase.svg
  17. +8 −8 src/assets/images/logos/gray-logos/logo-digitalocean.svg
  18. +10 −10 src/assets/images/logos/gray-logos/logo-facebook.svg
  19. +8 −8 src/assets/images/logos/gray-logos/logo-nasa.svg
  20. +8 −8 src/assets/images/logos/gray-logos/logo-netflix.svg
  21. +8 −8 src/assets/images/logos/gray-logos/logo-pinterest.svg
  22. +8 −8 src/assets/images/logos/gray-logos/logo-spotify.svg
  23. +8 −8 src/assets/images/logos/gray-logos/logo-vodafone.svg
  24. +323 −323 src/assets/images/shapes/waves-white.svg
  25. +51 −51 src/assets/theme/base/borders.js
  26. +116 −116 src/assets/theme/base/boxShadows.js
  27. +31 −31 src/assets/theme/base/breakpoints.js
  28. +261 −261 src/assets/theme/base/colors.js
  29. +39 −39 src/assets/theme/base/globals.js
  30. +205 −205 src/assets/theme/base/typography.js
  31. +26 −26 src/assets/theme/components/appBar.js
  32. +35 −35 src/assets/theme/components/avatar.js
  33. +34 −34 src/assets/theme/components/breadcrumbs.js
  34. +89 −89 src/assets/theme/components/button/contained.js
  35. +44 −44 src/assets/theme/components/button/index.js
  36. +80 −80 src/assets/theme/components/button/outlined.js
  37. +51 −51 src/assets/theme/components/button/root.js
  38. +102 −102 src/assets/theme/components/button/text.js
  39. +20 −20 src/assets/theme/components/buttonBase.js
  40. +27 −27 src/assets/theme/components/card/cardContent.js
  41. +35 −35 src/assets/theme/components/card/cardMedia.js
  42. +44 −44 src/assets/theme/components/card/index.js
  43. +72 −72 src/assets/theme/components/container.js
  44. +25 −25 src/assets/theme/components/dialog/dialogActions.js
  45. +41 −41 src/assets/theme/components/dialog/dialogContent.js
  46. +33 −33 src/assets/theme/components/dialog/dialogContentText.js
  47. +31 −31 src/assets/theme/components/dialog/dialogTitle.js
  48. +34 −34 src/assets/theme/components/dialog/index.js
  49. +51 −51 src/assets/theme/components/divider.js
  50. +53 −53 src/assets/theme/components/flatpickr.js
  51. +98 −98 src/assets/theme/components/form/autocomplete.js
  52. +81 −81 src/assets/theme/components/form/checkbox.js
  53. +48 −48 src/assets/theme/components/form/formControlLabel.js
  54. +27 −27 src/assets/theme/components/form/formLabel.js
  55. +44 −44 src/assets/theme/components/form/input.js
  56. +58 −58 src/assets/theme/components/form/inputLabel.js
  57. +66 −66 src/assets/theme/components/form/inputOutlined.js
  58. +95 −95 src/assets/theme/components/form/radio.js
  59. +47 −47 src/assets/theme/components/form/select.js
  60. +86 −86 src/assets/theme/components/form/switchButton.js
  61. +27 −27 src/assets/theme/components/form/textField.js
  62. +38 −38 src/assets/theme/components/icon.js
  63. +29 −29 src/assets/theme/components/iconButton.js
  64. +51 −51 src/assets/theme/components/linearProgress.js
  65. +21 −21 src/assets/theme/components/link.js
  66. +23 −23 src/assets/theme/components/list/index.js
  67. +27 −27 src/assets/theme/components/list/listItem.js
  68. +23 −23 src/assets/theme/components/list/listItemText.js
  69. +47 −47 src/assets/theme/components/menu/index.js
  70. +45 −45 src/assets/theme/components/menu/menuItem.js
  71. +33 −33 src/assets/theme/components/popover.js
  72. +79 −79 src/assets/theme/components/slider.js
  73. +42 −42 src/assets/theme/components/stepper/index.js
  74. +25 −25 src/assets/theme/components/stepper/step.js
  75. +50 −50 src/assets/theme/components/stepper/stepConnector.js
  76. +55 −55 src/assets/theme/components/stepper/stepIcon.js
  77. +47 −47 src/assets/theme/components/stepper/stepLabel.js
  78. +37 −37 src/assets/theme/components/svgIcon.js
  79. +33 −33 src/assets/theme/components/table/tableCell.js
  80. +33 −33 src/assets/theme/components/table/tableContainer.js
  81. +32 −32 src/assets/theme/components/table/tableHead.js
  82. +63 −63 src/assets/theme/components/tabs/index.js
  83. +67 −67 src/assets/theme/components/tabs/tab.js
  84. +54 −54 src/assets/theme/components/tooltip.js
  85. +34 −34 src/assets/theme/functions/boxShadow.js
  86. +35 −35 src/assets/theme/functions/gradientChartLine.js
  87. +28 −28 src/assets/theme/functions/hexToRgb.js
  88. +24 −24 src/assets/theme/functions/linearGradient.js
  89. +24 −24 src/assets/theme/functions/pxToRem.js
  90. +28 −28 src/assets/theme/functions/rgba.js
  91. +158 −158 src/assets/theme/index.js
  92. +35 −35 src/components/MKAlert/MKAlertCloseIcon.js
  93. +48 −48 src/components/MKAlert/MKAlertRoot.js
  94. +92 −92 src/components/MKAlert/index.js
  95. +89 −89 src/components/MKAvatar/MKAvatarRoot.js
  96. +52 −52 src/components/MKAvatar/index.js
  97. +138 −138 src/components/MKBadge/MKBadgeRoot.js
  98. +71 −71 src/components/MKBadge/index.js
  99. +122 −122 src/components/MKBox/MKBoxRoot.js
  100. +66 −66 src/components/MKBox/index.js
  101. +279 −279 src/components/MKButton/MKButtonRoot.js
  102. +69 −69 src/components/MKButton/index.js
  103. +49 −49 src/components/MKDatePicker/index.js
  104. +71 −71 src/components/MKInput/MKInputRoot.js
  105. +42 −42 src/components/MKInput/index.js
  106. +62 −62 src/components/MKPagination/MKPaginationItemRoot.js
  107. +103 −103 src/components/MKPagination/index.js
  108. +47 −47 src/components/MKProgress/MKProgressRoot.js
  109. +69 −69 src/components/MKProgress/index.js
  110. +95 −95 src/components/MKSocialButton/MKSocialButtonRoot.js
  111. +67 −67 src/components/MKSocialButton/index.js
  112. +62 −62 src/components/MKTypography/MKTypographyRoot.js
  113. +89 −89 src/components/MKTypography/index.js
  114. +67 −67 src/examples/Breadcrumbs/index.js
  115. +120 −120 src/examples/Cards/BlogCards/BackgroundBlogCard/index.js
  116. +119 −119 src/examples/Cards/BlogCards/CenteredBlogCard/index.js
  117. +168 −168 src/examples/Cards/BlogCards/TransparentBlogCard/index.js
  118. +70 −70 src/examples/Cards/CounterCards/DefaultCounterCard/index.js
  119. +90 −90 src/examples/Cards/InfoCards/DefaultInfoCard/index.js
  120. +156 −156 src/examples/Cards/InfoCards/FilledInfoCard/index.js
  121. +192 −192 src/examples/Cards/ReviewCards/DefaultReviewCard/index.js
  122. +118 −118 src/examples/Cards/RotatingCard/RotatingCardBack.js
  123. +88 −88 src/examples/Cards/RotatingCard/RotatingCardFront.js
  124. +56 −56 src/examples/Cards/RotatingCard/index.js
  125. +79 −79 src/examples/Cards/TeamCards/HorizontalTeamCard/index.js
  126. +144 −144 src/examples/Footers/CenteredFooter/index.js
  127. +118 −118 src/examples/Footers/DefaultFooter/index.js
  128. +126 −126 src/examples/Footers/SimpleFooter/index.js
  129. +120 −120 src/examples/Navbars/DefaultNavbar/DefaultNavbarDropdown.js
  130. +166 −166 src/examples/Navbars/DefaultNavbar/DefaultNavbarMobile.js
  131. +594 −594 src/examples/Navbars/DefaultNavbar/index.js
  132. +91 −91 src/footer.routes.js
  133. +30 −30 src/index.js
  134. +21 −21 src/layouts/pages/authentication/sign-in/index.js
  135. +21 −21 src/layouts/pages/landing-pages/about-us/index.js
  136. +21 −21 src/layouts/pages/landing-pages/author/index.js
  137. +21 −21 src/layouts/pages/landing-pages/contact-us/index.js
  138. +21 −21 src/layouts/pages/presentation/index.js
  139. +46 −46 src/layouts/sections/attention-catchers/alerts/components/SimpleAlerts/code.js
  140. +59 −59 src/layouts/sections/attention-catchers/alerts/components/SimpleAlerts/index.js
  141. +42 −42 src/layouts/sections/attention-catchers/alerts/index.js
  142. +76 −76 src/layouts/sections/attention-catchers/modals/components/SimpleModal/code.js
  143. +89 −89 src/layouts/sections/attention-catchers/modals/components/SimpleModal/index.js
  144. +42 −42 src/layouts/sections/attention-catchers/modals/index.js
  145. +132 −132 src/layouts/sections/attention-catchers/tooltips-popovers/components/Popovers/code.js
  146. +145 −145 src/layouts/sections/attention-catchers/tooltips-popovers/components/Popovers/index.js
  147. +46 −46 src/layouts/sections/attention-catchers/tooltips-popovers/components/Tooltips/code.js
  148. +59 −59 src/layouts/sections/attention-catchers/tooltips-popovers/components/Tooltips/index.js
  149. +47 −47 src/layouts/sections/attention-catchers/tooltips-popovers/index.js
  150. +76 −76 src/layouts/sections/components/BaseLayout/index.js
  151. +193 −193 src/layouts/sections/components/View/index.js
  152. +35 −35 src/layouts/sections/elements/avatars/components/AvatarGroup/code.js
  153. +48 −48 src/layouts/sections/elements/avatars/components/AvatarGroup/index.js
  154. +34 −34 src/layouts/sections/elements/avatars/components/AvatarSize/code.js
  155. +47 −47 src/layouts/sections/elements/avatars/components/AvatarSize/index.js
  156. +47 −47 src/layouts/sections/elements/avatars/index.js
  157. +34 −34 src/layouts/sections/elements/badges/components/BadgesGradient/code.js
  158. +46 −46 src/layouts/sections/elements/badges/components/BadgesGradient/index.js
  159. +33 −33 src/layouts/sections/elements/badges/components/BadgesSimple/code.js
  160. +46 −46 src/layouts/sections/elements/badges/components/BadgesSimple/index.js
  161. +57 −57 src/layouts/sections/elements/badges/components/BadgesSimpleRounded/code.js
  162. +70 −70 src/layouts/sections/elements/badges/components/BadgesSimpleRounded/index.js
  163. +52 −52 src/layouts/sections/elements/badges/index.js
  164. +46 −46 src/layouts/sections/elements/breadcrumbs/code.js
  165. +76 −76 src/layouts/sections/elements/breadcrumbs/index.js
  166. +34 −34 src/layouts/sections/elements/buttons/components/ButtonsContained/code.js
  167. +47 −47 src/layouts/sections/elements/buttons/components/ButtonsContained/index.js
  168. +52 −52 src/layouts/sections/elements/buttons/components/ButtonsGradient/code.js
  169. +65 −65 src/layouts/sections/elements/buttons/components/ButtonsGradient/index.js
  170. +38 −38 src/layouts/sections/elements/buttons/components/ButtonsIconLeft/code.js
  171. +51 −51 src/layouts/sections/elements/buttons/components/ButtonsIconLeft/index.js
  172. +38 −38 src/layouts/sections/elements/buttons/components/ButtonsIconRight/code.js
  173. +51 −51 src/layouts/sections/elements/buttons/components/ButtonsIconRight/index.js
  174. +52 −52 src/layouts/sections/elements/buttons/components/ButtonsOutlined/code.js
  175. +65 −65 src/layouts/sections/elements/buttons/components/ButtonsOutlined/index.js
  176. +32 −32 src/layouts/sections/elements/buttons/components/ButtonsSizes/code.js
  177. +45 −45 src/layouts/sections/elements/buttons/components/ButtonsSizes/index.js
  178. +67 −67 src/layouts/sections/elements/buttons/index.js
  179. +85 −85 src/layouts/sections/elements/dropdowns/components/DropdownAndDropup/code.js
  180. +98 −98 src/layouts/sections/elements/dropdowns/components/DropdownAndDropup/index.js
  181. +42 −42 src/layouts/sections/elements/dropdowns/index.js
  182. +32 −32 src/layouts/sections/elements/progress-bars/components/ProgressSimple/code.js
  183. +45 −45 src/layouts/sections/elements/progress-bars/components/ProgressSimple/index.js
  184. +42 −42 src/layouts/sections/elements/progress-bars/index.js
  185. +42 −42 src/layouts/sections/elements/toggles/components/Toggle/code.js
  186. +55 −55 src/layouts/sections/elements/toggles/components/Toggle/index.js
  187. +40 −40 src/layouts/sections/elements/toggles/components/ToggleContext/code.js
  188. +53 −53 src/layouts/sections/elements/toggles/components/ToggleContext/index.js
  189. +47 −47 src/layouts/sections/elements/toggles/index.js
  190. +153 −153 src/layouts/sections/elements/typography/components/TypographyRoboto/code.js
  191. +166 −166 src/layouts/sections/elements/typography/components/TypographyRoboto/index.js
  192. +42 −42 src/layouts/sections/elements/typography/index.js
  193. +81 −81 src/layouts/sections/input-areas/forms/components/FormSimple/code.js
  194. +94 −94 src/layouts/sections/input-areas/forms/components/FormSimple/index.js
  195. +42 −42 src/layouts/sections/input-areas/forms/index.js
  196. +23 −23 src/layouts/sections/input-areas/inputs/components/InputDisabled/code.js
  197. +37 −37 src/layouts/sections/input-areas/inputs/components/InputDisabled/index.js
  198. +23 −23 src/layouts/sections/input-areas/inputs/components/InputDynamic/code.js
  199. +37 −37 src/layouts/sections/input-areas/inputs/components/InputDynamic/index.js
  200. +23 −23 src/layouts/sections/input-areas/inputs/components/InputError/code.js
  201. +37 −37 src/layouts/sections/input-areas/inputs/components/InputError/index.js
  202. +38 −38 src/layouts/sections/input-areas/inputs/components/InputIcon/code.js
  203. +52 −52 src/layouts/sections/input-areas/inputs/components/InputIcon/index.js
  204. +23 −23 src/layouts/sections/input-areas/inputs/components/InputOutlined/code.js
  205. +37 −37 src/layouts/sections/input-areas/inputs/components/InputOutlined/index.js
  206. +29 −29 src/layouts/sections/input-areas/inputs/components/InputStatic/code.js
  207. +43 −43 src/layouts/sections/input-areas/inputs/components/InputStatic/index.js
  208. +23 −23 src/layouts/sections/input-areas/inputs/components/InputSuccess/code.js
  209. +37 −37 src/layouts/sections/input-areas/inputs/components/InputSuccess/index.js
  210. +72 −72 src/layouts/sections/input-areas/inputs/index.js
  211. +31 −31 src/layouts/sections/navigation/nav-tabs/components/TabsSimple/code.js
  212. +45 −45 src/layouts/sections/navigation/nav-tabs/components/TabsSimple/index.js
  213. +47 −47 src/layouts/sections/navigation/nav-tabs/index.js
  214. +32 −32 src/layouts/sections/navigation/navbars/components/NavbarDark/code.js
  215. +46 −46 src/layouts/sections/navigation/navbars/components/NavbarDark/index.js
  216. +47 −47 src/layouts/sections/navigation/navbars/index.js
  217. +35 −35 src/layouts/sections/navigation/pagination/components/PaginationSimple/code.js
  218. +49 −49 src/layouts/sections/navigation/pagination/components/PaginationSimple/index.js
  219. +47 −47 src/layouts/sections/navigation/pagination/index.js
  220. +126 −126 src/layouts/sections/page-sections/featuers/components/FeaturesOne/code.js
  221. +139 −139 src/layouts/sections/page-sections/featuers/components/FeaturesOne/index.js
  222. +42 −42 src/layouts/sections/page-sections/featuers/index.js
  223. +178 −178 src/layouts/sections/page-sections/page-headers/components/HeaderOne/code.js
  224. +191 −191 src/layouts/sections/page-sections/page-headers/components/HeaderOne/index.js
  225. +42 −42 src/layouts/sections/page-sections/page-headers/index.js
  226. +142 −142 src/pages/LandingPages/AboutUs/index.js
  227. +90 −90 src/pages/LandingPages/AboutUs/sections/Featuring.js
  228. +91 −91 src/pages/LandingPages/AboutUs/sections/Information.js
  229. +63 −63 src/pages/LandingPages/AboutUs/sections/Newsletter.js
  230. +103 −103 src/pages/LandingPages/AboutUs/sections/Team.js
  231. +88 −88 src/pages/LandingPages/Author/index.js
  232. +203 −203 src/pages/LandingPages/Author/sections/Contact.js
  233. +169 −169 src/pages/LandingPages/Author/sections/Footer.js
  234. +101 −101 src/pages/LandingPages/Author/sections/Posts.js
  235. +109 −109 src/pages/LandingPages/Author/sections/Profile.js
  236. +149 −149 src/pages/LandingPages/ContactUs/index.js
  237. +173 −173 src/pages/LandingPages/SignIn/index.js
  238. +90 −90 src/pages/Presentation/components/BuiltByDevelopers/index.js
  239. +124 −124 src/pages/Presentation/components/ExampleCard/index.js
  240. +225 −225 src/pages/Presentation/index.js
  241. +63 −63 src/pages/Presentation/sections/Counters.js
  242. +94 −94 src/pages/Presentation/sections/DesignBlocks.js
  243. +189 −189 src/pages/Presentation/sections/Download.js
  244. +105 −105 src/pages/Presentation/sections/Information.js
  245. +95 −95 src/pages/Presentation/sections/Pages.js
  246. +112 −112 src/pages/Presentation/sections/Testimonials.js
  247. +260 −260 src/pages/Presentation/sections/data/designBlocksData.js
  248. +41 −41 src/pages/Presentation/sections/data/pagesData.js
  249. +274 −274 src/routes.js
70 changes: 35 additions & 35 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-props-no-spreading": [
1,
{
"custom": "ignore"
}
],
"react/jsx-curly-spacing": [2, "never"],
"default-param-last": "off",
"react/display-name": "off"
},
"settings": { "import/resolver": { "node": { "paths": ["src"] } } }
}
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-props-no-spreading": [
1,
{
"custom": "ignore"
}
],
"react/jsx-curly-spacing": [2, "never"],
"default-param-last": "off",
"react/display-name": "off"
},
"settings": { "import/resolver": { "node": { "paths": ["src"] } } }
}
76 changes: 76 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '30 14 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
54 changes: 27 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules
.DS_Store

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

package-lock.json
yarn.lock

commit.sh
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules
.DS_Store

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

package-lock.json
yarn.lock

commit.sh
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
legacy-peer-deps=true
auto-install-peers=true
legacy-peer-deps=true
auto-install-peers=true
strict-peer-dependencies=false
16 changes: 8 additions & 8 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"printWidth": 100,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"endOfLine": "auto"
}
{
"printWidth": 100,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"endOfLine": "auto"
}
Loading