Skip to content
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

Version/2.1 #10

Merged
merged 47 commits into from
Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
5d93eed
fix: instance decorators inheritance
May 16, 2021
92def1c
fix: make Barba config optional
Aug 25, 2021
9243e48
Merge branch 'fix/decorators-system' of github.com:owlsdepartment/ove…
Aug 26, 2021
16799e0
refactor: eslint rules and add prettier
Aug 26, 2021
ae67df6
refactor: eslint rules and add prettier
Aug 26, 2021
80289f7
feature: added new external reactivity system with watchers
Sep 17, 2021
de9e980
feature: new logging system
Sep 17, 2021
3ba98d4
docs: add automatic CHANGELOG.md generation with 'changelog' script
Sep 17, 2021
a48e17f
docs: add contributing docs
Sep 17, 2021
4045e4e
refactor: synchronize all packages versions
Sep 17, 2021
19deef1
v2.1.0-alpha.0
Sep 17, 2021
803d4b8
build: update lerna
Sep 17, 2021
c31b2ac
build: syncing packages version and publishing
Sep 17, 2021
68f2591
refactor(ovee): make error message in dataParam consistent
Sep 17, 2021
095401c
refactor(ovee): add lodash license link
Sep 17, 2021
dc7554e
refactor(ovee): remove unused on-change library
Sep 17, 2021
1e80d55
refactor: run ESLint fix
Sep 17, 2021
c722f76
refactor(ovee): move framework name to constant and move __reactivePr…
Sep 17, 2021
dd1c746
docs: add paragraphs about computed and watchEffect decorators
Sep 20, 2021
25b4cbe
docs: added new documentation about reactivity and fixed @bind docs a…
Oct 1, 2021
8c9cda4
fix: errors are now longer catched by mistake in lifecycle hooks
Oct 4, 2021
a128315
fix: typo in import
Oct 4, 2021
61f2e67
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
fa9c1c7
Update docs/components.md
F0rsaken Oct 4, 2021
d3918a2
Update docs/components.md
F0rsaken Oct 4, 2021
0f62ffd
Update docs/components.md
F0rsaken Oct 4, 2021
e736edc
Update docs/reactivity/api.md
F0rsaken Oct 4, 2021
3391377
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
6f8c50c
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
d3a90a4
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
faf050b
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
7e960b7
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
d256d7f
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
1b2b1c0
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
5250dc5
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
e2a26a1
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
ed651f1
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
d517381
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
12dbb07
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
1f2f348
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
4a8104a
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
317c8bc
Update docs/reactivity/overview.md
F0rsaken Oct 4, 2021
5811b46
fix: docs typos
Oct 4, 2021
72f242d
Merge branch 'feature/2.1-docs-update' of github.com:owlsdepartment/o…
Oct 4, 2021
412fc9a
fix: docs typos
Oct 4, 2021
c4fec8d
Merge pull request #20 from owlsdepartment/fix/3-error-catched-in-lif…
F0rsaken Oct 5, 2021
2f8ef33
Merge pull request #16 from owlsdepartment/feature/2.1-docs-update
F0rsaken Oct 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 0 additions & 80 deletions .eslintrc

This file was deleted.

46 changes: 46 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true
},
ignorePatterns: ['**/dist/*'],

parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020
},

plugins: ['@typescript-eslint', 'simple-import-sort', 'lit'],

extends: [
'eslint:recommended',
'plugin:lit/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended'
],

rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],

'prettier/prettier': 'warn',

'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-namespace': ['error', { allowDeclarations: true }],

'simple-import-sort/imports': [
'warn',
{
groups: [['^\\u0000'], ['^@?\\w'], ['^', '^@pdf\\/'], ['^\\.\\.?\\/']]
}
],
'simple-import-sort/exports': 'warn'
}
};
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
singleQuote: true,
useTabs: true,
printWidth: 100,
htmlWhitespaceSensitivity: 'ignore',
arrowParens: 'avoid'
};
51 changes: 23 additions & 28 deletions jest-preset.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
module.exports = {
verbose: true,
transform: {
'^.+\\.tsx?$': 'ts-jest'
},
globals: {
'ts-jest': {
diagnostics: false
}
},
testMatch: [
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{js,ts}'
],
moduleFileExtensions: [
'ts',
'js'
],
moduleDirectories: [
'node_modules',
'src'
],
moduleNameMapper: {
'^src/(.*)$': '<rootDir>/src/$1',
'^tests/(.*)$': '<rootDir>/tests/$1'
}
verbose: true,
testEnvironment: 'jsdom',
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
globals: {
'ts-jest': {
diagnostics: false,
babelConfig: {
plugins: ['@babel/plugin-proposal-class-properties'],
},
},
},
testMatch: ['**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'],
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{js,ts}', '!src/**/index.{js,ts}'],
coveragePathIgnorePatterns: ['tests/helpers', '/index.ts$'],
moduleFileExtensions: ['ts', 'js'],
moduleDirectories: ['node_modules', 'src'],
moduleNameMapper: {
'^src/(.*)$': '<rootDir>/src/$1',
'^tests/(.*)$': '<rootDir>/tests/$1',
},
};
17 changes: 6 additions & 11 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
module.exports = {
projects: [
'<rootDir>/packages/ovee/jest.config.js'
],
transform: {
'^.+\\.tsx?$': 'ts-jest'
},
collectCoverage: true,
moduleFileExtensions: [
'ts',
'js'
]
projects: ['<rootDir>/packages/ovee/jest.config.js'],
transform: {
'^.+\\.tsx?$': 'ts-jest'
},
collectCoverage: true,
moduleFileExtensions: ['ts', 'js']
};
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,26 @@
"test:unit:watch": "NODE_ENV=test jest --watch --coverage --coverage-reporters=lcov",
"lint": "eslint ./packages --fix",
"lint:no-fix": "eslint ./packages",
"prepare": "npm run lint:no-fix"
"prepublishOnly": "npm run lint:no-fix"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"eslint": "^7.7.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.19.1",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^23.8.0",
"eslint-plugin-lit": "^1.2.0",
"jest": "^26.4.0",
"eslint-plugin-lit": "^1.5.1",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^27.1.0",
"lerna": "^3.22.1",
"ts-jest": "^26.2.0",
"typescript": "3.9.7"
"prettier": "^2.3.2",
"ts-jest": "^27.0.5",
"typescript": "^4.2.0"
},
"workspaces": [
"packages/*",
"docs"
]
]
}
4 changes: 2 additions & 2 deletions packages/ovee-barba/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"ttypescript": "^1.5.11",
"typescript": "3.9.7",
"typescript": "^4.2.0",
"typescript-transform-paths": "^2.0.0"
},
"peerDependencies": {
Expand All @@ -31,7 +31,7 @@
"lint:no-fix": "eslint .",
"build": "ttsc",
"clean": "rm -rf ./dist",
"prepare": "npm run clean && npm run build"
"prepublishOnly": "npm run clean && npm run build"
},
"browserslist": "> 0.5% and last 3 versions and not dead, ie >= 11",
"gitHead": "264eb4d044993506cd3f0a30886d0fcac2d1331b"
Expand Down
Loading