Skip to content

Commit

Permalink
chore: Refactor repo to match "standards"
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian-McBride committed Jul 24, 2022
1 parent b4eb7fd commit 65ef22c
Show file tree
Hide file tree
Showing 106 changed files with 3,103 additions and 5,223 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"rules": {
"no-console": ["error", { "allow": ["warn", "error"] }]
},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down Expand Up @@ -43,18 +44,29 @@ jobs:
run: npm install

- name: Test
run: npm run test:affected
run: npm run affected:test

- name: Version
shell: bash
run: npm run affected:version

- name: Build
run: npm run build:affected
run: npm run affected:build

- name: Version
- name: publish
run: npm run affected:publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: git-update
shell: bash
run: npm run release:affected
run: npm run affected:github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


- name: Tag last-release
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/out-tsc

# dependencies
/node_modules
node_modules

# IDEs and editors
/.idea
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"singleQuote": true
}
}
6 changes: 4 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { getJestProjects } = require('@nrwl/jest');
import { getJestProjects } from '@nrwl/jest';

export default { projects: getJestProjects() };
export default {
projects: getJestProjects(),
};
120 changes: 0 additions & 120 deletions libs/graphql-codegen-zod/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions libs/graphql-codegen-zod/jest.config.ts

This file was deleted.

21 changes: 0 additions & 21 deletions libs/graphql-zod-validation/LICENSE

This file was deleted.

Loading

0 comments on commit 65ef22c

Please sign in to comment.