Rerun prettier
This commit is contained in:
parent
d9eeeb3684
commit
e205c6c0cf
7 changed files with 51 additions and 16 deletions
|
|
@ -12,7 +12,7 @@ lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: node:12
|
image: node:12
|
||||||
before_script:
|
before_script:
|
||||||
- npm install prettier --no-save
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npx prettier '**/*.yml' --check
|
- npx prettier '**/*.yml' --check
|
||||||
|
|
||||||
|
|
|
||||||
33
package-lock.json
generated
Normal file
33
package-lock.json
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"name": "development",
|
||||||
|
"lockfileVersion": 2,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"dependencies": {
|
||||||
|
"prettier": "^2.6.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/prettier": {
|
||||||
|
"version": "2.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
|
||||||
|
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
|
||||||
|
"bin": {
|
||||||
|
"prettier": "bin-prettier.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.13.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"prettier": {
|
||||||
|
"version": "2.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
|
||||||
|
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
5
package.json
Normal file
5
package.json
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"prettier": "^2.6.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
- name: retrieve directory stats
|
||||||
|
stat:
|
||||||
|
path: '{{ aur_build_dir }}/{{ item.name }}'
|
||||||
|
register: build_dir_stats
|
||||||
|
|
||||||
|
# TODO become based on the directories stats
|
||||||
- name: clone aur packages
|
- name: clone aur packages
|
||||||
become: true
|
become: true
|
||||||
git:
|
git:
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,8 @@
|
||||||
src: '{{ item.src }}'
|
src: '{{ item.src }}'
|
||||||
dest: '{{ item.dest }}'
|
dest: '{{ item.dest }}'
|
||||||
loop:
|
loop:
|
||||||
- {
|
- { src: 'templates/subgid.j2', dest: '/etc/subgid' }
|
||||||
src: 'templates/subgid.j2',
|
- { src: 'templates/subuid.j2', dest: '/etc/subuid' }
|
||||||
dest: '/etc/subgid',
|
|
||||||
}
|
|
||||||
- {
|
|
||||||
src: 'templates/subuid.j2',
|
|
||||||
dest: '/etc/subuid',
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: setup desktop configuration
|
- name: setup desktop configuration
|
||||||
copy:
|
copy:
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,8 @@
|
||||||
src: 'templates/konsole.profile.j2',
|
src: 'templates/konsole.profile.j2',
|
||||||
dest: '{{ xdg_data_dir }}/konsole/Standard.profile',
|
dest: '{{ xdg_data_dir }}/konsole/Standard.profile',
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
src: 'templates/konsole.colorscheme.j2',
|
src: 'templates/konsole.colorscheme.j2',
|
||||||
dest: '{{ xdg_data_dir }}/konsole/BlackOnWhite.colorscheme'
|
dest: '{{ xdg_data_dir }}/konsole/BlackOnWhite.colorscheme',
|
||||||
}
|
}
|
||||||
- { src: 'templates/konsole.config.j2', dest: '{{ xdg_config_dir }}/konsolerc' }
|
- { src: 'templates/konsole.config.j2', dest: '{{ xdg_config_dir }}/konsolerc' }
|
||||||
|
|
|
||||||
7
vars.yml
7
vars.yml
|
|
@ -15,13 +15,10 @@ packages:
|
||||||
- ttf-ibm-plex
|
- ttf-ibm-plex
|
||||||
|
|
||||||
aur_packages:
|
aur_packages:
|
||||||
- {
|
- { url: 'https://aur.archlinux.org/rootlesskit.git', name: 'rootlesskit' }
|
||||||
url: 'https://aur.archlinux.org/rootlesskit.git',
|
|
||||||
name: 'rootlesskit'
|
|
||||||
}
|
|
||||||
- {
|
- {
|
||||||
url: 'https://aur.archlinux.org/docker-rootless-extras-bin.git',
|
url: 'https://aur.archlinux.org/docker-rootless-extras-bin.git',
|
||||||
name: 'docker-rootless'
|
name: 'docker-rootless',
|
||||||
}
|
}
|
||||||
|
|
||||||
aur_build_dir: '/usr/local/src'
|
aur_build_dir: '/usr/local/src'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue