-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ | |
"ignore-artifact": "node dist/ignore.js", | ||
"start": "package", | ||
"go": "runnable", | ||
"go-live": "deploy -r repo_name" | ||
"go-live": "deploy -r repo_name", | ||
"tsup": "tsup -c tsup.cool.json", | ||
"tsuppy": "tsup --config tsup.cool.json" | ||
}, | ||
"dependencies": { | ||
"express": "*", | ||
|
@@ -24,6 +26,7 @@ | |
"devDependencies": { | ||
"pm2": "*", | ||
"nx": "*", | ||
"tsup": "*", | ||
"unused": "*", | ||
"eslint": "8.28.0", | ||
"eslint-v6": "npm:[email protected]", | ||
|
@@ -34,11 +37,6 @@ | |
}, | ||
"knip": { | ||
"ignore": "ignore.js", | ||
"ignoreBinaries": [ | ||
"rm", | ||
"bash", | ||
"deploy", | ||
"eslint" | ||
] | ||
"ignoreBinaries": ["rm", "bash", "deploy", "eslint"] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: CI | ||
|
||
on: push | ||
|
||
jobs: | ||
stylelint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run stylelint check | ||
run: yarn stylelint | ||
working-directory: packages/app |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "@fixtures/github-actions-workspaces", | ||
"workspaces": ["packages/*"], | ||
"scripts": { | ||
"hello-app": "yarn run --cwd packages/app goodbye" | ||
}, | ||
"dependencies": { | ||
"hello": "*" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@github-actions-workspaces/app", | ||
"scripts": { | ||
"stylelint": "stylelint", | ||
"hello-world": "yarn run --top-level hello" | ||
}, | ||
"devDependencies": { | ||
"stylelint": "*", | ||
"goodbye": "*" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "@github-actions-workspaces/lib" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: CI | ||
|
||
on: push | ||
|
||
jobs: | ||
job1: | ||
runs-on: ubuntu-latest | ||
name: work | ||
|
||
steps: | ||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | ||
|
||
- run: node scripts/no-working-dir | ||
|
||
job2: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@4 | ||
with: | ||
path: some-dir | ||
|
||
- run: node scripts/from-working-dir-with-path | ||
working-directory: ./some-dir | ||
|
||
job3: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@4 | ||
|
||
- run: node from-working-dir | ||
working-directory: scripts |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "@fixtures/node", | ||
"version": "*" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "@fixtures/nodemon", | ||
"version": "*" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
{ | ||
"name": "@fixtures/tsup", | ||
"version": "*" | ||
"version": "*", | ||
"devDependencies": { | ||
"tsup": "*" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"build-3": "tsup --config tsup.config-3.ts", | ||
"build-4": "tsup -c tsup.config-4.ts" | ||
}, | ||
"tsup": { | ||
"entry": ["entry-5.ts"] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
export default defineConfig({ | ||
entry: ['entry-3.ts'], | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
export default defineConfig({ | ||
entry: ['entry-4.ts'], | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"entry": ["entry-1.ts"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
export default defineConfig({ | ||
entry: ['entry-2.ts'], | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { defineConfig } from 'vitest/config'; | ||
|
||
export default defineConfig({ | ||
test: { | ||
root: '../tests', | ||
include: ['*.test.ts'], | ||
setupFiles: ['./setup.ts'], | ||
}, | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@fixtures/vitest6", | ||
"scripts": { | ||
"test": "vitest -c config/fiep.ts" | ||
}, | ||
"devDependencies": { | ||
"vitest": "*" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { expect, test } from 'vitest'; | ||
|
||
test('Unit A', () => { | ||
expect(true).toBe(!false); | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { expect, test } from 'vitest'; | ||
|
||
test('Unit A', () => { | ||
expect(true).toBe(!false); | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.