frets-styles-generator
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -9,2 +9,4 @@ #! /usr/bin/env node | ||
let program = require("commander"); | ||
const walk = require("walk"); | ||
const normalize = require('normalize-path'); | ||
let isWatching = false; | ||
@@ -17,16 +19,28 @@ let usedClasses = []; | ||
.version("0.1.2") | ||
.usage("[options] inputFile outputFile") | ||
.usage("[options] inputPath") | ||
.option("-w, --watch", "watch the file for changes") | ||
.parse(process.argv); | ||
const inputFile = program.args[0]; | ||
const outputFile = program.args[1]; | ||
const inputPath = normalize(program.args[0]); | ||
// const outputFile = program.args[1]; | ||
const watchMode = program.watch; | ||
readFile(inputFile, outputFile); | ||
console.log("reading directory " + inputPath); | ||
const walker = walk.walk(inputPath); | ||
walker.on("file", (root, stat, next) => { | ||
if (!stat.isDirectory()) { | ||
const extension = stat.name.split(".")[1]; | ||
if (extension === "css") { | ||
const inputFile = stat.name.split(".")[0]; | ||
readFile(root + "/" + stat.name, root + `/${inputFile.split()}-styles.ts`); | ||
} | ||
} | ||
next(); | ||
}); | ||
function readFile(input, output) { | ||
console.log("reading " + input); | ||
fs.readFile(input || "./src/base.css", (err, data) => { | ||
fs.readFile(input, (err, data) => { | ||
if (err) { | ||
throw new Error("Couldn't read input file: " + input); | ||
console.error("Couldn't read input file: " + input); | ||
return; | ||
} | ||
postcss([importer({ root: "./src/" })]).process(data.toString()) | ||
postcss([importer({ root: inputPath })]).process(data.toString()) | ||
.then((result) => { | ||
@@ -60,4 +74,4 @@ usedClasses = []; | ||
import * as Maquette from "maquette"; | ||
export class BaseStyles { | ||
export default class BaseStyles { | ||
public chain: string[]; | ||
@@ -69,3 +83,3 @@ public conditions: boolean[] = []; | ||
private classObjectMode: boolean = false; | ||
constructor(selector: string) { | ||
@@ -78,3 +92,3 @@ this.chain = new Array<string>(); | ||
} | ||
public when = (condition: boolean): BaseStyles => { | ||
@@ -85,3 +99,3 @@ this.classObjectMode = true; | ||
} | ||
public andWhen = (condition: boolean): BaseStyles => { | ||
@@ -92,5 +106,5 @@ this.classObjectMode = true; | ||
return this.when(condition); | ||
} | ||
public otherwise = (): BaseStyles => { | ||
@@ -100,10 +114,13 @@ this.classObjectMode = true; | ||
} | ||
public h = (properties?: Maquette.VNodeProperties, ...children: Maquette.VNodeChild[]): Maquette.VNode => { | ||
public h = (properties?: Maquette.VNodeProperties, children?: (string | Maquette.VNode | Maquette.VNodeChild)[]): Maquette.VNode => { | ||
if (this.classObjectMode) { | ||
throw Error("You can't build a vnode when you are using this for building a classes object"); | ||
} | ||
if (typeof properties === "object" && properties.length > 0) { | ||
return Maquette.h(this.toString(), properties); | ||
} | ||
return Maquette.h(this.toString(), properties, children); | ||
} | ||
public toObj = () => { | ||
@@ -116,3 +133,3 @@ if (!this.classObjectMode) { | ||
} | ||
get div(): BaseStyles { return new BaseStyles("div"); } | ||
@@ -125,3 +142,3 @@ get span(): BaseStyles { return new BaseStyles("span"); } | ||
get textarea(): BaseStyles { return new BaseStyles("textarea.textarea"); } | ||
public toString = (): string => { | ||
@@ -131,9 +148,12 @@ if (this.classObjectMode) { | ||
} | ||
if (this.chain.length === 1) { | ||
return this.chain[0] || "div"; | ||
} | ||
return this.chain.join("."); | ||
} | ||
public $ = (className: string): BaseStyles => { | ||
return this.add(className); | ||
} | ||
public add = (className: string): BaseStyles => { | ||
@@ -161,3 +181,3 @@ if (this.classObjectMode) { | ||
console.log(`writing ${classProperties.length} members into ${output}`); | ||
fs.writeFileSync(output || "./src/base-styles.ts", typeScriptClass); | ||
fs.writeFileSync(output, typeScriptClass); | ||
if (watchMode && !isWatching) { | ||
@@ -171,2 +191,2 @@ isWatching = true; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQtc3R5bGUtdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9idWlsZC1zdHlsZS10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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FFLENBQUMsYUFBYSxDQUFDLE1BQU0sRUFBRSxlQUFlLENBQUMsQ0FBQztZQUMxQyxFQUFFLENBQUMsQ0FBQyxTQUFTLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDO2dCQUMzQixVQUFVLEdBQUcsSUFBSSxDQUFDO2dCQUNsQixPQUFPLENBQUMsR0FBRyxDQUFDLHlCQUF5QixDQUFDLENBQUM7Z0JBQ3ZDLEVBQUUsQ0FBQyxTQUFTLENBQUMsS0FBSyxFQUFFLE1BQU0sUUFBUSxDQUFDLEtBQUssRUFBRSxNQUFNLENBQUMsQ0FBQyxDQUFDO1lBQ3ZELENBQUM7UUFDTCxDQUFDLENBQUMsQ0FBQztJQUNQLENBQUMsQ0FBQyxDQUFDO0FBQ1AsQ0FBQyJ9 |
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="0.1.4"></a> | ||
## [0.1.4](https://gitlab.com/FRETS/frets/compare/v0.1.2...v0.1.4) (2018-04-28) | ||
<a name="0.1.3"></a> | ||
@@ -7,0 +12,0 @@ ## [0.1.3](https://gitlab.com/FRETS/frets/compare/v0.1.2...v0.1.3) (2017-11-29) |
{ | ||
"name": "frets-styles-generator", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Tool that genreates a typescript class for FRETS based on a CSS file", | ||
@@ -11,3 +11,3 @@ "main": "build/main/index.js", | ||
"bin": { | ||
"frets-styles-generator": "dist/build-style-type.js" | ||
"frets-styles-generator": "build/main/build-style-type.js" | ||
}, | ||
@@ -107,8 +107,10 @@ "scripts": { | ||
"dependencies": { | ||
"tslib": "^1.6.0", | ||
"camel-case": "^3.0.0", | ||
"commander": "^2.12.2", | ||
"normalize-path": "^3.0.0", | ||
"postcss": "^6.0.13", | ||
"postcss-import": "^11.0.0", | ||
"postcss": "^6.0.13", | ||
"camel-case": "^3.0.0" | ||
"tslib": "^1.6.0", | ||
"walk": "^2.3.13" | ||
} | ||
} |
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
302
175691
7
+ Addednormalize-path@^3.0.0
+ Addedwalk@^2.3.13
+ Addedforeachasync@3.0.0(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedwalk@2.3.15(transitive)