diff --git a/packages/release/src/action/packageVersionUp.ts b/packages/release/src/action/packageVersionUp.ts index 69b7b94..05bd06c 100644 --- a/packages/release/src/action/packageVersionUp.ts +++ b/packages/release/src/action/packageVersionUp.ts @@ -3,14 +3,14 @@ import { join } from "node:path"; import consola from "consola"; import { type ReleaseType, inc } from "semver"; import { PACKAGE_JSON_PATH } from "../constants/config"; +import { cmd } from "../utils/cmd"; import type { ReleaseSchemaType } from "../validation/validation"; export const packageVersionUp = ({ level, pre }: ReleaseSchemaType) => { const packageJsonPath = join(__dirname, PACKAGE_JSON_PATH); let packageJson = JSON.parse(readFileSync(packageJsonPath, "utf8")); - // const currentVersion = cmd(`npm show ${packageJson.name} version`).trim(); - const currentVersion = "1.0.0-beta.1"; + const currentVersion = cmd(`npm show ${packageJson.name} version`).trim(); consola.info(`Current version: ${currentVersion}`); diff --git a/packages/unplugin/package.json b/packages/unplugin/package.json index bcee951..39e9d24 100644 --- a/packages/unplugin/package.json +++ b/packages/unplugin/package.json @@ -1,9 +1,32 @@ { "name": "unplugin-lit-sass", "private": false, - "version": "0.1.0", - "description": "", + "version": "0.0.1-beta.0", + "description": "SCSS files to be imported as css variables in lit.", "main": "dist/main.mjs", + "author": "takuma-ru (https://github.com/takuma-ru/)", + "keywords": [ + "css", + "sass", + "scss", + "lit", + "lit-element", + "lit-html", + "unplugin" + ], + "homepage": "https://github.com/takuma-ru/unplugin-lit-sass", + "repository": { + "type": "git", + "url": "https://github.com/takuma-ru/unplugin-lit-sass" + }, + "bugs": { + "url": "https://github.com/takuma-ru/unplugin-lit-sass/issues", + "email": "takuma-ru@takumaru.dev" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, "exports": { ".": { "import": { @@ -36,8 +59,6 @@ "format": "biome format --apply ./src", "check": "biome check --apply ./src" }, - "keywords": [], - "author": "", "license": "ISC", "devDependencies": { "@types/node": "^20.14.1", @@ -52,4 +73,4 @@ "peerDependencies": { "lit": "^3.0.0" } -} +} \ No newline at end of file