Skip to content

Commit 0866527

Browse files
authored
Merge pull request #1 from pebble-dev/update
Revive the repository
2 parents 1bf6db0 + c1b8708 commit 0866527

24 files changed

+14009
-147
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
container:
15+
image: ghcr.io/pebble-dev/pebbleos-docker:v1
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up uv
20+
uses: astral-sh/setup-uv@v7
21+
- run: uv tool install pebble-tool
22+
- run: npm install
23+
- run: npm run build
24+
- run: pebble build
25+
- uses: actions/upload-artifact@v4
26+
with:
27+
name: clay
28+
path: dist.zip
29+

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
cache: 'npm'
21+
- run: npm install
22+
- run: npm run lint
23+

.github/workflows/npm-publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Node.js Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
permissions:
8+
id-token: write
9+
contents: read
10+
11+
jobs:
12+
publish-npm:
13+
runs-on: ubuntu-latest
14+
15+
container:
16+
image: ghcr.io/pebble-dev/pebbleos-docker:v1
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up uv
21+
uses: astral-sh/setup-uv@v7
22+
- run: uv tool install pebble-tool
23+
- run: npm install
24+
- run: npm run build
25+
- run: pebble build
26+
- name: Update npm
27+
run: npm install -g npm@latest
28+
- run: npm publish

.github/workflows/test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
cache: 'npm'
21+
- name: Setup Chrome
22+
uses: browser-actions/setup-chrome@v2
23+
id: setup-chrome
24+
with:
25+
install-dependencies: true
26+
- run: npm install
27+
- run: npm run build
28+
- name: Run headless test
29+
uses: coactions/setup-xvfb@v1
30+
with:
31+
run: npm run test-travis
32+
env:
33+
CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }}
34+

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# node-waf configuration
55
.lock-wscript
6-
/.lock-waf_darwin_build
6+
/.lock-waf_*_build
77

88
# Dependency directory
99
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
@@ -13,4 +13,5 @@
1313
/tmp/
1414
/src/js/index.js
1515
/dist.zip
16+
/dist/
1617
/build/

.travis.yml

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

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thanks for checking out Clay. We accept pull requests from anybody, however we a
44
that you follow some conventions when contributing to Clay.
55

66
We have set up a
7-
[piece-of-cake](https://github.com/pebble/clay/issues?q=is%3Aopen+is%3Aissue+label%3Apiece-of-cake)
7+
[piece-of-cake](https://github.com/pebble-dev/clay/issues?q=is%3Aopen+is%3Aissue+label%3Apiece-of-cake)
88
label in GitHub issues for bugs/features that are easy to implement. These issues are
99
a great place to start for people that are new to the codebase.
1010

@@ -13,7 +13,7 @@ a great place to start for people that are new to the codebase.
1313

1414
- [Node](https://nodejs.org) (4.0 and later)
1515
- [Google Chrome](www.google.com/chrome) (To run tests)
16-
- [Pebble SDK](https://developer.pebble.com/sdk/) (optional)
16+
- [Pebble SDK](https://developer.rebble.io/sdk/) (optional)
1717

1818

1919
## Getting Started
@@ -192,7 +192,7 @@ adhering to the style guide.
192192

193193
## Getting Help
194194

195-
- Chat to us in the `#clay` channel on slack. http://slack.pbldev.io/
196-
- Visit the [Pebble Forums](https://forums.pebble.com/)
197-
- Tweet at [@pebbledev](https://twitter.com/pebbledev)
198-
- More options at https://developer.pebble.com/community/online/
195+
- Chat to us in the `#app-dev` channel on Discord. https://discordapp.com/invite/aRUAYFN
196+
- Visit the [Rebble Forums](https://forum.rebble.io/)
197+
- Skeet at [@rebble.io](https://bsky.app/profile/rebble.io)
198+
- More options at https://developer.rebble.io/community/online/

0 commit comments

Comments
 (0)