Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Dec 19, 2023
1 parent 44df890 commit ed02dcc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yakumo",
"description": "Manage complex workspaces with ease",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.7",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"bin": "lib/cli.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ export default class Yakumo {

const targets = Object.keys(this.workspaces).filter((folder) => {
if (!filter(this.workspaces[folder], folder)) return
const [last] = folder.split('/').reverse()
return name === last
return folder.endsWith('/' + name)
})

if (!targets.length) {
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export namespace latest {
export async function latest(name: string, options: latest.Options = {}) {
const registry = await (registryTask ||= getRegistry())
const packageUrl = new URL(encodeURIComponent(name).replace(/^%40/, '@'), registry)
console.log(packageUrl)
const response = await fetch(packageUrl, {
headers: {
'Accept': 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*',
Expand Down
7 changes: 4 additions & 3 deletions packages/esbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yakumo-esbuild",
"description": "Esbuild support for Yakumo",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.2",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -28,9 +28,10 @@
],
"peerDependencies": {
"esbuild": "*",
"yakumo": "^1.0.0-alpha.0"
"yakumo": "^1.0.0-alpha.7"
},
"dependencies": {
"tsconfig-utils": "^3.1.3"
"tsconfig-utils": "^3.1.3",
"yaml": "^2.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yakumo-mocha",
"description": "Mocha support for Yakumo",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -28,7 +28,7 @@
],
"peerDependencies": {
"mocha": "^9",
"yakumo": "^1.0.0-alpha.0"
"yakumo": "^1.0.0-alpha.7"
},
"devDependencies": {
"@types/mocha": "^9.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/publish-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"registry"
],
"peerDependencies": {
"yakumo": "^1.0.0-alpha.4"
"yakumo": "^1.0.0-alpha.7"
}
}
4 changes: 2 additions & 2 deletions packages/tsc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yakumo-tsc",
"description": "Compile TypeScript for Yakumo",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -29,7 +29,7 @@
],
"peerDependencies": {
"typescript": "*",
"yakumo": "^1.0.0-alpha.0"
"yakumo": "^1.0.0-alpha.7"
},
"dependencies": {
"atsc": "^1.2.2",
Expand Down

0 comments on commit ed02dcc

Please sign in to comment.