Commit Graph
59 Commits
Author SHA1 Message Date
Stasia Michalska 2e1e5d5d44 Update version to 1.0.10 2026-05-21 22:53:36 +02:00
Stasia Michalska 6c1bcbdb7d Revert postcss update 2026-05-21 22:48:07 +02:00
Stasia Michalska c5e29ce638 Update the version 2026-05-21 22:37:44 +02:00
Joseph Mearman 7512b6436b Add TypeScript type declarations (#23)
* feat: add ambient module stubs for declaration generation

Provide TypeScript ambient declarations for 'message_keys' (Pebble SDK
module) and './tmp/config-page.html' (build artefact) so tsc can resolve
these imports when generating .d.ts files.

* feat: add tsconfig for declaration generation

Configures tsc --allowJs --emitDeclarationOnly to generate per-file
.d.ts reference output in dist-types/ from the library source files.

* feat: add curated TypeScript declarations for public API

Hand-curated index.d.ts covering Clay, ClayConfig, ClayItem, ClayEvents,
manipulators, and all supporting types. Necessary because tsc cannot
infer the ClayEvents mixin or dynamically-bound manipulator methods.
All types are exported via the Clay namespace.

* test: add type-checking verification for index.d.ts

Exercises the full public API surface — constructor, instance/static
methods, ClayConfig/ClayItem event methods, manipulator methods,
namespace-exported types, and customFn this-context.

* build: add typescript devDependency, types field, and build scripts

Adds typescript 6.0.2 as a devDependency. Sets "types": "index.d.ts"
in package.json. Adds build:types and check:types scripts.

* build: add gulp types task to validate declarations on build

Validates index.d.ts against test/type-checks.ts as part of the default
gulp build. Reference declaration generation via build:types remains
available as a separate manual step.

* chore: update ignore files for TypeScript declarations

Add dist-types/ to .gitignore (build artefact). Whitelist index.d.ts
in .npmignore so type declarations ship with the package.

* ci: add typecheck workflow to validate TypeScript declarations

Runs npm run check:types on push and PR to main, matching the existing
lint/test/build workflow pattern.
2026-05-21 22:33:48 +02:00
Stasia Michalska 1a8301b0cc Use newer version of the sdk 2026-02-19 03:56:38 +01:00
Stasia Michalska 79c64e5777 Bump version 2026-02-19 03:41:51 +01:00
Stasia Michalska 8ba0a2caee Add gabbro support to clay 2026-02-19 03:41:51 +01:00
Stasia Michalska 94f4770731 Bump to 1.0.6 2025-12-21 20:13:06 +01:00
Jay Michalska fa0e243bf1 Merge pull request #2 from pebble-dev/dependabot/npm_and_yarn/require-from-string-2.0.2
Bump require-from-string from 1.2.1 to 2.0.2
2025-12-21 19:38:52 +01:00
Jay Michalska c7bb67f2ef Merge pull request #5 from pebble-dev/dependabot/npm_and_yarn/autoprefixer-10.4.23
Bump autoprefixer from 10.4.22 to 10.4.23
2025-12-21 19:38:36 +01:00
dependabot[bot] b606e8f87a Bump autoprefixer from 10.4.22 to 10.4.23
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.22 to 10.4.23.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.22...10.4.23)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-version: 10.4.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-21 17:50:39 +00:00
dependabot[bot] 98fc4a41eb Bump braces and watchify
Bumps [braces](https://github.com/micromatch/braces) to 3.0.3 and updates ancestor dependency [watchify](https://github.com/browserify/watchify). These dependencies need to be updated together.


Updates `braces` from 2.3.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/commits/3.0.3)

