Skip to content

Commit

Permalink
feat: support XDG convention on MacOS and fixes from fnm
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed Jun 1, 2024
1 parent 649e82b commit f1ed9ed
Show file tree
Hide file tree
Showing 18 changed files with 222 additions and 127 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-terms-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pactup": patch
---

Support XDG convention on MacOS
5 changes: 5 additions & 0 deletions .changeset/sixty-planets-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pactup": patch
---

align some fixes with fnm
4 changes: 3 additions & 1 deletion .github/workflows/release_pactup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ jobs:
name: pactup v${{ needs.check.outputs.version }}
tag_name: pactup_v${{ needs.check.outputs.version }}
draft: true
files: pactup-*
files: |
pactup-*.tar.gz
pactup-*.zip
fail_on_unmatched_files: true

- name: wait 3 minutes for smoke test
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ version = "0.2.12"
edition = "2021"
license = "GPL-3.0"
publish = true
build = "build.rs"
repository = "https://github.com/kadena-community/pactup"
description = "Fast and simple Pact version manager"

[dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
chrono = { version = "0.4", features = ["serde"] }
chrono = { version = "0.4", features = ["now", "serde"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
reqwest = { version = "0.12", features = [
Expand All @@ -23,7 +24,7 @@ url = { version = "2.5", features = ["serde"] }
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
colored = "2.0"
dirs = "5.0"
etcetera = "0.8"
encoding_rs_io = "0.1"
env_logger = "0.11"
indoc = "2.0"
Expand All @@ -41,19 +42,18 @@ flate2 = "1.0"
walkdir = "2.5"
indicatif = { version = "0.17", features = ["improved_unicode"] }


[dev-dependencies]
pretty_assertions = "1.4"
duct = "0.13"
test-log = "0.2"
http = "1.1"

# [build-dependencies]
# embed-resource = "2.4"
[build-dependencies]
embed-resource = "2.4"

[target.'cfg(windows)'.dependencies]
csv = "1.2"
junction = "1.0"
csv = "1.3"
junction = "1.1"


[profile.dev]
Expand Down
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
embed_resource::compile("manifest.rc", embed_resource::NONE);
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "[email protected]:kadena-community/pactup.git"
},
"author": "Salama Ashoush <[email protected]>",
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"license": "GPLv3",
"description": "Linter for the JavaScript Oxidation Compiler",
"keywords": [
Expand Down Expand Up @@ -44,15 +44,15 @@
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.4",
"@types/node": "^20.12.12",
"@changesets/cli": "2.27.5",
"@types/node": "^20.13.0",
"@types/shell-escape": "^0.2.3",
"chalk": "^5.3.0",
"cmd-ts": "0.13.0",
"cross-env": "^7.0.3",
"execa": "9.1.0",
"lerna-changelog": "2.2.0",
"prettier": "3.2.5",
"prettier": "3.3.0",
"pv": "1.0.1",
"shell-escape": "^0.2.0",
"svg-term-cli": "2.1.1",
Expand Down
2 changes: 2 additions & 0 deletions pactup-manifest.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define RT_MANIFEST 24
1 RT_MANIFEST "pactup.manifest"
11 changes: 11 additions & 0 deletions pactup.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0"
>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
</assembly>
82 changes: 41 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f1ed9ed

Please sign in to comment.