Compare commits
12 Commits
v4-develop
...
v4.0.11
Author | SHA1 | Date | |
---|---|---|---|
406ee85d46 | |||
7709c7e3db | |||
8d3e6ae46f | |||
fec8a7ec94 | |||
534a2011a1 | |||
e1b6c3e4f0 | |||
1adb45d75e | |||
62ab5404cf | |||
e43c07f75a | |||
fc5f80232e | |||
695eea2985 | |||
a739d3b5a2 |
@ -30,6 +30,7 @@ jobs:
|
|||||||
&& pip install . .[test] \
|
&& pip install . .[test] \
|
||||||
&& pytest \
|
&& pytest \
|
||||||
;
|
;
|
||||||
|
- run: pip install build && python -m build
|
||||||
|
|
||||||
python-publish:
|
python-publish:
|
||||||
executor: python
|
executor: python
|
||||||
@ -37,7 +38,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/scwrypts
|
path: ~/scwrypts
|
||||||
- python/dist
|
- run: pip install build && python -m build
|
||||||
- run: pip install twine && twine upload dist/*
|
- run: pip install twine && twine upload dist/*
|
||||||
|
|
||||||
nodejs-test:
|
nodejs-test:
|
||||||
@ -102,32 +103,56 @@ jobs:
|
|||||||
: \
|
: \
|
||||||
&& [ $CIRCLE_TAG ] \
|
&& [ $CIRCLE_TAG ] \
|
||||||
&& pnpm build \
|
&& pnpm build \
|
||||||
&& pnpm version $(git describe --tags) \
|
&& pnpm version $CIRCLE_TAG \
|
||||||
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
||||||
&& pnpm publish --no-git-checks \
|
&& pnpm publish --no-git-checks \
|
||||||
;
|
;
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
|
python-dev:
|
||||||
|
jobs:
|
||||||
|
- python-test:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore: /^main$/
|
||||||
|
|
||||||
python:
|
python:
|
||||||
jobs:
|
jobs:
|
||||||
- python-test
|
- python-test:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
|
branches:
|
||||||
|
ignore: /^.*$/
|
||||||
- python-publish:
|
- python-publish:
|
||||||
requires: [python-test]
|
requires: [python-test]
|
||||||
context: [pypi-yage]
|
context: [pypi-yage]
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*$/
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
branches:
|
branches:
|
||||||
ignore: /^.*$/
|
ignore: /^.*$/
|
||||||
|
|
||||||
|
nodejs-dev:
|
||||||
|
jobs:
|
||||||
|
- nodejs-test:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore: /^main$/
|
||||||
|
|
||||||
nodejs:
|
nodejs:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-test
|
- nodejs-test:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
|
branches:
|
||||||
|
ignore: /^.*$/
|
||||||
- nodejs-publish:
|
- nodejs-publish:
|
||||||
requires: [nodejs-test]
|
requires: [nodejs-test]
|
||||||
context: [npm-wrynegade]
|
context: [npm-wrynegade]
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*$/
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
branches:
|
branches:
|
||||||
ignore: /^.*$/
|
ignore: /^.*$/
|
||||||
|
@ -29,6 +29,7 @@ runs:
|
|||||||
repository: wrynegade/scwrypts
|
repository: wrynegade/scwrypts
|
||||||
path: ./wrynegade/scwrypts
|
path: ./wrynegade/scwrypts
|
||||||
ref: ${{ inputs.version }}
|
ref: ${{ inputs.version }}
|
||||||
|
fetch-tags: true
|
||||||
|
|
||||||
- name: check dependencies
|
- name: check dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -51,7 +52,7 @@ runs:
|
|||||||
} > $HOME/.scwrypts.apt-get.log 2>&1
|
} > $HOME/.scwrypts.apt-get.log 2>&1
|
||||||
|
|
||||||
echo "updating virtual dependencies"
|
echo "updating virtual dependencies"
|
||||||
$GITHUB_WORKSPACE/wrynegade/scwrypts/scwrypts -n \
|
$GITHUB_WORKSPACE/wrynegade/scwrypts/scwrypts \
|
||||||
--name scwrypts/virtualenv/update-all \
|
--name scwrypts/virtualenv/update-all \
|
||||||
--group scwrypts \
|
--group scwrypts \
|
||||||
--type zsh \
|
--type zsh \
|
||||||
|
3
py/lib/.gitignore
vendored
3
py/lib/.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
dist/
|
dist/
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*.so
|
||||||
|
@ -55,6 +55,5 @@ source = 'versioningit'
|
|||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ['./']
|
packages = ['./']
|
||||||
|
|
||||||
[tool.versioningit]
|
[tool.versioningit.vcs]
|
||||||
match = ['v*']
|
match = ['v[0-9]*.[0-9]*.[0-9]*']
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ def scwrypts(*args, patterns=None, name=None, group=None, _type=None, log_level=
|
|||||||
depth = int(depth) + 1
|
depth = int(depth) + 1
|
||||||
|
|
||||||
return run(
|
return run(
|
||||||
f'SUBSCWRYPT={depth} {executable} {pre_args} -- {" ".join(args)}',
|
f'SUBSCWRYPT={depth} {executable} {" ".join(pre_args)} -- {" ".join(args)}',
|
||||||
shell=True,
|
shell=True,
|
||||||
executable='/bin/zsh',
|
executable='/bin/zsh',
|
||||||
check=False,
|
check=False,
|
||||||
|
6
zx/package-lock.json
generated
6
zx/package-lock.json
generated
@ -31,6 +31,7 @@
|
|||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.2",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
|
"typescript": "^5.3.3",
|
||||||
"uuid": "^9.0.1"
|
"uuid": "^9.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4997,7 +4998,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
||||||
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"peer": true,
|
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
@ -8596,6 +8596,7 @@
|
|||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.2",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
|
"typescript": "^5.3.3",
|
||||||
"uuid": "^9.0.1"
|
"uuid": "^9.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8884,8 +8885,7 @@
|
|||||||
"version": "5.3.3",
|
"version": "5.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
|
||||||
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
|
||||||
"dev": true,
|
"dev": true
|
||||||
"peer": true
|
|
||||||
},
|
},
|
||||||
"undici-types": {
|
"undici-types": {
|
||||||
"version": "5.26.5",
|
"version": "5.26.5",
|
||||||
|
Reference in New Issue
Block a user