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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -26,3 +26,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -25,3 +25,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -27,3 +27,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -27,3 +27,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -29,3 +29,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -28,3 +28,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ define.fmt({
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml,svelte}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ define.fmt({
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml,svelte}': 'rs fmt',
});
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
Comment thread
chenjiahan marked this conversation as resolved.
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -23,3 +23,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml,vue}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs dev",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs preview",
"test": "rs test",
"test:watch": "rs test --watch"
Expand Down
5 changes: 5 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 @@ -22,3 +22,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml,vue}': 'rs fmt',
});
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rs staged
Comment thread
chenjiahan marked this conversation as resolved.
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 @@ -9,6 +9,7 @@
"dev": "rs doc",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs doc preview"
},
"devDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions packages/create-rstack/template-doc-basic/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -9,6 +9,7 @@
"dev": "rs doc",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"preview": "rs doc preview"
},
"devDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions packages/create-rstack/template-doc-i18n/rstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -18,6 +18,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
5 changes: 5 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 @@ -19,3 +19,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -20,6 +20,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
5 changes: 5 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 @@ -19,3 +19,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -17,6 +17,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
5 changes: 5 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 @@ -36,3 +36,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -19,6 +19,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
5 changes: 5 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 @@ -37,3 +37,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -18,6 +18,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
5 changes: 5 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 @@ -84,3 +84,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -20,6 +20,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
5 changes: 5 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 @@ -84,3 +84,8 @@ define.lint(async () => {
define.fmt({
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'rs fmt',
});
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 @@ -17,6 +17,7 @@
"dev": "rs lib --watch",
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs setup",
"test": "rs test",
"test:watch": "rs test --watch"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ define.fmt({
plugins: ['prettier-plugin-svelte'],
singleQuote: true,
});

define.staged({
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'rs fmt'],
'*.{json,jsonc,md,mdx,css,html,yml,yaml,svelte}': 'rs fmt',
});
Loading