This repository was archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changeset, eslint config, vscode settings and docs and stay in root
- Loading branch information
1 parent
10cdea3
commit 72b863f
Showing
22 changed files
with
2,375 additions
and
2,460 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
--- | ||
--- |
File renamed without changes.
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
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
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 |
---|---|---|
|
@@ -12,6 +12,9 @@ bundle/ | |
*.d.ts.map | ||
*.js | ||
*.js.map | ||
*.mjs | ||
*.esnext | ||
*.tgz | ||
.vscode/ | ||
|
||
.turbo | ||
**/build/ |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,33 @@ | ||
{ | ||
"name": "shopify-api-js--root", | ||
"version": "1.0.0", | ||
"license": "UNLICENSED", | ||
"private": true, | ||
"scripts": { | ||
"build": "turbo build", | ||
"dev": "turbo dev --no-cache --continue", | ||
"lint": "turbo lint", | ||
"clean": "turbo clean && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"changeset": "changeset", | ||
"version-packages": "changeset version", | ||
"release": "turbo build --filter=docs^... && changeset publish", | ||
"test": "turbo run test --parallel" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.22.0", | ||
"@shopify/eslint-plugin": "^42.0.0", | ||
"@shopify/prettier-config": "^1.1.2", | ||
"eslint": "^7.32.0", | ||
"jest": "^29.7.0", | ||
"jest-runner-eslint": "^2.1.2", | ||
"prettier": "^2.5.1", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"turbo": "^1.9.3" | ||
}, | ||
"dependencies": {}, | ||
"workspaces": [ | ||
"packages/*" | ||
] | ||
} |
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
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
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
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
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,8 @@ | ||
import fetchMock from 'jest-fetch-mock'; | ||
|
||
// Globally disable fetch requests so we don't risk making real ones | ||
fetchMock.enableMocks(); | ||
|
||
beforeEach(() => { | ||
fetchMock.mockReset(); | ||
}); |
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,43 @@ | ||
{ | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"composite": true, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"pretty": true, | ||
"moduleResolution": "node", | ||
"module": "commonjs", | ||
"target": "es2015", | ||
"downlevelIteration": true, | ||
"esModuleInterop": true, | ||
"sourceMap": true, | ||
"noEmitOnError": false, | ||
"experimentalDecorators": true, | ||
"noUnusedParameters": true, | ||
"noUnusedLocals": true, | ||
"importHelpers": true, | ||
"strictNullChecks": true, | ||
"noImplicitAny": true, | ||
"noImplicitThis": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"es2015", | ||
"es2016", | ||
"es2017", | ||
"es2018", | ||
"es2019", | ||
"es2020", | ||
"esnext.asynciterable" | ||
], | ||
"typeRoots": ["./node_modules/@types"], | ||
"types": ["node", "jest"], | ||
"baseUrl": ".", | ||
"rootDir": "." | ||
}, | ||
"references": [ | ||
{"path": "./packages/shopify-api"} | ||
] | ||
} |
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,7 @@ | ||
{ | ||
"files": [], | ||
"include": [], | ||
"references": [ | ||
{"path": "./packages/shopify-api"} | ||
] | ||
} |
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,26 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"globalDependencies": [ | ||
"**/.env.*local" | ||
], | ||
"pipeline": { | ||
"build": { | ||
"outputs": [ | ||
"dist/**" | ||
], | ||
"dependsOn": [ | ||
"^build" | ||
] | ||
}, | ||
"test": { | ||
}, | ||
"lint": {}, | ||
"dev": { | ||
"cache": false, | ||
"persistent": true | ||
}, | ||
"clean": { | ||
"cache": false | ||
} | ||
} | ||
} |
Oops, something went wrong.