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

force esm via tsconfig, remove package.json creation #2199

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9db24ae
force esm via tsconfig, remove package.json creation
josefaidt Oct 7, 2024
63898fd
npm run update:api
josefaidt Oct 7, 2024
aa26514
revert client-config api update
josefaidt Nov 1, 2024
22079e0
Merge remote-tracking branch 'upstream/main' into create-amplify-no-p…
josefaidt Nov 1, 2024
db7fe8e
revert change to platform-core api
josefaidt Nov 1, 2024
4fbfce6
add changeset
josefaidt Nov 1, 2024
2949c11
bump minimum typescript req to 5.4 in create-amplify
josefaidt Nov 4, 2024
f0232a6
re-add moduleResolution: bundler to defer resolution logic to tsx
josefaidt Nov 4, 2024
5e5ebe2
remove snippet from tests for package.json
josefaidt Nov 5, 2024
e0768bb
Merge remote-tracking branch 'upstream/main' into create-amplify-no-p…
josefaidt Nov 5, 2024
f09f724
run e2e
josefaidt Nov 5, 2024
8e4dae0
run e2e
josefaidt Nov 5, 2024
b0a204b
fix integration tests
josefaidt Nov 5, 2024
b149715
fix e2e tests
josefaidt Nov 5, 2024
3114a41
rm package.json from expected file list, fix create-amplify e2e
josefaidt Nov 6, 2024
ce0617d
rm package.json creation from integration test bootstrap
josefaidt Nov 6, 2024
ce21917
add e2e check for moduleDetection value
josefaidt Nov 6, 2024
75e38f1
rearrange order of expected files to satisfy deepStrictEqual
josefaidt Nov 7, 2024
1ded2d1
fix registry settings for yarn modern in tests
josefaidt Nov 15, 2024
6cc8932
rm stale yarn init
josefaidt Nov 15, 2024
74ba716
set version latest -> set version stable
josefaidt Nov 15, 2024
4b35521
yarn set version -> yarn init
josefaidt Nov 16, 2024
6331f8c
try fix yarn modern config settings
josefaidt Nov 18, 2024
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
Prev Previous commit
try fix yarn modern config settings
josefaidt committed Nov 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 6331f8cc79dbb920dc6602c10099848b4d2dea85
8 changes: 7 additions & 1 deletion packages/integration-tests/src/setup_package_manager.ts
Original file line number Diff line number Diff line change
@@ -56,12 +56,18 @@ const initializeYarnModern = async (execaOptions: {
const packageManager = 'yarn';
await execa('npm', ['install', '-g', packageManager], { stdio: 'inherit' });
await execa('yarn', ['init', '-2'], execaOptions);
await execa(packageManager, [
'config',
'set',
'npmRegistryServer',
customRegistry,
]);
await execa(
packageManager,
[
'config',
'set',
`npmRegistries.${customRegistry}.npmAuthToken`,
`"npmRegistries['${customRegistry}'].npmAuthToken`,
customRegistryAuthToken,
],
execaOptions