Skip to content

Commit

Permalink
feat: add support for Eik image type
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Aug 13, 2024
1 parent c68920a commit d54b4c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ const sink = {
};

const prop = {
base_auth: globals.BASE_AUTHENTICATION,
base_map: globals.BASE_IMPORT_MAPS,
base_pkg: globals.BASE_PACKAGES,
base_npm: globals.BASE_NPM,
base_auth: globals.BASE_AUTHENTICATION,

Check failure on line 56 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··` with `↹`

Check failure on line 56 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··` with `↹`
base_map: globals.BASE_IMPORT_MAPS,

Check failure on line 57 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··` with `↹`

Check failure on line 57 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··` with `↹`
base_pkg: globals.BASE_PACKAGES,

Check failure on line 58 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··` with `↹`

Check failure on line 58 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··` with `↹`
base_npm: globals.BASE_NPM,

Check failure on line 59 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··` with `↹`

Check failure on line 59 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··` with `↹`
base_img: globals.BASE_IMG,

Check failure on line 60 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··` with `↹`

Check failure on line 60 in lib/main.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··` with `↹`
};

export default {
Expand Down
11 changes: 6 additions & 5 deletions lib/utils/globals.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
const globals = {
BASE_AUTHENTICATION: "auth",
BASE_IMPORT_MAPS: "map",
BASE_PACKAGES: "pkg",
BASE_NPM: "npm",
ROOT: "/",
BASE_AUTHENTICATION: 'auth',

Check failure on line 2 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··BASE_AUTHENTICATION:·'auth'` with `↹BASE_AUTHENTICATION:·"auth"`

Check failure on line 2 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··BASE_AUTHENTICATION:·'auth'` with `↹BASE_AUTHENTICATION:·"auth"`
BASE_IMPORT_MAPS: 'map',

Check failure on line 3 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··BASE_IMPORT_MAPS:·'map'` with `↹BASE_IMPORT_MAPS:·"map"`

Check failure on line 3 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··BASE_IMPORT_MAPS:·'map'` with `↹BASE_IMPORT_MAPS:·"map"`
BASE_PACKAGES: 'pkg',

Check failure on line 4 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··BASE_PACKAGES:·'pkg'` with `↹BASE_PACKAGES:·"pkg"`

Check failure on line 4 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··BASE_PACKAGES:·'pkg'` with `↹BASE_PACKAGES:·"pkg"`
BASE_NPM: 'npm',

Check failure on line 5 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··BASE_NPM:·'npm'` with `↹BASE_NPM:·"npm"`

Check failure on line 5 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··BASE_NPM:·'npm'` with `↹BASE_NPM:·"npm"`
BASE_IMG: 'img',

Check failure on line 6 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Replace `··BASE_IMG:·'img'` with `↹BASE_IMG:·"img"`

Check failure on line 6 in lib/utils/globals.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Replace `··BASE_IMG:·'img'` with `↹BASE_IMG:·"img"`
ROOT: '/',
};
export default globals;

0 comments on commit d54b4c9

Please sign in to comment.