Skip to content

Commit

Permalink
Merge branch 'master' into users/bheston/foundation-start-end-add
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdholt authored Aug 22, 2023
2 parents b842f22 + 6091f89 commit 172172f
Show file tree
Hide file tree
Showing 115 changed files with 1,290 additions and 372 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-deploy-www-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@master

- name: Install Lerna
run: yarn global add lerna
run: yarn global add lerna@5.5.2

- name: Install package dependencies / prepare workspaces
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-deploy-www-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@master

- name: Install Lerna
run: yarn global add lerna
run: yarn global add lerna@5.5.2

- name: Install package dependencies / prepare workspaces
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
token: ${{ secrets.GH_TOKEN }}

- name: Add or Update packages
run: sudo yarn global add lerna
run: sudo yarn global add lerna@5.5.2

- name: Set Git User
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing/ci-daily-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sudo apt-get update
sudo apt-get install yarn
sudo yarn global upgrade typescript
sudo yarn global add lerna
sudo yarn global add lerna@5.5.2
- name: Install package dependencies / prepare workspaces
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ npm install -g yarn
The second tool you'll need is Lerna, which can be installed with this command:

```bash
yarn global add lerna
yarn global add lerna@5.5.2
```

:::important
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion examples/todo-app/src/todo-app.template.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { html, repeat } from "@microsoft/fast-element";
import { twoWay } from "@microsoft/fast-element/binding/two-way";
import { twoWay } from "@microsoft/fast-element/binding/two-way.js";
import type { TodoApp } from "./todo-app.js";
import type { Todo } from "./todo-list.js";
import "./todo-form.js";
Expand Down
6 changes: 2 additions & 4 deletions examples/todo-app/src/todo-form.template.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { html } from "@microsoft/fast-element";
import { twoWay } from "@microsoft/fast-element/binding/two-way";
import { twoWay } from "@microsoft/fast-element/binding/two-way.js";
import type { TodoForm } from "./todo-form.js";

export const template = html<TodoForm>`
<form @submit=${x => x.submitTodo()}>
<input type="text" :value=${twoWay(x => x.description, "input")} />
<button type="submit" ?disabled=${x => !x.description}>
Add Todo
</button>
<button type="submit" ?disabled=${x => !x.description}>Add Todo</button>
</form>
`;
4 changes: 2 additions & 2 deletions examples/todo-app/src/todo-list.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Observable, observable, volatile } from "@microsoft/fast-element";
import { Context } from "@microsoft/fast-element/context";
import { reactive } from "@microsoft/fast-element/state";
import { Context } from "@microsoft/fast-element/context.js";
import { reactive } from "@microsoft/fast-element/state.js";

