@athenna/config
Advanced tools
Comparing version 3.7.1 to 4.0.0
329
package.json
{ | ||
"name": "@athenna/config", | ||
"version": "3.7.1", | ||
"description": "Cache and handle environment variables and config files of Athenna.", | ||
"license": "MIT", | ||
"author": "João Lenon <lenon@athenna.io>", | ||
"bugs": "https://github.com/AthennaIO/Config/issues", | ||
"repository": "https://github.com/AthennaIO/Config.git", | ||
"homepage": "https://github.com/AthennaIO/Config#readme", | ||
"keywords": [ | ||
"env", | ||
"esm", | ||
"nodejs", | ||
"config", | ||
"dotenv", | ||
"athenna" | ||
], | ||
"scripts": { | ||
"lint:fix": "eslint \"{bin,src,tests}/**/*.ts\" --fix", | ||
"test": "npm run --silent lint:fix && sh node bin/test.ts", | ||
"test:debug": "cross-env DEBUG=api:* sh node --inspect bin/test.ts", | ||
"test:coverage": "c8 npm run --silent test" | ||
}, | ||
"files": [ | ||
"src/*.js", | ||
"src/*.d.ts", | ||
"src/**/*.js", | ||
"src/**/*.d.ts", | ||
"templates" | ||
], | ||
"type": "module", | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts", | ||
"exports": { | ||
".": "./src/index.js" | ||
}, | ||
"imports": { | ||
"#bin/*": "./bin/*.js", | ||
"#bin": "./bin/index.js", | ||
"#src/*": "./src/*.js", | ||
"#src": "./src/index.js", | ||
"#tests/*": "./tests/*.js", | ||
"#tests": "./tests/index.js" | ||
}, | ||
"dependencies": { | ||
"dotenv": "^16.0.3", | ||
"magicast": "^0.2.1", | ||
"syntax-error": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@athenna/common": "^3.6.0", | ||
"@athenna/test": "^3.6.0", | ||
"@swc/core": "^1.3.27", | ||
"@types/lodash": "^4.14.191", | ||
"@types/syntax-error": "^1.4.2", | ||
"@typescript-eslint/eslint-plugin": "^5.56.0", | ||
"@typescript-eslint/parser": "^5.56.0", | ||
"c8": "^7.12.0", | ||
"commitizen": "^4.2.6", | ||
"cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"husky": "^3.1.0", | ||
"lint-staged": "^12.5.0", | ||
"prettier": "^2.8.7", | ||
"reflect-metadata": "^0.1.13", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.2" | ||
}, | ||
"c8": { | ||
"all": true, | ||
"include": [ | ||
"src/**/*.ts" | ||
"name": "@athenna/config", | ||
"version": "4.0.0", | ||
"description": "Cache and handle environment variables and config files of Athenna.", | ||
"license": "MIT", | ||
"author": "João Lenon <lenon@athenna.io>", | ||
"bugs": "https://github.com/AthennaIO/Config/issues", | ||
"repository": "https://github.com/AthennaIO/Config.git", | ||
"homepage": "https://github.com/AthennaIO/Config#readme", | ||
"keywords": [ | ||
"env", | ||
"esm", | ||
"nodejs", | ||
"config", | ||
"dotenv", | ||
"athenna" | ||
], | ||
"exclude": [], | ||
"reporter": [ | ||
"text-summary", | ||
"lcovonly", | ||
"html" | ||
"scripts": { | ||
"build": "rimraf build && tsc --project bin/tsconfig.build.json", | ||
"lint:fix": "eslint \"{bin,src,tests}/**/*.ts\" --fix", | ||
"test": "npm run --silent lint:fix && sh node bin/test.ts", | ||
"test:debug": "cross-env DEBUG=api:* sh node --inspect bin/test.ts", | ||
"test:coverage": "c8 npm run --silent test" | ||
}, | ||
"files": [ | ||
"src/*.js", | ||
"src/*.d.ts", | ||
"src/**/*.js", | ||
"src/**/*.d.ts", | ||
"templates" | ||
], | ||
"report-dir": "./tests/Coverage", | ||
"check-coverage": true | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"prepare-commit-msg": "lint-staged && exec < /dev/tty && git cz --hook || true" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"*.json": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"printWidth": 80, | ||
"overrides": [ | ||
{ | ||
"files": "tests/**/*", | ||
"options": { | ||
"printWidth": 120 | ||
"type": "module", | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts", | ||
"exports": { | ||
".": "./src/index.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"imports": { | ||
"#bin/*": "./bin/*.js", | ||
"#bin": "./bin/index.js", | ||
"#src/*": "./src/*.js", | ||
"#src": "./src/index.js", | ||
"#tests/*": "./tests/*.js", | ||
"#tests": "./tests/index.js" | ||
}, | ||
"dependencies": { | ||
"dotenv": "^16.1.0", | ||
"magicast": "^0.2.2", | ||
"syntax-error": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@athenna/common": "^4.0.0", | ||
"@athenna/test": "^4.0.0", | ||
"@types/lodash": "^4.14.191", | ||
"@types/syntax-error": "^1.4.2", | ||
"@typescript-eslint/eslint-plugin": "^5.56.0", | ||
"@typescript-eslint/parser": "^5.56.0", | ||
"c8": "^7.12.0", | ||
"commitizen": "^4.2.6", | ||
"cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"husky": "^3.1.0", | ||
"lint-staged": "^12.5.0", | ||
"prettier": "^2.8.7", | ||
"reflect-metadata": "^0.1.13", | ||
"rimraf": "^5.0.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.2" | ||
}, | ||
"c8": { | ||
"all": true, | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"exclude": [], | ||
"reporter": [ | ||
"text-summary", | ||
"html" | ||
], | ||
"report-dir": "./tests/coverage", | ||
"check-coverage": true | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"prepare-commit-msg": "lint-staged && exec < /dev/tty && git cz --hook || true" | ||
} | ||
} | ||
] | ||
}, | ||
"eslintIgnore": [], | ||
"eslintConfig": { | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"ioc": true, | ||
"Env": true, | ||
"Path": true, | ||
"Config": true, | ||
"container": true | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"*.json": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"plugins": [ | ||
"prettier", | ||
"@typescript-eslint" | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"printWidth": 80, | ||
"overrides": [ | ||
{ | ||
"files": "tests/**/*", | ||
"options": { | ||
"printWidth": 120 | ||
} | ||
} | ||
] | ||
}, | ||
"eslintIgnore": [ | ||
"build/**/*" | ||
], | ||
"extends": [ | ||
"standard", | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"camelcase": "off", | ||
"dot-notation": "off", | ||
"prettier/prettier": "error", | ||
"no-useless-constructor": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_" | ||
"eslintConfig": { | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"ioc": true, | ||
"Env": true, | ||
"Path": true, | ||
"Config": true, | ||
"container": true | ||
}, | ||
"plugins": [ | ||
"prettier", | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"standard", | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"camelcase": "off", | ||
"dot-notation": "off", | ||
"prettier/prettier": "error", | ||
"no-useless-constructor": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"athenna": { | ||
"commands": {}, | ||
"providers": [], | ||
"isAthennaRc": true | ||
} | ||
}, | ||
"athenna": { | ||
"commands": {}, | ||
"providers": [], | ||
"isAthennaRc": true | ||
} | ||
} |
@@ -9,8 +9,8 @@ /** | ||
*/ | ||
export * from './Globals/Env.js'; | ||
export * from './Globals/Config.js'; | ||
export * from './Env/Env.js'; | ||
export * from './Config/Config.js'; | ||
export * from './Decorators/Value.js'; | ||
export * from './Helpers/Rc.js'; | ||
export * from './Helpers/EnvHelper.js'; | ||
export * from '#src/globals/Env'; | ||
export * from '#src/globals/Config'; | ||
export * from '#src/env/Env'; | ||
export * from '#src/config/Config'; | ||
export * from '#src/decorators/Value'; | ||
export * from '#src/helpers/Rc'; | ||
export * from '#src/helpers/EnvHelper'; |
@@ -9,8 +9,8 @@ /** | ||
*/ | ||
export * from './Globals/Env.js'; | ||
export * from './Globals/Config.js'; | ||
export * from './Env/Env.js'; | ||
export * from './Config/Config.js'; | ||
export * from './Decorators/Value.js'; | ||
export * from './Helpers/Rc.js'; | ||
export * from './Helpers/EnvHelper.js'; | ||
export * from '#src/globals/Env'; | ||
export * from '#src/globals/Config'; | ||
export * from '#src/env/Env'; | ||
export * from '#src/config/Config'; | ||
export * from '#src/decorators/Value'; | ||
export * from '#src/helpers/Rc'; | ||
export * from '#src/helpers/EnvHelper'; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
39328
1006
1
Updateddotenv@^16.1.0
Updatedmagicast@^0.2.2