Skip to content

Commit

Permalink
Merge pull request #955 from 3YOURMIND/change-tarball-output-directory
Browse files Browse the repository at this point in the history
chore(tarballs): place tarballs into same directory in root
  • Loading branch information
Isokaeder authored Jun 26, 2024
2 parents 7fb449e + 2f85dc8 commit c24a7e3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ node_modules/
packages/kotti-ui/report.*.html
packages/yoco/fonts/
*.log
packages/*/package.tar.gz

# vite config gets transpiled in-place for a short moment
vite.config.ts.timestamp*
Expand All @@ -15,3 +14,6 @@ vite.config.ts.timestamp*

# package.json debug:turbo script
/turbo-graph.png

# package.json tarball script
/tarballs
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"fix:eslint": "yarn run check:eslint --fix",
"fix:prettier": "yarn run check:prettier --write",
"publish-package": "yarn publish --no-git-tag-version --verbose --non-interactive --access public",
"tarball": "npm pack && mv *.tgz package.tar.gz"
"tarball": "npm pack && mkdir -p ../../tarballs && mv *.tgz ../../tarballs/eslint-config.tar.gz"
},
"type": "module",
"types": "./dist/mjs/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/kotti-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"fix:prettier": "yarn run check:prettier --write",
"fix:stylelint": "yarn run check:stylelint --fix",
"publish-package": "yarn publish --no-git-tag-version --verbose --non-interactive --access public",
"tarball": "npm pack && mv *.tgz package.tar.gz",
"tarball": "npm pack && mkdir -p ../../tarballs && mv *.tgz ../../tarballs/kotti-ui.tar.gz",
"test": "vitest --run --typecheck",
"watch": "vite build --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-use-tippy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"fix:eslint": "yarn run check:eslint --fix",
"fix:prettier": "yarn run check:prettier --write",
"publish-package": "yarn publish --no-git-tag-version --verbose --non-interactive --access public",
"tarball": "npm pack && mv *.tgz package.tar.gz"
"tarball": "npm pack && mkdir -p ../../tarballs && mv *.tgz ../../tarballs/vue-use-tippy.tar.gz"
},
"type": "module",
"types": "./dist/mjs/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/yoco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"fix:eslint": "yarn run check:eslint --fix",
"fix:prettier": "yarn run check:prettier --write",
"publish-package": "yarn publish --no-git-tag-version --verbose --non-interactive --access public",
"tarball": "npm pack && mv *.tgz package.tar.gz"
"tarball": "npm pack && mkdir -p ../../tarballs && mv *.tgz ../../tarballs/yoco.tar.gz"
},
"style": "./style.css",
"type": "module",
Expand Down
5 changes: 2 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@
"dependsOn": ["build", "check", "test"]
},
"tarball": {
"cache": false,
"dependsOn": ["build"],
"inputs": ["dist/**", "package.json"],
"outputMode": "new-only",
"outputs": ["./package.tar.gz"]
"outputMode": "new-only"
},
"test": {},
"watch": {
Expand Down

0 comments on commit c24a7e3

Please sign in to comment.