Skip to content

Commit

Permalink
fix: include needed dependencies (such as dotenv) in packaged extensi…
Browse files Browse the repository at this point in the history
…on (#4)
  • Loading branch information
garbas authored Dec 5, 2024
1 parent 700d14d commit 20600cb
Show file tree
Hide file tree
Showing 5 changed files with 2,458 additions and 260 deletions.
123 changes: 0 additions & 123 deletions .flox/env/manifest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"nodejs": {
"pkg-path": "nodejs"
},
"vsce": {
"pkg-path": "vsce"
},
"vscode": {
"pkg-path": "vscode"
}
Expand Down Expand Up @@ -407,126 +404,6 @@
"group": "toplevel",
"priority": 5
},
{
"attr_path": "vsce",
"broken": false,
"derivation": "/nix/store/dj4kn9q40nqrk5jm8cywkf5lbzr1y5y5-vsce-3.1.0.drv",
"description": "Visual Studio Code Extension Manager",
"install_id": "vsce",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
"name": "vsce-3.1.0",
"pname": "vsce",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
"rev_count": 710087,
"rev_date": "2024-11-19T11:04:08Z",
"scrape_date": "2024-11-21T04:00:36Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "3.1.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/hbxkg1vqpcljjs1g6imvr7d07saij9ny-vsce-3.1.0"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "vsce",
"broken": false,
"derivation": "/nix/store/jw4lxg2qj74dhxg4hyyln3m2ifhj5wfa-vsce-3.1.0.drv",
"description": "Visual Studio Code Extension Manager",
"install_id": "vsce",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
"name": "vsce-3.1.0",
"pname": "vsce",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
"rev_count": 710087,
"rev_date": "2024-11-19T11:04:08Z",
"scrape_date": "2024-11-21T04:00:36Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "3.1.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/lbba3s49gbrdvr1hcm0iascs15lf9qi3-vsce-3.1.0"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "vsce",
"broken": false,
"derivation": "/nix/store/0gpw5nyv42pzmid9mk348h6w01zmzj4p-vsce-3.1.0.drv",
"description": "Visual Studio Code Extension Manager",
"install_id": "vsce",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
"name": "vsce-3.1.0",
"pname": "vsce",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
"rev_count": 710087,
"rev_date": "2024-11-19T11:04:08Z",
"scrape_date": "2024-11-21T04:00:36Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "3.1.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/pjvrjqh76zws6lca6mqrhxqv9kmv4q1n-vsce-3.1.0"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "vsce",
"broken": false,
"derivation": "/nix/store/sfsfjd7rcwcxyva8s3p3dfz0svcx1mr9-vsce-3.1.0.drv",
"description": "Visual Studio Code Extension Manager",
"install_id": "vsce",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=23e89b7da85c3640bbc2173fe04f4bd114342367",
"name": "vsce-3.1.0",
"pname": "vsce",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
"rev_count": 710087,
"rev_date": "2024-11-19T11:04:08Z",
"scrape_date": "2024-11-21T04:00:36Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "3.1.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/q4hrjrjc67c22v71zmz888ckjgi6cl1g-vsce-3.1.0"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "vscode",
"broken": false,
Expand Down
1 change: 0 additions & 1 deletion .flox/env/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version = 1
[install]
vscode.pkg-path = "vscode"
nodejs.pkg-path = "nodejs"
vsce.pkg-path = "vsce"

# helper tools
gum.pkg-path = "gum"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: "Package"
uses: "flox/activate-action@main"
with:
command: "vsce package --out flox-main.vsix"
command: "npm run package -- --out flox-main.vsix"

- name: "Upload vscode extention as artifact"
uses: "actions/upload-artifact@v4"
Expand Down
Loading

0 comments on commit 20600cb

Please sign in to comment.