-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88e40e7
commit 4af9332
Showing
42 changed files
with
529 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"app": { | ||
"name": "test" | ||
}, | ||
"commands": { | ||
"atom": { | ||
"type": "scaffold", | ||
"outputPath": "./experiments/atom", | ||
"use": "default-ts", | ||
"substitute": {} | ||
}, | ||
"component": { | ||
"type": "scaffold", | ||
"outputPath": "./experiments/component", | ||
"use": "default-ts", | ||
"substitute": {} | ||
}, | ||
"test": { | ||
"type": "scaffold", | ||
"outputPath": "./experiments/test", | ||
"use": "default-ts", | ||
"substitute": {} | ||
} | ||
}, | ||
"modules": { | ||
"scaffold": { | ||
"default-ts": "1.0.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from 'react'; | ||
|
||
/* Types */ | ||
interface Props extends React.ComponentProps<'div'> { | ||
/** | ||
* The component text | ||
*/ | ||
text: string; | ||
} | ||
|
||
/** | ||
* The %SENTENCE_CASE% %TYPE% | ||
*/ | ||
export const %PASCAL_CASE%: React.FC<Props> = ({ | ||
text = 'Made with Builda', | ||
className, | ||
...props | ||
}: Props) => { | ||
|
||
return ( | ||
<div className={`'%KEBAB_CASE%' ${className}`} {...props}> | ||
{text} | ||
</div> | ||
); | ||
}; | ||
|
||
%PASCAL_CASE%.displayName = '%PASCAL_CASE%' | ||
|
||
export default %PASCAL_CASE%; | ||
export type { Props }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "default-ts", | ||
"type": "scaffold", | ||
"version": "1.0.0", | ||
"author": "Alex Foxleigh (https://www.alexfoxleigh.com/)", | ||
"funding": "https://www.patreon.com/builda", | ||
"moduleUrl": "https://builda.add/scaffolds/default-ts", | ||
"description": "This is the default typescript scaffold that ships with builda. It only has the bare minimum of dependencies to get you started.\n", | ||
"keywords": [ | ||
"react", | ||
"typescript" | ||
], | ||
"files": [ | ||
"index.tsx" | ||
], | ||
"dependencies": { | ||
"react": "^17.0.0", | ||
"typescript": "^4.5.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +0,0 @@ | ||
.vscode/ | ||
.DS_Store | ||
/node_modules | ||
npm-debug.log | ||
/components | ||
log.txt | ||
.builda.yml | ||
.buildcomrc | ||
.nyc_output/ | ||
coverage/ | ||
src/helpers/globals.ts | ||
**/tsconfig.tsbuildinfo | ||
/experiments | ||
.builda/* | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = { "version": "3.0.0-alpha.1", "buildaDir": ".builda", "configFileName": ".builda.yml", "websiteUrl": "https://www.builda.app" }; | ||
exports.default = { "version": "3.0.0-alpha.1", "buildaDir": ".builda", "configFileName": ".builda.json", "websiteUrl": "https://www.builda.app" }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export default {"version":"3.0.0-alpha.1","buildaDir":".builda","configFileName":".builda.yml","websiteUrl":"https://www.builda.app"}; | ||
export default {"version":"3.0.0-alpha.1","buildaDir":".builda","configFileName":".builda.json","websiteUrl":"https://www.builda.app"}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.