Skip to content

Commit c232af8

Browse files
committed
v0.6.0
1 parent 6c23ce5 commit c232af8

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-tinyjoin",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"author": "jamesgpearce",
55
"repository": {
66
"type": "git",

‎src/cli.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const config = {
157157
storage,
158158
usesOpfs: storage === "opfs",
159159
storageName: createStorageName(projectName),
160-
tinyjoinDependency: process.env.CREATE_TINYJOIN_DEPENDENCY ?? "^0.5.0",
160+
tinyjoinDependency: process.env.CREATE_TINYJOIN_DEPENDENCY ?? "^0.6.0",
161161
};
162162
},
163163
// Files that depend on an option are included by the templates that use them,

‎test/cli.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ describe("create-tinyjoin CLI", () => {
459459
const manifest = JSON.parse(
460460
await readFile(resolve(output, "published/package.json"), "utf8"),
461461
);
462-
expect(manifest.dependencies.tinyjoin).toBe("^0.5.0");
462+
expect(manifest.dependencies.tinyjoin).toBe("^0.6.0");
463463
});
464464

465465
it("rejects path-like and existing project names", async () => {

‎test/generated-app.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type { GeneratedApp } from "./paths.js";
99
const root = resolve(dirname(fileURLToPath(import.meta.url)), "..");
1010
const output = generatedTestRoot;
1111
const npm = process.platform === "win32" ? "npm.cmd" : "npm";
12-
const tinyjoinDependency = process.env.CREATE_TINYJOIN_DEPENDENCY ?? "^0.5.0";
12+
const tinyjoinDependency = process.env.CREATE_TINYJOIN_DEPENDENCY ?? "^0.6.0";
1313

1414
beforeAll(async () => {
1515
await rm(output, { force: true, recursive: true });
@@ -132,10 +132,10 @@ async function installBuildAndCheck(app: GeneratedApp): Promise<void> {
132132
await readFile(resolve(path, "package-lock.json"), "utf8"),
133133
);
134134
const lockedTinyJoin = lock.packages?.["node_modules/tinyjoin"];
135-
expect(lockedTinyJoin).toMatchObject({ version: "0.5.0" });
135+
expect(lockedTinyJoin).toMatchObject({ version: "0.6.0" });
136136
if (process.env.CREATE_TINYJOIN_DEPENDENCY === undefined) {
137137
expect(lockedTinyJoin.resolved).toBe(
138-
"https://registry.npmjs.org/tinyjoin/-/tinyjoin-0.5.0.tgz",
138+
"https://registry.npmjs.org/tinyjoin/-/tinyjoin-0.6.0.tgz",
139139
);
140140
}
141141
expect(
@@ -146,7 +146,7 @@ async function installBuildAndCheck(app: GeneratedApp): Promise<void> {
146146
);
147147
expect(installedManifest).toMatchObject({
148148
name: "tinyjoin",
149-
version: "0.5.0",
149+
version: "0.6.0",
150150
});
151151
run(npm, ["run", "build"], path);
152152

0 commit comments

Comments
 (0)