skyltmax_config 0.0.1 → 0.0.4
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +3 -1
- data/README.md +7 -9
- data/Rakefile +3 -0
- data/package.json +2 -2
- data/skyltmax_config.gemspec +3 -1
- metadata +17 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91ca77ef012a4c7d5b59085933338648ef795a5bba265161b9d0feb15569ac44
|
|
4
|
+
data.tar.gz: d87468692ce04bdedd6c3ceddf2627ecce3325aa6f3e65eef04e19804bc10670
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1a5170d4bd2b5e9ddb524890cd82e3bc5f94a741b91def619414960aab99966ddf77029eebd3e9e77953659b5a42c956243679fd91ed3a127a04ca9d9f328eb
|
|
7
|
+
data.tar.gz: 4f8d982f6a52e192a509b4a09276c85626db56a0fbcce04b756b227ca3691002b67f477b37825358b0b16d0d7cbe07058c3396bdc547fcdf02cbbc3d87a1b6dc
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
skyltmax_config (0.0.
|
|
4
|
+
skyltmax_config (0.0.4)
|
|
5
5
|
rubocop (>= 1.81.0, < 2)
|
|
6
6
|
rubocop-performance (>= 1.26.0, < 2)
|
|
7
7
|
rubocop-rails (>= 2.33.0, < 3)
|
|
@@ -43,6 +43,7 @@ GEM
|
|
|
43
43
|
racc (1.8.1)
|
|
44
44
|
rack (3.2.4)
|
|
45
45
|
rainbow (3.1.1)
|
|
46
|
+
rake (13.3.1)
|
|
46
47
|
regexp_parser (2.11.2)
|
|
47
48
|
rubocop (1.81.7)
|
|
48
49
|
json (~> 2.3)
|
|
@@ -82,6 +83,7 @@ PLATFORMS
|
|
|
82
83
|
x86_64-linux
|
|
83
84
|
|
|
84
85
|
DEPENDENCIES
|
|
86
|
+
rake (~> 13.0)
|
|
85
87
|
rubocop
|
|
86
88
|
rubocop-performance
|
|
87
89
|
skyltmax_config!
|
data/README.md
CHANGED
|
@@ -28,7 +28,7 @@ inherit_gem:
|
|
|
28
28
|
The easiest way to use this config is in your `package.json`:
|
|
29
29
|
|
|
30
30
|
```json
|
|
31
|
-
"prettier": "@
|
|
31
|
+
"prettier": "@signmax/config/prettier"
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
<details>
|
|
@@ -40,7 +40,7 @@ can override it using regular JavaScript stuff.
|
|
|
40
40
|
Create a `.prettierrc.js` file in your project root with the following content:
|
|
41
41
|
|
|
42
42
|
```js
|
|
43
|
-
import defaultConfig from "
|
|
43
|
+
import defaultConfig from "signmax/config/prettier"
|
|
44
44
|
|
|
45
45
|
/** @type {import("prettier").Options} */
|
|
46
46
|
export default {
|
|
@@ -57,7 +57,7 @@ Create a `tsconfig.json` file in your project root with the following content:
|
|
|
57
57
|
|
|
58
58
|
```json
|
|
59
59
|
{
|
|
60
|
-
"extends": ["@
|
|
60
|
+
"extends": ["@signmax/config/typescript"],
|
|
61
61
|
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
|
62
62
|
"compilerOptions": {
|
|
63
63
|
"paths": {
|
|
@@ -71,7 +71,7 @@ Create a `tsconfig.json` file in your project root with the following content:
|
|
|
71
71
|
Create a `reset.d.ts` file in your project with these contents:
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
|
-
import "@
|
|
74
|
+
import "@signmax/config/reset.d.ts"
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
<details>
|
|
@@ -86,7 +86,7 @@ Learn more from [the TypeScript docs here](https://www.typescriptlang.org/tsconf
|
|
|
86
86
|
Create a `eslint.config.js` file in your project root with the following content:
|
|
87
87
|
|
|
88
88
|
```js
|
|
89
|
-
import { config as defaultConfig } from "@
|
|
89
|
+
import { config as defaultConfig } from "@signmax/config/eslint"
|
|
90
90
|
|
|
91
91
|
/** @type {import("eslint").Linter.Config[]} */
|
|
92
92
|
export default [...defaultConfig]
|
|
@@ -106,13 +106,11 @@ positives.
|
|
|
106
106
|
|
|
107
107
|
## Publishing
|
|
108
108
|
|
|
109
|
-
This repo publishes a Ruby gem (skyltmax_config) and an npm package (@
|
|
109
|
+
This repo publishes a Ruby gem (skyltmax_config) and an npm package (@signmax/config) whenever a GitHub Release is published. A manual run is also available.
|
|
110
110
|
|
|
111
111
|
Setup (one-time):
|
|
112
112
|
|
|
113
|
-
- In
|
|
114
|
-
- NPM_TOKEN: npm automation token with publish permission for the @skyltmax scope
|
|
115
|
-
- RUBYGEMS_API_KEY: RubyGems API key with push access to skyltmax_config
|
|
113
|
+
- In rubygems and npmjs configure trusted publishing.
|
|
116
114
|
- Ensure package and gem versions match. The workflow verifies that the git tag version equals both versions.
|
|
117
115
|
|
|
118
116
|
How to release:
|
data/Rakefile
ADDED
data/package.json
CHANGED
data/skyltmax_config.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "skyltmax_config"
|
|
5
|
-
s.version = "0.0.
|
|
5
|
+
s.version = "0.0.4"
|
|
6
6
|
s.platform = Gem::Platform::RUBY
|
|
7
7
|
s.required_ruby_version = ">= 3.4.0"
|
|
8
8
|
s.summary = "Skyltmax shared config"
|
|
@@ -24,4 +24,6 @@ Gem::Specification.new do |s|
|
|
|
24
24
|
s.add_dependency "rubocop", ">= 1.81.0", "< 2"
|
|
25
25
|
s.add_dependency "rubocop-performance", ">= 1.26.0", "< 2"
|
|
26
26
|
s.add_dependency "rubocop-rails", ">= 2.33.0", "< 3"
|
|
27
|
+
|
|
28
|
+
s.add_development_dependency "rake", "~> 13.0"
|
|
27
29
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: skyltmax_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Skyltmax
|
|
@@ -69,6 +69,20 @@ dependencies:
|
|
|
69
69
|
- - "<"
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
71
|
version: '3'
|
|
72
|
+
- !ruby/object:Gem::Dependency
|
|
73
|
+
name: rake
|
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
|
75
|
+
requirements:
|
|
76
|
+
- - "~>"
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
version: '13.0'
|
|
79
|
+
type: :development
|
|
80
|
+
prerelease: false
|
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
82
|
+
requirements:
|
|
83
|
+
- - "~>"
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '13.0'
|
|
72
86
|
executables: []
|
|
73
87
|
extensions: []
|
|
74
88
|
extra_rdoc_files: []
|
|
@@ -84,6 +98,7 @@ files:
|
|
|
84
98
|
- Gemfile.lock
|
|
85
99
|
- LICENSE
|
|
86
100
|
- README.md
|
|
101
|
+
- Rakefile
|
|
87
102
|
- eslint.config.js
|
|
88
103
|
- eslint.js
|
|
89
104
|
- index.js
|
|
@@ -118,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
133
|
- !ruby/object:Gem::Version
|
|
119
134
|
version: '0'
|
|
120
135
|
requirements: []
|
|
121
|
-
rubygems_version: 3.6.
|
|
136
|
+
rubygems_version: 3.6.7
|
|
122
137
|
specification_version: 4
|
|
123
138
|
summary: Skyltmax shared config
|
|
124
139
|
test_files: []
|