Skip to content

Commit e9f8691

Browse files
Move cirq-ts files to cirq-web (#7362)
PR moves files from 'cirq_ts' subdirectory to 'cirq_web' subdirectory and removes 'cirq_ts'. Issue [#7221] is addressed here. --------- Co-authored-by: Pavol Juhas <juhas@google.com>
1 parent da44cac commit e9f8691

55 files changed

Lines changed: 224 additions & 250 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ updates:
4141
- package-ecosystem: "npm"
4242
# The "npm" ecosystem directive makes Dependabot look for package.json in
4343
# the specified directory.
44-
directory: "/cirq-web/cirq_ts/"
44+
directory: "/cirq-web/cirq_web/"
4545
schedule:
4646
interval: "monthly"
4747
versioning-strategy: "widen"

check/npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ thisdir="$(dirname "${BASH_SOURCE[0]}")" || exit $?
2727
topdir="$(git -C "${thisdir}" rev-parse --show-toplevel)" || exit $?
2828
cd "${topdir}" || exit $?
2929

30-
npm --prefix 'cirq-web/cirq_ts' "$@"
30+
npm --prefix 'cirq-web/cirq_web' "$@"

check/npx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
thisdir="$(dirname "${BASH_SOURCE[0]}")" || exit $?
2626
topdir="$(git -C "${thisdir}" rev-parse --show-toplevel)" || exit $?
2727

28-
cd "${topdir}/cirq-web/cirq_ts" || exit $?
28+
cd "${topdir}/cirq-web/cirq_web" || exit $?
2929
npx "$@"

check/ts-build-current

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
check/ts-build
2525

2626
# Find the changed bundle.js files, if any
27-
untracked=$(git status --porcelain 2>/dev/null | grep "cirq-web/cirq_ts/dist/" | cut -d " " -f 3)
27+
untracked=$(git diff --name-only HEAD -- "*.bundle.js" "*.bundle.js.*txt")
2828

2929
if [[ -n "$untracked" ]]; then
3030
echo -e "\033[31mERROR: Uncommitted changes to bundle file(s) found! Please commit these files:\033[0m"

cirq-web/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ version.
5050

5151
## Documentation
5252

53-
Documentation for `cirq-web` can be found in the `README` files located in the
54-
module's subdirectories in the [Cirq repository on GitHub]. To get started
53+
Documentation for `cirq-web` can be found in the `README` file located in the
54+
module's subdirectory in the [Cirq repository on GitHub]. To get started
5555
with using Cirq in general, please refer to the [Cirq documentation site].
5656
5757
Below is a quick example of using `cirq-web` to generate a portable 3D

cirq-web/cirq_ts/README.md

Lines changed: 0 additions & 212 deletions
This file was deleted.

cirq-web/cirq_ts/__init__.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)