qcobjectsnewapp 2.4.37 → 2.5.6-ts
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/npmpublish.yml +49 -0
- package/.github/workflows/static.yml +7 -13
- package/CHANGELOG.md +48 -0
- package/CONFIG.md +53 -0
- package/DOCKER-COMPOSE-TUTORIAL.md +114 -0
- package/Dockerfile +4 -3
- package/LICENSE.txt +21 -56
- package/README.md +31 -1
- package/VERSION +1 -1
- package/config.json +3 -1
- package/config.yaml +58 -0
- package/docker-compose.yml +23 -0
- package/netlify.toml +1 -0
- package/package.json +24 -35
- package/public/404.html +51 -0
- package/public/_redirects +3 -0
- package/public/css/body-layout.css +2 -0
- package/public/css/body-layout.css.map +7 -0
- package/public/css/components/button.css +17 -0
- package/public/css/components/button.css.map +7 -0
- package/public/css/components/card.css +17 -0
- package/public/css/components/card.css.map +7 -0
- package/public/css/components/hero/hero-call-to-action.css +124 -0
- package/public/css/components/hero/hero-overlay.css +122 -0
- package/public/css/components/hero/hero-two-column-form.css +167 -0
- package/public/css/components/modal.css +17 -0
- package/public/css/components/modal.css.map +7 -0
- package/public/css/desktop/components/deploy-grid.css +3 -0
- package/public/css/desktop/components/github-grid.css +7 -0
- package/public/css/desktop/container.css +17 -0
- package/public/css/desktop/container.css.map +7 -0
- package/public/css/desktop/content.css +17 -0
- package/public/css/desktop/content.css.map +7 -0
- package/public/css/desktop/footer.css +1 -0
- package/public/css/desktop/footer.css.map +7 -0
- package/public/css/desktop/index.css +17 -0
- package/public/css/desktop/index.css.map +7 -0
- package/public/css/desktop/navbar.css +17 -0
- package/public/css/desktop/navbar.css.map +7 -0
- package/public/css/desktop/sidebar.css +1 -0
- package/public/css/desktop/sidebar.css.map +7 -0
- package/public/css/index.css +17 -0
- package/public/css/index.css.map +7 -0
- package/public/css/mobile/components/deploy-grid.css +8 -0
- package/public/css/mobile/components/github-grid.css +7 -0
- package/public/css/mobile/content.css +17 -0
- package/public/css/mobile/content.css.map +7 -0
- package/public/css/mobile/footer.css +1 -0
- package/public/css/mobile/footer.css.map +7 -0
- package/public/css/mobile/index.css +17 -0
- package/public/css/mobile/index.css.map +7 -0
- package/public/css/mobile/navbar.css +17 -0
- package/public/css/mobile/navbar.css.map +7 -0
- package/public/css/mobile/sidebar.css +1 -0
- package/public/css/mobile/sidebar.css.map +7 -0
- package/public/css/modern-base.css +17 -0
- package/public/css/modern-base.css.map +7 -0
- package/public/css/theme/basic/style.css +65 -0
- package/public/css/theme/cyan/style.css +66 -0
- package/public/css/theme/redlight/style.css +63 -0
- package/public/css/theme/xtra/style.css +1652 -0
- package/public/favicon.ico +0 -0
- package/public/humans.txt +14 -0
- package/public/img/Q_web copy.png +0 -0
- package/public/img/Q_web-white.png +0 -0
- package/public/img/Q_web.png +0 -0
- package/public/img/Q_web.svg +37 -0
- package/public/img/awsmplogo3.svg +106 -0
- package/public/img/icons/icon-128x128.png +0 -0
- package/public/img/icons/icon-144x144.png +0 -0
- package/public/img/icons/icon-152x152.png +0 -0
- package/public/img/icons/icon-192x192.png +0 -0
- package/public/img/icons/icon-384x384.png +0 -0
- package/public/img/icons/icon-512x512.png +0 -0
- package/public/img/icons/icon-72x72.png +0 -0
- package/public/img/icons/icon-96x96.png +0 -0
- package/public/img/logo-qcobjects-back-bg-white-icon.svg +64 -0
- package/public/img/logo-qcobjects-version.svg +4 -0
- package/public/img/logo-qcobjects-white-bg-back-icon.svg +73 -0
- package/public/img/logo-qcobjects-white-black-bg.svg +117 -0
- package/public/img/logo-qcobjects-white-powered-quickcorp.svg +176 -0
- package/public/img/logo-qcobjects-white.svg +1 -0
- package/public/img/logo.png +0 -0
- package/public/img/netlify-button.svg +1 -0
- package/public/img/octocat.svg +5 -0
- package/public/img/placeholder.svg +26 -0
- package/public/img/screenshots/screenshot1.png +0 -0
- package/public/img/screenshots/screenshot1.webp +0 -0
- package/public/img/screenshots/screenshot2.png +0 -0
- package/public/img/screenshots/screenshot2.webp +0 -0
- package/public/index-fallback.html +47 -0
- package/public/index.html +51 -0
- package/public/js/config.js +22 -0
- package/public/js/config.js.map +7 -0
- package/public/js/customWidgets.js +22 -0
- package/public/js/customWidgets.js.map +7 -0
- package/public/js/init.js +832 -0
- package/public/js/init.js.map +7 -0
- package/public/js/packages/com.qcobjects.installer.js +719 -0
- package/public/js/packages/com.qcobjects.installer.js.map +7 -0
- package/public/js/packages/com.qcobjects.services.github.js +22 -0
- package/public/js/packages/com.qcobjects.services.github.js.map +7 -0
- package/public/js/packages/com.qcobjects.services.newapp.js +22 -0
- package/public/js/packages/com.qcobjects.services.newapp.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.components.js +133 -0
- package/public/js/packages/org.quickcorp.custom.components.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.controllers.js +721 -0
- package/public/js/packages/org.quickcorp.custom.controllers.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.effects.js +22 -0
- package/public/js/packages/org.quickcorp.custom.effects.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.js +832 -0
- package/public/js/packages/org.quickcorp.custom.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.models.js +22 -0
- package/public/js/packages/org.quickcorp.custom.models.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.views.js +22 -0
- package/public/js/packages/org.quickcorp.custom.views.js.map +7 -0
- package/public/manifest.json +100 -0
- package/public/robots.txt +5 -0
- package/public/sw.js +256 -0
- package/public/templates/components/article1.tpl.html +6 -0
- package/public/templates/components/article2.tpl.html +6 -0
- package/public/templates/components/aws-button.tpl.html +18 -0
- package/public/templates/components/blank.tpl.html +0 -0
- package/public/templates/components/card.tpl.html +8 -0
- package/public/templates/components/codespaces-button.tpl.html +27 -0
- package/public/templates/components/contentblock.tpl.html +6 -0
- package/public/templates/components/footer.tpl.html +13 -0
- package/public/templates/components/footer2.tpl.html +1 -0
- package/public/templates/components/github-button.tpl.html +34 -0
- package/public/templates/components/github-card.tpl.html +7 -0
- package/public/templates/components/gitpod-button.tpl.html +56 -0
- package/public/templates/components/header.tpl.html +20 -0
- package/public/templates/components/hero/hero-call-to-action.tpl.html +11 -0
- package/public/templates/components/hero/hero-overlay.tpl.html +11 -0
- package/public/templates/components/hero/hero-two-column-form.tpl.html +21 -0
- package/public/templates/components/install-button.tpl.html +30 -0
- package/public/templates/components/layout-basic.tpl.html +80 -0
- package/public/templates/components/loading.tpl.html +12 -0
- package/public/templates/components/loadingfooter.tpl.html +1 -0
- package/public/templates/components/login-button.tpl.html +101 -0
- package/public/templates/components/login2.tpl.html +3 -0
- package/public/templates/components/loginform.tpl.html +7 -0
- package/public/templates/components/modal.tpl.html +13 -0
- package/public/templates/components/nav.tpl.html +31 -0
- package/public/templates/components/netlify-button.tpl.html +19 -0
- package/public/templates/components/octocat-icon.tpl.html +13 -0
- package/public/templates/components/pages/about-of.tpl.html +21 -0
- package/public/templates/components/pages/author.tpl.html +23 -0
- package/public/templates/components/pages/page1.tpl.html +2 -0
- package/public/templates/components/pages/page2.tpl.html +1 -0
- package/public/templates/components/pages/page3.tpl.html +1 -0
- package/public/templates/components/pages/qcobjects-forks-stars.tpl.html +5 -0
- package/public/templates/components/product.tpl.html +9 -0
- package/public/templates/components/profile.tpl.html +1 -0
- package/public/templates/components/section1.tpl.html +3 -0
- package/public/templates/components/section2.tpl.html +3 -0
- package/public/templates/components/shadowed-card.tpl.html +26 -0
- package/public/templates/components/signin-button.tpl.html +107 -0
- package/public/templates/components/signup-form.tpl.html +145 -0
- package/public/templates/components/signup.tpl.html +11 -0
- package/public/templates/components/signupbuttons.tpl.html +20 -0
- package/public/templates/components/signupform.tpl.html +4 -0
- package/public/templates/components/signuppage.tpl.html +12 -0
- package/public/templates/components/signupsuccessful.tpl.html +13 -0
- package/public/templates/components/signupsuccessfulfooter.tpl.html +3 -0
- package/public/templates/components/splashscreen.tpl.html +128 -0
- package/public/templates/components/topmenu.tpl.html +8 -0
- package/spec/testsSpec.js +19 -8
- package/src/css/components/button.css +2 -11
- package/src/css/components/card.css +11 -11
- package/src/css/components/hero/hero-call-to-action.css +2 -11
- package/src/css/components/hero/hero-overlay.css +2 -11
- package/src/css/components/hero/hero-two-column-form.css +2 -11
- package/src/css/components/modal.css +2 -11
- package/src/css/desktop/components/github-grid.css +1 -0
- package/src/css/desktop/container.css +2 -11
- package/src/css/desktop/content.css +2 -11
- package/src/css/desktop/index.css +2 -11
- package/src/css/desktop/navbar.css +2 -11
- package/src/css/index.css +31 -12
- package/src/css/mobile/components/github-grid.css +1 -0
- package/src/css/mobile/content.css +2 -11
- package/src/css/mobile/index.css +2 -11
- package/src/css/mobile/navbar.css +2 -11
- package/src/css/modern-base.css +2 -11
- package/src/css/theme/basic/style.css +2 -11
- package/src/css/theme/cyan/style.css +2 -11
- package/src/css/theme/redlight/style.css +2 -11
- package/src/js/init.d.ts +3 -12
- package/src/js/init.ts +3 -12
- package/src/sw.js +2 -11
- package/src/templates/components/footer.tpl.html +1 -0
- package/tsconfig.d.json +8 -2
- package/tsconfig.json +21 -5
- package/.eslintignore +0 -4
- package/.eslintrc.cjs +0 -6
- package/.github/workflows/npmpublish-beta.yml +0 -38
- package/.github/workflows/npmpublish-lts.yml +0 -38
- package/.github/workflows/npmpublish-main.yml +0 -38
|
@@ -6,17 +6,8 @@
|
|
|
6
6
|
* QCObjects SDK is a part of QCObjects
|
|
7
7
|
*
|
|
8
8
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
12
|
-
*
|
|
13
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
14
|
-
* complete source code of licensed works and modifications under the same
|
|
15
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
16
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
17
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
18
|
-
* work may be distributed under different terms and without source code for
|
|
19
|
-
* the larger work.
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
20
11
|
*
|
|
21
12
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
22
13
|
*
|
|
@@ -6,17 +6,8 @@
|
|
|
6
6
|
* QCObjects SDK is a part of QCObjects
|
|
7
7
|
*
|
|
8
8
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
12
|
-
*
|
|
13
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
14
|
-
* complete source code of licensed works and modifications under the same
|
|
15
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
16
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
17
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
18
|
-
* work may be distributed under different terms and without source code for
|
|
19
|
-
* the larger work.
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
20
11
|
*
|
|
21
12
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
22
13
|
*
|
|
@@ -6,17 +6,8 @@
|
|
|
6
6
|
* QCObjects SDK is a part of QCObjects
|
|
7
7
|
*
|
|
8
8
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
12
|
-
*
|
|
13
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
14
|
-
* complete source code of licensed works and modifications under the same
|
|
15
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
16
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
17
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
18
|
-
* work may be distributed under different terms and without source code for
|
|
19
|
-
* the larger work.
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
20
11
|
*
|
|
21
12
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
22
13
|
*
|
package/src/js/init.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* QCObjects
|
|
2
|
+
* QCObjects Framework App Template
|
|
3
3
|
* ________________
|
|
4
4
|
*
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/src/js/init.ts
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* QCObjects
|
|
3
|
+
* QCObjects Framework App Template
|
|
4
4
|
* ________________
|
|
5
5
|
*
|
|
6
6
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
7
7
|
*
|
|
8
8
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
12
|
-
*
|
|
13
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
14
|
-
* complete source code of licensed works and modifications under the same
|
|
15
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
16
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
17
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
18
|
-
* work may be distributed under different terms and without source code for
|
|
19
|
-
* the larger work.
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
20
11
|
*
|
|
21
12
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
22
13
|
*
|
package/src/sw.js
CHANGED
|
@@ -5,17 +5,8 @@
|
|
|
5
5
|
* Author: Jean Machuca <correojean@gmail.com>
|
|
6
6
|
*
|
|
7
7
|
* Cross Browser Javascript Framework for MVC Patterns
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
|
|
11
|
-
*
|
|
12
|
-
* Permissions of this copyleft license are conditioned on making available
|
|
13
|
-
* complete source code of licensed works and modifications under the same
|
|
14
|
-
* license or the GNU GPLv3. Copyright and license notices must be preserved.
|
|
15
|
-
* Contributors provide an express grant of patent rights. However, a larger
|
|
16
|
-
* work using the licensed work through interfaces provided by the licensed
|
|
17
|
-
* work may be distributed under different terms and without source code for
|
|
18
|
-
* the larger work.
|
|
8
|
+
* QCObjects is licensed under the MIT License
|
|
9
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
19
10
|
*
|
|
20
11
|
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
21
12
|
*
|
package/tsconfig.d.json
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": false,
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"emitDeclarationOnly": true,
|
|
7
|
+
"outDir": "public/types"
|
|
8
|
+
},
|
|
3
9
|
"include": ["src/**/*.ts"],
|
|
4
10
|
"exclude": ["src/**/*.spec.js", "src/*.js"]
|
|
5
|
-
}
|
|
11
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "qcobjects
|
|
2
|
+
"extends": "qcobjects/tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"strict": false,
|
|
5
|
+
"noImplicitAny": false,
|
|
6
|
+
"strictNullChecks": false,
|
|
7
|
+
"noImplicitThis": false,
|
|
8
|
+
"alwaysStrict": false,
|
|
9
|
+
"module": "CommonJS",
|
|
10
|
+
"moduleResolution": "Node",
|
|
11
|
+
"target": "ES2021",
|
|
12
|
+
"lib": [
|
|
13
|
+
"ES2021",
|
|
14
|
+
"DOM"
|
|
15
|
+
],
|
|
16
|
+
"rootDir": "src",
|
|
17
|
+
"allowJs": true,
|
|
18
|
+
"outDir": "build",
|
|
19
|
+
"baseUrl": ".",
|
|
20
|
+
"paths": {
|
|
21
|
+
"types": ["./node_modules/qcobjects/src/types/global/index.d.ts"]
|
|
22
|
+
}
|
|
7
23
|
},
|
|
8
24
|
"include": ["src/**/*.ts"],
|
|
9
25
|
"exclude": ["src/**/*.spec.js", "src/*.js"]
|
|
10
|
-
}
|
|
26
|
+
}
|
package/.eslintignore
DELETED
package/.eslintrc.cjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Publish Beta version
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- 'v*.*-beta'
|
|
10
|
-
tags:
|
|
11
|
-
- 'v*.*.*-beta'
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 16
|
|
21
|
-
- run: npm ci
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 16
|
|
32
|
-
registry-url: https://registry.npmjs.org/
|
|
33
|
-
- name: Set up NPM authentication
|
|
34
|
-
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
|
|
35
|
-
- run: npm ci
|
|
36
|
-
- run: npm publish --tag ${GITHUB_REF##*/}
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Publish LTS version
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- 'v*.*-lts'
|
|
10
|
-
tags:
|
|
11
|
-
- 'v*.*.*-lts'
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 16
|
|
21
|
-
- run: npm ci
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 16
|
|
32
|
-
registry-url: https://registry.npmjs.org/
|
|
33
|
-
- name: Set up NPM authentication
|
|
34
|
-
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
|
|
35
|
-
- run: npm ci
|
|
36
|
-
- run: npm publish --tag ${GITHUB_REF##*/}
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Publish Package
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
tags:
|
|
11
|
-
- 'v*.*.*'
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3.3.0
|
|
18
|
-
- uses: actions/setup-node@v3.6.0
|
|
19
|
-
with:
|
|
20
|
-
node-version: 16
|
|
21
|
-
- run: npm ci
|
|
22
|
-
- run: npm test
|
|
23
|
-
|
|
24
|
-
publish-npm:
|
|
25
|
-
needs: build
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3.3.0
|
|
29
|
-
- uses: actions/setup-node@v3.6.0
|
|
30
|
-
with:
|
|
31
|
-
node-version: 16
|
|
32
|
-
registry-url: https://registry.npmjs.org/
|
|
33
|
-
- name: Set up NPM authentication
|
|
34
|
-
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
|
|
35
|
-
- run: npm ci
|
|
36
|
-
- run: npm publish
|
|
37
|
-
env:
|
|
38
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|