k_director 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 431e5c6f071221fcdea319010b83bb17bba62187f835ae595a5453eaffd30956
4
- data.tar.gz: ebcfe2cda7f2538f0511cd5e6df7bbf9d53bb29834b43286f34054d51521eecd
3
+ metadata.gz: '080f78bce274be30bf0b77765c7fe6b40c56a9a5f40b385dd55ed96cd81b440b'
4
+ data.tar.gz: 7f12eeaf1ccdac94be739700260e30282766f85f9d4fad8f6e9cb81bd47359f0
5
5
  SHA512:
6
- metadata.gz: 725a68f629da441807038726a8899bf19004c0dec43b7e41ac11fccb9124bd2bbcb3dd6babd10938287c9b00394aba3e7588af91cbf5be99f5d8523c29459381
7
- data.tar.gz: aeca07e40f162c470767a7590865cf7cb41f48c5ffa605dc37cb1f71b538acff734963321b0bd9a7e05d03d716a476cd485baaff595070f5f72b718963384621
6
+ metadata.gz: 20fb925316d432b16e5ac5b5074f5e2d86845225262dae2460962b51199555d757e889a8a3fdd62b86dab2f60b7f35c5892a875b530369b9d83268e52d657be2
7
+ data.tar.gz: 2e5d5485a94a94cbfa2a86110e7bea1a5af50b32febc51830d935b5e4592ddc1bcd9d4424044acbb3d0ec0b606197e1c674bac57e43ccd5386a70bd1a0663272
data/docs/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.10.1](https://github.com/klueless-io/k_director/compare/v0.10.0...v0.10.1) (2022-02-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * package_json, add set by group, remove and re ove by group ([93317f8](https://github.com/klueless-io/k_director/commit/93317f8b590ac2551e72072e93ca9b7f0d54f568))
7
+
1
8
  # [0.10.0](https://github.com/klueless-io/k_director/compare/v0.9.0...v0.10.0) (2022-02-06)
2
9
 
3
10
 
@@ -249,10 +249,36 @@ module KDirector
249
249
  @package_file = File.join(k_builder.target_folder, 'package.json')
250
250
  end
251
251
 
252
- # # Getter for target folder
253
- # def package_file
254
- # hash['package_file']
255
- # end
252
+ # Remove package-lock.json
253
+ # ----------------------------------------------------------------------
254
+
255
+ def remove_package_lock
256
+ file = File.join(k_builder.target_folder, 'package-lock.json')
257
+
258
+ File.delete(file) if File.exist?(file)
259
+
260
+ self
261
+ end
262
+
263
+ # Remove yarn.lock
264
+ # ----------------------------------------------------------------------
265
+
266
+ def remove_yarn_lock
267
+ file = File.join(k_builder.target_folder, 'yarn.lock')
268
+
269
+ File.delete(file) if File.exist?(file)
270
+
271
+ self
272
+ end
273
+
274
+ # Create yarn.lock
275
+ # ----------------------------------------------------------------------
276
+
277
+ def create_yarn_lock
278
+ run_command 'yarn install --check-files'
279
+
280
+ self
281
+ end
256
282
 
257
283
  # -----------------------------------
258
284
  # Helpers
@@ -58,13 +58,14 @@ module KDirector
58
58
  # this does not work yet
59
59
  set_package_group('storybook-nuxt' , 'Storybook for (Vite/Nuxt)' , %w[
60
60
  @storybook/vue3@6.4.18
61
- @storybook/addon-docs@6.4.18
62
- @storybook/addon-essentials@6.4.18
63
61
  @storybook/addon-postcss@2.0.0
64
62
  @storybook/addon-storysource@6.4.18
65
63
  storybook-builder-vite
66
64
  ])
67
- # @storybook/addon-docs
65
+
66
+ # Currently these two need to be foreced
67
+ # @storybook/addon-docs@6.4.18
68
+ # @storybook/addon-essentials@6.4.18
68
69
  end
69
70
 
70
71
  def debug
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KDirector
4
- VERSION = '0.10.1'
4
+ VERSION = '0.10.2'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "k_director",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "k_director",
9
- "version": "0.10.1",
9
+ "version": "0.10.2",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.1",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k_director",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Command line and CI/CD tools for k_director",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k_director
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys