-
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.
- Upgrade default yarn version to Yarn 4.4.0 https://yarnpkg.com/blog/release/4.0 - Add .yarnrc.yml - Add volta - Add packageManager to package.json - Fix github workflows - Fix netlify build and deploy - Future work might needed to fix npm publish workflow To Update your local master: run yarn cache clean and yarn install and yarn bootstrap for a fresh install --------- Signed-off-by: Shan He <[email protected]>
- Loading branch information
1 parent
a06d03c
commit 7b512cf
Showing
42 changed files
with
68,210 additions
and
18,547 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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm install -g yarn | ||
- run: yarn | ||
- run: yarn bootstrap | ||
- run: npm i -g [email protected] | ||
- run: npm --version && npm publish --workspaces --access public | ||
env: | ||
|
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 |
---|---|---|
|
@@ -18,21 +18,18 @@ jobs: | |
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- uses: actions/checkout@v4 | ||
# use Volta to manage yarn/node versions | ||
- uses: volta-cli/action@v4 | ||
|
||
- name: Install XVFB | ||
run: sudo apt-get install xvfb | ||
|
||
- name: Install YARN | ||
run: npm install -g yarn | ||
- name: Install Dependencies | ||
run: yarn install && yarn bootstrap | ||
|
||
- name: Install Dependecies | ||
run: yarn global add "puppeteer@19.11.1" && yarn | ||
# - name: Install Puppeteer | ||
# run: yarn dlx "puppeteer@23.1.0" | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
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,4 @@ | ||
# https://yarnpkg.com/configuration/yarnrc | ||
nodeLinker: node-modules | ||
# Define the registry to use when fetching packages. | ||
npmRegistryServer: 'https://registry.yarnpkg.com' |
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 |
---|---|---|
|
@@ -3,6 +3,5 @@ dist/ | |
temp.* | ||
babel/ | ||
|
||
yarn.lock | ||
yarn-error.log | ||
package-lock.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 |
---|---|---|
|
@@ -26,27 +26,27 @@ | |
"start": "NODE_ENV=development webpack --config ./webpack/dev.js --mode development --watch --progress", | ||
"clean": "rimraf dist/ && rimraf ../keplergl/static/", | ||
"cleanall": "npm run clean && rimraf node_modules/", | ||
"prepublish": "NODE_OPTIONS=--openssl-legacy-provider yarn build && yarn build:lab", | ||
"prepublishOnly": "NODE_OPTIONS=--openssl-legacy-provider yarn build && yarn build:lab", | ||
"build": "NODE_OPTIONS=--openssl-legacy-provider npm run clean && npm run build:lab && webpack --config ./webpack/build.js && jupyter labextension build .", | ||
"build:lab": "NODE_OPTIONS=--openssl-legacy-provider rimraf babel/ && mkdir babel && babel lib --out-dir babel", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"lint": "eslint lib webpack --fix", | ||
"prettier": "prettier --config ./.prettierrc --print-width 80 --single-quote --write lib/**/*.js" | ||
}, | ||
"devDependencies": { | ||
"apache-arrow": "^13.0.0", | ||
"@babel/cli": "7.4.4", | ||
"@babel/core": "^7.12.1", | ||
"@babel/plugin-transform-class-properties": "^7.12.1", | ||
"@babel/plugin-transform-export-namespace-from": "^7.12.1", | ||
"@babel/plugin-transform-optional-chaining": "^7.12.1", | ||
"@babel/plugin-transform-modules-commonjs": "^7.12.1", | ||
"@babel/plugin-transform-optional-chaining": "^7.12.1", | ||
"@babel/plugin-transform-runtime": "^7.12.1", | ||
"@babel/plugin-transform-typescript": "^7.16.8", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@jupyterlab/builder": "^4.0.0", | ||
"apache-arrow": "^13.0.0", | ||
"babel-eslint": "^9.0.0", | ||
"babel-loader": "^8.0.0", | ||
"babel-plugin-search-and-replace": "^1.0.0", | ||
|
@@ -75,8 +75,8 @@ | |
"@kepler.gl/components": "^3.0.0", | ||
"@kepler.gl/processors": "^3.0.0", | ||
"@kepler.gl/reducers": "^3.0.0", | ||
"@kepler.gl/styles": "^3.0.0", | ||
"@kepler.gl/schemas": "^3.0.0", | ||
"@kepler.gl/styles": "^3.0.0", | ||
"@loaders.gl/arrow": "^4.1.0", | ||
"@loaders.gl/core": "^4.1.0", | ||
"@loaders.gl/csv": "^4.1.0", | ||
|
@@ -111,9 +111,12 @@ | |
} | ||
} | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"volta": { | ||
"node": "18.18.2", | ||
"yarn": "1.22.17" | ||
} | ||
"yarn": "4.4.0" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.