Updates `watchify` from 3.11.1 to 3.11.1
- [Release notes](https://github.com/browserify/watchify/releases)
- [Changelog](https://github.com/browserify/watchify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserify/watchify/compare/v3.11.1...v3.11.1)

---
updated-dependencies:
- dependency-name: braces
  dependency-version: 3.0.3
  dependency-type: indirect
- dependency-name: watchify
  dependency-version: 3.11.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-21 17:50:36 +00:00
dependabot[bot] 7836694b53 Bump require-from-string from 1.2.1 to 2.0.2
Bumps [require-from-string](https://github.com/floatdrop/require-from-string) from 1.2.1 to 2.0.2.
- [Commits](https://github.com/floatdrop/require-from-string/compare/v1.2.1...v2.0.2)

---
updated-dependencies:
- dependency-name: require-from-string
  dependency-version: 2.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-21 17:50:32 +00:00
Stasia Michalska c1b87080f1 Rename to @rebble/clay and pebble-dev/clay 2025-12-21 18:48:49 +01:00
Stasia Michalska 75548a1c04 Update dependencies 2025-12-21 18:11:07 +01:00
Stasia Michalska cc0e88598f Replace travis with github actions 2025-12-21 18:11:07 +01:00
Stasia Michalska 078186cd25 Add flint support 2025-12-13 00:53:33 +01:00
Stasia Michalska b55a4c6c61 Fix tests 2025-12-12 23:58:27 +01:00
Stasia Michalska 4dad63ea90 Update to newer gulp version 2025-12-12 16:46:12 +01:00
Stasia Michalska 6335169e9a Remove node-sass requirement that crashes the build 2025-11-15 21:07:43 +01:00
Keegan Lillo 1bf6db0809 Release v1.0.4 (#156) 2016-11-21 12:09:01 -08:00
Keegan Lillo d18170337d Release/v1.0.3 (#148) 2016-10-18 09:47:32 -07:00
Keegan Lillo 62f0337198 release/v1.0.2 (#129) 2016-07-08 15:28:29 -07:00
Grégoire Sage eb89496733 #123 - Add 'configurable' capability 2016-07-08 15:06:59 -07:00
Keegan 2c2076bf69 Bump version to 1.0.1 2016-06-17 17:07:29 -07:00
keegan-lillo 6a63c40e08 Release 1.0.0 2016-06-16 11:28:34 -07:00
Keegan 5038e80bf2 remove "main" property of package.json 2016-06-14 21:30:40 -07:00
Keegan 693b795c2b Add a few more files to what is included on NPM to make debugging easier 2016-06-14 18:31:11 -07:00
Keegan 118df1d952 Make Clay a Pebble package 2016-06-14 17:02:01 -07:00
keegan-lillo 8fb67ce08d Bump version to v1.0.7 2016-05-31 10:11:55 -07:00
keegan-lillo 35bdeb7519 Bump version to 0.1.6 2016-05-30 22:06:54 -07:00
keegan-lillo f31ffed558 Bump Version to v0.1.5 2016-03-21 09:26:59 -07:00
keegan-lillo 4ffb1018f7 Bump version to v0.1.4 2016-03-16 12:04:19 +11:00
Keegan b1a6f184ba Stop exposing config as a reference. resolves #35 2016-03-11 02:25:59 +11:00
keegan-lillo 9f3c78de17 Bump version to v0.1.3 2016-03-09 12:38:10 +11:00
keegan-lillo bd3e4a55c8 Bump version to v0.1.2 2016-03-08 08:52:06 +11:00
Keegan 51a44b18b0 Bump version to 0.1.1 2016-03-03 13:15:23 +11:00
Keegan 85025f19f8 Fix duplicate components being injected into data URI and add tests for index.js 2016-02-18 01:01:56 -08:00
Keegan 24bfc54991 Documentation! + some little fixes to add consistency between components 2016-02-16 01:03:21 -08:00
Keegan b0ac596543 Uglify final output 2016-02-15 11:39:57 -08:00
Keegan e2d7c93cdb use older version of joi so travis chrome doesn't break over "const" keyword 2016-02-12 17:10:19 -08:00
Keegan ba74959919 add tests for components and refactor test fixtures to not register all components as a side-effect 2016-02-11 15:43:12 -08:00
Keegan f7add16622 remove clay-components as a dependency 2016-02-09 17:24:50 -08:00
Keegan 41334698bd make Clay work with phone apps 2016-02-09 17:21:16 -08:00
Keegan d6caa1527b save bourbon 2016-02-09 17:20:44 -08:00
Keegan 95bcf3e019 move bourbon to node_modules 2016-02-09 17:20:44 -08:00
Keegan 146938abe5 pass minified to initialize function 2016-02-09 17:20:37 -08:00
Keegan 80982c8e6d strip out components into separate repo 2016-02-09 17:19:33 -08:00
Keegan c37012093a restructure directories and add tests for clay-item 2016-02-01 17:38:45 -08:00
Keegan 7e3dbfa148 Fix sourcemaps on karma for debug 2016-02-01 14:55:26 -08:00