Closed lamyergeier closed 8 months ago
Cloning into 'copy-selection-as-markdown'... remote: Enumerating objects: 1760, done. remote: Counting objects: 100% (331/331), done. remote: Compressing objects: 100% (155/155), done. remote: Total 1760 (delta 189), reused 305 (delta 176), pack-reused 1429 Receiving objects: 100% (1760/1760), 7.87 MiB | 8.28 MiB/s, done. Resolving deltas: 100% (712/712), done. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated sign-addon@5.3.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. added 1029 packages, and audited 1033 packages in 13s 14 vulnerabilities (7 moderate, 4 high, 3 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. > build > npm run build --workspace copy-selection-as-markdown-core --workspace copy-selection-as-markdown-firefox --workspace copy-selection-as-markdown-chromium > copy-selection-as-markdown-core@0.22.0 prebuild > npm-run-all clean > copy-selection-as-markdown-core@0.22.0 clean > rimraf dist/* > copy-selection-as-markdown-core@0.22.0 build > webpack asset copy.js 160 KiB [emitted] [minimized] (name: copy) 1 related asset asset copy-link.js 146 KiB [emitted] [minimized] (name: copy-link) 1 related asset asset settings.js 39.3 KiB [emitted] [minimized] (name: settings) asset browser-polyfill.min.js 9.78 KiB [emitted] [from: ../../node_modules/webextension-polyfill/dist/browser-polyfill.min.js] [copied] [minimized] asset settings.html 8.74 KiB [emitted] [from: src/settings.html] [copied] runtime modules 2.18 KiB 11 modules orphan modules 53.7 KiB [orphan] 10 modules modules by path ../../node_modules/ 404 KiB 379 modules modules by path ./ 115 KiB ./src/copy.js + 10 modules 57.7 KiB [built] [code generated] ./src/copy-link.js + 7 modules 52.7 KiB [built] [code generated] ./src/settings.js 4.29 KiB [built] [code generated] ./util.inspect (ignored) 15 bytes [built] [code generated] webpack 5.90.3 compiled successfully in 5712 ms > copy-selection-as-markdown-firefox@0.22.0 prebuild > npm-run-all clean generate-icons > copy-selection-as-markdown-firefox@0.22.0 clean > rimraf dist/* > copy-selection-as-markdown-firefox@0.22.0 generate-icons > node icons/generate.js Generate extension icon at /mnt/Data/opt/Git/Chrome/copy-selection-as-markdown/packages/firefox/icons/extension.svg Generate browser-action-light icon at /mnt/Data/opt/Git/Chrome/copy-selection-as-markdown/packages/firefox/icons/browser-action-light.svg Generate browser-action-dark icon at /mnt/Data/opt/Git/Chrome/copy-selection-as-markdown/packages/firefox/icons/browser-action-dark.svg > copy-selection-as-markdown-firefox@0.22.0 build > webpack assets by path *.js 355 KiB asset copy.js 160 KiB [emitted] [from: ../core/dist/copy.js] [copied] [minimized] 1 related asset asset copy-link.js 145 KiB [emitted] [from: ../core/dist/copy-link.js] [copied] [minimized] 1 related asset asset settings.js 39.2 KiB [emitted] [from: ../core/dist/settings.js] [copied] [minimized] asset browser-polyfill.min.js 9.77 KiB [emitted] [from: ../core/dist/browser-polyfill.min.js] [copied] [minimized] asset index.js 1.25 KiB [emitted] [minimized] (name: index) assets by path icons/*.svg 1.75 KiB asset icons/browser-action-dark.svg 596 bytes [emitted] [from: icons/browser-action-dark.svg] [copied] asset icons/browser-action-light.svg 596 bytes [emitted] [from: icons/browser-action-light.svg] [copied] asset icons/extension.svg 596 bytes [emitted] [from: icons/extension.svg] [copied] asset settings.html 8.74 KiB [emitted] [from: ../core/dist/settings.html] [copied] asset manifest.json 1.19 KiB [emitted] [from: manifest.json] [copied] ./src/index.js 1.56 KiB [built] [code generated] webpack 5.90.3 compiled successfully in 3738 ms > copy-selection-as-markdown-chromium@0.22.0 prebuild > npm run clean > copy-selection-as-markdown-chromium@0.22.0 clean > rimraf dist/* > copy-selection-as-markdown-chromium@0.22.0 build > webpack assets by path *.js 364 KiB asset copy.js 160 KiB [emitted] [from: ../core/dist/copy.js] [copied] [minimized] 1 related asset asset copy-link.js 145 KiB [emitted] [from: ../core/dist/copy-link.js] [copied] [minimized] 1 related asset asset settings.js 39.2 KiB [emitted] [from: ../core/dist/settings.js] [copied] [minimized] asset index.js 10.2 KiB [emitted] [minimized] (name: index) asset browser-polyfill.min.js 9.77 KiB [emitted] [from: ../core/dist/browser-polyfill.min.js] [copied] [minimized] assets by path icons/*.png 7.98 KiB asset icons/icon128.png 3.63 KiB [emitted] [from: icons/icon128.png] [copied] asset icons/icon48.png 2.44 KiB [emitted] [from: icons/icon48.png] [copied] asset icons/icon16.png 1.91 KiB [emitted] [from: icons/icon16.png] [copied] asset settings.html 8.74 KiB [emitted] [from: ../core/dist/settings.html] [copied] asset manifest.json 960 bytes [emitted] [from: manifest.json] [copied] ./src/index.js 533 bytes [built] [code generated] ../../node_modules/webextension-polyfill/dist/browser-polyfill.js 38.2 KiB [built] [code generated] webpack 5.90.3 compiled successfully in 3921 ms
packages/chromium/
The directory holding the manifest file can be added as an extension in developer mode in its current state.
$ ls copy-selection-as-markdown/packages/chromium dist/ icons/ src/ manifest.json package.json web-ext-config.js webpack.config.js
@lamyergeier you have to load the unpacked from packages/chromium/dist directory. Can you please try it. Thanks!
packages/chromium/dist
Manual Steps
packages/chromium/
directory as unpacked extension. See Getting started - Chrome Developers: