Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Migrate to monorepo #149

Merged
merged 94 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
c95ed34
monorepo Work in progress - monorepo
NikhilVerma Oct 7, 2023
43de8b6
monorepo docs stories fixed
Oct 7, 2023
045d785
monorepo class renamed to className in mdx
Oct 7, 2023
9ad2cf2
monorepo WIP
NikhilVerma Oct 7, 2023
ae9e36e
monorepo Merge remote-tracking branch 'origin/monorepo' into monorepo
NikhilVerma Oct 7, 2023
464fb4d
monorepo Format code
NikhilVerma Oct 7, 2023
371c12c
monorepo Add missing modules for storybook
NikhilVerma Oct 7, 2023
0b4be1e
monorepo lineage stories updated
Oct 7, 2023
1164d00
monorepo WIP
NikhilVerma Oct 7, 2023
8a33bbd
monorepo Fix building and formatting
NikhilVerma Oct 8, 2023
01eb5b2
monorepo web-runner port updated
Oct 8, 2023
5043bdd
monorepo Make all packages independent of one another
NikhilVerma Oct 8, 2023
a246c68
monorepo Merge remote-tracking branch 'origin/monorepo' into monorepo
NikhilVerma Oct 8, 2023
65f5548
monorepo Minor tweaks
NikhilVerma Oct 8, 2023
519f196
monorepo Delete custom JSON files
NikhilVerma Oct 8, 2023
291ead0
monorepo Ignore custom json artifacts
NikhilVerma Oct 8, 2023
66d3f25
monorepo Add linting and lint-staged support
NikhilVerma Oct 8, 2023
59824f2
monorepo Fix formatting
NikhilVerma Oct 8, 2023
1662ccf
monorepo f-accordion and f-breadcrumb global styles updated
Oct 8, 2023
3ea5b0d
monorepo Add flow-config as a dependency to flow-core
NikhilVerma Oct 8, 2023
121963e
monorepo Merge branch 'monorepo' of https://github.com/cldcvr/flow-co…
NikhilVerma Oct 8, 2023
e9f0ba6
monorepo f-carousel global styles updated
Oct 8, 2023
b9c11c6
monorepo f-checkbox global styles added
Oct 8, 2023
afcd9bc
monorepo f-counter global styles updated
Oct 8, 2023
021f4b7
monorepo f-date-time-picker global styles added
Oct 8, 2023
e411b95
monorepo f-divider global styles updated
Oct 8, 2023
2fcc586
monorepo f-emoji-picker global styles updated
Oct 8, 2023
1a81a22
monorepo f-field global styles added
Oct 8, 2023
d4fd564
monorepo Remove TS shims and remove CSS references from readme
NikhilVerma Oct 9, 2023
3fad68b
monorepo FLOW-935 f-file-upload global css updated
Oct 9, 2023
162e288
monorepo FLOW-935 f-form global css updated
Oct 9, 2023
8ae99be
monorepo FLOW-935 f-form-group f-grid global css updated
Oct 9, 2023
d0eae70
monorepo FLOW-935 f-icon global styles updated
Oct 9, 2023
0b5c439
monorepo FLOW-935 f-icon-button global styles updated
Oct 9, 2023
67433e4
monorepo FLOW-935 f-input global styles updated
Oct 9, 2023
2b5a0d8
monorepo FLOW-935 f-pictogram global styles updated
Oct 9, 2023
4a6be0b
monorepo Bump version for test run
NikhilVerma Oct 9, 2023
1984d38
monorepo Merge branch 'monorepo' of https://github.com/cldcvr/flow-co…
NikhilVerma Oct 9, 2023
585fb11
monorepo FLOW-935 f-popover and f-progress-bar global styles updated
Oct 9, 2023
23079e4
monorepo FLOW-935 f-radio global styles updated
Oct 9, 2023
acadf06
monorepo Merge remote-tracking branch 'origin/main' into monorepo
NikhilVerma Oct 9, 2023
2cbf5cd
monorepo Add Nikhil to codeowners
NikhilVerma Oct 9, 2023
51d2d4f
monorepo Faster types generation and utilise monorepo for publishing
NikhilVerma Oct 9, 2023
dab43c7
monorepo FLOW-935 f-search global styles updated
Oct 9, 2023
1a1f268
monorepo FLOW-935 f-select global styles updated
Oct 9, 2023
6f7692e
monorepo FLOW-935 f-spacer global styles updated
Oct 9, 2023
ca1bc9c
monorepo FLOW-935 f-switch and f-suggest global styles updated
Oct 9, 2023
76de76d
monorepo Fix storybook builds
NikhilVerma Oct 9, 2023
33b091e
monorepo Merge branch 'monorepo' of https://github.com/cldcvr/flow-co…
NikhilVerma Oct 9, 2023
e9938b9
monorepo Fix TS build issue
NikhilVerma Oct 9, 2023
7f770fa
monorepo FLOW-935 f-tab global styles updated
Oct 9, 2023
2ebe912
monorepo FLOW-935 f-tab-content global styles updated
Oct 9, 2023
d569bb8
monorepo FLOW-935 f-tab-node global styles updated
Oct 9, 2023
bd888ae
monorepo FLOW-935 f-tag global styles updated
Oct 9, 2023
482d847
monorepo FLOW-935 f-template global styles updated
Oct 9, 2023
8c2a884
monorepo FLOW-935 f-text global styles updated
Oct 9, 2023
295e85b
monorepo FLOW-935 f-text-area global styles updated
Oct 9, 2023
8f9f555
monorepo FLOW-935 f-toast global styles updated
Oct 9, 2023
f533ada
monorepo FLOW-935 f-tooltip global styles updated
Oct 9, 2023
1412892
monorepo Update build and release scripts
NikhilVerma Oct 9, 2023
8150410
monorepo FLOW-935 f-form-builder global styles updated
Oct 9, 2023
00d040f
monorepo FLOW-935 #storybook-root height added
Oct 9, 2023
b63c19d
monorepo FLOW-935 flow-lineage global styles updated
Oct 9, 2023
fb932f0
monorepo Fix form-builder compilation and externals
NikhilVerma Oct 9, 2023
14e94cf
monorepo FLOW-935 flow-code-editor flow-log flow-md-editor global sty…
Oct 9, 2023
ea58cd6
monorepo Update to pnpm 8.9.0
NikhilVerma Oct 9, 2023
f84a1f4
monorepo FLOW-935 flow-table global css updated
Oct 9, 2023
d2bf5ec
monorepo Fix unnecessary build when testing
NikhilVerma Oct 9, 2023
916f93e
monorepo Fix TS issues
NikhilVerma Oct 10, 2023
4b6cb12
monorepo Simplify TS config
NikhilVerma Oct 10, 2023
a130eb1
monorepo Work in progress to improve docs structure
NikhilVerma Oct 10, 2023
29e68e0
monorepo Anatomy paths updated
Oct 10, 2023
9369b7f
monorepo Fix playground css
NikhilVerma Oct 10, 2023
7becbaf
monorepo Fix body scroll
NikhilVerma Oct 10, 2023
8bec744
monorepo stories re-structuring
Oct 10, 2023
5b5628b
monorepo Disable minification and clean up build files
NikhilVerma Oct 10, 2023
9ef8e96
monorepo form-builder about story added
Oct 10, 2023
600389d
monorepo flow-log stories updated
Oct 10, 2023
36215b2
monorepo flow-md-editor stories updated
Oct 10, 2023
c5ace58
monorepo storybook css updated
Oct 10, 2023
3f9ccc8
monorepo Delete unused file
NikhilVerma Oct 10, 2023
3e9f19b
monorepo files renamed
Oct 10, 2023
477dc72
monorepo renamed
Oct 10, 2023
a69dc8e
monorepo f-lineage tests updated
Oct 10, 2023
3f160b9
monorepo f-lineage tests updated
Oct 10, 2023
96c1ebc
monorepo icon packages story renamed
Oct 10, 2023
54254a2
monorepo anotomy path updated
Oct 10, 2023
2bcae8d
monorepo release yml updated
Oct 10, 2023
2d9962f
monorepo README added for lineage and formbuilder
Oct 11, 2023
a2de106
monorepo Fix or mute typescript issues
NikhilVerma Oct 11, 2023
701849f
monorepo Add a delay for flatpickr
NikhilVerma Oct 11, 2023
92079d6
monorepo Mark as ready for release
NikhilVerma Oct 11, 2023
82bec9d
monorepo Fix TS types for stories
NikhilVerma Oct 11, 2023
e4831e0
monorepo lineage package types fixed
Oct 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
node_modules
coverage
build
dist
dist/
bundle-analysis
storybook-static
lib/dist
!.storybook
**/dist
umd/
76 changes: 76 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
const path = require("path");

