Skip to content

Commit

Permalink
Minor cleanup after merging v2 into master (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
iansu authored Dec 29, 2023
1 parent aa17307 commit 8934362
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 15 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Config management library for Node.js with support for multiple environments, config files, environment variables and plugins

> [!NOTE]
> Looking for v1? You can find it under the [`v1`](https://github.com/neofinancial/config-dug/tree/v1) branch.
![Config Dug logo](./config-dug.png)

## Packages
Expand All @@ -18,8 +21,14 @@ Config management library for Node.js with support for multiple environments, co
- [@config-dug/script-cjs-ts](./examples/script-cjs-ts): TypeScript CJS test script
- [@config-dug/script-esm](./examples/script-esm): ESM test script
- [@config-dug/script-esm-ts](./examples/script-esm-ts): TypeScript ESM test script
- [@config-dug/service-cjs-ts-tsyringe](./examples/service-cjs-ts-tsyringe): TypeScript CJS test service with [TSyringe](https://github.com/microsoft/tsyringe)
- [@config-dug/service-esm-ts](./examples/service-esm-ts): TypeScript ESM test service

## Publishing Prerelease Versions

1. Increment the version number in `package.json` in the package you want to publish (not the `package.json` in the project root)
1. Run `npm publish --tag next` in the package your want to publish (not in the project root)

## License

MIT
4 changes: 2 additions & 2 deletions examples/script-cjs-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@config-dug/script-cjs-ts",
"version": "1.0.0",
"description": "TypeScript CJS test script for Config Dug",
"author": "Ian Sutherland",
"license": "UNLICENSED",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"private": true,
"engines": {
"node": ">=18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/script-cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@config-dug/script-cjs",
"version": "1.0.0",
"description": "CJS test script for Config Dug",
"author": "Ian Sutherland",
"license": "UNLICENSED",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"private": true,
"engines": {
"node": ">=18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/script-esm-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@config-dug/script-esm-ts",
"version": "1.0.0",
"description": "Test project for config-dug",
"author": "Ian Sutherland",
"license": "UNLICENSED",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"private": true,
"type": "module",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions examples/script-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@config-dug/script-esm",
"version": "1.0.0",
"description": "ESM test script for Config Dug",
"author": "Ian Sutherland",
"license": "UNLICENSED",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"private": true,
"type": "module",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions examples/service-cjs-ts-tsyringe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@config-dug/service-cjs-ts-tsyringe",
"version": "1.0.0",
"description": "TypeScript CJS test service for Config Dug with TSyringe",
"author": "Ian Sutherland",
"license": "UNLICENSED",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"private": true,
"engines": {
"node": ">=18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/service-esm-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@config-dug/service-esm-ts",
"version": "1.0.0",
"description": "TypeScript ESM test service for Config Dug",
"author": "Ian Sutherland",
"license": "UNLICENSED",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"private": true,
"type": "module",
"engines": {
Expand Down
3 changes: 2 additions & 1 deletion packages/config-dug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"scripts": {
"build": "tsc -b tsconfig.cjs.json tsconfig.esm.json tsconfig.types.json",
"watch": "tsc -b tsconfig.cjs.json tsconfig.esm.json tsconfig.types.json --watch",
"clean": "rimraf build"
"clean": "rimraf build",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"chalk": "^4.1.2",
Expand Down
5 changes: 3 additions & 2 deletions packages/plugin-aws-secrets-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@config-dug/plugin-aws-secrets-manager",
"version": "1.0.0-alpha.0",
"author": "Ian Sutherland <ian@iansutherland.ca>",
"author": "Neo Financial Engineering <engineering@neofinancial.com>",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
Expand Down Expand Up @@ -34,7 +34,8 @@
"scripts": {
"build": "tsc -b tsconfig.cjs.json tsconfig.esm.json tsconfig.types.json",
"watch": "tsc -b tsconfig.cjs.json tsconfig.esm.json tsconfig.types.json --watch",
"clean": "rimraf build"
"clean": "rimraf build",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@aws-sdk/client-secrets-manager": "^3.350.0",
Expand Down

0 comments on commit 8934362

Please sign in to comment.