Skip to content

Commit

Permalink
update typings
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanBulmer committed Apr 9, 2023
1 parent da0424c commit 4cd3451
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "jest --config jest.config.json --passWithNoTests --coverage",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build": "yarn clean && yarn build:cjs && yarn build:esm && ./bin/post-build.sh",
"build": "yarn build:cjs && yarn build:esm && ./bin/post-build.sh",
"clean": "rm -rf ./dist/*",
"format": "prettier --write \"src/**/*.(ts|js)\"",
"lint": "eslint -c .eslintrc.json --ignore-path .eslintignore --ext .ts src",
Expand Down
4 changes: 2 additions & 2 deletions src/config/NodeConfig.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const NodeConfig: {
env: string;
env: "production" | "developement" | "testing";
version: string;
modules: string[];
yarnVersion: string;
} = {
env: process.env.NODE_ENV as string,
env: process.env.NODE_ENV as "production" | "developement" | "testing",
version: process.env.NODE_VERSION as string,
modules: Object.keys(process.env)
.filter(m => /npm_package_dependencies_/g.test(m))
Expand Down

0 comments on commit 4cd3451

Please sign in to comment.