Comments (5)
The 1.0.0-beta.1
release is available from both Bower and Npm. Bower handles things differently, so you'll just have to specify "js-data": "1.0.0-beta.1"
in your bower.json
.
bower install js-data
yields 0.4.2
npm install js-data
yields 1.0.0-beta.1
Go figure...
from js-data.
I think it pulls 0.4.2 because bower has current version set as 0.4.2
(see info output below). Maybe you should add the version
field to your package bower.json
and set the version there, similar how you have it in package.json
?
$ bower info js-data
yields this (see version: '0.4.2'
line):
{
name: 'js-data',
description: 'Data store.',
version: '0.4.2',
},
author: {
name: 'Jason Dobry',
url: 'http://www.pseudobry.com',
email: '[email protected]'
},
main: './dist/js-data.min.js',
ignore: [
'.idea/',
'.*',
'*.iml',
'src/',
'lib/',
'doc/',
'guide/',
'coverage/',
'Gruntfile.js',
'node_modules/',
'test/',
'package.json',
'karma.conf.js',
'karma.start.js'
],
devDependencies: {
'observe-js': '0.3.4',
'js-data-http': '~0.4.x',
'js-data-localstorage': '~0.4.x'
}
}
Available versions:
- 1.0.0-beta.1
- 1.0.0-alpha.5-8
- 1.0.0-alpha.5-7
- 1.0.0-alpha.5-6
- 1.0.0-alpha.5-5
- 1.0.0-alpha.5-4
- 1.0.0-alpha.5-2
- 1.0.0-alpha.5-1
- 1.0.0-alpha.5-0
- 1.0.0-alpha.4-3
- 1.0.0-alpha.4-2
- 1.0.0-alpha.4-1
- 1.0.0-alpha.4-0
- 1.0.0-alpha.3-0
- 1.0.0-alpha.1-2
- 1.0.0-alpha.1-1
- 1.0.0-alpha.1-0
- 1.0.0-alpha.2
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.1
- 0.2.0
- 0.0.1
from js-data.
Also, this could be because bower doesn't see 1.0.0-beta.1
as latest stable due to -beta*
prefix and gives 0.4.2 as latest stable. I am re-reading bower docs now.
from js-data.
OK, if I understood correctly, bower considers 1.0.0-beta.1
a pre-release version and if no version is specified at command line, it will download the latest release version that is currently 0.4.2
. To install the latest beta at command line, one needs to run this:
$ bower i js-data#1.0.0-beta.1
from js-data.
Bower completely ignores the "version" field if it exists in bower.json
and only considers git tags to be available versions.
from js-data.
Related Issues (20)
- 4.0.0 Release
- Record & Schema Classes
- Refactor code to use ecmascript Classes
- Publish all packages under @js-data team/scope
- Lerna mono repo? HOT 3
- Improve relations logic HOT 5
- jsdoc - api docs
- make orderBy work with locality by using Intl.collator
- Maximum call stack size exceeded when related models have different idAttribute
- datastore.get(mapper, '') returns a record (v3)
- Defining relations results to error when the Mapper recordClass is set to false (POJO) HOT 2
- Node6 incompatibilities with `querystrings` HOT 6
- hasOne relations aren't found in store for newly added records
- Hooks not working on mappers
- 🚨 Potential Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CWE-1321) HOT 3
- 🚨 Potential Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CWE-1321) HOT 7
- Trying to get in touch regarding a security issue
- SimpleStore doesn't support eager loading
- Getting 'DSUtils.deepMixIn' undefined when upgrading js-data package. HOT 1
- Lack of redirect from js-data.io to www.js-data.io HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-data.