@graupl/graupl 1.0.0-beta.1 → 1.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/base/button.css +1 -1
- package/dist/css/base/button.css.map +1 -1
- package/dist/css/base/form.css +1 -1
- package/dist/css/base/form.css.map +1 -1
- package/dist/css/base/link.css +1 -1
- package/dist/css/base/link.css.map +1 -1
- package/dist/css/base/table.css +1 -1
- package/dist/css/base/table.css.map +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/base.css.map +1 -1
- package/dist/css/component/accordion.css +4 -1
- package/dist/css/component/accordion.css.map +1 -1
- package/dist/css/component/alert.css +1 -1
- package/dist/css/component/alert.css.map +1 -1
- package/dist/css/component/card.css +1 -1
- package/dist/css/component/card.css.map +1 -1
- package/dist/css/component/carousel.css +1 -1
- package/dist/css/component/carousel.css.map +1 -1
- package/dist/css/component/input-group.css +1 -1
- package/dist/css/component/input-group.css.map +1 -1
- package/dist/css/component/list.css +2 -0
- package/dist/css/component/list.css.map +1 -0
- package/dist/css/component/menu.css +1 -1
- package/dist/css/component/menu.css.map +1 -1
- package/dist/css/component/navigation.css +1 -1
- package/dist/css/component/navigation.css.map +1 -1
- package/dist/css/component.css +4 -1
- package/dist/css/component.css.map +1 -1
- package/dist/css/graupl.css +4 -1
- package/dist/css/graupl.css.map +1 -1
- package/dist/css/init.css.map +1 -1
- package/dist/css/layout/columns.css +1 -1
- package/dist/css/layout/columns.css.map +1 -1
- package/dist/css/layout/container.css +1 -1
- package/dist/css/layout/container.css.map +1 -1
- package/dist/css/layout/flex-columns.css +1 -1
- package/dist/css/layout/flex-columns.css.map +1 -1
- package/dist/css/layout.css +4 -1
- package/dist/css/layout.css.map +1 -1
- package/dist/css/normalize.css +1 -1
- package/dist/css/normalize.css.map +1 -1
- package/dist/css/state/focus.css +1 -1
- package/dist/css/state/focus.css.map +1 -1
- package/dist/css/state.css +1 -1
- package/dist/css/state.css.map +1 -1
- package/dist/css/theme/color.css +1 -1
- package/dist/css/theme/color.css.map +1 -1
- package/dist/css/theme/typography.css +1 -1
- package/dist/css/theme/typography.css.map +1 -1
- package/dist/css/theme.css +1 -1
- package/dist/css/theme.css.map +1 -1
- package/dist/css/utilities/alignment.css +1 -1
- package/dist/css/utilities/alignment.css.map +1 -1
- package/dist/css/utilities/background.css +2 -0
- package/dist/css/utilities/background.css.map +1 -0
- package/dist/css/utilities/border.css +2 -0
- package/dist/css/utilities/border.css.map +1 -0
- package/dist/css/utilities/color.css +1 -1
- package/dist/css/utilities/color.css.map +1 -1
- package/dist/css/utilities/container.css +2 -0
- package/dist/css/utilities/container.css.map +1 -0
- package/dist/css/utilities/display.css +1 -1
- package/dist/css/utilities/display.css.map +1 -1
- package/dist/css/utilities/flex.css +1 -1
- package/dist/css/utilities/flex.css.map +1 -1
- package/dist/css/utilities/gradient.css +2 -0
- package/dist/css/utilities/gradient.css.map +1 -0
- package/dist/css/utilities/height.css +1 -1
- package/dist/css/utilities/height.css.map +1 -1
- package/dist/css/utilities/inset.css +1 -1
- package/dist/css/utilities/inset.css.map +1 -1
- package/dist/css/utilities/justification.css +1 -1
- package/dist/css/utilities/justification.css.map +1 -1
- package/dist/css/utilities/list.css +1 -1
- package/dist/css/utilities/list.css.map +1 -1
- package/dist/css/utilities/order.css +1 -1
- package/dist/css/utilities/order.css.map +1 -1
- package/dist/css/utilities/position.css +2 -0
- package/dist/css/utilities/position.css.map +1 -0
- package/dist/css/utilities/ratio.css +1 -1
- package/dist/css/utilities/ratio.css.map +1 -1
- package/dist/css/utilities/spacing.css +1 -1
- package/dist/css/utilities/spacing.css.map +1 -1
- package/dist/css/utilities/typography.css +1 -1
- package/dist/css/utilities/typography.css.map +1 -1
- package/dist/css/utilities/visibility.css +1 -1
- package/dist/css/utilities/visibility.css.map +1 -1
- package/dist/css/utilities/visually-hidden.css +2 -0
- package/dist/css/utilities/visually-hidden.css.map +1 -0
- package/dist/css/utilities/width.css +1 -1
- package/dist/css/utilities/width.css.map +1 -1
- package/dist/css/utilities/z-index.css +2 -0
- package/dist/css/utilities/z-index.css.map +1 -0
- package/dist/css/utilities.css +1 -1
- package/dist/css/utilities.css.map +1 -1
- package/dist/js/accordion.js +5 -0
- package/dist/js/accordion.js.map +1 -0
- package/dist/js/alert.js +5 -0
- package/dist/js/alert.js.map +1 -0
- package/dist/js/carousel.js +5 -0
- package/dist/js/carousel.js.map +1 -0
- package/dist/js/component/accordion.cjs.js +4 -2
- package/dist/js/component/accordion.cjs.js.map +1 -0
- package/dist/js/component/accordion.es.js +5 -0
- package/dist/js/component/accordion.es.js.map +1 -0
- package/dist/js/component/accordion.iife.js +4 -2
- package/dist/js/component/accordion.iife.js.map +1 -0
- package/dist/js/component/alert.cjs.js +4 -2
- package/dist/js/component/alert.cjs.js.map +1 -0
- package/dist/js/component/alert.es.js +5 -0
- package/dist/js/component/alert.es.js.map +1 -0
- package/dist/js/component/alert.iife.js +4 -2
- package/dist/js/component/alert.iife.js.map +1 -0
- package/dist/js/component/carousel.cjs.js +4 -2
- package/dist/js/component/carousel.cjs.js.map +1 -0
- package/dist/js/component/carousel.es.js +5 -0
- package/dist/js/component/carousel.es.js.map +1 -0
- package/dist/js/component/carousel.iife.js +4 -2
- package/dist/js/component/carousel.iife.js.map +1 -0
- package/dist/js/generator/accordion.cjs.js +5 -0
- package/dist/js/generator/accordion.cjs.js.map +1 -0
- package/dist/js/generator/accordion.es.js +5 -0
- package/dist/js/generator/accordion.es.js.map +1 -0
- package/dist/js/generator/accordion.iife.js +5 -0
- package/dist/js/generator/accordion.iife.js.map +1 -0
- package/dist/js/generator/carousel.cjs.js +5 -0
- package/dist/js/generator/carousel.cjs.js.map +1 -0
- package/dist/js/generator/carousel.es.js +5 -0
- package/dist/js/generator/carousel.es.js.map +1 -0
- package/dist/js/generator/carousel.iife.js +5 -0
- package/dist/js/generator/carousel.iife.js.map +1 -0
- package/dist/js/generator/navigation.cjs.js +3 -0
- package/dist/js/generator/navigation.cjs.js.map +1 -0
- package/dist/js/generator/navigation.es.js +3 -0
- package/dist/js/generator/navigation.es.js.map +1 -0
- package/dist/js/generator/navigation.iife.js +3 -0
- package/dist/js/generator/navigation.iife.js.map +1 -0
- package/dist/js/graupl.js +9 -0
- package/dist/js/graupl.js.map +1 -0
- package/dist/js/navigation.js +3 -0
- package/dist/js/navigation.js.map +1 -0
- package/package.json +43 -37
- package/scss/base/button.scss +1 -1
- package/scss/base/form.scss +1 -1
- package/scss/base/link.scss +1 -1
- package/scss/base/table.scss +1 -1
- package/scss/base.scss +1 -1
- package/scss/component/accordion.scss +1 -1
- package/scss/component/alert.scss +1 -1
- package/scss/component/card.scss +1 -1
- package/scss/component/carousel.scss +1 -1
- package/scss/component/input-group.scss +1 -1
- package/scss/component/list.scss +3 -0
- package/scss/component/menu.scss +1 -1
- package/scss/component/navigation.scss +1 -1
- package/scss/component.scss +1 -1
- package/scss/graupl.scss +1 -1
- package/scss/init.scss +1 -1
- package/scss/layout/columns.scss +1 -1
- package/scss/layout/container.scss +1 -1
- package/scss/layout/flex-columns.scss +1 -1
- package/scss/layout.scss +1 -1
- package/scss/normalize.scss +1 -1
- package/scss/state/focus.scss +1 -1
- package/scss/state.scss +1 -1
- package/scss/theme/color.scss +1 -1
- package/scss/theme/typography.scss +1 -1
- package/scss/theme.scss +1 -1
- package/scss/utilities/alignment.scss +1 -1
- package/scss/utilities/background.scss +3 -0
- package/scss/utilities/border.scss +3 -0
- package/scss/utilities/color.scss +1 -1
- package/scss/utilities/container.scss +3 -0
- package/scss/utilities/display.scss +1 -1
- package/scss/utilities/flex.scss +1 -1
- package/scss/utilities/gradient.scss +3 -0
- package/scss/utilities/height.scss +1 -1
- package/scss/utilities/inset.scss +1 -1
- package/scss/utilities/justification.scss +1 -1
- package/scss/utilities/list.scss +1 -1
- package/scss/utilities/order.scss +1 -1
- package/scss/utilities/position.scss +3 -0
- package/scss/utilities/ratio.scss +1 -1
- package/scss/utilities/spacing.scss +1 -1
- package/scss/utilities/typography.scss +1 -1
- package/scss/utilities/visibility.scss +1 -1
- package/scss/utilities/visually-hidden.scss +3 -0
- package/scss/utilities/width.scss +1 -1
- package/scss/utilities/z-index.scss +3 -0
- package/scss/utilities.scss +1 -1
- package/.browserslistrc +0 -3
- package/.czrc +0 -3
- package/.editorconfig +0 -13
- package/.github/CODE_OF_CONDUCT.md +0 -73
- package/.github/COMMIT_CONVENTION.md +0 -17
- package/.github/CONTRIBUTING.md +0 -86
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/documentation.md +0 -20
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/SECURITY.md +0 -26
- package/.github/dependabot.yml +0 -17
- package/.github/pull_request_template.md +0 -5
- package/.github/workflows/codeql-analysis.yml +0 -71
- package/.github/workflows/docs.yml +0 -59
- package/.github/workflows/test.yml +0 -27
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -12
- package/.stylelintignore +0 -9
- package/.versionrc.cjs +0 -61
- package/CHANGELOG.md +0 -364
- package/build.js +0 -7
- package/commitlint.config.js +0 -5
- package/dist/css/utilities/postion.css +0 -2
- package/dist/css/utilities/postion.css.map +0 -1
- package/dist/js/component/accordion.esm.js +0 -1289
- package/dist/js/component/alert.esm.js +0 -529
- package/dist/js/component/carousel.esm.js +0 -1110
- package/dist/js/graupl.cjs.js +0 -5
- package/dist/js/graupl.esm.js +0 -1462
- package/dist/js/graupl.iife.js +0 -5
- package/docs/.vitepress/config.js +0 -78
- package/docs/.vitepress/theme/custom.scss +0 -35
- package/docs/.vitepress/theme/index.js +0 -4
- package/docs/compiling-graupl.md +0 -56
- package/docs/components/alert.md +0 -130
- package/docs/components/button.md +0 -84
- package/docs/components/card.md +0 -369
- package/docs/components/index.md +0 -1
- package/docs/components/inputgroup.md +0 -159
- package/docs/components/menu.md +0 -326
- package/docs/components/navigation.md +0 -158
- package/docs/content.md +0 -237
- package/docs/defaults.md +0 -121
- package/docs/forms.md +0 -79
- package/docs/functions.md +0 -9
- package/docs/getting-started.md +0 -1
- package/docs/index.md +0 -1
- package/docs/introduction.md +0 -25
- package/docs/layout.md +0 -200
- package/docs/mixins.md +0 -47
- package/docs/state.md +0 -67
- package/docs/theme.md +0 -258
- package/docs/utilities.md +0 -357
- package/eslint.config.js +0 -74
- package/index.html +0 -851
- package/index.js +0 -12
- package/lint-staged.config.js +0 -6
- package/postcss.config.cjs +0 -12
- package/prettier.config.js +0 -16
- package/scss/utilities/postion.scss +0 -3
- package/src/js/accordion/Accordion.js +0 -1163
- package/src/js/accordion/AccordionItem.js +0 -496
- package/src/js/accordion/index.js +0 -10
- package/src/js/alert/Alert.js +0 -581
- package/src/js/alert/index.js +0 -11
- package/src/js/carousel/Carousel.js +0 -1427
- package/src/js/carousel/index.js +0 -10
- package/src/js/domHelpers.js +0 -37
- package/src/js/eventHandlers.js +0 -39
- package/src/js/navigation/index.js +0 -36
- package/src/js/storage.js +0 -106
- package/src/js/validate.js +0 -225
- package/src/scss/_defaults.scss +0 -136
- package/src/scss/_index.scss +0 -15
- package/src/scss/_init.scss +0 -3
- package/src/scss/_normalize.scss +0 -197
- package/src/scss/_variables.scss +0 -53
- package/src/scss/base/_index.scss +0 -6
- package/src/scss/base/button/_defaults.scss +0 -60
- package/src/scss/base/button/_index.scss +0 -107
- package/src/scss/base/button/_mixins.scss +0 -166
- package/src/scss/base/button/_variables.scss +0 -176
- package/src/scss/base/form/_defaults.scss +0 -17
- package/src/scss/base/form/_index.scss +0 -93
- package/src/scss/base/form/_variables.scss +0 -153
- package/src/scss/base/link/_defaults.scss +0 -50
- package/src/scss/base/link/_index.scss +0 -134
- package/src/scss/base/link/_variables.scss +0 -262
- package/src/scss/base/table/_defaults.scss +0 -53
- package/src/scss/base/table/_index.scss +0 -121
- package/src/scss/base/table/_variables.scss +0 -135
- package/src/scss/component/_index.scss +0 -9
- package/src/scss/component/accordion/_defaults.scss +0 -40
- package/src/scss/component/accordion/_index.scss +0 -180
- package/src/scss/component/accordion/_variables.scss +0 -316
- package/src/scss/component/alert/_defaults.scss +0 -49
- package/src/scss/component/alert/_index.scss +0 -118
- package/src/scss/component/alert/_variables.scss +0 -170
- package/src/scss/component/card/_defaults.scss +0 -32
- package/src/scss/component/card/_index.scss +0 -178
- package/src/scss/component/card/_variables.scss +0 -186
- package/src/scss/component/carousel/_defaults.scss +0 -43
- package/src/scss/component/carousel/_index.scss +0 -188
- package/src/scss/component/carousel/_variables.scss +0 -104
- package/src/scss/component/input-group/_defaults.scss +0 -30
- package/src/scss/component/input-group/_index.scss +0 -47
- package/src/scss/component/input-group/_variables.scss +0 -66
- package/src/scss/component/menu/_defaults.scss +0 -66
- package/src/scss/component/menu/_index.scss +0 -305
- package/src/scss/component/menu/_variables.scss +0 -500
- package/src/scss/component/navigation/_defaults.scss +0 -29
- package/src/scss/component/navigation/_index.scss +0 -189
- package/src/scss/component/navigation/_variables.scss +0 -237
- package/src/scss/functions/_important.scss +0 -13
- package/src/scss/functions/_screen.scss +0 -30
- package/src/scss/functions/_theme.scss +0 -39
- package/src/scss/layout/_index.scss +0 -5
- package/src/scss/layout/columns/_defaults.scss +0 -19
- package/src/scss/layout/columns/_index.scss +0 -58
- package/src/scss/layout/columns/_variables.scss +0 -51
- package/src/scss/layout/container/_defaults.scss +0 -17
- package/src/scss/layout/container/_index.scss +0 -41
- package/src/scss/layout/container/_variables.scss +0 -50
- package/src/scss/layout/flex-columns/_defaults.scss +0 -18
- package/src/scss/layout/flex-columns/_index.scss +0 -80
- package/src/scss/layout/flex-columns/_variables.scss +0 -26
- package/src/scss/mixins/_animation.scss +0 -15
- package/src/scss/mixins/_layer.scss +0 -12
- package/src/scss/mixins/_screen.scss +0 -56
- package/src/scss/mixins/_utility.scss +0 -30
- package/src/scss/mixins/_visually-hidden.scss +0 -20
- package/src/scss/state/_index.scss +0 -3
- package/src/scss/state/focus/_defaults.scss +0 -10
- package/src/scss/state/focus/_index.scss +0 -13
- package/src/scss/state/focus/_mixins.scss +0 -15
- package/src/scss/state/focus/_variables.scss +0 -44
- package/src/scss/theme/_index.scss +0 -4
- package/src/scss/theme/color/_defaults.scss +0 -143
- package/src/scss/theme/color/_index.scss +0 -42
- package/src/scss/theme/color/_variables.scss +0 -129
- package/src/scss/theme/typography/_defaults.scss +0 -54
- package/src/scss/theme/typography/_index.scss +0 -111
- package/src/scss/theme/typography/_variables.scss +0 -231
- package/src/scss/utilities/_index.scss +0 -17
- package/src/scss/utilities/alignment/_defaults.scss +0 -62
- package/src/scss/utilities/alignment/_index.scss +0 -75
- package/src/scss/utilities/alignment/_variables.scss +0 -6
- package/src/scss/utilities/color/_defaults.scss +0 -35
- package/src/scss/utilities/color/_index.scss +0 -91
- package/src/scss/utilities/color/_variables.scss +0 -6
- package/src/scss/utilities/display/_defaults.scss +0 -32
- package/src/scss/utilities/display/_index.scss +0 -61
- package/src/scss/utilities/display/_variables.scss +0 -6
- package/src/scss/utilities/flex/_defaults.scss +0 -63
- package/src/scss/utilities/flex/_index.scss +0 -71
- package/src/scss/utilities/flex/_variables.scss +0 -6
- package/src/scss/utilities/height/_defaults.scss +0 -41
- package/src/scss/utilities/height/_index.scss +0 -98
- package/src/scss/utilities/height/_variables.scss +0 -6
- package/src/scss/utilities/inset/_defaults.scss +0 -41
- package/src/scss/utilities/inset/_index.scss +0 -37
- package/src/scss/utilities/inset/_variables.scss +0 -6
- package/src/scss/utilities/justification/_defaults.scss +0 -59
- package/src/scss/utilities/justification/_index.scss +0 -75
- package/src/scss/utilities/justification/_variables.scss +0 -6
- package/src/scss/utilities/list/_defaults.scss +0 -39
- package/src/scss/utilities/list/_index.scss +0 -56
- package/src/scss/utilities/list/_variables.scss +0 -6
- package/src/scss/utilities/order/_defaults.scss +0 -22
- package/src/scss/utilities/order/_index.scss +0 -63
- package/src/scss/utilities/order/_variables.scss +0 -6
- package/src/scss/utilities/position/_defaults.scss +0 -26
- package/src/scss/utilities/position/_index.scss +0 -37
- package/src/scss/utilities/position/_variables.scss +0 -6
- package/src/scss/utilities/ratio/_defaults.scss +0 -28
- package/src/scss/utilities/ratio/_index.scss +0 -52
- package/src/scss/utilities/ratio/_variables.scss +0 -9
- package/src/scss/utilities/spacing/_defaults.scss +0 -49
- package/src/scss/utilities/spacing/_index.scss +0 -169
- package/src/scss/utilities/spacing/_variables.scss +0 -6
- package/src/scss/utilities/typography/_defaults.scss +0 -30
- package/src/scss/utilities/typography/_index.scss +0 -224
- package/src/scss/utilities/typography/_variables.scss +0 -6
- package/src/scss/utilities/visibility/_defaults.scss +0 -25
- package/src/scss/utilities/visibility/_index.scss +0 -36
- package/src/scss/utilities/visibility/_variables.scss +0 -6
- package/src/scss/utilities/width/_defaults.scss +0 -41
- package/src/scss/utilities/width/_index.scss +0 -98
- package/src/scss/utilities/width/_variables.scss +0 -6
- package/stylelint.config.js +0 -21
- package/vite.config.js +0 -57
package/.github/CONTRIBUTING.md
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# Contributing to graupl
|
|
2
|
-
|
|
3
|
-
Whether you want to add a feature or simply report a bug or issue, please have a quick read through these guidelines before contributing.
|
|
4
|
-
|
|
5
|
-
## Developed with Github
|
|
6
|
-
|
|
7
|
-
We use github to host code, to track issues and feature requests, as well as accept pull requests. All other forms of communication with maintainers is not considered "official".
|
|
8
|
-
|
|
9
|
-
## [Github Flow](https://guides.github.com/introduction/flow/index.html) is the Way to Go
|
|
10
|
-
|
|
11
|
-
All code changes happen through pull requests.
|
|
12
|
-
|
|
13
|
-
Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
|
|
14
|
-
|
|
15
|
-
1. Fork the repo and create your branch from 4.x.
|
|
16
|
-
2. Link your pull request to any relavent open issues.
|
|
17
|
-
3. If you've added or changed functionality update the documentation.
|
|
18
|
-
4. Make sure your code functions.
|
|
19
|
-
5. Update existing tests or write a new test to ensure your code will _continue_ to function regardless of future changes.
|
|
20
|
-
6. Make sure your code lints.
|
|
21
|
-
7. Issue the pull request!
|
|
22
|
-
|
|
23
|
-
## Any contribution you make will be under the ISC License
|
|
24
|
-
|
|
25
|
-
In short, when you submit code changes, your submissions are understood to be under the same ISC License that covers the project. Feel free to contact the maintainers if that's a concern.
|
|
26
|
-
|
|
27
|
-
## Report bugs using Github's [issues](https://github.com/Graupl/graupl/issues)
|
|
28
|
-
|
|
29
|
-
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/Graupl/graupl/issues/new).
|
|
30
|
-
|
|
31
|
-
## Write bug reports with detail, background, and sample code
|
|
32
|
-
|
|
33
|
-
**Great Bug Reports** tend to have:
|
|
34
|
-
|
|
35
|
-
- A quick summary and/or background
|
|
36
|
-
- Steps to reproduce
|
|
37
|
-
- Be specific!
|
|
38
|
-
- Give sample code if you can
|
|
39
|
-
- What you expected would happen
|
|
40
|
-
- What actually happens
|
|
41
|
-
- Notes
|
|
42
|
-
- why you think this might be happening
|
|
43
|
-
- stuff you tried that didn't work
|
|
44
|
-
|
|
45
|
-
Everybody loves a thorough bug report!
|
|
46
|
-
|
|
47
|
-
## Keep Your Code Consistent
|
|
48
|
-
|
|
49
|
-
- Run `npm install` to ensure you have all the tools needed.
|
|
50
|
-
- Keep all functional code inside of the `src/` directory.
|
|
51
|
-
- Keep all test code inside of the `tests/` directory.
|
|
52
|
-
- Use the coding standards provided.
|
|
53
|
-
|
|
54
|
-
This project follows a set of coding standards combining [StandardJS](https://standardjs.com/), [Prettier](https://prettier.io/), and [JSDoc](https://jsdoc.app/) for JavaScript and [Standard SCSS](https://github.com/stylelint-scss/stylelint-config-standard-scss#readme), [Sass Guidelines](https://github.com/bjankord/stylelint-config-sass-guidelines#readme), Prettier, and [SMACSS](https://smacss.com/) for Sass.
|
|
55
|
-
|
|
56
|
-
To check your code, you can use [ESLint](https://eslint.org/)/[Stylelint](https://stylelint.io/)/Prettier with the provided script:
|
|
57
|
-
|
|
58
|
-
```shell
|
|
59
|
-
npm run lint
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Code that does not follow the linting standards _will not_ be merged.
|
|
63
|
-
|
|
64
|
-
## Commit Guidelines
|
|
65
|
-
|
|
66
|
-
This project uses the conventional commit standard, which means your commits should follow a basic template of:
|
|
67
|
-
|
|
68
|
-
> \<type>[optional scope]: \<description>
|
|
69
|
-
>
|
|
70
|
-
> [optional body]
|
|
71
|
-
>
|
|
72
|
-
> [optional footer(s)]
|
|
73
|
-
|
|
74
|
-
For more detailed information about available types, scopes, breaking changes, etc. please see the [official documentation](https://www.conventionalcommits.org/en/v1.0.0/).
|
|
75
|
-
|
|
76
|
-
This project also provides a command to assist you in formatting commit messages using [commitizen](https://commitizen.github.io/cz-cli/):
|
|
77
|
-
|
|
78
|
-
```shell
|
|
79
|
-
npm run commit
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Commits that do not follow this format _will not_ be merged.
|
|
83
|
-
|
|
84
|
-
## References
|
|
85
|
-
|
|
86
|
-
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Bug report
|
|
3
|
-
about: Create a report to help us improve
|
|
4
|
-
title: 'Bug: [Brief Description]'
|
|
5
|
-
labels: bug
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Summary
|
|
11
|
-
<!-- What is the issue you are experiencing? -->
|
|
12
|
-
|
|
13
|
-
## Steps to reproduce
|
|
14
|
-
<!--
|
|
15
|
-
What are the steps to reproduce this issue?
|
|
16
|
-
|
|
17
|
-
1. Go to "..."
|
|
18
|
-
2. Click on "...."
|
|
19
|
-
3. Scroll down to "...."
|
|
20
|
-
4. See error
|
|
21
|
-
-->
|
|
22
|
-
|
|
23
|
-
## Expected Behaviour
|
|
24
|
-
<!-- What is the expected behaviour? -->
|
|
25
|
-
|
|
26
|
-
## Screenshots
|
|
27
|
-
<!-- If applicable, add screenshots to help explain your problem. -->
|
|
28
|
-
|
|
29
|
-
## Additional context
|
|
30
|
-
<!-- Is there anything else that would give context about the problem? -->
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Documentation Issue
|
|
3
|
-
about: Create an issue to help fix or improve documentation
|
|
4
|
-
title: 'Docs: [Brief Description]'
|
|
5
|
-
labels: documentation
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Summary
|
|
11
|
-
<!-- What is the issue you are experiencing? Is something unclear or wrong? A typo perhaps? -->
|
|
12
|
-
|
|
13
|
-
## Solution
|
|
14
|
-
<!-- Describe the solution you'd like to see. -->
|
|
15
|
-
|
|
16
|
-
## Alternatives
|
|
17
|
-
<!-- Describe alternatives you've considered. -->
|
|
18
|
-
|
|
19
|
-
## Additional context
|
|
20
|
-
<!-- Is there anything else that would give context about the problem? -->
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Feature request
|
|
3
|
-
about: Suggest an idea for this project
|
|
4
|
-
title: 'Feat: [Brief Description]'
|
|
5
|
-
labels: enhancement
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Summary
|
|
11
|
-
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
|
|
12
|
-
|
|
13
|
-
## Solution
|
|
14
|
-
<!-- Describe the solution you'd like to see. -->
|
|
15
|
-
|
|
16
|
-
## Alternatives
|
|
17
|
-
<!-- Describe alternatives you've considered. -->
|
|
18
|
-
|
|
19
|
-
## Additional context
|
|
20
|
-
<!-- Is there anything else that would give context about the problem? -->
|
package/.github/SECURITY.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
| Version | Supported |
|
|
6
|
-
| ------- | ------------------ |
|
|
7
|
-
| 1.x | ✔ |
|
|
8
|
-
|
|
9
|
-
## Reporting a Vulnerability
|
|
10
|
-
|
|
11
|
-
If you discover a vulnerability within this project, please [open an issue](https://github.com/Graupl/graupl/issues/new) and label it with the `security` tag. The issue board is checked at least 2-3 times a week, so you should expect a response to your issue within a few days.
|
|
12
|
-
|
|
13
|
-
If a PR is submitted along with the issue to resolve the vulnerability, you can expect it to be reviewed within the same time frame as issue responses. If a PR is not submitted, the time it takes to develop a fix will differ depending on the severity of the vulnerability.
|
|
14
|
-
|
|
15
|
-
## Vulnerabilities in dependencies
|
|
16
|
-
|
|
17
|
-
Given that graupl does not have any production dependencies, any vulnerable dev dependencies will be updated when/if possible- though a new release of graupl may not be pushed out right away.
|
|
18
|
-
|
|
19
|
-
A higher priority will be given to dev dependencies that are directly responsible for compiling the project:
|
|
20
|
-
|
|
21
|
-
- [sass](https://sass-lang.com),
|
|
22
|
-
- [postcss](https://postcss.org),
|
|
23
|
-
- [vite](https://github.com/vitejs/vite), and
|
|
24
|
-
- all related plugins
|
|
25
|
-
|
|
26
|
-
If a vulnerability is found and resolved within one of these dependencies, a new release will be made.
|
package/.github/dependabot.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
|
3
|
-
# Please see the documentation for all configuration options:
|
|
4
|
-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
-
|
|
6
|
-
version: 2
|
|
7
|
-
updates:
|
|
8
|
-
- package-ecosystem: "npm" # See documentation for possible values
|
|
9
|
-
directory: "/" # Location of package manifests
|
|
10
|
-
schedule:
|
|
11
|
-
interval: "daily"
|
|
12
|
-
labels:
|
|
13
|
-
- "dependencies"
|
|
14
|
-
reviewers:
|
|
15
|
-
- "NickDJM"
|
|
16
|
-
commit-message:
|
|
17
|
-
prefix: "build"
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
-
# to commit it to your repository.
|
|
3
|
-
#
|
|
4
|
-
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
-
# or to provide custom queries or build logic.
|
|
6
|
-
#
|
|
7
|
-
# ******** NOTE ********
|
|
8
|
-
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
-
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
-
# supported CodeQL languages.
|
|
11
|
-
#
|
|
12
|
-
name: "CodeQL"
|
|
13
|
-
|
|
14
|
-
on:
|
|
15
|
-
push:
|
|
16
|
-
branches: [ '*.x' ]
|
|
17
|
-
pull_request:
|
|
18
|
-
# The branches below must be a subset of the branches above
|
|
19
|
-
branches: [ '*.x' ]
|
|
20
|
-
schedule:
|
|
21
|
-
- cron: '23 0 * * 5'
|
|
22
|
-
|
|
23
|
-
jobs:
|
|
24
|
-
analyze:
|
|
25
|
-
name: Analyze
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
permissions:
|
|
28
|
-
actions: read
|
|
29
|
-
contents: read
|
|
30
|
-
security-events: write
|
|
31
|
-
|
|
32
|
-
strategy:
|
|
33
|
-
fail-fast: false
|
|
34
|
-
matrix:
|
|
35
|
-
language: [ 'javascript' ]
|
|
36
|
-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
37
|
-
# Learn more:
|
|
38
|
-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
|
39
|
-
|
|
40
|
-
steps:
|
|
41
|
-
- name: Checkout repository
|
|
42
|
-
uses: actions/checkout@v4
|
|
43
|
-
|
|
44
|
-
# Initializes the CodeQL tools for scanning.
|
|
45
|
-
- name: Initialize CodeQL
|
|
46
|
-
uses: github/codeql-action/init@v3
|
|
47
|
-
with:
|
|
48
|
-
languages: ${{ matrix.language }}
|
|
49
|
-
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
50
|
-
# By default, queries listed here will override any specified in a config file.
|
|
51
|
-
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
52
|
-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
53
|
-
|
|
54
|
-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
55
|
-
# If this step fails, then you should remove it and run the build manually (see below)
|
|
56
|
-
- name: Autobuild
|
|
57
|
-
uses: github/codeql-action/autobuild@v3
|
|
58
|
-
|
|
59
|
-
# ℹ️ Command-line programs to run using the OS shell.
|
|
60
|
-
# 📚 https://git.io/JvXDl
|
|
61
|
-
|
|
62
|
-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
63
|
-
# and modify them (or add more) to build your code if your project
|
|
64
|
-
# uses a compiled language
|
|
65
|
-
|
|
66
|
-
#- run: |
|
|
67
|
-
# make bootstrap
|
|
68
|
-
# make release
|
|
69
|
-
|
|
70
|
-
- name: Perform CodeQL Analysis
|
|
71
|
-
uses: github/codeql-action/analyze@v3
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
name: Deploy VitePress site to Pages
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [1.x]
|
|
6
|
-
|
|
7
|
-
# Allows you to run this workflow manually from the Actions tab
|
|
8
|
-
workflow_dispatch:
|
|
9
|
-
|
|
10
|
-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
11
|
-
permissions:
|
|
12
|
-
contents: read
|
|
13
|
-
pages: write
|
|
14
|
-
id-token: write
|
|
15
|
-
|
|
16
|
-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
17
|
-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
18
|
-
concurrency:
|
|
19
|
-
group: pages
|
|
20
|
-
cancel-in-progress: false
|
|
21
|
-
|
|
22
|
-
jobs:
|
|
23
|
-
# Build job
|
|
24
|
-
build:
|
|
25
|
-
runs-on: ubuntu-latest
|
|
26
|
-
steps:
|
|
27
|
-
- name: Checkout
|
|
28
|
-
uses: actions/checkout@v4
|
|
29
|
-
with:
|
|
30
|
-
fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
|
31
|
-
- name: Setup Node
|
|
32
|
-
uses: actions/setup-node@v3
|
|
33
|
-
with:
|
|
34
|
-
node-version: 18
|
|
35
|
-
- name: Setup Pages
|
|
36
|
-
uses: actions/configure-pages@v3
|
|
37
|
-
- name: Install dependencies
|
|
38
|
-
run: npm install
|
|
39
|
-
- name: Build with VitePress
|
|
40
|
-
run: |
|
|
41
|
-
npm run docs:build
|
|
42
|
-
touch docs/.vitepress/dist/.nojekyll
|
|
43
|
-
- name: Upload artifact
|
|
44
|
-
uses: actions/upload-pages-artifact@v2
|
|
45
|
-
with:
|
|
46
|
-
path: docs/.vitepress/dist
|
|
47
|
-
|
|
48
|
-
# Deployment job
|
|
49
|
-
deploy:
|
|
50
|
-
environment:
|
|
51
|
-
name: github-pages
|
|
52
|
-
url: ${{ steps.deployment.outputs.page_url }}
|
|
53
|
-
needs: build
|
|
54
|
-
runs-on: ubuntu-latest
|
|
55
|
-
name: Deploy
|
|
56
|
-
steps:
|
|
57
|
-
- name: Deploy to GitHub Pages
|
|
58
|
-
id: deployment
|
|
59
|
-
uses: actions/deploy-pages@v2
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: Tests
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches: [ '*.x' ]
|
|
5
|
-
pull_request:
|
|
6
|
-
branches: [ '*.x' ]
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v4
|
|
12
|
-
- name: Install modules
|
|
13
|
-
run: npm install
|
|
14
|
-
- name: Run build
|
|
15
|
-
run: npm run build
|
|
16
|
-
lint:
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@v4
|
|
20
|
-
- name: Install modules
|
|
21
|
-
run: npm install
|
|
22
|
-
- name: Run eslint
|
|
23
|
-
run: npm run eslint
|
|
24
|
-
- name: Run stylelint
|
|
25
|
-
run: npm run stylelint
|
|
26
|
-
- name: Run prettier
|
|
27
|
-
run: npm run prettier -- --check
|
package/.husky/commit-msg
DELETED
package/.husky/pre-commit
DELETED
package/.prettierignore
DELETED
package/.stylelintignore
DELETED
package/.versionrc.cjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
const config = {
|
|
2
|
-
types: [
|
|
3
|
-
{
|
|
4
|
-
type: "feat",
|
|
5
|
-
section: "Features",
|
|
6
|
-
hidden: false,
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
type: "fix",
|
|
10
|
-
section: "Bug Fixes",
|
|
11
|
-
hidden: false,
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
type: "perf",
|
|
15
|
-
section: "Performance Improvements",
|
|
16
|
-
hidden: false,
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
type: "revert",
|
|
20
|
-
section: "Reverts",
|
|
21
|
-
hidden: false,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
type: "docs",
|
|
25
|
-
section: "Documentation",
|
|
26
|
-
hidden: false,
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
type: "style",
|
|
30
|
-
section: "Styles",
|
|
31
|
-
hidden: true,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
type: "chore",
|
|
35
|
-
section: "Miscellaneous Chores",
|
|
36
|
-
hidden: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
type: "refactor",
|
|
40
|
-
section: "Code Refactoring",
|
|
41
|
-
hidden: false,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
type: "test",
|
|
45
|
-
section: "Tests",
|
|
46
|
-
hidden: true,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: "build",
|
|
50
|
-
section: "Build System",
|
|
51
|
-
hidden: false,
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
type: "ci",
|
|
55
|
-
section: "Continuous Integration",
|
|
56
|
-
hidden: false,
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
module.exports = config;
|