From e01b7c6c152394c586356b9eba1df66e06f34d40 Mon Sep 17 00:00:00 2001 From: productdevbook Date: Mon, 18 Nov 2024 08:39:18 +0300 Subject: [PATCH] chore: update release --- .docs/package.json | 2 +- package.json | 12 +++- packages/core/package.json | 6 +- packages/plugins/package.json | 2 +- playground/nuxt-app/package.json | 1 + pnpm-lock.yaml | 116 ++++++------------------------- 6 files changed, 39 insertions(+), 100 deletions(-) diff --git a/.docs/package.json b/.docs/package.json index 489b3452..163b88e3 100644 --- a/.docs/package.json +++ b/.docs/package.json @@ -1,7 +1,7 @@ { "name": "docs", "type": "module", - "version": "1.9.7", + "version": "0.7.2", "scripts": { "docs:dev": "vitepress dev", "docs:build": "vitepress build", diff --git a/package.json b/package.json index f26ffefb..323131ae 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,10 @@ { - "name": "primitives", + "name": "@oku-ui/primitives", "type": "module", + "version": "0.7.2", + "private": true, "packageManager": "pnpm@9.12.1", + "license": "MIT", "repository": "oku-ui/primitives", "engines": { "node": ">=20" @@ -26,7 +29,12 @@ "clean:dist": "rimraf 'packages/**/dist' 'playground/**/dist'", "update:version": "esno scripts/update-version.ts", "prepare": "npx simple-git-hooks", - "scripts:genpackage": "esno scripts/generateAliasCode.ts" + "scripts:genpackage": "esno scripts/generateAliasCode.ts", + "bumpp": "bumpp package.json packages/*/package.json .docs/package.json", + "pub:release": "cd packages/core && pnpm release", + "pub:beta": "cd packages/core && pnpm release:beta", + "pub:alpha": "cd packages/core && pnpm release:alpha" + }, "devDependencies": { "@antfu/eslint-config": "^3.8.0", diff --git a/packages/core/package.json b/packages/core/package.json index 55ad6c3d..f278e56e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -90,9 +90,9 @@ "build-storybook": "storybook build", "eslint": "eslint .", "eslint:fix": "eslint . --fix", - "release": "pnpm build && pnpm bumpp --commit='version(primitives): release %s' --push --tag && pnpm publish --no-git-checks", - "release:beta": "pnpm release --tag beta", - "release:alpha": "pnpm release --tag alpha", + "release": "pnpm build && pnpm publish --no-git-checks --access public", + "release:beta": "pnpm release --tag beta --access public", + "release:alpha": "pnpm release --tag alpha --access public", "typecheck": "tsc --noEmit" }, "peerDependencies": { diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 2f170e43..bdd7a261 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -1,7 +1,7 @@ { "name": "plugins", "type": "module", - "version": "0.3.0", + "version": "0.7.2", "description": "Plugins for Oku Primitives", "license": "MIT", "repository": { diff --git a/playground/nuxt-app/package.json b/playground/nuxt-app/package.json index d6f30520..f43d0a6a 100644 --- a/playground/nuxt-app/package.json +++ b/playground/nuxt-app/package.json @@ -1,6 +1,7 @@ { "name": "nuxt-app", "type": "module", + "version": "0.7.2", "private": true, "scripts": { "build": "nuxt build", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0afcf58..91b3b8d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -151,7 +151,7 @@ importers: version: 5.4.11(@types/node@22.9.0)(terser@5.36.0) vite-plugin-dts: specifier: ^4.3.0 - version: 4.3.0(@types/node@22.9.0)(rollup@4.27.2)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) + version: 4.3.0(@types/node@22.9.0)(rollup@3.29.5)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)) vitest: specifier: ^2.1.4 version: 2.1.5(@types/node@22.9.0)(happy-dom@15.11.6)(jsdom@25.0.1)(terser@5.36.0) @@ -324,10 +324,10 @@ importers: dependencies: '@nuxt/kit': specifier: ^3.14.159 - version: 3.14.159(magicast@0.3.5)(rollup@3.29.5) + version: 3.14.159(magicast@0.3.5)(rollup@4.27.2) '@nuxt/schema': specifier: ^3.14.159 - version: 3.14.159(magicast@0.3.5)(rollup@3.29.5) + version: 3.14.159(magicast@0.3.5)(rollup@4.27.2) '@oku-ui/primitives': specifier: workspace:^ version: link:../core @@ -339,7 +339,7 @@ importers: version: 2.0.0(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3)) unplugin-vue-components: specifier: ^0.27.4 - version: 0.27.4(@babel/parser@7.26.2)(@nuxt/kit@3.14.159(magicast@0.3.5)(rollup@3.29.5))(rollup@3.29.5)(vue@3.5.13(typescript@5.6.3)) + version: 0.27.4(@babel/parser@7.26.2)(@nuxt/kit@3.14.159(magicast@0.3.5)(rollup@4.27.2))(rollup@4.27.2)(vue@3.5.13(typescript@5.6.3)) devDependencies: tsup: specifier: ^8.3.5 @@ -9102,34 +9102,6 @@ snapshots: - vue - webpack-sources - '@nuxt/kit@3.14.159(magicast@0.3.5)(rollup@3.29.5)': - dependencies: - '@nuxt/schema': 3.14.159(magicast@0.3.5)(rollup@3.29.5) - c12: 2.0.1(magicast@0.3.5) - consola: 3.2.3 - defu: 6.1.4 - destr: 2.0.3 - globby: 14.0.2 - hash-sum: 2.0.0 - ignore: 6.0.2 - jiti: 2.4.0 - klona: 2.0.6 - knitwork: 1.1.0 - mlly: 1.7.2 - pathe: 1.1.2 - pkg-types: 1.2.1 - scule: 1.3.0 - semver: 7.6.3 - ufo: 1.5.4 - unctx: 2.3.1 - unimport: 3.13.1(rollup@3.29.5) - untyped: 1.5.1 - transitivePeerDependencies: - - magicast - - rollup - - supports-color - - webpack-sources - '@nuxt/kit@3.14.159(magicast@0.3.5)(rollup@4.27.2)': dependencies: '@nuxt/schema': 3.14.159(magicast@0.3.5)(rollup@4.27.2) @@ -9158,27 +9130,6 @@ snapshots: - supports-color - webpack-sources - '@nuxt/schema@3.14.159(magicast@0.3.5)(rollup@3.29.5)': - dependencies: - c12: 2.0.1(magicast@0.3.5) - compatx: 0.1.8 - consola: 3.2.3 - defu: 6.1.4 - hookable: 5.5.3 - pathe: 1.1.2 - pkg-types: 1.2.1 - scule: 1.3.0 - std-env: 3.8.0 - ufo: 1.5.4 - uncrypto: 0.1.3 - unimport: 3.13.1(rollup@3.29.5) - untyped: 1.5.1 - transitivePeerDependencies: - - magicast - - rollup - - supports-color - - webpack-sources - '@nuxt/schema@3.14.159(magicast@0.3.5)(rollup@4.27.2)': dependencies: c12: 2.0.1(magicast@0.3.5) @@ -16119,25 +16070,6 @@ snapshots: unicorn-magic@0.1.0: {} - unimport@3.13.1(rollup@3.29.5): - dependencies: - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) - acorn: 8.14.0 - escape-string-regexp: 5.0.0 - estree-walker: 3.0.3 - fast-glob: 3.3.2 - local-pkg: 0.5.0 - magic-string: 0.30.12 - mlly: 1.7.2 - pathe: 1.1.2 - pkg-types: 1.2.1 - scule: 1.3.0 - strip-literal: 2.1.0 - unplugin: 1.15.0 - transitivePeerDependencies: - - rollup - - webpack-sources - unimport@3.13.1(rollup@4.27.2): dependencies: '@rollup/pluginutils': 5.1.3(rollup@4.27.2) @@ -16196,27 +16128,6 @@ snapshots: universalify@2.0.1: {} - unplugin-vue-components@0.27.4(@babel/parser@7.26.2)(@nuxt/kit@3.14.159(magicast@0.3.5)(rollup@3.29.5))(rollup@3.29.5)(vue@3.5.13(typescript@5.6.3)): - dependencies: - '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) - chokidar: 3.6.0 - debug: 4.3.7(supports-color@9.4.0) - fast-glob: 3.3.2 - local-pkg: 0.5.0 - magic-string: 0.30.12 - minimatch: 9.0.5 - mlly: 1.7.2 - unplugin: 1.15.0 - vue: 3.5.13(typescript@5.6.3) - optionalDependencies: - '@babel/parser': 7.26.2 - '@nuxt/kit': 3.14.159(magicast@0.3.5)(rollup@3.29.5) - transitivePeerDependencies: - - rollup - - supports-color - - webpack-sources - unplugin-vue-components@0.27.4(@babel/parser@7.26.2)(@nuxt/kit@3.14.159(magicast@0.3.5)(rollup@4.27.2))(rollup@4.27.2)(vue@3.5.13(typescript@5.6.3)): dependencies: '@antfu/utils': 0.7.10 @@ -16426,6 +16337,25 @@ snapshots: typescript: 5.6.3 vue-tsc: 2.1.10(typescript@5.6.3) + vite-plugin-dts@4.3.0(@types/node@22.9.0)(rollup@3.29.5)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)): + dependencies: + '@microsoft/api-extractor': 7.47.11(@types/node@22.9.0) + '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + '@volar/typescript': 2.4.10 + '@vue/language-core': 2.1.6(typescript@5.6.3) + compare-versions: 6.1.1 + debug: 4.3.7(supports-color@9.4.0) + kolorist: 1.8.0 + local-pkg: 0.5.0 + magic-string: 0.30.12 + typescript: 5.6.3 + optionalDependencies: + vite: 5.4.11(@types/node@22.9.0)(terser@5.36.0) + transitivePeerDependencies: + - '@types/node' + - rollup + - supports-color + vite-plugin-dts@4.3.0(@types/node@22.9.0)(rollup@4.27.2)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)(terser@5.36.0)): dependencies: '@microsoft/api-extractor': 7.47.11(@types/node@22.9.0)