Create @matrix-org/spec npm package containing sas-emoji.json (#1620)

* Create packages/npm @matrix-org/spec npm package containing spec-emoji

* Initial workflow script

* Add newsfragment

* Add docs

* npm publish doesn't like symlinks, yarn does :((
This commit is contained in:
Michael Telatynski 2023-08-18 16:56:55 +01:00 committed by GitHub
parent 4abea9a6ca
commit c0babbfc13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 61 additions and 0 deletions

2
packages/npm/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules
sas-emoji.json

13
packages/npm/package.json Normal file
View file

@ -0,0 +1,13 @@
{
"name": "@matrix-org/spec",
"version": "0.0.0",
"description": "Data definitions for the Matrix Spec",
"author": "matrix.org",
"license": "Apache-2.0",
"files": [
"sas-emoji.json"
],
"scripts": {
"prepare": "cp ../../data-definitions/sas-emoji.json ."
}
}

4
packages/npm/yarn.lock Normal file
View file

@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1