skyltmax_config 0.0.1 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcbd31d35395e4925e9a37a44624b408e64d14b0eca121cb69924f8854c218c5
4
- data.tar.gz: 5a90d3b8171e5529e2de5779a0bf008c4f79fc19673d36567698dd7c50becc3b
3
+ metadata.gz: 21e29a8060c6f72c9bca8d4a60f7f148520bf0f779c0ba43d067ce2a11fca3a4
4
+ data.tar.gz: c6d61948ca4a7ddad94778f4db4c57c018e225b45f443058d09f811f38bdb7f2
5
5
  SHA512:
6
- metadata.gz: ba5673af586d69e07fe54303368727339668ffa607bc622d228c3e01249b851f74bc8cd13ba3c8b0babace225efc511d389a61c57249fd62e4b8994a1537aaaf
7
- data.tar.gz: 93d7b3c7f9a42d8585bd886fb6137b612bdf564e936a02a53b886534489ac7d1fb4d2a426ced92b2678f2a690eafd7574c44ba9c7a916c6e57f823f9cb81a421
6
+ metadata.gz: c071f6305cdf6332c69d7e18720ba454d86f478bfef01c4c7474d7937f850da81cb76bf41af385f414471f9c510df5330e6d0cfd6f983d12d1bb0bef66058c59
7
+ data.tar.gz: e755fa674c72a6793a1211c9986b3276cc998f5b40b8a82559ab33a6a634136843a6a6e7058afd67e2322c704a740c697f19488059f74a4b405a7d7f1f3d55ad
data/CHANGELOG.md CHANGED
@@ -2,5 +2,14 @@
2
2
 
3
3
  ### Unreleased
4
4
 
5
- ### [0.0.1] - 2025-11-04
5
+ ### [0.0.5] - 2025-11-04
6
+ - Fix rubygems attestation.
7
+
8
+ ### [0.0.4] - 2025-11-04
9
+ - Fix rubygems release.
10
+
11
+ ### [0.0.3] - 2025-11-04
12
+ - Fix rubygems release.
13
+
14
+ ### [0.0.2] - 2025-11-04
6
15
  - First public release.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- skyltmax_config (0.0.1)
4
+ skyltmax_config (0.0.5)
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": "@skyltmax/config/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 "skyltmax/config/prettier"
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": ["@skyltmax/config/typescript"],
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 "@skyltmax/config/reset.d.ts"
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 "@skyltmax/config/eslint"
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 (@skyltmax/config) whenever a GitHub Release is published. A manual run is also available.
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 repository Settings → Secrets and variables Actions, add:
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
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
data/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
- "name": "@skyltmax/config",
3
- "version": "0.0.1",
4
- "description": "Skyltmax common configs",
2
+ "name": "@signmax/config",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "0.0.5",
7
+ "description": "Reasonable ESLint, Prettier, and TypeScript configs.",
5
8
  "license": "MIT",
9
+ "author": "Signmax AB <team@signomatic.ee> (https://skyltmax.se/)",
6
10
  "homepage": "https://github.com/skyltmax/config#readme",
7
11
  "repository": {
8
12
  "type": "git",
@@ -11,6 +15,14 @@
11
15
  "bugs": {
12
16
  "url": "https://github.com/skyltmax/config/issues"
13
17
  },
18
+ "keywords": [
19
+ "config",
20
+ "eslint",
21
+ "prettier",
22
+ "typescript",
23
+ "signmax",
24
+ "skyltmax"
25
+ ],
14
26
  "main": "index.js",
15
27
  "type": "module",
16
28
  "exports": {
@@ -2,17 +2,23 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "skyltmax_config"
5
- s.version = "0.0.1"
5
+ s.version = "0.0.5"
6
+ s.authors = ["Signmax AB"]
7
+ s.email = ["team@signomatic.ee"]
6
8
  s.platform = Gem::Platform::RUBY
7
- s.required_ruby_version = ">= 3.4.0"
8
- s.summary = "Skyltmax shared config"
9
+
10
+ s.required_ruby_version = ">= 3.4"
11
+ s.required_rubygems_version = ">= 3.2"
12
+
13
+ s.summary = "Reasonable Rubocop configs."
9
14
  s.homepage = "https://github.com/skyltmax/config"
10
- s.authors = ["Skyltmax"]
11
15
  s.license = "MIT"
16
+
12
17
  s.metadata = {
13
- "homepage_uri" => "https://github.com/skyltmax/config#readme",
14
- "source_code_uri" => "https://github.com/skyltmax/config",
15
- "bug_tracker_uri" => "https://github.com/skyltmax/config/issues",
18
+ "homepage_uri" => "https://github.com/skyltmax/config#readme",
19
+ "source_code_uri" => "https://github.com/skyltmax/config",
20
+ "bug_tracker_uri" => "https://github.com/skyltmax/config/issues",
21
+ "allowed_push_host" => "https://rubygems.org",
16
22
  }
17
23
 
18
24
  # include all tracked files so packaged gem mirrors the repo's config assets
@@ -24,4 +30,6 @@ Gem::Specification.new do |s|
24
30
  s.add_dependency "rubocop", ">= 1.81.0", "< 2"
25
31
  s.add_dependency "rubocop-performance", ">= 1.26.0", "< 2"
26
32
  s.add_dependency "rubocop-rails", ">= 2.33.0", "< 3"
33
+
34
+ s.add_development_dependency "rake", "~> 13.0"
27
35
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skyltmax_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
- - Skyltmax
7
+ - Signmax AB
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
@@ -69,6 +69,22 @@ 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'
86
+ email:
87
+ - team@signomatic.ee
72
88
  executables: []
73
89
  extensions: []
74
90
  extra_rdoc_files: []
@@ -84,6 +100,7 @@ files:
84
100
  - Gemfile.lock
85
101
  - LICENSE
86
102
  - README.md
103
+ - Rakefile
87
104
  - eslint.config.js
88
105
  - eslint.js
89
106
  - index.js
@@ -104,6 +121,7 @@ metadata:
104
121
  homepage_uri: https://github.com/skyltmax/config#readme
105
122
  source_code_uri: https://github.com/skyltmax/config
106
123
  bug_tracker_uri: https://github.com/skyltmax/config/issues
124
+ allowed_push_host: https://rubygems.org
107
125
  rdoc_options: []
108
126
  require_paths:
109
127
  - lib
@@ -111,14 +129,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
129
  requirements:
112
130
  - - ">="
113
131
  - !ruby/object:Gem::Version
114
- version: 3.4.0
132
+ version: '3.4'
115
133
  required_rubygems_version: !ruby/object:Gem::Requirement
116
134
  requirements:
117
135
  - - ">="
118
136
  - !ruby/object:Gem::Version
119
- version: '0'
137
+ version: '3.2'
120
138
  requirements: []
121
139
  rubygems_version: 3.6.9
122
140
  specification_version: 4
123
- summary: Skyltmax shared config
141
+ summary: Reasonable Rubocop configs.
124
142
  test_files: []