Closed koalabz closed 8 years ago
What do you think about letting each developer maintaining there own versions mapping inside their own typings.json (for simplicity purpose) and registry only mapping name => repo only like jspm registry does actually registry.json
registry.json
{ "name": "electron", "main": "electron.d.ts", "author": "koalabz <noreply@koalabz.com>", "description": "The TypeScript definition for electron.atom.io", ... "versions": { "0.35.4": "#c597a7362eb4605ad737217a19b701d4cf2bc80a", "0.36.0": "#2689b1648190d6921496a3f94c0d4e1ecae2ef1f" }, "repository": { "type": "git", "url": "https://github.com/koalabz/typed-electron.git" }, ... }
Pros:
project
repos
typings.json
"ambientDependencies": { "node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#5cb07b53719466b27cb32f3eb2c7c3e22575ecda" }
declarations but only the essential like package.jsondoes
package.json
"dependencies": { "bluebird": "^0.12.0" }
What do you think about letting each developer maintaining there own versions mapping inside their own typings.json (for simplicity purpose) and registry only mapping name => repo only like jspm registry does actually
registry.json
Pros:
project
=>repos
typings.json
didn't need extradeclarations but only the essential like
package.json
does