Visitar URL original
Merge pull request #3335 from adumesny/master · gridstack/gridstack.js@c07b891 · GitHub
Skip to content

Commit c07b891

Browse files
authored
Merge pull request #3335 from adumesny/master
fix: re-export source files and include wrapper READMEs in npm package
2 parents a8a35b7 + f6dc268 commit c07b891

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎Gruntfile.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ module.exports = function(grunt) {
3939
dist: {
4040
files: {
4141
'dist/angular/README.md': ['angular/README.md'],
42+
'dist/react/README.md': ['react/README.md'],
43+
'dist/vue/README.md': ['vue/README.md'],
4244
'dist/angular/src/gridstack.component.ts': ['angular/projects/lib/src/lib/gridstack.component.ts'],
4345
'dist/angular/src/gridstack-item.component.ts': ['angular/projects/lib/src/lib/gridstack-item.component.ts'],
4446
'dist/angular/src/base-widget.ts': ['angular/projects/lib/src/lib/base-widget.ts'],

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Coverage Status](https://coveralls.io/repos/github/gridstack/gridstack.js/badge.svg?branch=develop)](https://coveralls.io/github/gridstack/gridstack.js?branch=develop)
55
[![downloads](https://img.shields.io/npm/dm/gridstack.svg)](https://www.npmjs.com/package/gridstack)
66

7-
Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](https://angular.dev/) (included), [React](https://reactjs.org/) (included), [Vue](https://vuejs.org/) (included), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section).
7+
Mobile-friendly modern Typescript library for dashboard layout and creation. Making a drag-and-drop, multi-column responsive dashboard has never been easier. Has multiple bindings and works great with [Angular](./angular/README.md) (included), [React](./react/README.md) (included), [Vue](./vue/README.md) (included), [Knockout.js](http://knockoutjs.com), [Ember](https://www.emberjs.com/) and others (see [frameworks](#specific-frameworks) section).
88

99
Inspired by no-longer maintained gridster, built with love.
1010

‎package.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"scripts": {
2828
"build": "yarn build:core && yarn build:ng && yarn build:react && yarn build:vue && yarn doc",
2929
"build:core": "grunt && webpack && tsc --project tsconfig.build.json --stripInternal",
30-
"build:ng": "cd angular && yarn build",
30+
"build:ng": "cd angular && yarn build && cd .. && grunt copy:dist",
3131
"build:react": "cd react && yarn build:lib",
3232
"build:vue": "cd vue && yarn build:lib",
3333
"w": "webpack --mode development",
@@ -114,6 +114,9 @@
114114
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
115115
"files": [
116116
"dist",
117-
"doc/API.md"
117+
"doc/API.md",
118+
"angular/README.md",
119+
"react/README.md",
120+
"vue/README.md"
118121
]
119122
}

0 commit comments

Comments
 (0)