-
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.
- Loading branch information
Showing
19 changed files
with
462 additions
and
16 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
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,6 @@ | ||
export * from "./src/index"; | ||
export * from "./src/Interfaces"; | ||
export * from "./src/Config"; | ||
export * from "./src/Constants"; | ||
export * from "./src/Interfaces"; | ||
export * from "./src/Resource"; | ||
export * from "./src/Types"; | ||
export * from "./src/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
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 @@ | ||
echo "TESTING!!!" | ||
|
||
npm install | ||
npm run build | ||
|
||
cd tests/consumers/cjs && npm run test | ||
cd ../esm && npm run test | ||
cd ../ts-local && npm run test |
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,11 @@ | ||
const api = require("axe-api-client"); | ||
|
||
const main = async () => { | ||
api.setConfig({ | ||
baseURL: "https://axe-api.com", | ||
}); | ||
console.log(api.getConfig()); | ||
console.log("CJS module tests are succeed!"); | ||
}; | ||
|
||
main(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "tester", | ||
"version": "1.0.0", | ||
"main": "common.js", | ||
"type": "commonjs", | ||
"scripts": { | ||
"test": "rm -rf node_modules && rm -rf package-lock.json && npm install && node index.js" | ||
}, | ||
"dependencies": { | ||
"axe-api-client": "file:../../../" | ||
} | ||
} |
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,11 @@ | ||
rm -rf node_modules | ||
rm -rf package-lock.json | ||
|
||
npm unlink axe-api | ||
npm link axe-api | ||
|
||
# npm install | ||
pwd | ||
node index.js | ||
|
||
npm unlink axe-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,12 @@ | ||
import { api } from "axe-api-client"; | ||
|
||
const main = async () => { | ||
api.setConfig({ | ||
baseURL: "https://axe-api.com", | ||
}); | ||
console.log(api.getConfig()); | ||
|
||
console.log("ESM module tests are succeed!"); | ||
}; | ||
|
||
main(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "tester", | ||
"version": "1.0.0", | ||
"main": "common.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "rm -rf node_modules && rm -rf package-lock.json && npm install && node index.js" | ||
}, | ||
"dependencies": { | ||
"axe-api-client": "file:../../../" | ||
} | ||
} |
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 @@ | ||
import { api } from "axe-api-client"; | ||
|
||
const main = async () => { | ||
api.setConfig({ | ||
baseURL: "https://axe-api.com", | ||
}); | ||
console.log(api.getConfig()); | ||
|
||
console.log("ESM module tests are succeed!"); | ||
}; | ||
|
||
main(); |
Oops, something went wrong.