-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a NuGet package #211
Comments
There is this jsRender related package on NuGet. It would be good to have a pure jsRender package however, instead of it being bundled with all of HotGlue. |
@michael-lang: Thanks michael. In principal, yes, though of course I would need take a look before deciding - and right now my priority is getting the official beta out for JsViews. But definitely after the beta, moving to V1, I had planned anyway to add Nuget packages for both JsRender and JsViews. So if you want to already set up a package, as a pull request, that would be great. I would need to get up to speed on Nuget, to validate the pull request before going ahead with it, So I can't promise how soon or whether I will pull in the package, but hopefully it will make sense to do so, and I will.... |
Planned for V1. |
Also, provide typescript definition: See https://www.nuget.org/packages/jsrender.TypeScript.DefinitelyTyped/0.1.8 And create a wepack loader to templates, like browserify tmplify. https://webpack.github.io/docs/loaders.html |
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue BorisMoore/jsviews#409 Datepicker fails when convertors in use - Issue BorisMoore/jsviews#209 Improved support for void elements with no self-closing slash, and for upper-case element tag names - Issue BorisMoore/jsviews#175 Provide TypeScript definition files - Issue BorisMoore/jsrender#211 Provide TypeScript definitions
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue BorisMoore/jsviews#409 Datepicker fails when convertors in use - Issue BorisMoore/jsviews#209 Improved support for void elements with no self-closing slash, and for upper-case element tag names - Issue BorisMoore/jsviews#175 Provide TypeScript definition files - Issue BorisMoore/jsrender#211 Provide TypeScript definitions
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue BorisMoore/jsviews#409 Datepicker fails when convertors in use - Issue BorisMoore/jsviews#209 Improved support for void elements with no self-closing slash, and for upper-case element tag names - Issue BorisMoore/jsviews#175 Provide TypeScript definition files - Issue BorisMoore/jsrender#211 Provide TypeScript definitions
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue BorisMoore/jsviews#409 Datepicker fails when convertors in use - Issue BorisMoore/jsviews#209 Improved support for void elements with no self-closing slash, and for upper-case element tag names - Issue BorisMoore/jsviews#175 Provide TypeScript definition files - Issue BorisMoore/jsrender#211 Provide TypeScript definitions
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue BorisMoore/jsviews#409 Datepicker fails when convertors in use - Issue BorisMoore/jsviews#209 Improved support for void elements with no self-closing slash, and for upper-case element tag names - Issue BorisMoore/jsviews#175 Provide TypeScript definition files - Issue BorisMoore/jsrender#211 Provide TypeScript definitions
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue BorisMoore/jsviews#409 Datepicker fails when convertors in use - Issue BorisMoore/jsviews#209 Improved support for void elements with no self-closing slash, and for upper-case element tag names - Issue BorisMoore/jsviews#175 Provide TypeScript definition files - Issue BorisMoore/jsrender#211 Provide TypeScript definitions
JsRender, JsObservable and JsViews are now all stable v1.0.0 releases: - This update moves from the previous beta releases to the first official non-beta release: v1.0.0, both for jsrender.js and jsviews.js. - There will be no further major breaking changes before v2.0.0 TypeScript definition fles now available: - This update provides TypeScript definition files, see https://www.jsviews.com#typescript Documentation: - API documentation for JsViews, JsObservable and JsViews is now complete. It includes extensive new documentation, including: - JsRender objects - at https://www.jsviews.com#jsrobjects - JsViews objects - at https://www.jsviews.com#jsvobjects Minor bug fixes: - This update includes some minor bug fixes, and some added code comments. - Issue #211 Provide TypeScript definitions
JsViews and JsRender have both been released as v1.0.0 (https://www.jsviews.com/#download) - including TypeScript definitions here. I will look into NuGet deployment. @michael-lang - we could collaborate on that if you are interested... |
See also #232 (composer) |
I cant seem to find the correct type packages. I have @types/jsrender, but those are made by Kensuke Matsuzaki @zakki |
They can be found via links on this page "https://www.jsviews.com/#typescript": https://www.jsviews.com/download/typescript/jsrender/index.d.ts Don't do |
Ok, but this is non-standard, and having one package on the registry makes it more confusing. I'll rather have it like momenjs does, just distribute it along in the main package. |
@Jogai: Like it says: "Both will be published to DefinitelyTyped". I am working on that, and will publish when ready. Including in the main package is not recommended except for packages written in TypeScript. See https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html |
Typescript definitions have been published. See https://www.jsviews.com/#typescript, and discussion here: BorisMoore/jsviews#434 |
Also WebPack support is implemented: https://www.jsviews.com/#node/webpack |
I would create a NuGet package build utility for this project if you would accept a pull request for it and publish to NuGet.
The publish to NuGet process would be simple each time a release is made.
0) potentially update nuspec description field (not required each build)
Here is a project showing what that addition would look like:
https://github.com/michael-lang/jquery-auto-async
files:
Release.cmd
.nuget** (2 config files, 1 exe - from Nuget.org)
NuGet\jsrender.nuspec
Build** (various standard build support files, 5 text, 1 dll; Nothing custom to project)
Note, I am updating the jquery-auto-async project to use jsRender.
The text was updated successfully, but these errors were encountered: