diff --git a/.github/workflows/automated.yml b/.github/workflows/automated.yml index f48b19e..fd76a06 100644 --- a/.github/workflows/automated.yml +++ b/.github/workflows/automated.yml @@ -36,7 +36,7 @@ jobs: @semantic-release/git @semantic-release/github env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GITHUB_TOKEN: "${{ secrets.GITHUB }}" NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" outputs: new_release_published: "${{ steps.semantic.outputs.new_release_published }}" diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 2b5c8bc..5238b65 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,44 +1,44 @@ name: Manual Workflow on: - workflow_dispatch: - inputs: - invalidations: - description: | - If set to 'true', invalidates previous upload. - default: "true" - required: true + workflow_dispatch: + inputs: + invalidations: + description: | + If set to 'true', invalidates previous upload. + default: "true" + required: true jobs: - cdn: - runs-on: ubuntu-latest - env: - DRY_RUN: ${{ github.event.inputs.dry_run }} - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" + cdn: + runs-on: ubuntu-latest + env: + DRY_RUN: ${{ github.event.inputs.dry_run }} + GITHUB_TOKEN: "${{ secrets.GITHUB }}" + NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: yarn install - run: > - echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > - .npmrc + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: setup nodejs + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: yarn install + run: > + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > + .npmrc - yarn install - - name: yarn build - run: yarn build - - name: upload latest bundle - uses: CoCreate-app/CoCreate-s3@master - with: - aws-key-id: "${{ secrets.AWSACCESSKEYID }}" - aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" - distributionId: "${{ secrets.DISTRIBUTION_ID }}" - bucket: testcrudbucket - source: ./dist - destination: /css-parser/latest - acl: public-read - invalidations: ${{ github.event.inputs.invalidations }} + yarn install + - name: yarn build + run: yarn build + - name: upload latest bundle + uses: CoCreate-app/CoCreate-s3@master + with: + aws-key-id: "${{ secrets.AWSACCESSKEYID }}" + aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" + distributionId: "${{ secrets.DISTRIBUTION_ID }}" + bucket: testcrudbucket + source: ./dist + destination: /css-parser/latest + acl: public-read + invalidations: ${{ github.event.inputs.invalidations }} diff --git a/CHANGELOG.md b/CHANGELOG.md index e240dad..f77c636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [1.7.14](https://github.com/CoCreate-app/CoCreate-css-parser/compare/v1.7.13...v1.7.14) (2023-06-04) + + +### Bug Fixes + +* replaced secert GITHUB_TOKEN with GITHUB ([1ff3965](https://github.com/CoCreate-app/CoCreate-css-parser/commit/1ff3965d420c04486ac52979e7189630db8c7722)) +* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([a3ee4d0](https://github.com/CoCreate-app/CoCreate-css-parser/commit/a3ee4d013e94facaecffcf4580ca788908acf4d4)) + ## [1.7.13](https://github.com/CoCreate-app/CoCreate-css-parser/compare/v1.7.12...v1.7.13) (2023-06-04) diff --git a/package.json b/package.json index 9a57a19..1f83aea 100644 --- a/package.json +++ b/package.json @@ -1,68 +1,68 @@ -{ - "name": "@cocreate/css-parser", - "version": "1.7.13", - "description": "A simple css-parser component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", - "keywords": [ - "css-parser", - "cocreate", - "low-code-framework", - "no-code-framework", - "cocreatejs", - "cocreatejs-component", - "cocreate-framework", - "no-code", - "low-code", - "collaborative-framework", - "realtime", - "realtime-framework", - "collaboration", - "shared-editing", - "html5-framework", - "javascript-framework" - ], - "publishConfig": { - "access": "public" - }, - "scripts": { - "start": "npx webpack --config webpack.config.js", - "build": "NODE_ENV=production npx webpack --config webpack.config.js", - "dev": "npx webpack --config webpack.config.js --watch", - "docs": "node ./node_modules/@cocreate/docs/src/index.js", - "hosting": "node ./node_modules/@cocreate/hosting/src/index.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/CoCreate-app/CoCreate-css-parser.git" - }, - "author": "CoCreate LLC", - "license": "MIT", - "bugs": { - "url": "https://github.com/CoCreate-app/CoCreate-css-parser/issues" - }, - "homepage": "https://cocreate.app/docs/css-parser", - "funding": { - "type": "GitHub Sponsors ❤", - "url": "https://github.com/sponsors/CoCreate-app" - }, - "main": "./src/index.js", - "devDependencies": { - "@babel/core": "^7.9.6", - "@babel/preset-env": "^7.9.6", - "babel-loader": "^8.1.0", - "clean-webpack-plugin": "^3.0.0", - "file-loader": "^6.2.0", - "mini-css-extract-plugin": "^1.5.0", - "style-loader": "^3.3.1", - "terser-webpack-plugin": "^5.1.1", - "webpack": "^5.24.4", - "webpack-cli": "^4.5.0", - "webpack-log": "^3.0.1" - }, - "dependencies": { - "@cocreate/crud-client": "^1.21.5", - "@cocreate/docs": "^1.7.13", - "@cocreate/hosting": "^1.10.5", - "@cocreate/local-storage": "^1.7.3", - "@cocreate/observer": "^1.8.0" - } -} +{ + "name": "@cocreate/css-parser", + "version": "1.7.14", + "description": "A simple css-parser component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", + "keywords": [ + "css-parser", + "cocreate", + "low-code-framework", + "no-code-framework", + "cocreatejs", + "cocreatejs-component", + "cocreate-framework", + "no-code", + "low-code", + "collaborative-framework", + "realtime", + "realtime-framework", + "collaboration", + "shared-editing", + "html5-framework", + "javascript-framework" + ], + "publishConfig": { + "access": "public" + }, + "scripts": { + "start": "npx webpack --config webpack.config.js", + "build": "NODE_ENV=production npx webpack --config webpack.config.js", + "dev": "npx webpack --config webpack.config.js --watch", + "docs": "node ./node_modules/@cocreate/docs/src/index.js", + "hosting": "node ./node_modules/@cocreate/hosting/src/index.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/CoCreate-app/CoCreate-css-parser.git" + }, + "author": "CoCreate LLC", + "license": "MIT", + "bugs": { + "url": "https://github.com/CoCreate-app/CoCreate-css-parser/issues" + }, + "homepage": "https://cocreate.app/docs/css-parser", + "funding": { + "type": "GitHub Sponsors ❤", + "url": "https://github.com/sponsors/CoCreate-app" + }, + "main": "./src/index.js", + "devDependencies": { + "@babel/core": "^7.9.6", + "@babel/preset-env": "^7.9.6", + "babel-loader": "^8.1.0", + "clean-webpack-plugin": "^3.0.0", + "file-loader": "^6.2.0", + "mini-css-extract-plugin": "^1.5.0", + "style-loader": "^3.3.1", + "terser-webpack-plugin": "^5.1.1", + "webpack": "^5.24.4", + "webpack-cli": "^4.5.0", + "webpack-log": "^3.0.1" + }, + "dependencies": { + "@cocreate/crud-client": "^1.21.8", + "@cocreate/docs": "^1.7.15", + "@cocreate/hosting": "^1.10.8", + "@cocreate/local-storage": "^1.7.5", + "@cocreate/observer": "^1.8.3" + } +}