@cplieger/actions 1.0.0

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.
Files changed (50) hide show
  1. package/.editorconfig +19 -0
  2. package/.htmlvalidate.json +28 -0
  3. package/.stylelintrc.json +67 -0
  4. package/LICENSE +692 -0
  5. package/README.md +176 -0
  6. package/dist/src/api.d.ts +56 -0
  7. package/dist/src/api.js +158 -0
  8. package/dist/src/cleanup.d.ts +11 -0
  9. package/dist/src/cleanup.js +63 -0
  10. package/dist/src/debounce.d.ts +28 -0
  11. package/dist/src/debounce.js +91 -0
  12. package/dist/src/define-helpers.d.ts +20 -0
  13. package/dist/src/define-helpers.js +83 -0
  14. package/dist/src/define.d.ts +14 -0
  15. package/dist/src/define.js +627 -0
  16. package/dist/src/error.d.ts +42 -0
  17. package/dist/src/error.js +174 -0
  18. package/dist/src/index.d.ts +17 -0
  19. package/dist/src/index.js +22 -0
  20. package/dist/src/loading.d.ts +15 -0
  21. package/dist/src/loading.js +114 -0
  22. package/dist/src/notifier.d.ts +21 -0
  23. package/dist/src/notifier.js +21 -0
  24. package/dist/src/poll.d.ts +23 -0
  25. package/dist/src/poll.js +120 -0
  26. package/dist/src/registry.d.ts +18 -0
  27. package/dist/src/registry.js +210 -0
  28. package/dist/src/retry.d.ts +9 -0
  29. package/dist/src/retry.js +78 -0
  30. package/dist/src/transport.d.ts +46 -0
  31. package/dist/src/transport.js +70 -0
  32. package/dist/src/types.d.ts +157 -0
  33. package/dist/src/types.js +7 -0
  34. package/eslint.config.base.mjs +186 -0
  35. package/jsr.json +22 -0
  36. package/package.json +41 -0
  37. package/src/api.ts +209 -0
  38. package/src/cleanup.ts +76 -0
  39. package/src/debounce.ts +128 -0
  40. package/src/define-helpers.ts +97 -0
  41. package/src/define.ts +699 -0
  42. package/src/error.ts +184 -0
  43. package/src/index.ts +60 -0
  44. package/src/loading.ts +149 -0
  45. package/src/notifier.ts +41 -0
  46. package/src/poll.ts +150 -0
  47. package/src/registry.ts +225 -0
  48. package/src/retry.ts +80 -0
  49. package/src/transport.ts +112 -0
  50. package/src/types.ts +198 -0
package/.editorconfig ADDED
@@ -0,0 +1,19 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+ trim_trailing_whitespace = true
8
+ indent_style = space
9
+ indent_size = 2
10
+ max_line_length = 100
11
+
12
+ [*.go]
13
+ indent_style = tab
14
+
15
+ [Makefile]
16
+ indent_style = tab
17
+
18
+ [*.md]
19
+ trim_trailing_whitespace = false
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://html-validate.org/schemas/config.json",
3
+ "extends": [
4
+ "html-validate:recommended",
5
+ "html-validate:standard",
6
+ "html-validate:document",
7
+ "html-validate:a11y"
8
+ ],
9
+ "rules": {
10
+ "no-inline-style": "error",
11
+ "no-trailing-whitespace": "error",
12
+ "no-style-tag": "error",
13
+ "tel-non-breaking": "error",
14
+ "valid-id": "error",
15
+ "class-pattern": ["error", { "pattern": "kebabcase" }],
16
+ "id-pattern": ["error", { "pattern": ["camelcase", "kebabcase"] }],
17
+ "heading-level": "error",
18
+ "no-implicit-close": "error",
19
+ "no-implicit-button-type": "error",
20
+ "no-implicit-input-type": "error",
21
+ "input-missing-label": "error",
22
+ "no-redundant-aria-label": "error",
23
+ "no-redundant-role": "error",
24
+ "no-redundant-for": "error",
25
+ "no-unused-disable": "error",
26
+ "require-sri": "off"
27
+ }
28
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/stylelintrc",
3
+ "extends": ["stylelint-config-standard"],
4
+ "defaultSeverity": "error",
5
+ "reportDescriptionlessDisables": true,
6
+ "reportInvalidScopeDisables": true,
7
+ "reportNeedlessDisables": true,
8
+ "reportUnscopedDisables": true,
9
+ "rules": {
10
+ "declaration-block-single-line-max-declarations": null,
11
+ "declaration-no-important": true,
12
+ "declaration-property-value-no-unknown": true,
13
+ "function-no-unknown": true,
14
+ "max-nesting-depth": [
15
+ 4,
16
+ {
17
+ "ignore": ["blockless-at-rules", "pseudo-classes"]
18
+ }
19
+ ],
20
+ "no-unknown-animations": true,
21
+ "no-unknown-custom-properties": true,
22
+ "number-max-precision": [
23
+ 4,
24
+ {
25
+ "insideFunctions": {
26
+ "/^(oklch|oklab|lch|lab|color-mix)$/": 6
27
+ }
28
+ }
29
+ ],
30
+ "selector-max-id": 0,
31
+ "color-named": "never",
32
+ "color-hex-alpha": "never",
33
+ "font-weight-notation": "numeric",
34
+ "selector-no-qualifying-type": [
35
+ true,
36
+ {
37
+ "ignore": ["attribute", "class"]
38
+ }
39
+ ],
40
+ "selector-max-compound-selectors": 5,
41
+ "selector-max-specificity": "0,4,3",
42
+ "selector-max-pseudo-class": 3,
43
+ "selector-max-attribute": 2,
44
+ "selector-max-combinators": 4,
45
+ "selector-max-universal": 1,
46
+ "time-min-milliseconds": 10,
47
+ "at-rule-no-vendor-prefix": true,
48
+ "property-no-vendor-prefix": [
49
+ true,
50
+ {
51
+ "ignoreProperties": ["text-size-adjust", "font-smoothing", "tap-highlight-color"]
52
+ }
53
+ ],
54
+ "value-no-vendor-prefix": [
55
+ true,
56
+ {
57
+ "ignoreValues": ["box", "inline-box"]
58
+ }
59
+ ],
60
+ "selector-no-vendor-prefix": true,
61
+ "media-feature-name-no-vendor-prefix": true,
62
+ "no-descending-specificity": null,
63
+ "no-duplicate-selectors": null,
64
+ "comment-empty-line-before": null,
65
+ "rule-empty-line-before": null
66
+ }
67
+ }