Skip to content

Commit

Permalink
chore(config): updates styleguide (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 authored Oct 4, 2024
1 parent 24f9078 commit 7fed31b
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 198 deletions.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
module.exports = {
extends: [require.resolve('@kurocado-studio/style-guide/eslint/node')],
extends: [
require.resolve('@kurocado-studio/style-guide/eslint/browser'),
require.resolve('@kurocado-studio/style-guide/eslint/react'),
],
env: {
browser: true,
amd: true,
node: true,
},
settings: {
'import/resolver': {
alias: {
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/_base.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/ci.lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Code Quality

on:
pull_request:
push:
branches:
- main

jobs:
code-quality:
uses: kurocado-studio/styleguide/.github/workflows/lint.yml@main
secrets: inherit
22 changes: 22 additions & 0 deletions .github/workflows/ci.release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Workflow

permissions:
pull-requests: write
contents: write
pages: write
id-token: write

on:
workflow_call:
push:
branches:
- main

jobs:
manage-release:
uses: kurocado-studio/styleguide/.github/workflows/release.yml@main
secrets: inherit

generate-documentation:
uses: kurocado-studio/styleguide/.github/workflows/documentation.yml@main
secrets: inherit
54 changes: 0 additions & 54 deletions .github/workflows/ci.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/documentation.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
auto-install-peers = true
@@kurocado-studio:registry=https://www.npmjs.com/settings/kurocado-studio/packages
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
package-lock.json
package.json
pnpm-lock.yaml
3 changes: 3 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = require.resolve(
'@kurocado-studio/style-guide/semantic-release',
);
Loading

0 comments on commit 7fed31b

Please sign in to comment.