diff --git a/.changeset/quiet-coats-chew.md b/.changeset/quiet-coats-chew.md new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/.changeset/quiet-coats-chew.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/package.json b/package.json index 512e887..da01f47 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@noctisynth/grassator", - "private": true, + "private": false, "version": "0.1.1", "type": "module", "scripts": { diff --git a/scripts/bump.mjs b/scripts/bump.mjs index 0c2bdb0..22d5adb 100644 --- a/scripts/bump.mjs +++ b/scripts/bump.mjs @@ -10,13 +10,10 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url)); const cargoFilePath = path.join(__dirname, '../src-tauri/Cargo.toml'); const nodeFilePath = path.join(__dirname, '../src-tauri/package.json'); -const workspaceFilePath = path.join(__dirname, '../package.json'); const cargoData = readFileSync(cargoFilePath, 'utf8'); const nodeData = readFileSync(nodeFilePath, 'utf8'); -const workspaceData = readFileSync(workspaceFilePath, 'utf8'); -const newVersion = JSON.parse(workspaceData).version; const newCargoVersion = JSON.parse(nodeData).version; const updatedData = cargoData.replace( /version = ".*"/, @@ -24,11 +21,4 @@ const updatedData = cargoData.replace( ); writeFileSync(cargoFilePath, updatedData, 'utf8'); - -// const nodeChangelogFilePath = path.join(__dirname, '../CHANGELOG.md'); -// const nodeChangelogData = readFileSync(nodeChangelogFilePath, 'utf8'); -// const cargoChangeLogFilePath = path.join( -// __dirname, -// '../src-tauri/CHANGELOG.md' -// ); -// const cargoChangeLogData = readFileSync(cargoChangeLogFilePath, 'utf8'); +execSync('cd src-tauri && cargo generate-lockfile', { stdio: 'inherit' }); diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index d0b4427..b3553d8 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1142,7 +1142,7 @@ dependencies = [ [[package]] name = "grassator" -version = "0.1.0" +version = "0.1.1" dependencies = [ "reqwest", "serde", diff --git a/src-tauri/package.json b/src-tauri/package.json index d4eaaad..087dfc2 100644 --- a/src-tauri/package.json +++ b/src-tauri/package.json @@ -1,6 +1,6 @@ { "name": "grassator", - "private": true, + "private": false, "version": "0.1.1", "type": "module", "scripts": {