module.exports = {
root: true,
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:storybook/recommended",
"prettier"
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: "module"
},
plugins: ["@typescript-eslint"],
env: {
browser: true,
node: true
},
rules: {
"no-prototype-builtins": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_"
}
]
},
overrides: [
{
files: ["rollup.config.js", "web-test-runner.config.js"],
env: {
node: true
}
},
{
files: ["stories/**"],
rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
{
files: ["packages/**/*.ts"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:storybook/recommended",
"prettier"
],
parserOptions: {
project: path.resolve(__dirname, "./tsconfig.eslint.json")
},
rules: {
"@typescript-eslint/unbound-method": "off",

//@todo Remove individiual rules and fix them
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off"
}
},
{
files: ["**/*_test.ts", "**/*.test.ts", "**/custom_typings/*.ts"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-floating-promises": "off"
}
}
]
};
46 changes: 0 additions & 46 deletions .eslintrc.json

This file was deleted.

24 changes: 13 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
### Checklist for raising a PR

- [ ] Gone through UX documnetation for adding new features.
- [ ] All necessary unit tests covered.
- [ ] Required comments added for generating component manifest file? you can find details [here](https://custom-elements-manifest.open-wc.org/analyzer/getting-started/)
- [ ] Did you check the contributing doc?
- [ ] Did you check the existing issues for similar queries?


### Describe your PR


### Add additional question here

- [ ] `Yes`
- [ ] `No`
- [ ] `NA`
- [ ] `NA`
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: Build

on:
push:
branches:
- main

defaults:
run:
shell: bash
working-directory: .

env:
DISTRIBUTION_ID: E1JYXHU7GFQMKF
BUCKET_NAME: flow.cldcvr.com
AWS_REGION: us-east-1
ROLE_NAME: flow.cldcvr.com-role
ACCOUNT_ID: 679519065279

jobs:
build:
name: Build and upload to amazon s3
Expand All @@ -24,13 +28,16 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Node.js 16.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x

- name: Install pnpm
run: corepack enable && corepack prepare [email protected] --activate

- name: Install Dependencies and Build
run: export NODE_OPTIONS="--max_old_space_size=8192" && yarn && yarn build-packages && yarn build-storybook
run: make build

- name: Configure AWS credentials from Test account
uses: aws-actions/configure-aws-credentials@v1
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: Lint checks

on:
workflow_dispatch:
pull_request:
branches:
- main
- main

defaults:
run:
shell: bash
working-directory: .

jobs:
lint:
name: Run lint checks
Expand All @@ -24,13 +27,13 @@ jobs:
node-version: 18.x

- name: Install pnpm
run: corepack enable && corepack prepare pnpm@7.26.3 --activate
run: corepack enable && corepack prepare pnpm@8.9.0 --activate

- name: Test build
run: make build
- name: Unit tests
run: make test

- name: ESlint
run: pnpm run lint

- name: Storybook
run: pnpm run build-storybook
Loading
Loading