Skip to content

Commit

Permalink
Merge branch '113-create-anagolay-chrome-extension' into 'main'
Browse files Browse the repository at this point in the history
Resolve "Create Anagolay Chrome Extension"

Closes #115 and #113

See merge request anagolay/anagolay-js!62
  • Loading branch information
woss committed Jan 23, 2023
2 parents 95ae182 + f0ab087 commit 70d28d8
Show file tree
Hide file tree
Showing 285 changed files with 23,310 additions and 3,688 deletions.
25 changes: 23 additions & 2 deletions .devops/ci/gitlab/pipelines/build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,26 @@ build_app:
- cd ./app
- pnpm build:app

- echo 'Doing check Anagolay JS app ...'
- pnpm check
# - echo 'Doing check Anagolay JS app ...'
# - pnpm check

build_extension:
extends:
- .install-pnpm
stage: build
needs: ['changelogs', 'retest']
allow_failure: true
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# changes:
# - ./app/*.{ts, css, svelte, html, d.ts} # ...source files
script:
- !reference [.rush:install, script]
- !reference [.rush:build, script]

- echo 'Building Extension app ...'
- cd ./extension
- pnpm build

# - echo 'Doing check Extension JS app ...'
# - pnpm check
2 changes: 1 addition & 1 deletion .devops/ci/gitlab/pipelines/bump-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ bump-versions:
script:
- set e

- git pull --rebase
# - git pull --rebase
- node common/scripts/install-run-rush.js version --bump --version-policy $VERSION_POLICY --target-branch $CI_COMMIT_REF_NAME
36 changes: 18 additions & 18 deletions .devops/ci/gitlab/pipelines/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ publish-to-anagolay-registry:

- node common/scripts/install-run-rush.js publish --apply --publish --add-commit-details --include-all --target-branch $CI_COMMIT_REF_NAME --add-commit-details --set-access-level public
###
### This will not be enabled for the time being
###
# publish-to-npm-registry:
# extends:
# - .install-pnpm
# stage: publish
# needs: ['bump-versions']
# cache: {}
# allow_failure: true
# when: manual
# variables:
# NPM_REGISTRY_URL: registry.npmjs.org
# AN_NPM_AUTH_TOKEN: $NPM_ACCESS_TOKEN
# script:
# - set e
# - !reference [.rush:install, script]
# - !reference [.rush:retest, script]
## This will not be enabled for the time being
##
publish-to-npm-registry:
extends:
- .install-pnpm
stage: publish
needs: ['bump-versions']
cache: {}
allow_failure: true
when: manual
variables:
NPM_REGISTRY_URL: registry.npmjs.org
AN_NPM_AUTH_TOKEN: $NPMJS_AUTH_TOKEN
script:
- set e
- !reference [.rush:install, script]
- !reference [.rush:retest, script]

# - node common/scripts/install-run-rush.js publish --apply --publish --add-commit-details --include-all --target-branch $CI_COMMIT_REF_NAME --add-commit-details --set-access-level public
- node common/scripts/install-run-rush.js publish --apply --publish --add-commit-details --include-all --target-branch $CI_COMMIT_REF_NAME --add-commit-details --set-access-level public
4 changes: 2 additions & 2 deletions .devops/ci/gitlab/pipelines/retest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ retest:
needs: ['changelogs']
script:
- !reference [.rush:install, script]
# - !reference [.rush:build, script]
- !reference [.rush:retest, script]
- !reference [.rush:build, script]
# - !reference [.rush:retest, script]
- node common/scripts/install-run-rush.js code-quality
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,9 @@ binaries
tsconfig.tsbuildinfo
.svelte-kit
build
.macula
**/*.timestamp*
*.zip
*.pem
*.key
zipped
274 changes: 0 additions & 274 deletions .gitlab-ci copy.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ vscode:
- pflannery.vscode-versionlens
- formulahendry.auto-rename-tag
- asciidoctor.asciidoctor-vscode
- ZixuanChen.vitest-explorer
14 changes: 9 additions & 5 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ module.exports = {
trailingComma: 'none',
semi: true,
bracketSpacing: true,
bracketLint: false,
overrides: [{ files: '*.svelte', options: { parser: 'svelte' } }],
plugins: [
'./common/autoinstallers/rush-prettier/node_modules/prettier-plugin-svelte',
'./common/autoinstallers/rush-prettier/node_modules/prettier-plugin-packagejson'
]
// svelteSortOrder: 'options-styles-scripts-markup',
// svelteStrictMode: true,
// svelteAllowShorthand: false,
// svelteIndentScriptAndStyle: false
// // MUST come last, also this doesn't work yet
// './common/autoinstallers/rush-prettier/node_modules/prettier-plugin-tailwindcss'
],
pluginSearchDirs: false,
svelteSortOrder: 'options-scripts-markup-styles',
svelteStrictMode: true,
svelteAllowShorthand: false,
svelteIndentScriptAndStyle: false
};
Loading

0 comments on commit 70d28d8

Please sign in to comment.