Skip to content

Commit 20600cb

Browse files
authored
fix: include needed dependencies (such as dotenv) in packaged extension (#4)
1 parent 700d14d commit 20600cb

File tree

5 files changed

+2458
-260
lines changed

5 files changed

+2458
-260
lines changed

.flox/env/manifest.lock

Lines changed: 0 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
"nodejs": {
1313
"pkg-path": "nodejs"
1414
},
15-
"vsce": {
16-
"pkg-path": "vsce"
17-
},
1815
"vscode": {
1916
"pkg-path": "vscode"
2017
}
@@ -407,126 +404,6 @@
407404
"group": "toplevel",
408405
"priority": 5
409406
},
410-
{
411-
"attr_path": "vsce",
412-
"broken": false,
413-
"derivation": "/nix/store/dj4kn9q40nqrk5jm8cywkf5lbzr1y5y5-vsce-3.1.0.drv",
414-
"description": "Visual Studio Code Extension Manager",
415-
"install_id": "vsce",
416-
"license": "MIT",
417-
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
418-
"name": "vsce-3.1.0",
419-
"pname": "vsce",
420-
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
421-
"rev_count": 710087,
422-
"rev_date": "2024-11-19T11:04:08Z",
423-
"scrape_date": "2024-11-21T04:00:36Z",
424-
"stabilities": [
425-
"staging",
426-
"unstable"
427-
],
428-
"unfree": false,
429-
"version": "3.1.0",
430-
"outputs_to_install": [
431-
"out"
432-
],
433-
"outputs": {
434-
"out": "/nix/store/hbxkg1vqpcljjs1g6imvr7d07saij9ny-vsce-3.1.0"
435-
},
436-
"system": "aarch64-darwin",
437-
"group": "toplevel",
438-
"priority": 5
439-
},
440-
{
441-
"attr_path": "vsce",
442-
"broken": false,
443-
"derivation": "/nix/store/jw4lxg2qj74dhxg4hyyln3m2ifhj5wfa-vsce-3.1.0.drv",
444-
"description": "Visual Studio Code Extension Manager",
445-
"install_id": "vsce",
446-
"license": "MIT",
447-
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
448-
"name": "vsce-3.1.0",
449-
"pname": "vsce",
450-
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
451-
"rev_count": 710087,
452-
"rev_date": "2024-11-19T11:04:08Z",
453-
"scrape_date": "2024-11-21T04:00:36Z",
454-
"stabilities": [
455-
"staging",
456-
"unstable"
457-
],
458-
"unfree": false,
459-
"version": "3.1.0",
460-
"outputs_to_install": [
461-
"out"
462-
],
463-
"outputs": {
464-
"out": "/nix/store/lbba3s49gbrdvr1hcm0iascs15lf9qi3-vsce-3.1.0"
465-
},
466-
"system": "aarch64-linux",
467-
"group": "toplevel",
468-
"priority": 5
469-
},
470-
{
471-
"attr_path": "vsce",
472-
"broken": false,
473-
"derivation": "/nix/store/0gpw5nyv42pzmid9mk348h6w01zmzj4p-vsce-3.1.0.drv",
474-
"description": "Visual Studio Code Extension Manager",
475-
"install_id": "vsce",
476-
"license": "MIT",
477-
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
478-
"name": "vsce-3.1.0",
479-
"pname": "vsce",
480-
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
481-
"rev_count": 710087,
482-
"rev_date": "2024-11-19T11:04:08Z",
483-
"scrape_date": "2024-11-21T04:00:36Z",
484-
"stabilities": [
485-
"staging",
486-
"unstable"
487-
],
488-
"unfree": false,
489-
"version": "3.1.0",
490-
"outputs_to_install": [
491-
"out"
492-
],
493-
"outputs": {
494-
"out": "/nix/store/pjvrjqh76zws6lca6mqrhxqv9kmv4q1n-vsce-3.1.0"
495-
},
496-
"system": "x86_64-darwin",
497-
"group": "toplevel",
498-
"priority": 5
499-
},
500-
{
501-
"attr_path": "vsce",
502-
"broken": false,
503-
"derivation": "/nix/store/sfsfjd7rcwcxyva8s3p3dfz0svcx1mr9-vsce-3.1.0.drv",
504-
"description": "Visual Studio Code Extension Manager",
505-
"install_id": "vsce",
506-
"license": "MIT",
507-
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
508-
"name": "vsce-3.1.0",
509-
"pname": "vsce",
510-
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
511-
"rev_count": 710087,
512-
"rev_date": "2024-11-19T11:04:08Z",
513-
"scrape_date": "2024-11-21T04:00:36Z",
514-
"stabilities": [
515-
"staging",
516-
"unstable"
517-
],
518-
"unfree": false,
519-
"version": "3.1.0",
520-
"outputs_to_install": [
521-
"out"
522-
],
523-
"outputs": {
524-
"out": "/nix/store/q4hrjrjc67c22v71zmz888ckjgi6cl1g-vsce-3.1.0"
525-
},
526-
"system": "x86_64-linux",
527-
"group": "toplevel",
528-
"priority": 5
529-
},
530407
{
531408
"attr_path": "vscode",
532409
"broken": false,

.flox/env/manifest.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ version = 1
33
[install]
44
vscode.pkg-path = "vscode"
55
nodejs.pkg-path = "nodejs"
6-
vsce.pkg-path = "vsce"
76

87
# helper tools
98
gum.pkg-path = "gum"

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: "Package"
5858
uses: "flox/activate-action@main"
5959
with:
60-
command: "vsce package --out flox-main.vsix"
60+
command: "npm run package -- --out flox-main.vsix"
6161

6262
- name: "Upload vscode extention as artifact"
6363
uses: "actions/upload-artifact@v4"

0 commit comments

Comments
 (0)