create-windy 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -3831,7 +3831,9 @@ var recipes = [
3831
3831
  { id: "starter-0.1.1-to-0.1.2", from: "0.1.1", to: "0.1.2" },
3832
3832
  { id: "starter-0.1.2-to-0.2.0", from: "0.1.2", to: "0.2.0" },
3833
3833
  { id: "starter-0.2.0-to-0.2.1", from: "0.2.0", to: "0.2.1" },
3834
- { id: "starter-0.2.1-to-0.2.2", from: "0.2.1", to: "0.2.2" }
3834
+ { id: "starter-0.2.1-to-0.2.2", from: "0.2.1", to: "0.2.2" },
3835
+ { id: "starter-0.2.2-to-0.2.3", from: "0.2.2", to: "0.2.3" },
3836
+ { id: "starter-0.2.3-to-0.2.4", from: "0.2.3", to: "0.2.4" }
3835
3837
  ];
3836
3838
  function resolveRecipeChain(sourceVersion, targetVersion) {
3837
3839
  if (sourceVersion === targetVersion)
@@ -4172,8 +4174,8 @@ class DefaultStarterUpdater {
4172
4174
  async verify(result) {
4173
4175
  const steps = [];
4174
4176
  try {
4175
- await this.#execute("bun", ["install"], result.plan.projectDirectory);
4176
- steps.push({ name: "bun install", status: "passed" });
4177
+ await this.#execute("bun", ["install", "--no-cache"], result.plan.projectDirectory);
4178
+ steps.push({ name: "bun install --no-cache", status: "passed" });
4177
4179
  const packageJson = JSON.parse(await readFile12(join13(result.plan.projectDirectory, "package.json"), "utf8"));
4178
4180
  for (const name of ["lint", "typecheck", "test", "build"]) {
4179
4181
  if (!packageJson.scripts?.[name]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-windy",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "创建单组织、单租户、私有部署优先的 Windy 企业 Dashboard Starter",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "templateCommit": "10f8ff1e60df1d1e0f96614c735ee6c0133a4c1f",
4
- "generatorVersion": "0.2.2",
3
+ "templateCommit": "d4279d35adf20612a17b6d41128ce5852bfb4116",
4
+ "generatorVersion": "0.2.4",
5
5
  "modules": [
6
6
  {
7
7
  "name": "system",
@@ -9,7 +9,7 @@ import {
9
9
  // @windy-module system.license end
10
10
 
11
11
  interface RequestRestrictionRuntime {
12
- readonly __requestRestrictionRuntime?: never;
12
+ readonly auditSink: unknown;
13
13
  // @windy-module system.license begin
14
14
  recordDecisions(decisions: GuardDecision[]): void;
15
15
  // @windy-module system.license end