qcobjectsnewapp 2.4.29 → 2.4.31
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.
- package/.github/workflows/static.yml +62 -0
- package/VERSION +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy static content to Pages
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
# Runs on pushes targeting the default branch
|
|
6
|
+
push:
|
|
7
|
+
branches: ["main", "v2.4"]
|
|
8
|
+
|
|
9
|
+
# Allows you to run this workflow manually from the Actions tab
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
pages: write
|
|
16
|
+
id-token: write
|
|
17
|
+
|
|
18
|
+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
19
|
+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
20
|
+
concurrency:
|
|
21
|
+
group: "pages"
|
|
22
|
+
cancel-in-progress: false
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
|
|
26
|
+
# Single deploy job since we're just deploying
|
|
27
|
+
deploy:
|
|
28
|
+
environment:
|
|
29
|
+
name: github-pages
|
|
30
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
31
|
+
runs-on: ubuntu-latest
|
|
32
|
+
steps:
|
|
33
|
+
- name: Checkout
|
|
34
|
+
uses: actions/checkout@v3
|
|
35
|
+
- name: Setup Pages
|
|
36
|
+
uses: actions/configure-pages@v3
|
|
37
|
+
|
|
38
|
+
- name: Set up Node.js version
|
|
39
|
+
uses: actions/setup-node@v1
|
|
40
|
+
with:
|
|
41
|
+
node-version: '18.x'
|
|
42
|
+
|
|
43
|
+
- name: npm install, build, and test
|
|
44
|
+
run: |
|
|
45
|
+
npm install
|
|
46
|
+
npm run build --if-present
|
|
47
|
+
npm run test --if-present
|
|
48
|
+
|
|
49
|
+
- name: Upload artifact for deployment job
|
|
50
|
+
uses: actions/upload-pages-artifact@v1
|
|
51
|
+
with:
|
|
52
|
+
name: node-app
|
|
53
|
+
path: ./public
|
|
54
|
+
|
|
55
|
+
- name: Upload artifact
|
|
56
|
+
uses: actions/upload-pages-artifact@v1
|
|
57
|
+
with:
|
|
58
|
+
# Upload entire repository
|
|
59
|
+
path: './public'
|
|
60
|
+
- name: Deploy to GitHub Pages
|
|
61
|
+
id: deployment
|
|
62
|
+
uses: actions/deploy-pages@v2
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.31
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjectsnewapp",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.31",
|
|
4
4
|
"description": "App template for New App in QCObjects",
|
|
5
5
|
"targets": {
|
|
6
6
|
"default": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"build:ts": "npm test && npx tsc",
|
|
55
55
|
"build:ts-types": "npx tsc --project tsconfig.d.json",
|
|
56
56
|
"build:netlify": "npm run publish:web",
|
|
57
|
-
"build": "npm run
|
|
57
|
+
"build": "npm run publish:web",
|
|
58
58
|
"publish:static": "(npx qcobjects-cli publish:static build/ public/ --exclude js --exclude=.DS_Store) && npm run minify:css",
|
|
59
59
|
"publish:ios": "qcobjects publish ios",
|
|
60
60
|
"publish:android": "qcobjects publish android",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"nyc": "^15.1.0",
|
|
130
130
|
"qcobjects": "^2.4.89",
|
|
131
131
|
"qcobjects-handler-hello-world": "^1.0.0",
|
|
132
|
-
"qcobjects-sdk": "^2.4.
|
|
132
|
+
"qcobjects-sdk": "^2.4.59"
|
|
133
133
|
},
|
|
134
134
|
"engines": {
|
|
135
135
|
"npm": ">=8",
|