create-plasmic-app 0.0.89 → 0.0.90
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.
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.makeCustomApp_pages_codegen = void 0;
|
|
4
4
|
const file_utils_1 = require("../../../utils/file-utils");
|
|
5
5
|
function makeCustomApp_pages_codegen(jsOrTs) {
|
|
6
|
-
return `import 'styles/globals.css'
|
|
6
|
+
return `import '@/styles/globals.css'
|
|
7
7
|
import { PlasmicRootProvider } from "@plasmicapp/react-web";${(0, file_utils_1.ifTs)(jsOrTs, `
|
|
8
8
|
import type { AppProps } from "next/app";`)}
|
|
9
9
|
import Head from "next/head";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-plasmic-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.90",
|
|
4
4
|
"description": "Create Plasmic-powered React apps",
|
|
5
5
|
"main": "./dist/lib.js",
|
|
6
6
|
"types": "./dist/lib.d.ts",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"validate-npm-package-name": "^3.0.0",
|
|
55
55
|
"yargs": "^16.2.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "ce7c1c867f3583d4d723912b6832ed44a56cd759"
|
|
58
58
|
}
|
|
@@ -2,7 +2,7 @@ import { ifTs } from "../../../utils/file-utils";
|
|
|
2
2
|
import { JsOrTs } from "../../../utils/types";
|
|
3
3
|
|
|
4
4
|
export function makeCustomApp_pages_codegen(jsOrTs: JsOrTs): string {
|
|
5
|
-
return `import 'styles/globals.css'
|
|
5
|
+
return `import '@/styles/globals.css'
|
|
6
6
|
import { PlasmicRootProvider } from "@plasmicapp/react-web";${ifTs(
|
|
7
7
|
jsOrTs,
|
|
8
8
|
`
|