Skip to content

Commit 6946fec

Browse files
author
Anita Steiner
authored
Merge pull request #6 from datavisyn/release-1.0.1
Release 1.0.1
2 parents 0d8f3fe + 1fc6314 commit 6946fec

File tree

17 files changed

+36195
-129
lines changed

17 files changed

+36195
-129
lines changed

.circleci/config.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ on: [push, workflow_dispatch]
44

55
jobs:
66
build:
7-
uses: datavisyn/github-workflows/.github/workflows/build-node.yml@node16
7+
uses: datavisyn/github-workflows/.github/workflows/build-node.yml@main
88
secrets: inherit

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: publish
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
publish:
7+
uses: datavisyn/github-workflows/.github/workflows/publish-node.yml@main
8+
secrets: inherit

bin/commands/generator/workspace/templates/processed/.vscode/launch.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,13 @@
2525
"port": 9222,
2626
"request": "attach",
2727
"type": "chrome",
28-
"urlFilter": "http://localhost/*",
29-
"sourceMapPathOverrides": {
30-
"webpack://<%- workspace %>/*": "${workspaceFolder}/*"
31-
}
28+
"urlFilter": "http://localhost/*"
3229
},
3330
{
3431
"name": "Launch Chrome",
3532
"request": "launch",
3633
"type": "chrome",
37-
"url": "http://localhost:8080",
38-
"sourceMapPathOverrides": {
39-
"webpack://<%- workspace %>/*": "${workspaceFolder}/*"
40-
}
34+
"url": "http://localhost:8080"
4135
}
4236
]
4337
}

config/tsconfig.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "ES2020",
4-
"target": "ES2019",
4+
"target": "ES2021",
55
"importHelpers": true,
66
"sourceMap": true,
77
"declaration": true,

config/webpack.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,13 @@ module.exports = (env, argv) => {
407407
// match the requirements. When no loader matches it will fall
408408
// back to the "file" loader at the end of the loader list.
409409
oneOf: [
410+
// Add ability to inline assets (like .md files) directly into the bundle.
411+
// This is done by adding ?raw to the import, like import Content from './content.md?raw';
412+
// See https://webpack.js.org/guides/asset-modules/#replacing-inline-loader-syntax for more details.
413+
{
414+
resourceQuery: /raw/,
415+
type: 'asset/source',
416+
},
410417
// "url" loader works like "file" loader except that it embeds assets
411418
// smaller than specified limit in bytes as data URLs to avoid requests.
412419
// A missing `test` is equivalent to a match.
@@ -732,5 +739,7 @@ module.exports = (env, argv) => {
732739
statsOptions: { source: false },
733740
}),
734741
].filter(Boolean),
742+
// Ignore some warnings, like failing to parse source maps
743+
ignoreWarnings: [/Failed to parse source map/],
735744
};
736745
};

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visyn_scripts",
33
"description": "",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"author": {
66
"name": "datavisyn GmbH",
77
"email": "[email protected]",
@@ -146,8 +146,7 @@
146146
"yeoman-generator": "4"
147147
},
148148
"devDependencies": {
149-
"@types/yargs": "^17.0.10",
150-
"install-local-dependencies": "^0.2.3"
149+
"@types/yargs": "^17.0.10"
151150
},
152151
"peerDependencies": {
153152
"@types/react": "^16.9.23",

tests/workspace.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ describe('workspace', () => {
1919
};
2020

2121
beforeAll(() => {
22-
// Install dependencies via install-local-dependencies as npm does not install transitive deps properly if it is a relative path: https://github.com/pnpm/pnpm/issues/3102
22+
// Install dependencies
2323
if (!fs.existsSync(resolve(templateDir, 'node_modules'))) {
2424
// eslint-disable-next-line no-console
2525
console.log('Installing local dependencies in the template folder');
26-
execSync('install-local-dependencies', {
26+
execSync('yarn install', {
2727
cwd: templateDir,
2828
stdio: 'inherit',
2929
});
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
node_modules/
22
bundles/
3-
package-lock.json
3+
4+
# yarn
5+
.pnp.*
6+
.yarn/*
7+
!.yarn/patches
8+
!.yarn/plugins
9+
!.yarn/releases
10+
!.yarn/sdks
11+
!.yarn/versions

tests_fixtures/workspace_template/.localdependenciesrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)