forked from zxch3n/tidy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from hackworthltd/dhess/buildkite
Build this project with Nix & Buildkite
- Loading branch information
Showing
29 changed files
with
4,861 additions
and
1,086 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,24 @@ | ||
agents: | ||
public: "true" | ||
os: "linux" | ||
|
||
steps: | ||
- command: nix-buildkite | ||
label: ":nixos: :buildkite:" | ||
plugins: | ||
- circuithub/nix-buildkite: | ||
file: ci.nix | ||
|
||
- label: ":nixos: Archive Nix flake inputs" | ||
command: nix flake archive .# | ||
|
||
- wait | ||
|
||
- label: ":nixos: :linux: Cache the Nix shell" | ||
command: | | ||
nix develop --print-build-logs --profile /tmp/tidy --command echo "done" | ||
- label: ":nixos: :macos: Cache the Nix shell" | ||
command: | | ||
nix develop --print-build-logs --profile /tmp/tidy --command echo "done" | ||
agents: | ||
os: "darwin" |
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,12 @@ | ||
.eslintrc.cjs | ||
module/ | ||
node_modules/ | ||
coverage/ | ||
target/ | ||
dist/ | ||
wasm_dist/ | ||
docs/ | ||
storybook-static/ | ||
.cache/ | ||
*.log | ||
.DS_Store |
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,41 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
|
||
extends: [ | ||
'eslint:recommended', | ||
'plugin:eslint-comments/recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/typescript', | ||
'plugin:react/recommended', | ||
'plugin:react/jsx-runtime', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:storybook/recommended', | ||
'prettier', | ||
], | ||
|
||
settings: { | ||
react: { | ||
// Stop eslint-plugin-react from complaining. | ||
version: '17', | ||
}, | ||
|
||
// This keeps the eslint-plugin-import linter in sync with our | ||
// TypeScript settings, so we only need to set up path aliases in | ||
// tsconfig.json. | ||
'import/resolver': { | ||
typescript: { | ||
project: ['tsconfig.json'], | ||
}, | ||
}, | ||
}, | ||
|
||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
argsIgnorePattern: "^_", | ||
}, | ||
], | ||
} | ||
}; |
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,4 +1,3 @@ | ||
lib/ | ||
module/ | ||
node_modules/ | ||
coverage/ | ||
|
@@ -10,3 +9,6 @@ storybook-static/ | |
.cache/ | ||
*.log | ||
.DS_Store | ||
|
||
# Nix | ||
result* |
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,17 @@ | ||
README.md | ||
CHANGELOG.md | ||
LICENSE | ||
module/ | ||
node_modules/ | ||
coverage/ | ||
target/ | ||
dist/ | ||
wasm_dist/ | ||
docs/ | ||
storybook-static/ | ||
.cache/ | ||
*.log | ||
.DS_Store | ||
.github/ | ||
result* | ||
.buildkite/ |
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,15 @@ | ||
module.exports = { | ||
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'], | ||
addons: [ | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'@storybook/addon-interactions', | ||
], | ||
framework: '@storybook/react', | ||
core: { | ||
builder: '@storybook/builder-vite', | ||
}, | ||
features: { | ||
storyStoreV7: true, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
<script> | ||
window.global = window; | ||
</script> | ||
</script> |
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 @@ | ||
(import ./flake-compat.nix).defaultNix.ciJobs |
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 @@ | ||
(import ./flake-compat.nix).defaultNix |
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,9 @@ | ||
let | ||
lock = builtins.fromJSON (builtins.readFile ./flake.lock); | ||
inherit (lock.nodes.flake-compat.locked) owner repo rev narHash; | ||
flake-compat = builtins.fetchTarball { | ||
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; | ||
sha256 = narHash; | ||
}; | ||
in | ||
import flake-compat { src = ./.; } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.