Skip to content

Commit

Permalink
fix: updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shibisuriya committed May 25, 2024
1 parent 81dbc4f commit 3468273
Show file tree
Hide file tree
Showing 5 changed files with 911 additions and 1,192 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:

- name: Install dependencies and build
run: |
yarn install
yarn run build:gridstack
yarn run build:react
yarn run build:docs
pnpm install
pnpm run build:core
pnpm run build:react
pnpm run build:docs
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"private": true,
"type": "module",
"scripts": {
"clean": "node ./scripts/clean.js"
"clean": "node ./scripts/clean.js",
"build:react": "pnpm --filter @declarative-gridstack/react run build",
"build:core": "pnpm --filter @declarative-gridstack/core run build",
"build:docs": "pnpm --filter @declarative-gridstack/docs run build"
}
}
6 changes: 5 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"homepage": "https://shibisuriya.github.io/declarative-gridstack/",
"scripts": {
"build": "webpack --config ./webpack.prod.config.js",
"dev": "webpack serve --config ./webpack.dev.config.js"
"dev": "webpack serve --config ./webpack.dev.config.js",
"postinstall": "pnpm run build"
},
"devDependencies": {
"@babel/preset-env": "^7.22.9",
Expand Down Expand Up @@ -56,5 +57,8 @@
"exports": {
".": "./dist/main.js",
"./examples": "./src/examples/index.js"
},
"dependencies": {
"lodash": "^4.17.21"
}
}
3 changes: 2 additions & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"postinstall": "vue-cli-service build"
},
"dependencies": {
"core-js": "^3.8.3",
Expand Down
Loading

0 comments on commit 3468273

Please sign in to comment.