k_director 0.16.1 → 0.16.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: 74dc4688883d80e611c71e2ac5f46d2c95d567cbef508ff2e2db6a91479f844b
4
- data.tar.gz: 30eb23a1950babbaeb77639b21ed8c72cae116140173a5380909358d633828db
3
+ metadata.gz: 6c41ed55fd66c043e43cce56f5236736a6b31fc2b79c200239687215143f516c
4
+ data.tar.gz: 2711c6c18aaadc378e6286e07b880e96fb746482e513d3e8f2fa7544af80b071
5
5
  SHA512:
6
- metadata.gz: 32a5728df9ca6638d7be301478942fa3b677ca079ff7bcec451b149c394c8a1c6fc022359d9670bd9a56ca0109f2bd2aed42ce01ac63446e4e780d41ab40afba
7
- data.tar.gz: 0d74cbb258822b82c4354d7fbc0af9c6543f47fdd0e91ae98ec2ae3d7c26fedc5c1e7658c8ecc7957f3a27e7768c75bcb9a5854e24ede51a2a86f63a8341ccdc
6
+ metadata.gz: d7dca0e6e9609f089cb61cd2fb6cbe191856c8854559626241a43bc02e74173bcf0cf84ec965e5cac5411039c937eb97eadc1ea7616164f9e8f871b21fb6c332
7
+ data.tar.gz: 2d2728875d7470255a8fbdecbf232064d5daf6bffc574e4e82ef1926d2aeb178fd9db3d4c7122f3c07b5c85adb6a1b451b05cf92574a93b608472eaa98cce174
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ group :development, :test do
8
8
  gem 'guard-bundler'
9
9
  gem 'guard-rspec'
10
10
  gem 'guard-rubocop'
11
- gem 'rake', '~> 12.0'
11
+ gem 'rake'
12
12
  gem 'rake-compiler', require: false
13
13
  gem 'rspec', '~> 3.0'
14
14
  gem 'rubocop'
data/docs/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.16.1](https://github.com/klueless-io/k_director/compare/v0.16.0...v0.16.1) (2022-04-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fluent interfrace for .debug ([71ca4c2](https://github.com/klueless-io/k_director/commit/71ca4c2ed26dff3857dbaac45856d1a20235fc10))
7
+
1
8
  # [0.16.0](https://github.com/klueless-io/k_director/compare/v0.15.1...v0.16.0) (2022-04-28)
2
9
 
3
10
 
@@ -67,6 +67,12 @@ module KDirector
67
67
  builder.build
68
68
  end
69
69
 
70
+ def json_dom
71
+ return '{}' if dom.nil?
72
+
73
+ JSON.pretty_generate(dom)
74
+ end
75
+
70
76
  # Used by child directors to inherit options from parent
71
77
  def inherited_opts(**opts)
72
78
  {
@@ -26,14 +26,6 @@ module KDirector
26
26
 
27
27
  self
28
28
  end
29
-
30
- # def build_options_builder(file)
31
- # .add_file('builder_options.rb',
32
- # template_file: 'ruby/components/builder_options/builder_options.rb',
33
- # dom: director.dom,
34
- # on_exist: :write)
35
-
36
- # end
37
29
  end
38
30
  end
39
31
  end
@@ -269,7 +269,7 @@ module KDirector
269
269
  def remove_package_lock
270
270
  file = File.join(k_builder.target_folder, 'package-lock.json')
271
271
 
272
- File.delete(file) if File.exist?(file)
272
+ FileUtils.rm_rf(file)
273
273
 
274
274
  self
275
275
  end
@@ -280,7 +280,7 @@ module KDirector
280
280
  def remove_yarn_lock
281
281
  file = File.join(k_builder.target_folder, 'yarn.lock')
282
282
 
283
- File.delete(file) if File.exist?(file)
283
+ FileUtils.rm_rf(file)
284
284
 
285
285
  self
286
286
  end
@@ -61,7 +61,41 @@ module KDirector
61
61
  autoprefixer@latest
62
62
  ])
63
63
 
64
- set_package_group('storybook-nuxt' , 'Storybook for (Vite/Nuxt)' , %w[
64
+ set_package_group('svelte', 'Svelte' , %w[
65
+ @rollup/plugin-commonjs
66
+ @rollup/plugin-node-resolve
67
+ rollup
68
+ rollup-plugin-css-only
69
+ rollup-plugin-livereload
70
+ rollup-plugin-svelte
71
+ rollup-plugin-terser
72
+ svelte
73
+ ])
74
+
75
+ # {
76
+ # "name": "svelte-app",
77
+ # "version": "1.0.0",
78
+ # "scripts": {
79
+ # "build": "rollup -c",
80
+ # "dev": "rollup -c -w",
81
+ # "start": "sirv public"
82
+ # },
83
+ # "devDependencies": {
84
+ # "@rollup/plugin-commonjs": "^16.0.0",
85
+ # "@rollup/plugin-node-resolve": "^10.0.0",
86
+ # "rollup": "^2.3.4",
87
+ # "rollup-plugin-css-only": "^3.0.0",
88
+ # "rollup-plugin-livereload": "^2.0.0",
89
+ # "rollup-plugin-svelte": "^7.0.0",
90
+ # "rollup-plugin-terser": "^7.0.0",
91
+ # "svelte": "^3.0.0"
92
+ # },
93
+ # "dependencies": {
94
+ # "sirv-cli": "^1.0.0"
95
+ # }
96
+ # }
97
+
98
+ set_package_group('storybook-nuxt' , 'Storybook for (Vite/Nuxt)' , %w[
65
99
  @storybook/vue3@6.4.18
66
100
  @storybook/addon-postcss@2.0.0
67
101
  @storybook/addon-storysource@6.4.18
@@ -7,27 +7,6 @@ module KDirector
7
7
  def default_template_base_folder
8
8
  'ruby/gem'
9
9
  end
10
-
11
- # def github(**opts, &block)
12
- # github = KDirector::Dsls::Children::Github.new(self, **opts)
13
- # github.instance_eval(&block) if github.active? && block_given?
14
-
15
- # self
16
- # end
17
-
18
- # def package_json(**opts, &block)
19
- # package_json = KDirector::Dsls::Children::PackageJson.new(self, **opts)
20
- # package_json.instance_eval(&block) if package_json.active? && block_given?
21
-
22
- # self
23
- # end
24
-
25
- # def blueprint(**opts, &block)
26
- # blueprint = KDirector::Dsls::Children::Blueprint.new(self, **opts)
27
- # blueprint.instance_eval(&block) if blueprint.active? && block_given?
28
-
29
- # self
30
- # end
31
10
  end
32
11
  end
33
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KDirector
4
- VERSION = '0.16.1'
4
+ VERSION = '0.16.2'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "k_director",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "k_director",
9
- "version": "0.16.1",
9
+ "version": "0.16.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.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Command line and CI/CD tools for k_director",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k_director
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: k_config