generated from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chore) Bump dependencies and setup tooling (#64)
- Loading branch information
1 parent
2d2a5ed
commit 9393be2
Showing
37 changed files
with
1,526 additions
and
1,386 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": true, | ||
"tsconfigRootDir": "__dirname" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"root": true, | ||
"rules": { | ||
// turned off to keep the diff small for now | ||
"@typescript-eslint/no-floating-promises": "off", | ||
"@typescript-eslint/no-misused-promises": "off", | ||
// The following rules need `noImplicitAny` to be set to `true` in our tsconfig. They are too restrictive for now, but should be reconsidered in future | ||
"@typescript-eslint/no-unsafe-argument": "off", | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
"@typescript-eslint/no-unsafe-member-access": "off", | ||
"@typescript-eslint/no-unsafe-return": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/unbound-method": "off", | ||
// Nitpicky. Prefer `interface T` over type T | ||
"@typescript-eslint/consistent-type-definitions": "off", | ||
"@typescript-eslint/consistent-type-exports": "error", | ||
// Use `import type` instead of `import` for type imports | ||
"@typescript-eslint/consistent-type-imports": [ | ||
"error", | ||
{ | ||
"fixStyle": "inline-type-imports" | ||
} | ||
], | ||
// Use Array<T> instead of T[] consistently | ||
"@typescript-eslint/array-type": [ | ||
"error", | ||
{ | ||
"default": "generic" | ||
} | ||
], | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"no-restricted-imports": [ | ||
"error", | ||
{ | ||
"paths": [ | ||
// These two rules ensure that we're importing lodash and lodash-es correctly. Not doing so can bloat our bundle size significantly. | ||
{ | ||
"name": "lodash", | ||
"message": "Import specific methods from `lodash`. e.g. `import map from 'lodash/map'`" | ||
}, | ||
{ | ||
"name": "lodash-es", | ||
"importNames": ["default"], | ||
"message": "Import specific methods from `lodash-es`. e.g. `import { map } from 'lodash-es'`" | ||
}, | ||
// These two rules ensure that we're importing Carbon components and icons from the correct packages (after v10). May be removed in the future. | ||
{ | ||
"name": "carbon-components-react", | ||
"message": "Import from `@carbon/react` directly. e.g. `import { Toggle } from '@carbon/react'`" | ||
}, | ||
{ | ||
"name": "@carbon/icons-react", | ||
"message": "Import from `@carbon/react/icons`. e.g. `import { ChevronUp } from '@carbon/react/icons'`" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
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,4 +1,4 @@ | ||
name: Node.js CI | ||
name: OpenMRS CI | ||
|
||
on: | ||
push: | ||
|
@@ -25,7 +25,7 @@ jobs: | |
node-version: "18" | ||
- run: yarn install --immutable | ||
- run: yarn verify | ||
- run: yarn build | ||
- run: yarn turbo build | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -57,7 +57,7 @@ jobs: | |
run: yarn install --immutable | ||
|
||
- run: yarn version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}" | ||
- run: yarn build | ||
- run: yarn turbo build | ||
- run: git config user.email "[email protected]" && git config user.name "OpenMRS CI" | ||
- run: git add . && git commit -m "Prerelease version" --no-verify | ||
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish --tag next | ||
|
@@ -102,6 +102,6 @@ jobs: | |
with: | ||
node-version: "18" | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish | ||
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |
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 |
---|---|---|
|
@@ -73,3 +73,5 @@ dist/ | |
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.turbo |
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ | |
|
||
set -e # die on error | ||
|
||
yarn run verify | ||
|
||
yarn verify |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
declare module "@carbon/react"; | ||
declare module "*.css"; | ||
declare module "*.scss"; | ||
declare module "@carbon/react"; | ||
declare type SideNavProps = object; |
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
Oops, something went wrong.
9393be2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Md. Jalil Miah.pdf
Hello Sir,
I am extremely sorry to kill a moment from your most valuable time while you will be reading my message as below;
I am there Md Jalil Miah from Bangladesh eagerly wants to be your virtual assistant cordially if you allow. I am strongly Committed to maintaining confidentiality, quality and timeline of the jobs that are assigned to me. I never quit any problem until I get the solution of the problems coming to me.
I am an expert in;
-Copy typing
-Document typing
-Document conversation and translation
-Huge data entry, data collection, editing and correction
-MS Office, specially Pivot table, word, excel
**Intermediate expert in Canva designing and creating landing Page
If you need a relentless virtual assistant like me please let me know.
With due respect and thanks