Skip to content

Commit

Permalink
Merge pull request #1 from takuma-ru/release/2024_06_07T04_23_56_645Z
Browse files Browse the repository at this point in the history
Release/2024 06 07 t04 23 56 645 z
  • Loading branch information
takuma-ru authored Jun 7, 2024
2 parents 5c967a7 + 7c1a319 commit 70ddb04
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/release/src/action/packageVersionUp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);

Expand Down
31 changes: 26 additions & 5 deletions packages/unplugin/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> (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": "[email protected]"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"exports": {
".": {
"import": {
Expand Down Expand Up @@ -36,8 +59,6 @@
"format": "biome format --apply ./src",
"check": "biome check --apply ./src"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.14.1",
Expand All @@ -52,4 +73,4 @@
"peerDependencies": {
"lit": "^3.0.0"
}
}
}

0 comments on commit 70ddb04

Please sign in to comment.