48 Commits

Author SHA1 Message Date
olayway
362afcc133 [package.json][xs]: rm faulty prerelease script 2023-06-08 23:29:17 +02:00
olayway
1ad9b85e02 [package.json][s]: add building to prerelease 2023-06-07 13:56:32 +02:00
Ola Rubaj
af134cac8b
Integrate flowershow packages (#923)
* [packages][m]: mv @flowershow/core package here

* [packages/core][xs]: rename to @portaljs/core

* [package.json][xs]: setup npm workspaces

* [packages/core][xs]:replace deprecated rollup executor

* [core/package.json][s]: fix mermaid versions

* [core/tsconfig][xs]: rm extends

* [core/jest.config][xs]: rm coverageDirectory

* [core/package.json][xs]: install core-js

* [packages.json][s]:use same version for all nrwl packages

* [core/.eslintrc][xs]: adjust ignorePatterns

* [core/project.json][xs]: rm publish targets

* [packages][m]: mv @flowershow/remark-wiki-link here

* [packages][m]: mv @flowershow/remark-wiki-link here

* [packages][m]: mv @flowershow/remark-embed here

* [remark-callouts/project.json][xs]: adjst test pattern

* [package.json][s]: install missing deps

* [remark-callouts][xs]: adjst fields in package.json

* [remark-callouts][s]: rm pubish targets and adjst build executor

* [remark-embed/jest.config][xs]: rm unknown option coverageDirectory

* [remark-embed][xs]: rm publish targets

* [remark-embed][s]: rename to @portaljs/remark-embed

* [remark-wiki-link/eslintrc][xs]:adjst ignorePatterns

* [package.json][xs]: install missing deps

* [remark-wiki-link/test][xs]:specify format

- also temporarily force any type on htmlExtension

* [remark-wiki-link/README][xs]: replace @flowershow with @portaljs

* [remark-wiki-link][xs]:rm old changelog

* [remark-wiki-link][xs]: adjst package.json

* [remark-wiki-link/project.json][xs]: rm publish targets

* [core][s]: rm old changelog

* [core/README][xs]:correct scope name

* [remark-callouts/README][xs]: add @portaljs to pckg name

* [remark-embed/README][xs]: add @portaljs to pckg name

* [package-lock.json][xs]: refresh after rebasing on main
2023-06-07 07:21:00 -03:00
Ola Rubaj
688db3e6a6
Changesets setup + auto-publish to npm (#922)
Closes #905 

## Summary

This PR sets up changesets with the aim to simplify the process of documenting changes committed to the codebase, as well as automating versioning packages and publishing them to npm.

## Changes
- initialised [changesets](https://github.com/changesets/changesets) in the repository
- (separately from this PR) installed [changesets bot](https://github.com/apps/changeset-bot) in the repository (it will check if a submitted PR includes a changeset file and inform if found or not)
- added `.github/workflows/release.yml`: The workflow creates a PR with version bumps and related changelog
files' updates, each time a commit containing changeset
file(s) is added to the main branch. After merging this auto-generated PR, this workflow will also auto-publish the released packages to npm and add git tags.
- added the following scripts to the root `package.json`:
  - `changeset`: should be run to generate changeset files, that describe changes made to the code,
  - `prerelease`: runs linting and testing on packages affected by the changes in a PR
  - `release`: runs `changeset publish` and is used by the `release` workflow then the above-mentioned auto-generated PR is merged to the main branch
2023-06-05 17:41:37 +02:00
deme
ea5802a908 [#812,package][xl]: changed project to Vite, created stories for LineChart, Table, Vega and VegaLite 2023-05-02 16:37:22 -03:00
Luccas Mateus
5305cc4c2f
Make examples easy to use (#798)
* [monorepo][m] - remove nx from simple-example

* [simple-example][sm] - install octokit and simplify README

* [simple-example][m] - fix linting

* [monorepo][m] - simplify examples

* [monorepo][sm] - update docs
2023-04-25 07:39:34 -03:00
Luccas Mateus de Medeiros Gomes
996568c0f9 [simple-example][lg] - multiple datasets per repo are now possible 2023-04-22 14:05:21 -03:00
Luccas Mateus
20ac80a5e8
Example of how to create a data portal in 5 minutes (#769)
* [example][m] - start of a simple-example

* Empty-Commit

* [simple-example][sm] - change from repos.json to datasets.json

* [example][m] - changed styling and added octokit

* [build][sm] - fix build
2023-04-18 13:51:48 -03:00
Luccas Mateus de Medeiros Gomes
d466023926 [monorepo][lg] - move over examples 2023-04-12 09:13:17 -03:00
Luccas Mateus de Medeiros Gomes
b2438e655f [monorepo][m] - restructuring
- renamed apps to examples
- renamed libs to packages
- fixed data-literate build
2023-04-11 13:23:53 -03:00
Luccas Mateus de Medeiros Gomes
97c1dc0d59 [site][lg] - integrate demenech changes into monorepo 2023-04-11 08:19:58 -03:00
Luccas Mateus de Medeiros Gomes
fda6c4b827 [monorepo][lg] - start of monorepo 2023-04-10 22:22:34 -03:00
Rising Odegua
ef2382cb6e Install MUI icon library 2022-02-16 20:22:40 +01:00
Rising Odegua
4ba238510f Add package for DataGrid and udpate rollup config 2022-02-16 11:24:00 +01:00
Rising Odegua
cc585e11b9 Refactor cli app into portal.js 2022-01-24 12:39:54 +01:00
anuveyatsu
f9b9cf3680 [Key info component][s]: bug fixes and improvements to follow official frictionless spec. 2021-08-14 20:15:30 +06:00
Rising Odegua
b103b0e845 [Package.json][s]: add react to peer dependecy 2021-05-21 13:42:46 +01:00
Rising Odegua
96f9f6adc4 [Package.json][s]: Removed portal package 2021-05-21 12:39:00 +01:00
Rising Odegua
59dc4cc919 [dataset-single][m]: Update dataset-single example to use portaljs 2021-05-21 10:11:25 +01:00
Rising Odegua
eadc029803 [Package.json][s]: Add missing package 2021-05-05 10:21:37 +01:00
Rising Odegua
5e8709ca89 [Src][s]: Move src to root folder 2021-05-03 09:30:15 +01:00
Rufus Pollock
2562781e3e [refactor,#527][m]: move the nextjs app at root of repo to examples/dataset-frictionless.
The current app at root of repo is for single frictionless dataset. Should be in its own example so we have space going forward for multiple example and for root to have core portal.js code.

* Also refactor its README (moved from root) to reflect it is just an example
* Move design content from the root README.md into DESIGN.md
* Stub a new root README.md based largely on examples/catalog/README.md
2021-04-12 16:15:20 +02:00
Rising Odegua
c905b59f3e [packages/portal][l]: Moved portal folder to root dir 2021-03-08 11:33:21 +01:00
Thadeu Cotts
58f110dfc9 [setup] [x]: setup workspace directory 2020-11-23 10:23:13 -03:00
Abhishek Gahlot
d87613399e Base structure for monorepo 2020-08-17 20:04:10 +05:30
Tavares Hansen
587d820747 [lint][lg]: fix lint errors 2020-08-04 19:33:00 -07:00
Tavares Hansen
2a4e55965e [lint][x]: setup eslint + prettier 2020-08-04 18:28:41 -07:00
Tavares Hansen
cee55cf10d [misc][x]: get rid of prestart script 2020-08-02 20:50:35 -07:00
Tavares Hansen
a5a5e6e600 [fix][x]: purge css in prod mode (#40) 2020-08-02 19:54:04 -07:00
Tavares Hansen
ba68632805 [enh][m]: update theme (#40) 2020-08-02 19:29:25 -07:00
Abhishek Gahlot
0c80f84794 Initial new tests for components 2020-07-27 14:09:33 +05:30
Gift Egwuenu
d9b5c4ddbd
[tests][m]: Setup Integration Tests with Cypress (#26).
* [cypress][s]-setup-integration=with-cypress
* [fix][s]- fix typescript bug 'All files must be modules when the '--isolatedModules' flag is provided' by adding an 'export {}' to all test files
* Fixes of cypress tests
* Use yarn everywhere not npm

Co-authored-by: Abhishek Gahlot <me@abhishek.it>
2020-07-17 17:16:26 +02:00
anuveyatsu
2cc9d1a628 [blog][m]: implemented blog home and individual post pages. 2020-06-26 18:00:18 +06:00
anuveyatsu
cc63506570 [apollo dependencies][xs]: using stable version of apollo-link-rest that doesn't depend on a new @apollo/client package that has number of bugs.
This was breaking deployments when trying to build production bundles.
See this issue for details: https://github.com/apollographql/apollo-client/issues/6011
2020-06-24 12:12:55 +06:00
anuveyatsu
10b0b2a865 [clean up][s]: removed outdated apollo server mocks and config module which is now replaced by next.config.js.
Also, removed all leftover and not used packages and npm scripts.
2020-06-23 10:54:57 +06:00
anuveyatsu
d3a2a1da8e [ckan api + apollo][l]: setup apollo client to connect to actual CKAN API. 2020-06-23 10:09:19 +06:00
anuveyatsu
dfd5efa961 [apollo][xl]: mocked graphql setup + search page working from apollo now. 2020-06-19 16:23:01 +06:00
anuveyatsu
f0d1bc0d3b [apollo][l]: initial commit for setting up Apollo. 2020-06-19 10:25:21 +06:00
Anuar Ustayev
5e2ee1955a
Should be double 'm' in 'commit' + added more formats that should be processed by prettier. 2020-06-17 18:35:48 +06:00
Gift Egwuenu
5de8ace421 [setup][s]-setup code formatting with prettier
- add husky and lint-stages for pre-commit hooks
 - format entire codebase using `yarn format`
2020-06-17 13:07:00 +01:00
anuveyatsu
f2e15577e2 [data explorer][xs]: just display resource metadata and About component on resource page.
For details see https://github.com/datopian/portal/issues/12
2020-06-17 11:34:14 +06:00
anuveyatsu
bb22cac696 [resource page][m]: initially working resource page with support of datastore and non-datastore resources. 2020-06-15 15:53:12 +06:00
anuveyatsu
03578d9a11 [utils][xl]: copied over utils from frontend-v2. 2020-06-12 14:46:35 +06:00
anuveyatsu
b477a3aace [setup][m]: created basis for mocks and config module.
- Added minimal mock for 'package_search' CKAN API.
- 'config' module is based on frontend-v2.
2020-06-11 19:10:34 +06:00
Gift Egwuenu
aea6b830e5 [tests][m]-add-tests-for-all-pages 2020-06-04 11:48:02 +01:00
Gift Egwuenu
a1d78a077e [showcase][s]-add-showcase-page 2020-05-27 10:37:58 +01:00
Gift Egwuenu
96e1c4d6ae [feat][m] - stub out next.js page and setup CI 2020-05-25 14:49:52 +01:00
Gift Egwuenu
12026d947d Initial commit from Create Next App 2020-05-25 12:41:35 +01:00