Skip to content

Commit

Permalink
Bump core from 01ba99b to abba29c (#363)
Browse files Browse the repository at this point in the history
Bumps [core](https://github.com/microsoft/typespec) from `01ba99b` to
`abba29c`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/typespec/commit/abba29c173c24b2efb3d29b63160860197366b19"><code>abba29c</code></a>
Validate playground samples and fix docs to deprecated version (<a
href="https://redirect.github.com/microsoft/typespec/issues/2977">#2977</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/de6bd7bc3081e0c05b6f8aa679b83f20e808c87c"><code>de6bd7b</code></a>
Go to import (<a
href="https://redirect.github.com/microsoft/typespec/issues/2978">#2978</a>)</li>
<li><a
href="https://github.com/microsoft/typespec/commit/82fab0a5e68696821fcd506119fc67d6c745cc79"><code>82fab0a</code></a>
Fix: Authentication on containing namespace (<a
href="https://redirect.github.com/microsoft/typespec/issues/2980">#2980</a>)</li>
<li>See full diff in <a
href="https://github.com/microsoft/typespec/compare/01ba99b0613195c543d11af38476e3af67edae22...abba29c173c24b2efb3d29b63160860197366b19">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timothee Guerin <[email protected]>
  • Loading branch information
dependabot[bot] and timotheeguerin authored Mar 5, 2024
1 parent 4b26297 commit 7d71bad
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/typespec-azure-playground-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"build-samples": "node ./samples/build.js",
"build": "npm run build-samples && tsc -p . && vite build 2>&1",
"start": "npm run -s watch",
"test": "vitest run",
"test:watch": "vitest -w",
"watch": "vite --port 5174",
"e2e": "cross-env PW_EXPERIMENTAL_TS_ESM=1 playwright test -c e2e",
"e2e:headed": "cross-env PW_EXPERIMENTAL_TS_ESM=1 playwright test -c e2e --headed",
Expand Down Expand Up @@ -73,9 +75,12 @@
"@typespec/bundler": "workspace:~",
"@typespec/eslint-config-typespec": "workspace:~",
"@typespec/playground": "workspace:~",
"@vitest/coverage-v8": "^1.2.2",
"@vitest/ui": "^1.2.2",
"cross-env": "~7.0.3",
"eslint": "^8.56.0",
"rimraf": "~5.0.5",
"typescript": "~5.3.3"
"typescript": "~5.3.3",
"vitest": "^1.2.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { NodeHost, compile, resolvePath } from "@typespec/compiler";
import { expectDiagnosticEmpty, findTestPackageRoot } from "@typespec/compiler/testing";
import { it } from "vitest";
import { TypeSpecPlaygroundConfig } from "../src/index.js";

const samples = TypeSpecPlaygroundConfig.samples;
const packageRoot = await findTestPackageRoot(import.meta.url);
for (const [name, sample] of Object.entries(samples)) {
it(`compile ${name}`, async () => {
const program = await compile(NodeHost, resolvePath(packageRoot, sample.filename), {
noEmit: true,
emit: [sample.preferredEmitter],
});
expectDiagnosticEmpty(program.diagnostics);
});
}
11 changes: 11 additions & 0 deletions packages/typespec-azure-playground-website/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { configDefaults, defineConfig, mergeConfig } from "vitest/config";
import { defaultTypeSpecVitestConfig } from "../../core/vitest.workspace.js";

export default mergeConfig(
defaultTypeSpecVitestConfig,
defineConfig({
test: {
exclude: [...configDefaults.exclude, "dist-dev/**/*"],
},
})
);
18 changes: 18 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d71bad

Please sign in to comment.