-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from puikinsh/master
Merge pull request #168 from puikinsh/Datatable_bug_fix_and_package_u…
- Loading branch information
Showing
58 changed files
with
21,989 additions
and
724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
{ | ||
"presets": ["@babel/preset-env"], | ||
"plugins": [ | ||
"transform-class-properties", | ||
"transform-object-rest-spread" | ||
], | ||
"presets": [ | ||
["env", { | ||
"modules": false | ||
}], | ||
"stage-0" | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"extends": "airbnb-base", | ||
"parser": "@babel/eslint-parser", | ||
"settings": { | ||
"ecmascript": 7 | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"ecmaFeatures": { | ||
"modules": true, | ||
"destructuring": true, | ||
"classes": true, | ||
"forOf": true, | ||
"blockBindings": true, | ||
"arrowFunctions": true | ||
} | ||
}, | ||
"env": { | ||
"browser": true | ||
}, | ||
"rules": { | ||
"arrow-body-style": 0, | ||
"prefer-arrow-callback": 0, | ||
"arrow-parens": 0, | ||
"no-param-reassign": 0, | ||
"no-new": 0, | ||
"consistent-return": 0, | ||
"key-spacing": 0, | ||
"no-multi-spaces": 0, | ||
"no-underscore-dangle": 0, | ||
"one-var": 0, | ||
"global-require": 0, | ||
"class-methods-use-this": 0, | ||
"comma-dangle": ["error", { | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline", | ||
"functions": "never" | ||
}], | ||
"func-names": 0, | ||
"function-paren-newline": 0, | ||
"indent": 2, | ||
"new-cap": 0, | ||
"no-plusplus": 0, | ||
"no-return-assign": 0, | ||
"quote-props": 0, | ||
"template-curly-spacing": 0, | ||
"no-unused-expressions": 0, | ||
"import/extensions": 0, | ||
"import/no-extraneous-dependencies": 0, | ||
"import/no-unresolved": 0, | ||
"import/prefer-default-export": 0, | ||
"linebreak-style": ["error", "windows"] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Merge checks | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Build | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Get version | ||
run: echo "::set-output name=version::v$(./ci/getVersion.sh)" | ||
id: version | ||
|
||
- name: Verify version | ||
run: | | ||
./ci/verifyVersion.sh ${{ steps.version.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: NodeJS with Webpack | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Build | ||
run: | | ||
npm install | ||
npm run release:minified | ||
zip -r -j static_minified.zip dist/* | ||
npm run release:unminified | ||
zip -r -j static_unminified.zip dist/* | ||
- name: Get version | ||
run: echo "::set-output name=version::v$(./ci/getVersion.sh)" | ||
id: version | ||
|
||
- name: Verify version | ||
run: | | ||
./ci/verifyVersion.sh ${{ steps.version.outputs.version }} | ||
# Verify changelog has entry with new version | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: ${{ steps.version.outputs.version }} | ||
tag_name: ${{ steps.version.outputs.version }} | ||
files: | | ||
static_minified.zip | ||
static_unminified.zip | ||
fail_on_unmatched_files: true | ||
prerelease: false | ||
draft: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"rules": { | ||
"at-rule-no-unknown": null, | ||
"at-rule-empty-line-before": null, | ||
"selector-list-comma-newline-after": null, | ||
"block-opening-brace-space-before": null | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
### Changelog | ||
# Changelog | ||
|
||
#### 1.0.0 | ||
## [2.1.0] | ||
- Upgraded all dependencies | ||
|
||
## [2.0.0] | ||
|
||
### Changed | ||
- Upgrade to Bootstrap 5 | ||
|
||
## [1.1.0] | ||
|
||
### Changed | ||
- Upgrade to webpack 5 | ||
|
||
## [1.0.0] | ||
|
||
### Added | ||
- Intial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
Last 3 versions | ||
# https://github.com/browserslist/browserslist#readme | ||
|
||
>= 0.5% | ||
last 2 major versions | ||
not dead | ||
Chrome >= 60 | ||
Firefox >= 60 | ||
Firefox ESR | ||
iOS >= 12 | ||
Safari >= 12 | ||
not Explorer <= 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
echo $(sed 's/.*"version": "\(.*\)".*/\1/;t;d' ./package.json) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
VERSION=$1 | ||
TAG_EXISTS=$(git ls-remote --tags origin $VERSION | wc -l) | ||
|
||
if [ $TAG_EXISTS -eq "1" ]; then | ||
echo "The tag '$VERSION' already exists. Please update version in package.json."; | ||
exit 1; | ||
fi | ||
|
||
echo "The tag '$VERSION' does not exist - success."; |
Oops, something went wrong.