Skip to content

Commit

Permalink
🚚 rename directives
Browse files Browse the repository at this point in the history
  • Loading branch information
Mbaye THIAM committed Mar 29, 2024
1 parent 57a4060 commit 8892857
Show file tree
Hide file tree
Showing 69 changed files with 166 additions and 163 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Unit Tests for spl-directive library
name: Run Unit Tests for directive-spl library

on:
push:
Expand Down Expand Up @@ -27,4 +27,4 @@ jobs:
run: npm install

- name: Run tests
run: npm test -w spl-directive
run: npm test -w directive-spl
212 changes: 106 additions & 106 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "graphql-mesh",
"workspaces": {
"packages": ["packages/*"]
"packages": [
"packages/*"
]
},
"scripts": {
"clean:modules": "npm exec --workspaces -- npx rimraf node_modules && npx rimraf node_modules",
"generate:mesh:lock": "cd packages/graphql-mesh && npm i --package-lock-only --workspaces=false",
"postinstall": "npm run postinstall -w graphql-mesh && patch-package && npm run generate:mesh:lock",
"prepare": "concurrently \"npm run pack -w spl-directive\" \"npm run pack -w headers-directive\" \"npm run pack -w no-auth-directive\"",
"prepare": "concurrently \"npm run pack -w directive-spl\" \"npm run pack -w directive-headers\" \"npm run pack -w directive-no-auth\"",
"start": "npm start -w graphql-mesh"
},
"devDependencies": {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "headers-directive",
"name": "directive-headers",
"version": "1.0.0",
"type": "module",
"main": "_build/cjs/index.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "no-auth-directive",
"name": "directive-no-auth",
"version": "1.0.0",
"type": "module",
"main": "_build/cjs/index.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "spl-directive",
"name": "directive-spl",
"version": "1.0.0",
"type": "module",
"main": "_build/cjs/index.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions packages/graphql-mesh/.meshrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import {
const config = <Config>{
...defaultConfig,
transforms: [
{ 'spl-directive': {} },
{ 'headers-directive': {} },
{ 'no-auth-directive': {} },
{ 'directive-spl': {} },
{ 'directive-headers': {} },
{ 'directive-no-auth': {} },
...(defaultConfig.transforms || [])
],
sources: [...openapiSources, ...othersSources],
Expand Down
Loading

0 comments on commit 8892857

Please sign in to comment.