chore: switch to pnpm and add copy script for JS

ila
Aonrud 2023-03-04 15:35:26 +00:00
rodzic 97e0c4eed9
commit da10887d5f
4 zmienionych plików z 16 dodań i 30 usunięć

Wyświetl plik

@ -2,10 +2,6 @@
This repo is forked to store the template customisation of [microblog.pub](https://microblog.pub/) for the [Irish Left Archive](https://www.leftarchive.ie). It is used for [@ila@leftarchive.ie](https://posts.leftarchive.ie/).
### TO DO:
* Sort out asset compilation / build tools.
* ILA UI Elements JS is just copied over from node_modules
# microblog.pub
A self-hosted, single-user, ActivityPub powered microblog.

25
package-lock.json wygenerowano
Wyświetl plik

@ -1,25 +0,0 @@
{
"name": "ILA Microblog.pub assets",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ILA Microblog.pub assets",
"dependencies": {
"ila-ui-elements": "Aonrud/ila-ui-elements#semver:0.8.2"
}
},
"node_modules/ila-ui-elements": {
"name": "ila_ui_elements",
"version": "0.8.2",
"resolved": "git+ssh://git@github.com/Aonrud/ila-ui-elements.git#66bd1b0d5d7ff2b6e064e78f7db4c7522df0cd15",
"license": "GPL-3.0-or-later"
}
},
"dependencies": {
"ila-ui-elements": {
"version": "git+ssh://git@github.com/Aonrud/ila-ui-elements.git#66bd1b0d5d7ff2b6e064e78f7db4c7522df0cd15",
"from": "ila-ui-elements@Aonrud/ila-ui-elements#semver:0.8.2"
}
}
}

Wyświetl plik

@ -2,7 +2,7 @@
"name": "ILA Microblog.pub assets",
"description": "ILA Microblog.pub assets",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"js": "cp node_modules/ila-ui-elements/dist/ila-ui.esm.js app/static/"
},
"author": "Aonrud",
"license": "",

15
pnpm-lock.yaml 100644
Wyświetl plik

@ -0,0 +1,15 @@
lockfileVersion: 5.4
specifiers:
ila-ui-elements: Aonrud/ila-ui-elements#semver:0.8.2
dependencies:
ila-ui-elements: github.com/Aonrud/ila-ui-elements/66bd1b0d5d7ff2b6e064e78f7db4c7522df0cd15
packages:
github.com/Aonrud/ila-ui-elements/66bd1b0d5d7ff2b6e064e78f7db4c7522df0cd15:
resolution: {tarball: https://codeload.github.com/Aonrud/ila-ui-elements/tar.gz/66bd1b0d5d7ff2b6e064e78f7db4c7522df0cd15}
name: ila_ui_elements
version: 0.8.2
dev: false