create-plasmic-app 0.0.68 → 0.0.70

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.
@@ -39,8 +39,8 @@ exports.nextjsStrategy = {
39
39
  ? "--experimental-app"
40
40
  : "--no-experimental-app";
41
41
  const templateArg = template ? ` --template ${template}` : "";
42
- const createCommand = `npx create-next-app@latest ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
43
- ` --eslint --no-src-dir --import-alias "@/*" ${projectPath}`;
42
+ const createCommand = `npx create-next-app@latest ${projectPath} ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
43
+ ` --eslint --no-src-dir --import-alias "@/*" --no-tailwind`;
44
44
  // Default Next.js starter already supports Typescript
45
45
  // See where we `touch tsconfig.json` later on
46
46
  yield (0, cmd_utils_1.spawnOrFail)(createCommand);
@@ -144,7 +144,7 @@ function generateWelcomePage(config, platform) {
144
144
  // Format as an absolute path without the extension name
145
145
  const relativeLink = "/" + stripExtension(relativePath);
146
146
  if (platform === "nextjs") {
147
- return `<li><Link href="${relativeLink}"><a style={{ color: "blue" }}>${pc.name} - ${relativeLink}</a></Link></li>`;
147
+ return `<li><Link href="${relativeLink}">${pc.name} - ${relativeLink}</Link></li>`;
148
148
  }
149
149
  else {
150
150
  return `<li><a style={{ color: "blue" }} href="${relativeLink}">${pc.name} - ${relativeLink}</a></li>`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.68",
3
+ "version": "0.0.70",
4
4
  "description": "Create Plasmic-powered React apps",
5
5
  "main": "./dist/lib.js",
6
6
  "types": "./dist/lib.d.ts",
@@ -55,5 +55,5 @@
55
55
  "validate-npm-package-name": "^3.0.0",
56
56
  "yargs": "^16.2.0"
57
57
  },
58
- "gitHead": "1d9e46447dea9fe47ae76c2e1a39e14dcab687e6"
58
+ "gitHead": "e7ac38522d82c384338bd6f681e3b0f3a046e120"
59
59
  }
@@ -30,8 +30,8 @@ export const nextjsStrategy: CPAStrategy = {
30
30
  : "--no-experimental-app";
31
31
  const templateArg = template ? ` --template ${template}` : "";
32
32
  const createCommand =
33
- `npx create-next-app@latest ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
34
- ` --eslint --no-src-dir --import-alias "@/*" ${projectPath}`;
33
+ `npx create-next-app@latest ${projectPath} ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
34
+ ` --eslint --no-src-dir --import-alias "@/*" --no-tailwind`;
35
35
 
36
36
  // Default Next.js starter already supports Typescript
37
37
  // See where we `touch tsconfig.json` later on
@@ -128,7 +128,7 @@ export function generateWelcomePage(config: any, platform: string): string {
128
128
  // Format as an absolute path without the extension name
129
129
  const relativeLink = "/" + stripExtension(relativePath);
130
130
  if (platform === "nextjs") {
131
- return `<li><Link href="${relativeLink}"><a style={{ color: "blue" }}>${pc.name} - ${relativeLink}</a></Link></li>`;
131
+ return `<li><Link href="${relativeLink}">${pc.name} - ${relativeLink}</Link></li>`;
132
132
  } else {
133
133
  return `<li><a style={{ color: "blue" }} href="${relativeLink}">${pc.name} - ${relativeLink}</a></li>`;
134
134
  }