lumos-language 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,8 +7,18 @@ jobs:
|
|
|
7
7
|
deploy:
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
steps:
|
|
10
|
+
- name: Checkout
|
|
11
|
+
uses: actions/checkout@v3
|
|
12
|
+
- name: Replace Glitch-specific package.json
|
|
13
|
+
run: cp package.json glitch-package.json
|
|
10
14
|
- name: Deploy To Glitch
|
|
11
15
|
uses: kanadgupta/glitch-sync@main
|
|
12
16
|
with:
|
|
13
17
|
project-id: '${{ secrets.PROJECT_ID }}'
|
|
14
18
|
auth-token: '${{ secrets.AUTH_TOKEN }}'
|
|
19
|
+
- name: Delete package.json on Glitch via API
|
|
20
|
+
run: |
|
|
21
|
+
curl -X POST "https://api.glitch.com/projects/${{ secrets.PROJECT_ID }}/remix" \
|
|
22
|
+
-H "Authorization: Bearer ${{ secrets.AUTH_TOKEN }}" \
|
|
23
|
+
-H "Content-Type: application/json" \
|
|
24
|
+
-d '{"mutations":[{"action":"removeFile","path":"package.json"}]}'
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Node.js Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
- uses: actions/setup-node@v4
|
|
13
|
+
with:
|
|
14
|
+
node-version: 20
|
|
15
|
+
- run: npm ci
|
|
16
|
+
- run: npm test
|
|
17
|
+
|
|
18
|
+
publish-gpr:
|
|
19
|
+
needs: build
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
packages: write
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v4
|
|
26
|
+
- uses: actions/setup-node@v4
|
|
27
|
+
with:
|
|
28
|
+
node-version: 20
|
|
29
|
+
registry-url: https://npm.pkg.github.com/
|
|
30
|
+
- run: npm ci
|
|
31
|
+
- run: npm publish
|
|
32
|
+
env:
|
|
33
|
+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
package/.glitchignore
ADDED
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lumos-language",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Lumos - Interactive CLI",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"bin": {
|
|
@@ -21,12 +21,13 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"type": "commonjs",
|
|
23
23
|
"scripts": {
|
|
24
|
+
"start": "node ./index.cjs && rm -f package.json && refresh",
|
|
24
25
|
"test": "lumos"
|
|
25
26
|
},
|
|
26
27
|
"keywords": [
|
|
27
28
|
"programming-language"
|
|
28
29
|
],
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"lumos-language": "^1.0.
|
|
31
|
+
"lumos-language": "^1.0.9"
|
|
31
32
|
}
|
|
32
33
|
}
|