Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ta-app-config

Package Overview
Dependencies
Maintainers
13
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ta-app-config - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

7

package.json
{
"name": "ta-app-config",
"version": "1.0.0",
"version": "1.1.0",
"description": "TA platform utils for node.js and the browser",

@@ -10,3 +10,6 @@ "main": "dist/index.js",

"lint": "eslint ./",
"lint:fix": "eslint ./ --fix"
"lint:fix": "eslint ./ --fix",
"release:major": "ta-script npm/release major",
"release:minor": "ta-script npm/release minor",
"release:patch": "ta-script npm/release patch"
},

@@ -13,0 +16,0 @@ "repository": {

@@ -8,3 +8,3 @@ # ta-app-config

```shell
npm i ta-app-config
npm i ta-app-config --save
```

@@ -15,4 +15,5 @@

- Names / abbreviations
- Env specific location info (protocol, host, port, href)
- Logos / Favicons
- URLs (staging, production)
- ...`/src/index.js` for more

@@ -28,3 +29,3 @@ ### Usage

// other env urls
// apps.unity.locations[NODE_ENV]
console.log(apps.unity.locations[NODE_ENV])
//=> { protocol: '', host: '', port: '', href: '' }

@@ -35,1 +36,15 @@

```
## Contribute
1. Clone this repo
1. Create a branch
1. Make changes, push
1. Open a PR
### Releasing
On the latest clean `master`:
npm run release:major
npm run release:minor
npm run release:patch

@@ -17,4 +17,4 @@ // ------------------------------------

config.unity = {
name: 'Unity',
config.auth = {
name: 'TA Auth',
}

@@ -26,2 +26,6 @@

config.unity = {
name: 'Unity',
}
// ------------------------------------

@@ -65,4 +69,5 @@ // Location

addLocation(config.unity, 3000)
addLocation(config.funnelAdvice, 4000)
addLocation(config.auth, 3000)
addLocation(config.funnelAdvice, 3010)
addLocation(config.unity, 3020)

@@ -73,5 +78,6 @@ // ------------------------------------

config.auth.favicon = `${config.auth.location.href}/favicon.png`
config.funnelAdvice.favicon = `${config.funnelAdvice.location.href}/favicon.png`
config.unity.favicon = `${config.unity.location.href}/favicon.png`
config.funnelAdvice.favicon = `${config.funnelAdvice.location.href}/favicon.png`
export default config
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc