@kunver/new 2.11.0 → 2.12.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 (182) hide show
  1. package/dist/index.js +0 -0
  2. package/dist/templates/wxt-svelte/agents.md +63 -0
  3. package/dist/templates/wxt-svelte/package.json +10 -11
  4. package/dist/templates/wxt-svelte/src/entrypoints/options/App.svelte +7 -0
  5. package/dist/templates/wxt-svelte/src/entrypoints/options/index.html +13 -0
  6. package/dist/templates/wxt-svelte/src/entrypoints/options/main.ts +9 -0
  7. package/dist/templates/wxt-svelte/wxt.config.ts +1 -0
  8. package/package.json +1 -1
  9. package/dist/templates/wxt-solid/.prettierrc.json +0 -11
  10. package/dist/templates/wxt-svelte/.wxt/tsconfig.json +0 -28
  11. package/dist/templates/wxt-svelte/.wxt/types/globals.d.ts +0 -15
  12. package/dist/templates/wxt-svelte/.wxt/types/i18n.d.ts +0 -81
  13. package/dist/templates/wxt-svelte/.wxt/types/imports-module.d.ts +0 -21
  14. package/dist/templates/wxt-svelte/.wxt/types/imports.d.ts +0 -60
  15. package/dist/templates/wxt-svelte/.wxt/types/paths.d.ts +0 -21
  16. package/dist/templates/wxt-svelte/.wxt/wxt.d.ts +0 -8
  17. package/dist/templates/wxt-svelte/node_modules/.bin/acorn.bunx +0 -0
  18. package/dist/templates/wxt-svelte/node_modules/.bin/acorn.exe +0 -0
  19. package/dist/templates/wxt-svelte/node_modules/.bin/adbkit.bunx +0 -0
  20. package/dist/templates/wxt-svelte/node_modules/.bin/adbkit.exe +0 -0
  21. package/dist/templates/wxt-svelte/node_modules/.bin/esbuild.bunx +0 -0
  22. package/dist/templates/wxt-svelte/node_modules/.bin/esbuild.exe +0 -0
  23. package/dist/templates/wxt-svelte/node_modules/.bin/firefox-profile.bunx +0 -0
  24. package/dist/templates/wxt-svelte/node_modules/.bin/firefox-profile.exe +0 -0
  25. package/dist/templates/wxt-svelte/node_modules/.bin/fx-runner.bunx +0 -0
  26. package/dist/templates/wxt-svelte/node_modules/.bin/fx-runner.exe +0 -0
  27. package/dist/templates/wxt-svelte/node_modules/.bin/giget.bunx +0 -0
  28. package/dist/templates/wxt-svelte/node_modules/.bin/giget.exe +0 -0
  29. package/dist/templates/wxt-svelte/node_modules/.bin/is-docker.bunx +0 -0
  30. package/dist/templates/wxt-svelte/node_modules/.bin/is-docker.exe +0 -0
  31. package/dist/templates/wxt-svelte/node_modules/.bin/is-in-ci.bunx +0 -0
  32. package/dist/templates/wxt-svelte/node_modules/.bin/is-in-ci.exe +0 -0
  33. package/dist/templates/wxt-svelte/node_modules/.bin/is-inside-container.bunx +0 -0
  34. package/dist/templates/wxt-svelte/node_modules/.bin/is-inside-container.exe +0 -0
  35. package/dist/templates/wxt-svelte/node_modules/.bin/jiti.bunx +0 -0
  36. package/dist/templates/wxt-svelte/node_modules/.bin/jiti.exe +0 -0
  37. package/dist/templates/wxt-svelte/node_modules/.bin/json5.bunx +0 -0
  38. package/dist/templates/wxt-svelte/node_modules/.bin/json5.exe +0 -0
  39. package/dist/templates/wxt-svelte/node_modules/.bin/nanoid.bunx +0 -0
  40. package/dist/templates/wxt-svelte/node_modules/.bin/nanoid.exe +0 -0
  41. package/dist/templates/wxt-svelte/node_modules/.bin/nypm.bunx +0 -0
  42. package/dist/templates/wxt-svelte/node_modules/.bin/nypm.exe +0 -0
  43. package/dist/templates/wxt-svelte/node_modules/.bin/parser.bunx +0 -0
  44. package/dist/templates/wxt-svelte/node_modules/.bin/parser.exe +0 -0
  45. package/dist/templates/wxt-svelte/node_modules/.bin/pino.bunx +0 -0
  46. package/dist/templates/wxt-svelte/node_modules/.bin/pino.exe +0 -0
  47. package/dist/templates/wxt-svelte/node_modules/.bin/print-chrome-path.bunx +0 -0
  48. package/dist/templates/wxt-svelte/node_modules/.bin/print-chrome-path.exe +0 -0
  49. package/dist/templates/wxt-svelte/node_modules/.bin/publish-extension.bunx +0 -0
  50. package/dist/templates/wxt-svelte/node_modules/.bin/publish-extension.exe +0 -0
  51. package/dist/templates/wxt-svelte/node_modules/.bin/rc.bunx +0 -0
  52. package/dist/templates/wxt-svelte/node_modules/.bin/rc.exe +0 -0
  53. package/dist/templates/wxt-svelte/node_modules/.bin/rollup-plugin-visualizer.bunx +0 -0
  54. package/dist/templates/wxt-svelte/node_modules/.bin/rollup-plugin-visualizer.exe +0 -0
  55. package/dist/templates/wxt-svelte/node_modules/.bin/rollup.bunx +0 -0
  56. package/dist/templates/wxt-svelte/node_modules/.bin/rollup.exe +0 -0
  57. package/dist/templates/wxt-svelte/node_modules/.bin/semver.bunx +0 -0
  58. package/dist/templates/wxt-svelte/node_modules/.bin/semver.exe +0 -0
  59. package/dist/templates/wxt-svelte/node_modules/.bin/svelte-check.bunx +0 -0
  60. package/dist/templates/wxt-svelte/node_modules/.bin/svelte-check.exe +0 -0
  61. package/dist/templates/wxt-svelte/node_modules/.bin/tsc.bunx +0 -0
  62. package/dist/templates/wxt-svelte/node_modules/.bin/tsc.exe +0 -0
  63. package/dist/templates/wxt-svelte/node_modules/.bin/tsserver.bunx +0 -0
  64. package/dist/templates/wxt-svelte/node_modules/.bin/tsserver.exe +0 -0
  65. package/dist/templates/wxt-svelte/node_modules/.bin/uuid.bunx +0 -0
  66. package/dist/templates/wxt-svelte/node_modules/.bin/uuid.exe +0 -0
  67. package/dist/templates/wxt-svelte/node_modules/.bin/vite-node.bunx +0 -0
  68. package/dist/templates/wxt-svelte/node_modules/.bin/vite-node.exe +0 -0
  69. package/dist/templates/wxt-svelte/node_modules/.bin/vite.bunx +0 -0
  70. package/dist/templates/wxt-svelte/node_modules/.bin/vite.exe +0 -0
  71. package/dist/templates/wxt-svelte/node_modules/.bin/which.bunx +0 -0
  72. package/dist/templates/wxt-svelte/node_modules/.bin/which.exe +0 -0
  73. package/dist/templates/wxt-svelte/node_modules/.bin/wxt-publish-extension.bunx +0 -0
  74. package/dist/templates/wxt-svelte/node_modules/.bin/wxt-publish-extension.exe +0 -0
  75. package/dist/templates/wxt-svelte/node_modules/.bin/wxt.bunx +0 -0
  76. package/dist/templates/wxt-svelte/node_modules/.bin/wxt.exe +0 -0
  77. package/dist/templates/wxt-svelte/node_modules/.cache/jiti/wxt-svelte-wxt.config.8de5262d.mjs +0 -14
  78. package/dist/templates/wxt-svelte/node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts +0 -32
  79. package/dist/templates/wxt-svelte/node_modules/.svelte2tsx-language-server-files/svelte-shims-v4.d.ts +0 -290
  80. package/dist/templates/wxt-svelte/node_modules/.vite/_svelte_metadata.json +0 -1
  81. package/dist/templates/wxt-svelte/node_modules/@devicefarmer/adbkit/.github/dependabot.yml +0 -46
  82. package/dist/templates/wxt-svelte/node_modules/@devicefarmer/adbkit-monkey/.github/dependabot.yml +0 -23
  83. package/dist/templates/wxt-svelte/node_modules/@devicefarmer/adbkit-monkey/.semaphore/publish.yml +0 -19
  84. package/dist/templates/wxt-svelte/node_modules/@devicefarmer/adbkit-monkey/.semaphore/semaphore.yml +0 -24
  85. package/dist/templates/wxt-svelte/node_modules/atomic-sleep/.travis.yml +0 -11
  86. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/3e844113-839b-4b48-a102-297deb37538a.json +0 -1
  87. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/a2b562cc-4021-472c-b0e7-61b08d0856cc.json +0 -1
  88. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/af7432be-6f17-4c42-94eb-ac00c46b95fc.json +0 -1
  89. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/ceeeef50-6926-41c0-91b2-771446718957.json +0 -1
  90. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/e69c4534-8d9f-4c8d-98f1-55020da1bd75.json +0 -1
  91. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/processinfo/3e844113-839b-4b48-a102-297deb37538a.json +0 -1
  92. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/processinfo/a2b562cc-4021-472c-b0e7-61b08d0856cc.json +0 -1
  93. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/processinfo/af7432be-6f17-4c42-94eb-ac00c46b95fc.json +0 -1
  94. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/processinfo/ceeeef50-6926-41c0-91b2-771446718957.json +0 -1
  95. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/processinfo/e69c4534-8d9f-4c8d-98f1-55020da1bd75.json +0 -1
  96. package/dist/templates/wxt-svelte/node_modules/atomically/.nyc_output/processinfo/index.json +0 -1
  97. package/dist/templates/wxt-svelte/node_modules/atomically/.tap/processinfo/1139a7eb-c451-490b-a796-93ec17c301b4.json +0 -244
  98. package/dist/templates/wxt-svelte/node_modules/atomically/.tap/processinfo/2f325add-3ccd-4eb0-9a8e-03fcae4dda09.json +0 -245
  99. package/dist/templates/wxt-svelte/node_modules/atomically/.tap/processinfo/727ff5b3-573d-4552-853f-883cb2c42a43.json +0 -245
  100. package/dist/templates/wxt-svelte/node_modules/atomically/.tap/processinfo/cbbc81f4-251f-4e57-969f-e5e3622d90cd.json +0 -245
  101. package/dist/templates/wxt-svelte/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  102. package/dist/templates/wxt-svelte/node_modules/chrome-launcher/.clang-format +0 -6
  103. package/dist/templates/wxt-svelte/node_modules/chrome-launcher/.github/workflows/ci.yml +0 -56
  104. package/dist/templates/wxt-svelte/node_modules/chrome-launcher/.github/workflows/lh-smoke.yml +0 -48
  105. package/dist/templates/wxt-svelte/node_modules/concat-map/.travis.yml +0 -4
  106. package/dist/templates/wxt-svelte/node_modules/deepmerge/.editorconfig +0 -7
  107. package/dist/templates/wxt-svelte/node_modules/deepmerge/.eslintcache +0 -1
  108. package/dist/templates/wxt-svelte/node_modules/entities/src/generated/.eslintrc.json +0 -10
  109. package/dist/templates/wxt-svelte/node_modules/fast-redact/.github/workflows/ci.yml +0 -37
  110. package/dist/templates/wxt-svelte/node_modules/fastq/.github/dependabot.yml +0 -11
  111. package/dist/templates/wxt-svelte/node_modules/fastq/.github/workflows/ci.yml +0 -75
  112. package/dist/templates/wxt-svelte/node_modules/firefox-profile/.github/workflows/ci.yml +0 -22
  113. package/dist/templates/wxt-svelte/node_modules/firefox-profile/.prettierrc +0 -6
  114. package/dist/templates/wxt-svelte/node_modules/fx-runner/.circleci/config.yml +0 -152
  115. package/dist/templates/wxt-svelte/node_modules/fx-runner/.github/dependabot.yml +0 -7
  116. package/dist/templates/wxt-svelte/node_modules/glob-to-regexp/.travis.yml +0 -4
  117. package/dist/templates/wxt-svelte/node_modules/graceful-readlink/.travis.yml +0 -5
  118. package/dist/templates/wxt-svelte/node_modules/is-arrayish/.editorconfig +0 -18
  119. package/dist/templates/wxt-svelte/node_modules/is-arrayish/.istanbul.yml +0 -4
  120. package/dist/templates/wxt-svelte/node_modules/is-arrayish/.travis.yml +0 -17
  121. package/dist/templates/wxt-svelte/node_modules/is-inside-container/node_modules/.bin/is-docker.bunx +0 -0
  122. package/dist/templates/wxt-svelte/node_modules/is-inside-container/node_modules/.bin/is-docker.exe +0 -0
  123. package/dist/templates/wxt-svelte/node_modules/isarray/.travis.yml +0 -4
  124. package/dist/templates/wxt-svelte/node_modules/jszip/.codeclimate.yml +0 -16
  125. package/dist/templates/wxt-svelte/node_modules/jszip/.editorconfig +0 -8
  126. package/dist/templates/wxt-svelte/node_modules/jszip/.eslintrc.js +0 -43
  127. package/dist/templates/wxt-svelte/node_modules/jszip/.github/workflows/pr.yaml +0 -58
  128. package/dist/templates/wxt-svelte/node_modules/jszip/.jekyll-metadata +0 -0
  129. package/dist/templates/wxt-svelte/node_modules/jszip/.travis.yml +0 -17
  130. package/dist/templates/wxt-svelte/node_modules/linkedom/.github/workflows/node.js.yml +0 -31
  131. package/dist/templates/wxt-svelte/node_modules/minimist/.eslintrc +0 -29
  132. package/dist/templates/wxt-svelte/node_modules/minimist/.github/FUNDING.yml +0 -12
  133. package/dist/templates/wxt-svelte/node_modules/minimist/.nycrc +0 -14
  134. package/dist/templates/wxt-svelte/node_modules/node-notifier/.github/workflows/test.yml +0 -23
  135. package/dist/templates/wxt-svelte/node_modules/node-notifier/.prettierrc +0 -5
  136. package/dist/templates/wxt-svelte/node_modules/node-notifier/node_modules/.bin/node-which.bunx +0 -0
  137. package/dist/templates/wxt-svelte/node_modules/node-notifier/node_modules/.bin/node-which.exe +0 -0
  138. package/dist/templates/wxt-svelte/node_modules/on-exit-leak-free/.github/dependabot.yml +0 -12
  139. package/dist/templates/wxt-svelte/node_modules/on-exit-leak-free/.github/workflows/ci.yml +0 -46
  140. package/dist/templates/wxt-svelte/node_modules/os-shim/.editorconfig +0 -9
  141. package/dist/templates/wxt-svelte/node_modules/os-shim/.travis.yml +0 -8
  142. package/dist/templates/wxt-svelte/node_modules/pino/.eslintignore +0 -2
  143. package/dist/templates/wxt-svelte/node_modules/pino/.eslintrc +0 -8
  144. package/dist/templates/wxt-svelte/node_modules/pino/.github/dependabot.yml +0 -13
  145. package/dist/templates/wxt-svelte/node_modules/pino/.github/workflows/bench.yml +0 -61
  146. package/dist/templates/wxt-svelte/node_modules/pino/.github/workflows/ci.yml +0 -88
  147. package/dist/templates/wxt-svelte/node_modules/pino/.github/workflows/lock-threads.yml +0 -30
  148. package/dist/templates/wxt-svelte/node_modules/pino/.github/workflows/target-main.yml +0 -23
  149. package/dist/templates/wxt-svelte/node_modules/pino/.nojekyll +0 -0
  150. package/dist/templates/wxt-svelte/node_modules/pino/.prettierignore +0 -1
  151. package/dist/templates/wxt-svelte/node_modules/pino/.taprc.yaml +0 -8
  152. package/dist/templates/wxt-svelte/node_modules/pino-abstract-transport/.github/dependabot.yml +0 -13
  153. package/dist/templates/wxt-svelte/node_modules/pino-abstract-transport/.github/workflows/ci.yml +0 -97
  154. package/dist/templates/wxt-svelte/node_modules/pino-abstract-transport/.husky/pre-commit +0 -4
  155. package/dist/templates/wxt-svelte/node_modules/pino-std-serializers/.editorconfig +0 -13
  156. package/dist/templates/wxt-svelte/node_modules/pino-std-serializers/.eslintignore +0 -2
  157. package/dist/templates/wxt-svelte/node_modules/pino-std-serializers/.github/dependabot.yml +0 -13
  158. package/dist/templates/wxt-svelte/node_modules/pino-std-serializers/.github/workflows/ci.yml +0 -81
  159. package/dist/templates/wxt-svelte/node_modules/process-warning/.gitattributes +0 -2
  160. package/dist/templates/wxt-svelte/node_modules/process-warning/.github/dependabot.yml +0 -13
  161. package/dist/templates/wxt-svelte/node_modules/process-warning/.github/workflows/ci.yml +0 -22
  162. package/dist/templates/wxt-svelte/node_modules/quick-format-unescaped/.github/workflows/ci.yml +0 -21
  163. package/dist/templates/wxt-svelte/node_modules/readable-stream/.travis.yml +0 -34
  164. package/dist/templates/wxt-svelte/node_modules/require-directory/.jshintrc +0 -67
  165. package/dist/templates/wxt-svelte/node_modules/require-directory/.travis.yml +0 -3
  166. package/dist/templates/wxt-svelte/node_modules/reusify/.github/dependabot.yml +0 -7
  167. package/dist/templates/wxt-svelte/node_modules/reusify/.github/workflows/ci.yml +0 -96
  168. package/dist/templates/wxt-svelte/node_modules/rfdc/.github/workflows/ci.yml +0 -21
  169. package/dist/templates/wxt-svelte/node_modules/shell-quote/.github/workflows/nodejs.yml +0 -35
  170. package/dist/templates/wxt-svelte/node_modules/sonic-boom/.eslintignore +0 -2
  171. package/dist/templates/wxt-svelte/node_modules/sonic-boom/.taprc +0 -3
  172. package/dist/templates/wxt-svelte/node_modules/spawn-sync/.travis.yml +0 -8
  173. package/dist/templates/wxt-svelte/node_modules/split/.travis.yml +0 -3
  174. package/dist/templates/wxt-svelte/node_modules/string_decoder/.travis.yml +0 -50
  175. package/dist/templates/wxt-svelte/node_modules/thread-stream/.github/dependabot.yml +0 -13
  176. package/dist/templates/wxt-svelte/node_modules/thread-stream/.github/workflows/ci.yml +0 -94
  177. package/dist/templates/wxt-svelte/node_modules/thread-stream/.husky/pre-commit +0 -4
  178. package/dist/templates/wxt-svelte/node_modules/thread-stream/.taprc +0 -4
  179. package/dist/templates/wxt-svelte/node_modules/through/.travis.yml +0 -5
  180. package/dist/templates/wxt-svelte/node_modules/typedarray/.travis.yml +0 -4
  181. package/dist/templates/wxt-svelte/node_modules/which/.travis.yml +0 -6
  182. package/dist/templates/wxt-svelte/node_modules/zip-dir/.travis.yml +0 -3
@@ -1,48 +0,0 @@
1
- name: smoke
2
-
3
- on:
4
- push:
5
- branches: [main]
6
- pull_request: # run on all PRs, not just PRs to a particular branch
7
-
8
- jobs:
9
- # Only run smoke tests for windows against stable chrome.
10
- lh-smoke-windows:
11
- strategy:
12
- matrix:
13
- smoke-test-shard: [1, 2]
14
- # e.g. if set 1 fails, continue with set 2 anyway
15
- fail-fast: false
16
- runs-on: windows-latest
17
- name: Windows smoke ${{ matrix.smoke-test-shard }}/2
18
-
19
- steps:
20
- - name: git clone
21
- uses: actions/checkout@v3
22
-
23
- - name: Use Node.js
24
- uses: actions/setup-node@v3
25
- with:
26
- node-version: lts/*
27
- cache: 'yarn'
28
-
29
- # chrome-launcher
30
- # This'll add lighthouse AND install chrome-launcher's deps
31
- - run: yarn add --frozen-lockfile --network-timeout 1000000 -D https://github.com/GoogleChrome/lighthouse.git#main
32
- - run: yarn build
33
-
34
- # lighthouse
35
- - run: yarn --cwd node_modules/lighthouse/ install --frozen-lockfile --network-timeout 1000000
36
- - run: yarn reset-link
37
- - run: yarn --cwd node_modules/lighthouse/ build-report
38
-
39
- - name: Run smoke tests
40
- # Windows bots are slow, so only run enough tests to verify matching behavior.
41
- run: yarn --cwd node_modules/lighthouse/ smoke --debug -j=2 --retries=5 --shard=${{ matrix.smoke-test-shard }}/2 dbw oopif offline lantern metrics
42
-
43
- - name: Upload failures
44
- if: failure()
45
- uses: actions/upload-artifact@v4
46
- with:
47
- name: Smokehouse (windows)
48
- path: node_modules/lighthouse/.tmp/smokehouse-ci-failures/
@@ -1,4 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - 0.4
4
- - 0.6
@@ -1,7 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = tab
5
- end_of_line = lf
6
- trim_trailing_whitespace = true
7
- insert_final_newline = true
@@ -1 +0,0 @@
1
- [{"/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js":"1"},{"size":1990,"mtime":1679007485753,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ktjd5k","/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js",[],[]]
@@ -1,10 +0,0 @@
1
- {
2
- "rules": {
3
- "multiline-comment-style": 0,
4
- "capitalized-comments": 0,
5
- "unicorn/escape-case": 0,
6
- "unicorn/no-hex-escape": 0,
7
- "unicorn/numeric-separators-style": 0,
8
- "unicorn/prefer-spread": 0
9
- }
10
- }
@@ -1,37 +0,0 @@
1
- name: ci
2
-
3
- on: [push, pull_request]
4
-
5
- # This allows a subsequently queued workflow run to interrupt previous runs
6
- concurrency:
7
- group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
8
- cancel-in-progress: true
9
-
10
- jobs:
11
- test:
12
- runs-on: ubuntu-latest
13
-
14
- permissions:
15
- contents: read
16
-
17
- strategy:
18
- matrix:
19
- node-version: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x]
20
-
21
- steps:
22
- - uses: actions/checkout@v3
23
- with:
24
- persist-credentials: false
25
-
26
- - name: Use Node.js
27
- uses: actions/setup-node@v3
28
- with:
29
- node-version: ${{ matrix.node-version }}
30
-
31
- - name: Install
32
- run: |
33
- npm install
34
-
35
- - name: Run tests
36
- run: |
37
- npm run test
@@ -1,11 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: "/"
5
- schedule:
6
- interval: daily
7
- open-pull-requests-limit: 10
8
- ignore:
9
- - dependency-name: standard
10
- versions:
11
- - 16.0.3
@@ -1,75 +0,0 @@
1
- name: ci
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- legacy:
7
- runs-on: ubuntu-latest
8
-
9
- strategy:
10
- matrix:
11
- node-version: ['0.10', '0.12', 4.x, 6.x, 8.x, 10.x, 12.x, 13.x, 14.x, 15.x, 16.x]
12
-
13
- steps:
14
- - uses: actions/checkout@v3
15
- with:
16
- persist-credentials: false
17
-
18
- - name: Use Node.js
19
- uses: actions/setup-node@v1
20
- with:
21
- node-version: ${{ matrix.node-version }}
22
-
23
- - name: Install
24
- run: |
25
- npm install --production && npm install tape
26
-
27
- - name: Run tests
28
- run: |
29
- npm run legacy
30
-
31
- test:
32
- runs-on: ubuntu-latest
33
-
34
- strategy:
35
- matrix:
36
- node-version: [18.x, 20.x, 22.x]
37
-
38
- steps:
39
- - uses: actions/checkout@v3
40
- with:
41
- persist-credentials: false
42
-
43
- - name: Use Node.js
44
- uses: actions/setup-node@v3
45
- with:
46
- node-version: ${{ matrix.node-version }}
47
-
48
- - name: Install
49
- run: |
50
- npm install
51
-
52
- - name: Run tests
53
- run: |
54
- npm run test
55
-
56
- types:
57
- runs-on: ubuntu-latest
58
-
59
- steps:
60
- - uses: actions/checkout@v3
61
- with:
62
- persist-credentials: false
63
-
64
- - name: Use Node.js
65
- uses: actions/setup-node@v3
66
- with:
67
- node-version: 16
68
-
69
- - name: Install
70
- run: |
71
- npm install
72
-
73
- - name: Run types tests
74
- run: |
75
- npm run typescript
@@ -1,22 +0,0 @@
1
- name: CI
2
- on:
3
- - push
4
- - pull_request
5
- jobs:
6
- test:
7
- name: Node.js ${{ matrix.node-version }}
8
- runs-on: ubuntu-latest
9
- strategy:
10
- fail-fast: false
11
- matrix:
12
- node-version:
13
- - 18
14
- - 20
15
- - 22
16
- steps:
17
- - uses: actions/checkout@v4
18
- - uses: actions/setup-node@v4
19
- with:
20
- node-version: ${{ matrix.node-version }}
21
- - run: npm install
22
- - run: npm test
@@ -1,6 +0,0 @@
1
- {
2
- "printWidth": 80,
3
- "singleQuote": true,
4
- "trailingComma": "es5",
5
- "tabWidth": 2
6
- }
@@ -1,152 +0,0 @@
1
- # These environment variables must be set in CircleCI UI
2
- #
3
- # NPM_TOKEN - A valid NPM token for releases
4
- #
5
- # NOTE:
6
- # - to validate changes to this file locally using the circleci CLI tool:
7
- #
8
- # circleci config process .circleci/config.yml
9
- #
10
- # - to try run jobs locally:
11
- #
12
- # circleci config process .circleci/config.yml > tmp/processed.yaml
13
- # circleci local execute -c tmp/processed.yml --job build-nodejs-current
14
- #
15
- version: 2.1
16
-
17
- references:
18
- # NOTE: update the nodejs version strings that follows to change the
19
- # set of nodejs versions that should be tested.
20
- # The nodejs version set as `nodejs_current` is the one used to
21
- # release the package on npm.
22
- nodejs_versions:
23
- - &nodejs_current "14.19"
24
- - &nodejs_next "16.14"
25
- - &nodejs_experimental "17.7"
26
-
27
- nodejs_enum: &nodejs_enum
28
- type: enum
29
- default: *nodejs_current
30
- enum:
31
- - *nodejs_current
32
- - *nodejs_next
33
- - *nodejs_experimental
34
- repo_path: &repo_path ~/web-ext
35
- defaults: &defaults
36
- working_directory: *repo_path
37
-
38
- commands:
39
- attach_project_repo:
40
- description: attach repo from workspace
41
- steps:
42
- - attach_workspace:
43
- at: *repo_path
44
-
45
- persist_project_repo:
46
- description: persist repo in workspace
47
- steps:
48
- - persist_to_workspace:
49
- root: *repo_path
50
- paths: .
51
-
52
- restore_build_cache:
53
- description: restore npm package cache
54
- parameters:
55
- suffix:
56
- type: string
57
- default: default
58
- steps:
59
- - restore_cache:
60
- keys:
61
- - npm-packages-{{ checksum "package-lock.json" }}-<< parameters.suffix >>
62
-
63
- save_build_cache:
64
- description: save npm package cache
65
- parameters:
66
- suffix:
67
- type: string
68
- default: default
69
- steps:
70
- - save_cache:
71
- key: npm-packages-{{ checksum "package-lock.json" }}-<< parameters.suffix >>
72
- paths:
73
- - ./node_modules
74
-
75
- run_npm_ci:
76
- description: install npm dependencies
77
- steps:
78
- - run: npm ci
79
-
80
- jobs:
81
- build:
82
- parameters:
83
- nodejs:
84
- <<: *nodejs_enum
85
- <<: *defaults
86
- docker:
87
- - image: cimg/node:<< parameters.nodejs >>
88
- steps:
89
- - attach_project_repo
90
- - checkout
91
- - restore_build_cache:
92
- suffix: << parameters.nodejs >>
93
- - run_npm_ci
94
- - run: npm run test
95
- ## Only persist the workspace once (for the same nodejs
96
- ## version that release_tag will be executed for).
97
- - when:
98
- condition:
99
- equal: [*nodejs_current, << parameters.nodejs >>]
100
- steps:
101
- - persist_project_repo
102
- - save_build_cache:
103
- suffix: << parameters.nodejs >>
104
-
105
- release-tag:
106
- parameters:
107
- nodejs:
108
- <<: *nodejs_enum
109
- <<: *defaults
110
- docker:
111
- - image: cimg/node:<< parameters.nodejs >>
112
- steps:
113
- - attach_project_repo
114
- - run:
115
- name: npm registry auth
116
- command: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
117
- - run:
118
- name: npm registry publish
119
- command: npm publish
120
-
121
- workflows:
122
- default-workflow:
123
- jobs:
124
- - build:
125
- name: build-nodejs-current
126
- nodejs: *nodejs_current
127
- filters:
128
- tags:
129
- only: /.*/
130
- - build:
131
- name: build-nodejs-next
132
- nodejs: *nodejs_next
133
- filters:
134
- tags:
135
- only: /.*/
136
- - build:
137
- name: build-nodejs-experimental
138
- nodejs: *nodejs_experimental
139
- filters:
140
- tags:
141
- only: /.*/
142
- - release-tag:
143
- nodejs: *nodejs_current
144
- requires:
145
- - build-nodejs-current
146
- - build-nodejs-next
147
- - build-nodejs-experimental
148
- filters:
149
- tags:
150
- only: /.*/
151
- branches:
152
- ignore: /.*/
@@ -1,7 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: "npm"
4
- directory: "/"
5
- schedule:
6
- interval: "weekly"
7
- open-pull-requests-limit: 99
@@ -1,4 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - 0.8
4
- - "0.10"
@@ -1,5 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "0.10"
4
- - "0.12"
5
- - "io.js"
@@ -1,18 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = tab
5
- end_of_line = lf
6
- charset = utf-8
7
- trim_trailing_whitespace = true
8
- insert_final_newline = true
9
-
10
- [*.coffee]
11
- indent_style = space
12
-
13
- [{package.json,*.yml}]
14
- indent_style = space
15
- indent_size = 2
16
-
17
- [*.md]
18
- trim_trailing_whitespace = false
@@ -1,4 +0,0 @@
1
- instrumentation:
2
- excludes:
3
- - test.js
4
- - test/**/*
@@ -1,17 +0,0 @@
1
- language: node_js
2
-
3
- script:
4
- - node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --compilers coffee:coffee-script/register
5
- - cat coverage/lcov.info | node_modules/.bin/coveralls
6
- node_js:
7
- - "0.10"
8
- - "0.11"
9
- - "0.12"
10
- - "iojs"
11
- os:
12
- - linux
13
- - osx
14
-
15
- notifications:
16
- slack:
17
- secure: oOt8QGzdrPDsTMcyahtIq5Q+0U1iwfgJgFCxBLsomQ0bpIMn+y5m4viJydA2UinHPGc944HS3LMZS9iKQyv+DjTgbhUyNXqeVjtxCwRe37f5rKQlXVvdfmjHk2kln4H8DcK3r5Qd/+2hd9BeMsp2GImTrkRSud1CZQlhhe5IgZOboSoWpGVMMy1iazWT06tAtiB2LRVhmsdUaFZDWAhGZ+UAvCPf+mnBOAylIj+U0GDrofhfTi25RK0gddG2f/p2M1HCu49O6wECGWkt2hVei233DkNJyLLLJVcvmhf+aXkV5TjMyaoxh/HdcV4DrA7KvYuWmWWKsINa9hlwAsdd/FYmJ6PjRkKWas2JoQ1C+qOzDxyQvn3CaUZFKD99pdsq0rBBZujqXQKZZ/hWb/CE74BI6fKmqQkiEPaD/7uADj04FEg6HVBZaMCyauOaK5b3VC97twbALZ1qVxYV6mU+zSEvnUbpnjjvRO0fSl9ZHA+rzkW73kX3GmHY0wAozEZbSy7QLuZlQ2QtHmBLr+APaGMdL1sFF9qFfzqKy0WDbSE0WS6hpAEJpTsjYmeBrnI8UmK3m++iEgyQPvZoH9LhUT+ek7XIfHZMe04BmC6wuO24/RfpmR6bQK9VMarFCYlBiWxg/z30vkP0KTpUi3o/cqFm7/Noxc0i2LVqM3E0Sy4=
@@ -1,4 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "0.8"
4
- - "0.10"
@@ -1,16 +0,0 @@
1
- ---
2
- engines:
3
- duplication:
4
- enabled: true
5
- config:
6
- languages:
7
- - javascript
8
- eslint:
9
- enabled: true
10
- fixme:
11
- enabled: true
12
- ratings:
13
- paths:
14
- - "lib/*.js"
15
- exclude_paths:
16
- - "dist/*"
@@ -1,8 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- insert_final_newline = true
6
- charset = utf-8
7
- indent_style = space
8
- indent_size = 4
@@ -1,43 +0,0 @@
1
- "use strict";
2
-
3
- module.exports = {
4
- "env": {
5
- "browser": true,
6
- "commonjs": true,
7
- "es2021": true,
8
- "node": true
9
- },
10
- "extends": "eslint:recommended",
11
- "parserOptions": {
12
- "ecmaVersion": "latest"
13
- },
14
- "ignorePatterns": ["vendor/*.js", "dist/*.js", "test/jquery-1.8.3.min.js"],
15
- "rules": {
16
- "indent": [
17
- "error",
18
- 4
19
- ],
20
- "linebreak-style": [
21
- "error",
22
- "unix"
23
- ],
24
- "quotes": [
25
- "error",
26
- "double"
27
- ],
28
- "semi": [
29
- "error",
30
- "always"
31
- ],
32
- "curly": "error",
33
- "eqeqeq": "error",
34
- "no-new": "error",
35
- "no-caller": "error",
36
- "guard-for-in": "error",
37
- "no-extend-native": "error",
38
- "strict": [
39
- "error",
40
- "global"
41
- ],
42
- }
43
- };
@@ -1,58 +0,0 @@
1
- name: pull-request
2
-
3
- on:
4
- pull_request:
5
- branches: [ main ]
6
- push:
7
- branches: [ main ]
8
-
9
- jobs:
10
- test:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: actions/checkout@v2
14
-
15
- - uses: actions/setup-node@v2
16
- with:
17
- node-version: 'lts/*'
18
- cache: 'npm'
19
-
20
- - name: Cache Node modules
21
- uses: actions/cache@v3
22
- id: npm-cache
23
- with:
24
- path: ~/.npm
25
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26
- restore-keys: |
27
- ${{ runner.os }}-node-
28
-
29
- - name: Install dependencies
30
- run: |
31
- npm install
32
- sudo npx playwright install-deps
33
-
34
- - name: Lint
35
- run: npm run lint
36
- - name: Test
37
- run: npm test
38
-
39
- - name: Benchmark
40
- run: npm run benchmark | tee benchmark.txt
41
-
42
- - name: Download previous benchmark data
43
- uses: actions/cache@v3
44
- with:
45
- path: ./cache
46
- key: ${{ runner.os }}-benchmark
47
-
48
- - name: Store benchmark result
49
- uses: benchmark-action/github-action-benchmark@v1
50
- with:
51
- tool: 'benchmarkjs'
52
- output-file-path: benchmark.txt
53
- external-data-json-path: ./cache/benchmark-data.json
54
- github-token: ${{ secrets.GITHUB_TOKEN }}
55
- alert-threshold: '150%'
56
- comment-on-alert: true
57
- fail-on-alert: true
58
- alert-comment-cc-users: '@Stuk'
@@ -1,17 +0,0 @@
1
- language: node_js
2
- sudo: false
3
- matrix:
4
- include:
5
- - node_js: "stable"
6
- env: COMMAND=lint
7
- - node_js: "lts/*"
8
- env: COMMAND=test-node
9
- - node_js: "stable"
10
- env: COMMAND=test-node
11
- - node_js: "stable"
12
- env: COMMAND=test-browser
13
- env:
14
- global:
15
- - secure: MhA8GHU42X3GWTUMaqdZVvarx4BMjhQCUGNi3kvuD/iCmKVb7gMwj4jbds7AcJdsCRsRk8bBGzZs/E7HidBJMPDa5DhgLKy9EV1s42JlHq8lVzbJeWIGgrtyJvhVUkGRy2OJjnDSgh3U6elkQmvDn74jreSQc6m/yGoPFF1nqq8=
16
- - secure: qREw6aUu2DnB+2reMuHgygSkumRiJvt7Z5Fz4uEVoraqbe65e4PGhtzypr9uIgCN43vxS2D5tAIeDbfid5VQrWFUQnrC9O5Z5qgVPsKN94zZ1tvYurXI4wRlAg58nNjkfGXWhLI3VUjjDTp5gYcMqgfe5hpEFYUPnUQkKGnaqAk=
17
- script: npm run $COMMAND
@@ -1,31 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- name: build
5
-
6
- on: [push, pull_request]
7
-
8
- jobs:
9
- build:
10
-
11
- runs-on: ubuntu-latest
12
-
13
- strategy:
14
- matrix:
15
- node-version: [20]
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
- - name: Use Node.js ${{ matrix.node-version }}
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: ${{ matrix.node-version }}
23
- cache: 'npm'
24
- - run: npm ci
25
- - run: npm run build --if-present
26
- - run: npm test
27
- - run: npm run coverage --if-present
28
- - name: Coveralls
29
- uses: coverallsapp/github-action@master
30
- with:
31
- github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -1,29 +0,0 @@
1
- {
2
- "root": true,
3
-
4
- "extends": "@ljharb/eslint-config/node/0.4",
5
-
6
- "rules": {
7
- "array-element-newline": 0,
8
- "complexity": 0,
9
- "func-style": [2, "declaration"],
10
- "max-lines-per-function": 0,
11
- "max-nested-callbacks": 1,
12
- "max-statements-per-line": 1,
13
- "max-statements": 0,
14
- "multiline-comment-style": 0,
15
- "no-continue": 1,
16
- "no-param-reassign": 1,
17
- "no-restricted-syntax": 1,
18
- "object-curly-newline": 0,
19
- },
20
-
21
- "overrides": [
22
- {
23
- "files": "test/**",
24
- "rules": {
25
- "camelcase": 0,
26
- },
27
- },
28
- ]
29
- }