-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into fix_newDate
- Loading branch information
Showing
311 changed files
with
98,450 additions
and
45,660 deletions.
There are no files selected for viewing
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
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 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
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,65 @@ | ||
name: "CICD pipeline" | ||
|
||
on: | ||
push: | ||
branches: '*' | ||
pull_request: | ||
branches: '*' | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Bulid from src | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "latest" | ||
- run: yarn install --frozen-lockfile | ||
- run: npx gulp | ||
- uses: actions/upload-artifact@master | ||
with: | ||
name: dist | ||
path: dist/ | ||
- run: tar -cvf node_modules.tar node_modules | ||
- uses: actions/upload-artifact@master | ||
with: | ||
name: node_modules | ||
path: node_modules.tar | ||
|
||
test_node: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [15.x, 16.x, 17.x, 18.x, 19.x, latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run prod version with Node v${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: dist | ||
path: dist/ | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: node_modules | ||
path: ./ | ||
- run: tar -xvf node_modules.tar | ||
- run: yarn test-only | ||
|
||
test_browser: | ||
needs: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: dist | ||
path: dist/ | ||
- run: echo '::warning ::Not able to automate browser tests yet' | ||
- run: '# yarn test-browser-ci' | ||
|
||
|
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 |
---|---|---|
|
@@ -10,5 +10,5 @@ test/test251.xlsx | |
*.log | ||
yarn-error.log | ||
package-lock.json | ||
dist/ | ||
/dist/ | ||
pnpm-lock.yaml |
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,25 +1,9 @@ | ||
console/ | ||
examples/ | ||
lib/ | ||
partners/ | ||
test/ | ||
src/ | ||
*.md | ||
.codeclimate.yml | ||
.gitattributes | ||
.gitignore | ||
.jshintrc | ||
bower.json | ||
gulpfile.js | ||
inch.json | ||
utils/ | ||
.npmignore | ||
.travis.yml | ||
.versions | ||
.eslintrc.yml | ||
.prettierignore | ||
.prettierrc | ||
yarn.lock | ||
tslint.json | ||
.husky | ||
.github | ||
.* | ||
*.log |
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 |
---|---|---|
|
@@ -8,4 +8,6 @@ src/99worker-start.js | |
|
||
src/alasqlparser.js | ||
|
||
src/97saveas.js | ||
src/97saveas.js | ||
|
||
modules/ |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ useTabs: true | |
bracketSpacing: false | ||
trailingComma: es5 | ||
singleQuote: true | ||
arrowParens: "avoid" |
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,24 +1,26 @@ | ||
# How to Contribute to the AlaSQL project | ||
# How to Contribute to AlaSQL | ||
|
||
Thank you very much for your interest! AlaSQL project still has a lot of thing to be improved, and your help is very appreciated! | ||
Thank you very much for your interest! AlaSQL has a lot of thing to be improved, and your help is very appreciated! | ||
|
||
For you to edit the source please do the following: | ||
For you to submit a pull request: | ||
|
||
- Make sure you have Node, npm and git installed | ||
- Make sure you have git, Node and yarn installed (`npm install -g yarn`) | ||
- Fork the repo here on Github (button top right) | ||
- Clone your forked repo and install dependencies `git clone https://github.com/MYUSERNAME/alasql/ --depth 1 && cd alasql && npm install` | ||
- Clone your forked repo and install dependencies `git clone https://github.com/MYUSERNAME/alasql/ --depth 1 && cd alasql && yarn` | ||
- Make sure you work with the develop branch `git checkout develop` | ||
- Install dependencies with `npm install` | ||
- Run tests to verify all is good `npm test` | ||
- Add a test for the issue you have: Copy `test/test000.js` and replace `000` with a new number. | ||
- Make sure you got dependencies installed `yarn` | ||
- Run tests to verify all is good `yarn test` | ||
- Implement a test that reflects the issue. | ||
- Run `npm test` to verify only the new test fails | ||
- Add a new test file for the issue: Copy `test/test000.js` and replace `000` with a new number. Preferably the number of the issue you are solving. | ||
- Run `yarn test` to verify only the new test fails | ||
- Implement your contributions in `src/` | ||
- Run `npm test` and verify all tests are OK | ||
- Run `yarn test` and verify all tests are OK | ||
- Format the souce with `yarn format` | ||
- Commit changes to git and push to your forked repo | ||
- Click "Create Pull-request" when looking at your forked repo on Github | ||
|
||
_Please note that `npm test` will compile from `src/` and overwrite `dist/` before running all tests_ | ||
|
||
If you would like to change the alasql.org website please make a PR to https://github.com/agershun/alasql-org | ||
Please note that | ||
- `yarn test` will compile from `src/` and overwrite `dist/` before running tests | ||
- If you would like to change the alasql.org website please make a PR to https://github.com/alasql/alasql-org | ||
- To help debug a problem you can see some advice on https://github.com/AlaSQL/alasql/issues/1415#issuecomment-1293335079 | ||
|
Oops, something went wrong.