Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-lit-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-lit-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ define.lint(async () => {

return [js.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-lit-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ define.lint(async () => {

return [js.configs.recommended, ts.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-preact-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-react-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-react-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-react-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-solid-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-solid-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ define.lint(async () => {

return [js.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-solid-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ define.lint(async () => {

return [js.configs.recommended, ts.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-svelte-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ define.lint(async () => {

define.fmt({
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "svelte-check && rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ define.lint(async () => {

define.fmt({
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
});
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ define.lint(async () => {

return [js.configs.recommended];
});

define.fmt({
singleQuote: true,
});
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ define.lint(async () => {

return [js.configs.recommended, ts.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-vue-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-vue-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ define.lint(async () => {

return [js.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-app-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "vue-tsc && rs build",
"check": "rs lint && rs fmt --check",
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-app-vue-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ define.lint(async () => {

return [js.configs.recommended, ts.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-doc-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs doc build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs doc",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-doc-basic/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-doc-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"build": "rs doc build",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs doc",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-doc-i18n/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-node-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-lib-node-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ define.lint(async () => {

return [js.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-node-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-lib-node-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ define.lint(async () => {

return [js.configs.recommended, ts.configs.recommended];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-react-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-lib-react-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
8 changes: 7 additions & 1 deletion packages/create-rstack/template-lib-react-js/src/Button.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import './button.css';

export const Button = ({ primary = false, size = 'medium', backgroundColor, label, ...props }) => {
export const Button = ({
primary = false,
size = 'medium',
backgroundColor,
label,
...props
}) => {
const mode = primary ? 'demo-button--primary' : 'demo-button--secondary';
return (
<button
Expand Down
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-lib-react-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ define.lint(async () => {
reactHooksPlugin.configs.recommended,
];
});

define.fmt({
singleQuote: true,
});
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-solid-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-lib-solid-js/rstack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ define.lint(async () => {

return [js.configs.recommended];
});

define.fmt({
singleQuote: true,
});
3 changes: 2 additions & 1 deletion packages/create-rstack/template-lib-solid-js/src/Button.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import './button.css';

export function Button(props) {
const mode = () => (props.primary ? 'demo-button--primary' : 'demo-button--secondary');
const mode = () =>
props.primary ? 'demo-button--primary' : 'demo-button--secondary';
const size = () => props.size ?? 'medium';

return (
Expand Down
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint --type-check && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rstack/template-lib-solid-ts/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ define.lint(async () => {

return [js.configs.recommended, ts.configs.recommended];
});

define.fmt({
singleQuote: true,
});
3 changes: 2 additions & 1 deletion packages/create-rstack/template-lib-solid-ts/src/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export interface ButtonProps {
}

export function Button(props: ButtonProps) {
const mode = () => (props.primary ? 'demo-button--primary' : 'demo-button--secondary');
const mode = () =>
props.primary ? 'demo-button--primary' : 'demo-button--secondary';
const size = () => props.size ?? 'medium';

return (
Expand Down
1 change: 1 addition & 0 deletions packages/create-rstack/template-lib-svelte-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"scripts": {
"build": "rs lib",
"check": "rs lint && rs fmt --check",
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ define.lint(async () => {

define.fmt({
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
});
Loading