Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 23, 2023
1 parent d55882d commit 06ed497
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "konsta",
"description": "Mobile UI components made with Tailwind CSS",
"version": "2.0.0",
"version": "3.0.0",
"private": true,
"license": "MIT",
"author": "Vladimir Kharlampidi",
Expand Down
4 changes: 2 additions & 2 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "konsta",
"version": "2.0.0",
"version": "3.0.0",
"description": "Mobile UI components made with Tailwind CSS",
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"engines": {
"node": ">= 4.7.0"
},
"releaseDate": "April 21, 2023",
"releaseDate": "August 23, 2023",
"svelte": "./svelte/konsta-svelte.js",
"exports": {
"./package.json": "./package.json",
Expand Down
5 changes: 3 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ async function release() {
);

const cleanPackage = [
"find **/*.js -type f -not -name 'postinstall.js' -print0 | xargs -0 -I {} rm -v {}",
'rm -rf **/*.js',
'rm -rf *.js',
'rm -rf **/*.ts',
'rm -rf *.ts',
'rm -rf **/*.css',
Expand All @@ -106,7 +107,7 @@ async function release() {
await exec.promise(`cd ./package && ${cleanPackage.join(' && ')}`);
await exec.promise(`npm run build`);
await exec.promise('git add .');
await exec.promise(`git commit -m "${pkg.version} release"`);
await exec.promise(`git commit -m ${pkg.version}`);
await exec.promise('git push');
await exec.promise(`git tag v${pkg.version}`);
await exec.promise('git push origin --tags');
Expand Down

0 comments on commit 06ed497

Please sign in to comment.