create-goji-app
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -6,3 +6,3 @@ "use strict"; | ||
const mkdirp_1 = tslib_1.__importDefault(require("mkdirp")); | ||
const globby_1 = tslib_1.__importDefault(require("globby")); | ||
const globby_1 = require("globby"); | ||
const path_1 = tslib_1.__importDefault(require("path")); | ||
@@ -23,3 +23,3 @@ const ejs_1 = tslib_1.__importDefault(require("ejs")); | ||
try { | ||
for (var _b = tslib_1.__asyncValues(globby_1.default.stream(path_1.default.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) { | ||
for (var _b = tslib_1.__asyncValues(globby_1.globbyStream(path_1.default.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) { | ||
const sourceFileBuf = _c.value; | ||
@@ -26,0 +26,0 @@ const sourceFile = sourceFileBuf.toString(); |
import { __asyncValues, __awaiter } from "tslib"; | ||
import mkdirp from 'mkdirp'; | ||
import globby from 'globby'; | ||
import { globbyStream } from 'globby'; | ||
import path from 'path'; | ||
@@ -19,3 +19,3 @@ import ejs from 'ejs'; | ||
try { | ||
for (var _b = __asyncValues(globby.stream(path.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) { | ||
for (var _b = __asyncValues(globbyStream(path.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) { | ||
const sourceFileBuf = _c.value; | ||
@@ -22,0 +22,0 @@ const sourceFile = sourceFileBuf.toString(); |
{ | ||
"name": "create-goji-app", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Create GojiJS App", | ||
@@ -21,9 +21,9 @@ "main": "index.js", | ||
"dependencies": { | ||
"chalk": "^4.1.0", | ||
"chalk": "^4.1.2", | ||
"ejs": "^3.1.3", | ||
"globby": "^11.0.1", | ||
"globby": "^12.0.0", | ||
"mkdirp": "^1.0.4", | ||
"tslib": "^2.0.3" | ||
"tslib": "^2.3.0" | ||
}, | ||
"gitHead": "1e4d7ce02fb55745406d141f2cd2c919ceccbc15" | ||
"gitHead": "c91cbfd4548aec7783d45346c5b79a1e1e40f635" | ||
} |
import mkdirp from 'mkdirp'; | ||
import globby from 'globby'; | ||
import { globbyStream } from 'globby'; | ||
import path from 'path'; | ||
@@ -18,3 +18,3 @@ import ejs from 'ejs'; | ||
export const generateProject = async (projectName, sourcePath: string, destPath: string) => { | ||
for await (const sourceFileBuf of globby.stream(path.join(sourcePath, '**'))) { | ||
for await (const sourceFileBuf of globbyStream(path.join(sourcePath, '**'))) { | ||
const sourceFile = sourceFileBuf.toString(); | ||
@@ -21,0 +21,0 @@ const relativePath = path.relative(sourcePath, sourceFile); |
import { GojiTarget } from '@goji/core'; | ||
export default ({ target }: { target: GojiTarget }) => { | ||
return { | ||
export default ({ target }: { target: GojiTarget }) => ({ | ||
pages: ['pages/index/index'], | ||
@@ -13,3 +12,2 @@ window: { | ||
}, | ||
}; | ||
}; | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
24297
435
+ Addedarray-union@3.0.1(transitive)
+ Addedglobby@12.2.0(transitive)
+ Addedslash@4.0.0(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedglobby@11.1.0(transitive)
- Removedslash@3.0.0(transitive)
Updatedchalk@^4.1.2
Updatedglobby@^12.0.0
Updatedtslib@^2.3.0