create-plasmic-app 0.0.175 → 0.0.176

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.
@@ -14,10 +14,10 @@
14
14
  "clean": "gatsby clean"
15
15
  },
16
16
  "dependencies": {
17
- "@plasmicapp/cli": "^0.1.372",
18
- "@plasmicapp/host": "^2.0.17",
19
- "@plasmicapp/react-web": "^1.0.32",
20
- "gatsby": "^5.14.6",
17
+ "@plasmicapp/cli": "^0.1.377",
18
+ "@plasmicapp/host": "^2.0.18",
19
+ "@plasmicapp/react-web": "^1.0.35",
20
+ "gatsby": "^5.16.1",
21
21
  "gatsby-plugin-react-helmet": "^6.16.0",
22
22
  "react": "^18.2.0",
23
23
  "react-dom": "^18.2.0",
@@ -131,7 +131,7 @@
131
131
  "gatsbyConfig": {
132
132
  "pagesDir": "../pages"
133
133
  },
134
- "cliVersion": "0.1.372",
135
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.372/dist/plasmic.schema.json",
136
- "packageManager": "npm"
134
+ "packageManager": "npm",
135
+ "cliVersion": "0.1.377",
136
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.377/dist/plasmic.schema.json"
137
137
  }
@@ -15,10 +15,10 @@
15
15
  "typecheck": "tsc --noEmit"
16
16
  },
17
17
  "dependencies": {
18
- "@plasmicapp/cli": "^0.1.372",
19
- "@plasmicapp/host": "^2.0.17",
20
- "@plasmicapp/react-web": "^1.0.32",
21
- "gatsby": "^5.14.6",
18
+ "@plasmicapp/cli": "^0.1.377",
19
+ "@plasmicapp/host": "^2.0.18",
20
+ "@plasmicapp/react-web": "^1.0.35",
21
+ "gatsby": "^5.16.1",
22
22
  "gatsby-plugin-react-helmet": "^6.16.0",
23
23
  "react": "^18.2.0",
24
24
  "react-dom": "^18.2.0",
@@ -131,7 +131,7 @@
131
131
  "gatsbyConfig": {
132
132
  "pagesDir": "../pages"
133
133
  },
134
- "cliVersion": "0.1.372",
135
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.372/dist/plasmic.schema.json",
136
- "packageManager": "npm"
134
+ "packageManager": "npm",
135
+ "cliVersion": "0.1.377",
136
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.377/dist/plasmic.schema.json"
137
137
  }
@@ -14,11 +14,11 @@
14
14
  "clean": "gatsby clean"
15
15
  },
16
16
  "dependencies": {
17
- "@plasmicapp/loader-gatsby": "^2.0.23",
18
- "gatsby": "^5.14.6",
17
+ "@plasmicapp/loader-gatsby": "^2.0.26",
18
+ "gatsby": "^5.16.1",
19
19
  "gatsby-plugin-react-helmet": "^6.16.0",
20
20
  "react": "^18.2.0",
21
21
  "react-dom": "^18.2.0",
22
22
  "react-helmet": "^6.1.0"
23
23
  }
24
- }
24
+ }
@@ -15,8 +15,8 @@
15
15
  "typecheck": "tsc --noEmit"
16
16
  },
17
17
  "dependencies": {
18
- "@plasmicapp/loader-gatsby": "^2.0.23",
19
- "gatsby": "^5.14.6",
18
+ "@plasmicapp/loader-gatsby": "^2.0.26",
19
+ "gatsby": "^5.16.1",
20
20
  "gatsby-plugin-react-helmet": "^6.16.0",
21
21
  "react": "^18.2.0",
22
22
  "react-dom": "^18.2.0",
@@ -29,4 +29,4 @@
29
29
  "@types/react-helmet": "^6.1.11",
30
30
  "typescript": "^5.3.3"
31
31
  }
32
- }
32
+ }
@@ -51,6 +51,10 @@ exports.gatsbyStrategy = {
51
51
  }
52
52
  }),
53
53
  installDeps: ({ projectPath, scheme, jsOrTs, packageManager }) => __awaiter(void 0, void 0, void 0, function* () {
54
+ const installedGatsby = yield (0, npm_utils_1.installUpgrade)("gatsby@5", {
55
+ workingDir: projectPath,
56
+ packageManager,
57
+ });
54
58
  const installedHelmet = yield (0, npm_utils_1.installUpgrade)("react-helmet", {
55
59
  workingDir: projectPath,
56
60
  packageManager,
@@ -65,7 +69,10 @@ exports.gatsbyStrategy = {
65
69
  workingDir: projectPath,
66
70
  packageManager,
67
71
  });
68
- if (!installedHelmet || !installedHelmetPlugin || !installedHelmetTypes) {
72
+ if (!installedGatsby ||
73
+ !installedHelmet ||
74
+ !installedHelmetPlugin ||
75
+ !installedHelmetTypes) {
69
76
  return false;
70
77
  }
71
78
  if (scheme === "loader") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.175",
3
+ "version": "0.0.176",
4
4
  "description": "Create Plasmic-powered React apps",
5
5
  "homepage": "https://www.plasmic.app",
6
6
  "repository": {
@@ -63,6 +63,10 @@ export const gatsbyStrategy: CPAStrategy = {
63
63
  }
64
64
  },
65
65
  installDeps: async ({ projectPath, scheme, jsOrTs, packageManager }) => {
66
+ const installedGatsby = await installUpgrade("gatsby@5", {
67
+ workingDir: projectPath,
68
+ packageManager,
69
+ });
66
70
  const installedHelmet = await installUpgrade("react-helmet", {
67
71
  workingDir: projectPath,
68
72
  packageManager,
@@ -81,7 +85,12 @@ export const gatsbyStrategy: CPAStrategy = {
81
85
  packageManager,
82
86
  }
83
87
  );
84
- if (!installedHelmet || !installedHelmetPlugin || !installedHelmetTypes) {
88
+ if (
89
+ !installedGatsby ||
90
+ !installedHelmet ||
91
+ !installedHelmetPlugin ||
92
+ !installedHelmetTypes
93
+ ) {
85
94
  return false;
86
95
  }
87
96
 
package/.tool-versions DELETED
@@ -1 +0,0 @@
1
- nodejs 22.18.0 # gatsby doesn't work on node 24 yet