Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
Jason Hartman f7ddbe1856
build(client-devtools): reclaim @alpha for traditional use (#21396)
devtools are not a part of framework and may use `@alpha` for its
traditional meaning. This also resolves issues with `@alpha` referencing
`@beta` APIs, which is not supported for the `/legacy` pattern. (api
export lint policy once enabled will flag that.)
2024-06-13 01:21:12 +00:00
Daniel Lehenbauer b62b14d4d0
Node10 entrypoints use ESM -- Add stubs for /beta, /legacy/, and /internal (#20616)
Changes:
* Node10 entrypoints now point to ESM (./lib) for dual-format packages.
* Instead of using '/lib/beta' and '/lib/legacy' as export paths, we now
emit '/beta.d.ts' and '/legacy.d.ts' in the package root.
* We now additionally emit an './internal.d.ts'. ATTW now passes the
full matrix, with select exclusions of test-only exports.
* Miscellaneous trimming / export map fixes.

---------

Co-authored-by: Tyler Butler <tyler@tylerbutler.com>
Co-authored-by: Tyler Butler <tylerbu@microsoft.com>
Co-authored-by: Jason Hartman <jasonha@microsoft.com>
2024-04-13 10:05:53 -07:00
Jason Hartman 521dbd1259
feat(build-tools): `generate entrypoints` per package.json with Node10 option (#20631)
## package.json "exports" coordination
- Only generates where there is presence in "exports".
- Error is generated if there are no matches.
- Requested outputs that are not in "exports" are skipped, with any
prior file being deleted.
- Will now generate an empty export when there are no exports at level
assuming that package.json "exports" are as intended and useless paths
are okay. Will warn (though general build seems to eat most
error/warning logs).
- Removed unused API tasks (can be restored once used)

## Node10 Type Compatibility option
- Node10 types compat stub files are now generated based on package.json
exports and the generated entrypoint files
- Preset from .gitignores

Tested Node10 build compat with a ESNext+Node10 package in FF.

---------

Co-authored-by: Tyler Butler <tyler@tylerbutler.com>
2024-04-12 11:09:46 -07:00
Joshua Smithrud 084ced9d8f
build(docs): Move API model download location from repo root into the docs directory (#19198)
Moves the location from
`<root>/_api-extractor-temp-<version>/doc-models` to
`docs/_doc-models/<version>`.

Also removes `readVersionData.js`, which is unused.
2024-01-10 16:21:05 -08:00
Michael Zhen ee092de762
Download multiple api versions (#18854)
Added download option in docs/package.json to download all api doc
versions from azure storage.
This download step is necessary for testing multi api version docs
locally, as api-extractor would only generate api docs for the local
repo.
2023-12-15 14:33:51 -08:00
Daniel Lehenbauer 7522ba8a76
Server: Fix prettier warnings when building GitRest/Historian in container (#16234)
This prevents 'prettier' from emitting warnings for files in
'.pnpm-store/' when building the GitRest and Historian services per the
dev instructions in the README.md.

Because the dependencies required to build these services are tricky to
install locally (esp. on non-Linux systems), the README for these
services recommends:

* Building the service in a Docker container
* Mounting the 'gitrest/' or 'historian/' directories from the local
filesystem into the container.
* Running 'bash' inside the container to run 'pnpm i' and 'pnpm run
build'

A side effect or running 'pnpm i' with the local file system mount as
described above is that it places the '.pnpm-store' cache in the build
directory, causing 'prettier' to include this directory while scanning.
2023-08-16 10:23:15 -07:00
Tyler Butler 111c6ca1f8
build: Remove UPCOMING.md (#16304)
Removes the UPCOMING.md file and associated build tasks.

As implemented, the file can conflict a lot even with main branch
commits (since there are changesets added all the time), and there is
conflicting information about whether partners actually find a roll up
of upcoming _unreleased_ changes useful.

The file can still be generated manually if needed. This might be useful
for the release driver to create release notes. Also, we will still
create changelogs for each package. This change only affects
upcoming.md.

We can also still consider producing a page for the website with this
info.
2023-07-19 10:34:51 -07:00
Daniel Lehenbauer 3f8df37c3c
Fixes for running Routerlicious on Apple silicon (#15751)
Alfred, Deli, Scriptorium, Copier, Scribe, and Riddler need to specify
platform 'linux/amd64'.

All MacOS users will need to disable 'Airplay Receiver' to free port
5000 for Riddler (added to README.md)
2023-05-31 09:34:14 -07:00
Tony Murphy 826a9b1d7e
Type Validation: Support Multiple Versions with Breaking Changes (#7799)
This change updates the type validation tooling to support multiple versions in the package json broken definitions. This changes the format, so existing package json type validation was updated, and all tests were re-generated

related to #7614
2021-10-11 13:52:13 -07:00
Elchin Valiyev 242a489912
feat: optional property in PropertyDDS (#7322)
* add tests
* add propertyTemplateWrapper
* Update propertyFactory
* update properties
* add propertyTemplateWrapper test
2021-09-23 10:50:14 -07:00
Alex Panov dca1dc6701
Refactor create container client API (#7162)
* Refactor create container client API

* Refactor tinylicious client

* Apply suggestions from code review

Co-authored-by: sumedhb1995 <sumedhb1995@gmail.com>

* PR feedback

* More PR feedback

Co-authored-by: sumedhb1995 <sumedhb1995@gmail.com>
2021-08-19 16:38:53 -07:00
Tyler Butler d22b4602d3
Ignore generated content in docs (#6327) 2021-06-09 17:09:32 -07:00
Daniel Lehenbauer e4d8fff7ec
Coverage: Migrate from 'nyc' to 'c8' (Draft) (#5990) 2021-04-29 14:31:53 -07:00
Tyler Butler e10226b138
Add support for building multiple ditaa diagrams (#4035)
Also removed Java dependency in the docs build system.
2020-11-02 12:44:59 -08:00
Tyler Butler bf038a84dc
Replace architecture image (#3917) 2020-10-19 12:24:36 -07:00
Tyler Butler 692d9d5145
Add script to download and unzip documentation build artifacts (#3597) 2020-09-10 14:00:23 -07:00
Tyler Butler 9f048cda77
Merge documentation updates (#3317) 2020-08-25 12:11:46 -07:00
Helio Liu 50bee20b0b
Add script to collect webpack reports for upload (#2875)
Second part of #2449

Add a build-tools script to collect generated bundle analysis reports for use in an ADO pipe. Followup will add a command in the package.json to run it once this gets published.
2020-08-03 19:59:41 -07:00
Helio Liu 6dcd32670f
Add webpack size analysis steps for base-host and gateway (#2829)
First part of #2449

Add webpack steps to packages/hosts/base-host and server/gateway that output a size analysis. Once this is in, the ADO pipe that publishes the size analysis artifacts can be added.

Using base-host and gateway here because base-host covers most (all?) the client packages, while gateway covers most server packages (less sure on how useful gateway is though since it's not up to date on server dependencies)
2020-07-22 13:59:43 -07:00
Curtis Man 26f1337ae9
Moving common-definitions and common-utils out of mono-repo (#1065)
These packages are shared amongst client and server code. Pulling them out of client code so we don't have circular dependencies between the mono-repo.
2020-01-28 17:12:47 -08:00
heliocliu 2a1047c598
ignore ds_store files (#1053) 2020-01-27 18:35:54 -08:00
Tyler Butler 9d39d93b03
Documentation updates (#1037) 2020-01-27 10:08:10 -08:00
Curtis Man e04f58c483
Force line ending to lf (#4) 2019-09-14 19:33:20 -07:00
Curtis Man 561817b701 Moving packages out of routerlicious/move routerlicious to server (#2133)
The packages can be built locally via npm scripts at the root. server/routerlicious will use docker to build the packages as well (on top of composing the server)

Also moved shared/test-utils and shared/tools-core to server as they are only used by the server.

packages/server will eventually move out in the future when we are ready to independently rev the versions
2019-04-29 06:12:48 -07:00
Daniel Lehenbauer 09f9d9922a Example of hot module reloading w/Prague loading from /dist/ 2018-08-13 11:10:18 -07:00
Kurt Berglund 26920f9280 Remove some unnecessary files at the project root 2017-11-02 13:41:28 -07:00
Ian Williams f466238bb9 Adds some very basic ignores to repo-wide gitignore 2016-12-14 12:21:00 -08:00
Kurt Berglund 7fbddb79d6 PR 3: Merge feature/auth to master
- Redis session support + Google login
 - Fix some Google auth bugs
 - Add in MSFT v2 oauth flow
 - Use request to pull in user information from a microsoft accoutn load
 - Move DocumentDB related functionality to a db folder
 - Get source maps working and fix up some bugs in auth flow
 - Add account linking
 - Add in some HTML templates
 - Flesh out the login/logout behavior
 - Add ability to unlink an account
...
2016-09-27 05:42:17 +00:00
Steven Lucco 8271ff111a .gitignore file for top-level 2016-09-20 12:36:12 -07:00