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

V4.0.0 Release #235

Merged
merged 20 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
19c7fe6
deps: bump aws-amplify deps (#219)
wlee221 Jun 15, 2023
58c346a
chore(deps): bump tough-cookie from 4.0.0 to 4.1.3 (#221)
dependabot[bot] Jul 14, 2023
ef5d82f
chore(deps): bump semver from 5.7.1 to 5.7.2 (#222)
dependabot[bot] Jul 14, 2023
eeeb6b1
chore: fix dependabot alerts
calebpollman Jul 18, 2023
9e4ff03
clean up extraneous yarn.lock updates
calebpollman Jul 18, 2023
72d7673
Merge pull request #223 from aws-amplify/chore/fix-dependabot-alerts
calebpollman Jul 19, 2023
2f213e5
chore: addtional updates for dependabot alerts
calebpollman Jul 19, 2023
cc18f8c
Merge pull request #224 from aws-amplify/chore/fix-dependabot-alerts
calebpollman Jul 19, 2023
f770525
Update CODEOWNERS
reesscot Jul 27, 2023
827c501
Merge pull request #227 from aws-amplify/update-codeowners
reesscot Jul 27, 2023
099f3ec
chore: Add lint and prettier (#226)
thaddmt Aug 1, 2023
0e359a8
chore: remove circle ci, to be replaced with gh actions (#228)
thaddmt Aug 15, 2023
1b078de
chore: Set up integ tests on gh actions (#229)
thaddmt Sep 12, 2023
70b3a6b
chore: run prettier against full repo (#231)
thaddmt Sep 22, 2023
022a3aa
chore: migration to aws-amplify v6 (#230)
thaddmt Sep 29, 2023
1cb3e48
chore(deps): bump @babel/traverse from 7.18.8 to 7.23.2 (#232)
dependabot[bot] Oct 19, 2023
38c50ea
perf: release with aws-amplify v6
thaddmt Nov 9, 2023
0aad2bd
fix: testing another change
thaddmt Nov 9, 2023
df9bd74
fix: Revert "fix: testing another change"
thaddmt Nov 9, 2023
1240fa5
fix: update aws-amplify in yarn.lock (#234)
thaddmt Nov 9, 2023
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
253 changes: 0 additions & 253 deletions .circleci/config.yml

This file was deleted.

24 changes: 12 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
parser: "@typescript-eslint/parser",
extends: ['eslint:recommended', 'prettier'],
ignorePatterns: ['dist'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: "module",
ecmaVersion: 2020,
sourceType: 'module',
},
rules: {
'no-console': 'error',
'no-debugger': 'error',
'no-undef': 'off',
'no-unused-vars': 'off', // prefer @typescript-eslint version
},
plugins: ["@typescript-eslint"],
rules: {},
};
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* @aws-amplify/amplify-geo
# The amplify-ui team is marked as required reviewers for all pull requests to main.
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
* @aws-amplify/amplify-ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Copied from https://raw.githubusercontent.com/aws-amplify/amplify-js/main/.github/actions/load-verdaccio-with-amplify-js/action.yml

name: Load Verdaccio with maplibre-gl-js-amplify
description: Turn on Verdaccio and load up all of the maplibre-gl-js-amplify build artifacts

runs:
using: 'composite'
steps:
- name: Start verdaccio
run: |
npx [email protected] &
while ! nc -z localhost 4873; do
echo "Verdaccio not running yet"
sleep 1
done

# Run your commands after verdaccio is up and running
echo "Verdaccio is up and running, proceeding with the script..."
shell: bash
- name: Install and run npm-cli-login
shell: bash
env:
NPM_REGISTRY: http://localhost:4873/
NPM_USER: verdaccio
NPM_PASS: verdaccio
NPM_EMAIL: [email protected]
run: |
npm i -g npm-cli-adduser
npm-cli-adduser
sleep 1
- name: Configure registry and git
shell: bash
working-directory: ./maplibre-gl-js-amplify
env:
NPM_REGISTRY: http://localhost:4873/
NPM_USER: verdaccio
NPM_PASS: verdaccio
NPM_EMAIL: [email protected]
run: |
yarn config set registry $NPM_REGISTRY
npm set registry $NPM_REGISTRY
git config --global user.email $NPM_EMAIL
git config --global user.name $NPM_USER
git status
git --no-pager diff
- name: Publish to verdaccio
shell: bash
working-directory: ./maplibre-gl-js-amplify
run: |
YARN_REGISTRY=http://localhost:4873/ yarn publish:unstable
YARN_REGISTRY=http://localhost:4873/ yarn info maplibre-gl-js-amplify@unstable description
NPM_CONFIG_REGISTRY=http://localhost:4873 npm info maplibre-gl-js-amplify@unstable version
40 changes: 40 additions & 0 deletions .github/actions/node-and-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copied from https://github.com/aws-amplify/amplify-js/blob/main/.github/actions/node-and-build/action.yml

name: Set Node and Build
description: Checks out Amplify and builds the package
inputs:
is-prebuild:
required: false
default: false
runs:
using: 'composite'
steps:
- name: Setup Node.js 16
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: 16
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
id: cache-build-artifacts
with:
path: |
**/node_modules
**/dist
**/lib
**/lib-esm/
**/es/
**/esm/
**/cjs/
**/packages/core/src/Platform/version.ts
key: ${{ runner.os }}-build-artifacts-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-artifacts-
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
# TODO We should be able to skip yarn / bootstrap if we cache enough things. Leaving because skipping causes issues.
- name: Install
if: inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true'
run: yarn
shell: bash
working-directory: ./maplibre-gl-js-amplify
Loading