export type Todo = { description: string; done: boolean };
export type TodoListFilter = "all" | "active" | "completed";
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"help": "node ./scripts/index.js --help"
},
"dependencies": {
"@microsoft/fast-element": "2.0.0-beta.24",
"@microsoft/fast-element": "2.0.0-beta.26",
"tachometer": "^0.7.0"
},
"devDependencies": {
Expand Down
52 changes: 52 additions & 0 deletions packages/utilities/fast-react-wrapper/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,58 @@
{
"name": "@microsoft/fast-react-wrapper",
"entries": [
{
"date": "Fri, 18 Aug 2023 00:04:39 GMT",
"tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.27",
"version": "1.0.0-alpha.27",
"comments": {
"none": [
{
"author": "[email protected]",
"package": "@microsoft/fast-react-wrapper",
"commit": "2dab94c0eda05bee7c4b497e68951d79d6fcbe46",
"comment": "fix test to use fast-element package export with extension"
}
],
"prerelease": [
{
"author": "beachball",
"package": "@microsoft/fast-react-wrapper",
"comment": "Bump @microsoft/fast-element to v2.0.0-beta.26",
"commit": "2dab94c0eda05bee7c4b497e68951d79d6fcbe46"
}
]
}
},
{
"date": "Sat, 12 Aug 2023 00:26:35 GMT",
"tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.26",
"version": "1.0.0-alpha.26",
"comments": {
"none": [
{
"author": "[email protected]",
"package": "@microsoft/fast-react-wrapper",
"commit": "fc98190c6bfb9fabe0988e89daca1c0f64f6e7c8",
"comment": "adds missing types as a dev dependency"
}
],
"prerelease": [
{
"author": "[email protected]",
"package": "@microsoft/fast-react-wrapper",
"commit": "0f8fc2505445be626e55e1e1b28956c2ff3a722e",
"comment": "add displayName to react wrapper"
},
{
"author": "beachball",
"package": "@microsoft/fast-react-wrapper",
"comment": "Bump @microsoft/fast-element to v2.0.0-beta.25",
"commit": "2297004e14386b5a689ba96361f8d8eebee69cd8"
}
]
}
},
{
"date": "Fri, 16 Jun 2023 18:17:13 GMT",
"tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.25",
Expand Down
19 changes: 18 additions & 1 deletion packages/utilities/fast-react-wrapper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
# Change Log - @microsoft/fast-react-wrapper

This log was last generated on Fri, 16 Jun 2023 18:17:13 GMT and should not be manually modified.
This log was last generated on Fri, 18 Aug 2023 00:04:39 GMT and should not be manually modified.

<!-- Start content -->

## 1.0.0-alpha.27

Fri, 18 Aug 2023 00:04:39 GMT

### Changes

- Bump @microsoft/fast-element to v2.0.0-beta.26

## 1.0.0-alpha.26

Sat, 12 Aug 2023 00:26:35 GMT

### Changes

- add displayName to react wrapper ([email protected])
- Bump @microsoft/fast-element to v2.0.0-beta.25

## 1.0.0-alpha.25

Fri, 16 Jun 2023 18:17:13 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/utilities/fast-react-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@microsoft/fast-react-wrapper",
"description": "A utility for wrapping web components for use in React.",
"sideEffects": false,
"version": "1.0.0-alpha.25",
"version": "1.0.0-alpha.27",
"author": {
"name": "Microsoft",
"url": "https://discord.gg/FcSNfg4"
Expand Down Expand Up @@ -83,7 +83,7 @@
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@microsoft/fast-element": "^2.0.0-beta.24"
"@microsoft/fast-element": "^2.0.0-beta.26"
},
"peerDependencies": {
"react": ">=16.9.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/fast-react-wrapper/src/index.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { attr, customElement, DOM, FASTElement, html, nullableNumberConverter, observable, Updates } from '@microsoft/fast-element';
import React from "react";
import ReactDOM from "react-dom";
import { uniqueElementName } from '@microsoft/fast-element/testing';
import { uniqueElementName } from '@microsoft/fast-element/testing.js';
import { expect } from "chai";
import { reactWrapper } from './index.js';

Expand Down
42 changes: 42 additions & 0 deletions packages/web-components/fast-element/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,48 @@
{
"name": "@microsoft/fast-element",
"entries": [
{
"date": "Fri, 18 Aug 2023 00:04:40 GMT",
"tag": "@microsoft/fast-element_v2.0.0-beta.26",
"version": "2.0.0-beta.26",
"comments": {
"prerelease": [
{
"author": "[email protected]",
"package": "@microsoft/fast-element",
"commit": "2dab94c0eda05bee7c4b497e68951d79d6fcbe46",
"comment": "BREAKING: update fast-element export paths to include extensions"
},
{
"author": "[email protected]",
"package": "@microsoft/fast-element",
"commit": "8a23a94530ec7e6fb269c149bd70ca97e662dbf4",
"comment": "update fast-element exports to be explicit"
}
]
}
},
{
"date": "Sat, 12 Aug 2023 00:26:36 GMT",
"tag": "@microsoft/fast-element_v2.0.0-beta.25",
"version": "2.0.0-beta.25",
"comments": {
"prerelease": [
{
"author": "[email protected]",
"package": "@microsoft/fast-element",
"commit": "ff0b93a7fb4ca416629f51cc233078494aaf5f60",
"comment": "Prevent notification of array splices when operation does not mutate array values"
},
{
"author": "[email protected]",
"package": "@microsoft/fast-element",
"commit": "9f6451f7e7c121d76e2ead6f50f77c312a0157f7",
"comment": "Adds volatile binding support for JavaScript optional chaining syntax"
}
]
}
},
{
"date": "Fri, 16 Jun 2023 18:17:12 GMT",
"tag": "@microsoft/fast-element_v2.0.0-beta.24",
Expand Down
20 changes: 19 additions & 1 deletion packages/web-components/fast-element/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
# Change Log - @microsoft/fast-element

This log was last generated on Fri, 16 Jun 2023 18:17:12 GMT and should not be manually modified.
This log was last generated on Fri, 18 Aug 2023 00:04:40 GMT and should not be manually modified.

<!-- Start content -->

## 2.0.0-beta.26

Fri, 18 Aug 2023 00:04:40 GMT

### Changes

- BREAKING: update fast-element export paths to include extensions ([email protected])
- update fast-element exports to be explicit ([email protected])

## 2.0.0-beta.25

Sat, 12 Aug 2023 00:26:36 GMT

### Changes

- Prevent notification of array splices when operation does not mutate array values ([email protected])
- Adds volatile binding support for JavaScript optional chaining syntax ([email protected])

## 2.0.0-beta.24

Fri, 16 Jun 2023 18:17:12 GMT
Expand Down
Loading

0 comments on commit 172172f

Please sign in to comment.