Skip to content

Commit

Permalink
chore: bump version to 1.2.0
Browse files Browse the repository at this point in the history
omit dev install in actions, bump package version to 1.2.0

chore: bump version to 1.2.0
  • Loading branch information
dromse committed Apr 30, 2024
1 parent 97ad87d commit 936d7c9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Build plugin
run: |
npm install
npm pkg delete scripts.prepare
npm install --omit=dev --force
npm run build
- name: Create release
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

5 changes: 2 additions & 3 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ import builtins from "builtin-modules";
import CssModulesPlugin from "esbuild-css-modules-plugin";

const banner = `/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
DEVELOPMENT VERSION
*/
`;

const prod = process.argv[2] === "production";

const context = await esbuild.context({
banner: {
js: banner,
js: prod ? "" : banner,
},
entryPoints: ["src/main.ts"],
bundle: true,
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "grind-manager",
"name": "Grind Manager",
"version": "1.1.1",
"version": "1.2.0",
"minAppVersion": "1.5.12",
"description": "Task management with rewards system.",
"author": "dromse",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "obsidian-grind-manager",
"version": "1.0.2",
"version": "1.2.0",
"type": "module",
"description": "Task management with rewards system.",
"main": "main.js",
"scripts": {
"dev:build": "rm -rf build && tsc -noEmit -skipLibCheck && node esbuild.config.mjs && cp manifest.json build && cat src/styles.css build/main.css > build/styles.css && rm build/main.css && touch build/.hotreload",
"build": "rm -rf build && tsc -noEmit -skipLibCheck && node esbuild.config.mjs production && cp manifest.json build && minify src/styles.css build/main.css > build/styles.css && rm build/main.css",
"build": "rm -rf build && node esbuild.config.mjs production && cp manifest.json build && minify src/styles.css build/main.css > build/styles.css && rm build/main.css",
"watch": "nodemon --ignore build/ -e ts,tsx,css --exec \"pnpm build\" ",
"docs": "typedoc",
"lint": "eslint .",
Expand All @@ -26,13 +26,9 @@
"@types/react-dom": "^18.2.21",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
"c8": "^9.1.0",
"esbuild": "latest",
"esbuild-css-modules-plugin": "^3.1.0",
"eslint-plugin-no-inline-styles": "^1.0.5",
"husky": "^9.0.11",
"minify": "^11.1.1",
"moment": "^2.30.1",
"nodemon": "^3.1.0",
"obsidian": "latest",
Expand All @@ -46,7 +42,11 @@
"typescript-plugin-css-modules": "^5.1.0"
},
"dependencies": {
"builtin-modules": "3.3.0",
"esbuild": "latest",
"esbuild-css-modules-plugin": "^3.1.0",
"lucide-react": "^0.373.0",
"minify": "^11.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Expand Down

0 comments on commit 936d7c9

Please sign in to comment.