@cyntler/library-demo
Advanced tools
Comparing version 0.0.0-alpha.8 to 0.0.0-alpha.9
@@ -11,2 +11,3 @@ "use strict"; | ||
const logger_1 = require("../utils/logger"); | ||
const replaceDemoSchemaImportPath_1 = require("../utils/replaceDemoSchemaImportPath"); | ||
const { projectDemoPath } = (0, getConsumerProjectPaths_1.getConsumerProjectPaths)(); | ||
@@ -16,2 +17,3 @@ const { packageAppPath } = (0, getPackagePaths_1.getPackagePaths)(); | ||
if ((0, fs_1.existsSync)(projectDemoPath)) { | ||
(0, replaceDemoSchemaImportPath_1.replaceDemoSchemaImportPath)(); | ||
(0, child_process_1.execSync)('npm run build', { | ||
@@ -18,0 +20,0 @@ cwd: packageAppPath, |
@@ -13,3 +13,2 @@ "use strict"; | ||
const packageJsonManipulate_1 = require("../utils/packageJsonManipulate"); | ||
const replaceDemoSchemaImportPath_1 = require("../utils/replaceDemoSchemaImportPath"); | ||
const { packageAppPath, packageTemplatePath } = (0, getPackagePaths_1.getPackagePaths)(); | ||
@@ -34,5 +33,5 @@ const { projectRootPath, projectPackageJsonPath, projectDemoPath } = (0, getConsumerProjectPaths_1.getConsumerProjectPaths)(); | ||
(0, packageJsonManipulate_1.addScriptsToPackageJson)(models_1.consumerDemoScripts); | ||
(0, replaceDemoSchemaImportPath_1.replaceDemoSchemaImportPath)(); | ||
(0, child_process_1.execSync)('npm i', { | ||
cwd: packageAppPath, | ||
stdio: [], | ||
}); | ||
@@ -39,0 +38,0 @@ (0, logger_1.logSuccess)(`Demo has been initialized!`); |
@@ -9,2 +9,3 @@ "use strict"; | ||
const logger_1 = require("../utils/logger"); | ||
const replaceDemoSchemaImportPath_1 = require("../utils/replaceDemoSchemaImportPath"); | ||
const { projectDemoPath } = (0, getConsumerProjectPaths_1.getConsumerProjectPaths)(); | ||
@@ -14,2 +15,3 @@ const { packageAppPath } = (0, getPackagePaths_1.getPackagePaths)(); | ||
if ((0, fs_1.existsSync)(projectDemoPath)) { | ||
(0, replaceDemoSchemaImportPath_1.replaceDemoSchemaImportPath)(); | ||
(0, child_process_1.execSync)('npm run start', { | ||
@@ -16,0 +18,0 @@ cwd: packageAppPath, |
{ | ||
"name": "@cyntler/library-demo", | ||
"version": "0.0.0-alpha.8", | ||
"version": "0.0.0-alpha.9", | ||
"description": "Builder of a React.js demo application with Tailwind template for presenting the library to the public.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
227802
5905