Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add helper util package for overrides #7726

Merged
merged 5 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ packages/**/reports/junit/*
test.out.log
*.tsbuildinfo
packages/amplify-graphiql-explorer/.eslintcache
packages/amplify-cli-overrides-helper/lib
5 changes: 5 additions & 0 deletions packages/amplify-cli-overrides-helper/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/__mocks__/**
**/__tests__/**
src
tsconfig.json
tsconfig.tsbuildinfo
1 change: 1 addition & 0 deletions packages/amplify-cli-overrides-helper/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EMPTY SKELETON FOR NOW.
47 changes: 47 additions & 0 deletions packages/amplify-cli-overrides-helper/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"name": "@aws-amplify/cli-overrides-helper",
"version": "1.0.0",
"description": "Amplify CLI Overrides Helper utility package",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-cli.git",
"directory": "packages/amplify-cli-overrides-helper"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"keywords": [
"graphql",
"cli",
"cloudformation",
"aws",
"amplify"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"clean": "rimraf ./lib"
},
"dependencies": {},
"devDependencies": {},
"jest": {
"transform": {
"^.+\\.(ts|tsx)?$": "ts-jest"
},
"testRegex": "(src/__tests__/.*.test.ts)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverage": true
}
}

7 changes: 7 additions & 0 deletions packages/amplify-cli-overrides-helper/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export function getProjectInfo (): void {
console.log('Hello from the skeleton of get project info');
};

export function addDependency (): void {
console.log('Hello from the skeleton of add dependency');
};
8 changes: 8 additions & 0 deletions packages/amplify-cli-overrides-helper/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./lib",
"rootDir": "./src",
}
}