Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libs
config
Commits
ad80f09a
Commit
ad80f09a
authored
1 year ago
by
Sigmund, Dominik
Browse files
Options
Downloads
Patches
Plain Diff
Fix typescript
parent
2b469a83
No related branches found
Branches containing commit
Tags
1.12.3
Tags containing commit
No related merge requests found
Pipeline
#8301
failed
1 year ago
Stage: test
Stage: publish
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.npmrc
+1
-1
1 addition, 1 deletion
.npmrc
README.md
+2
-2
2 additions, 2 deletions
README.md
index.d.ts
+2
-1
2 additions, 1 deletion
index.d.ts
package.json
+1
-1
1 addition, 1 deletion
package.json
with
6 additions
and
5 deletions
.npmrc
+
1
−
1
View file @
ad80f09a
tag-version-prefix=""
strict-ssl=false
@
general
:registry=https://gitlab.br.de/api/v4/projects/919/packages/npm/
@
libs
:registry=https://gitlab.br.de/api/v4/projects/919/packages/npm/
//gitlab.ard.de/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}
//gitlab.ard.de/api/v4/projects/919/packages/npm/:_authToken=${CI_JOB_TOKEN}
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
ad80f09a
...
...
@@ -4,11 +4,11 @@ Simple Config with ENV and Files Support.
## Installation
-
`npm install --save @
general
/config`
-
`npm install --save @
libs
/config`
## Usage
`const Config = require('@
general
/config')`
`const Config = require('@
libs
/config')`
`let config = new Config([basePath])`
Then config is your config object. (Use it like config.setting)
...
...
This diff is collapsed.
Click to expand it.
index.d.ts
+
2
−
1
View file @
ad80f09a
...
...
@@ -4,5 +4,6 @@ export = Config;
declare
class
Config
{
constructor
();
reload
():
void
;
_reload
():
void
;
_show
():
any
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
ad80f09a
{
"name"
:
"@libs/config"
,
"version"
:
"1.12.
2
"
,
"version"
:
"1.12.
3
"
,
"description"
:
"Simple Config with ENV Support"
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment